pixel Questions

4

Solved

Given a contiguous drawing of arbitrary pixels (e.g. on an HTML5 Canvas) is there any algorithm for finding the axis-aligned bounding box that is more efficient than simply looking at every pixel a...
Cathexis asked 24/3, 2012 at 13:33

4

Solved

I am creating a little bootloader+kernel and till now I managed to read disk, load second sector, load GDT, open A20 and enable pmode. I jumped to the 32-bits function that show me a character on ...
Chimera asked 19/1, 2013 at 21:28

4

Solved

I need to get the color information of a specific point on screen of my android phone. Is there a way to do that through ADB? I am now using the build-in command screencap to capture the whole sc...
Plum asked 12/6, 2014 at 12:56

3

I am trying to understand the hex values of a 10 x 10 pixel png image file. For example: I am using this image http://www.sweethome3d.com/blog/common/images/feed-icon-10x10.png?. I opened it in Su...
Polish asked 30/5, 2015 at 19:17

4

I posted this in the react-native-webview discussion thread in GitHub in case this is something they need to add support for, but wanted to see if anyone had any thoughts here: Disclaimer: I'm a we...

4

Solved

I've looked everywhere but there doesn't seem to be a standard (I could see) of how one would go about checking to see if an image is blank. In C# I have a way of doing this, but would love to know...
Runin asked 2/10, 2012 at 5:14

4

Solved

I'm trying to set a new color value to some pixel into a cv::Mat image my code is below: Mat image = img; for(int y=0;y<img.rows;y++) { for(int x=0;x<img.cols;x++) { Vec3b color = imag...
Dizen asked 11/4, 2014 at 0:33

8

Solved

I am running the following pixel recurrent neural network (RNN) code using Python 3.6 import os import logging import numpy as np from tqdm import trange import tensorflow as tf from utils impor...
Limerick asked 28/11, 2017 at 10:54

3

I encountered this concept: device pixel ration, some said it is the ratio between physical pixels and logical pixels. For example iPhone has: Physical resolution: 960 x 640 Logical resolution...
Campion asked 31/7, 2014 at 12:10

7

Solved

I have known the difference among DP, SP and PX. And after searching this topic, I found nothing satisfying me completely. Maybe this post is a duplicate, but I still want to know what is the formu...
Reliquary asked 16/4, 2015 at 3:47

5

Solved

I need to get the color of some pixels on the screen or from the active window, and I need to do so quickly. I've tried using win32gui and ctypes/windll, but they're much too slow. Each of these pr...
Masuria asked 27/9, 2010 at 0:40

5

Solved

In html5, when you draw to a canvas using putImageData(), if some of the pixels you are drawing are transparent (or semi-transparent), how do you keep old pixels in the canvas unaffected? example:...
Mogul asked 5/3, 2014 at 9:56

3

Solved

I would like to have two pixel shaders; the first doing one thing, and then the next doing something else. Is this possible, or do I have to pack everything into the one shader?
Industrialize asked 26/2, 2010 at 19:29

4

Solved

from UIImage reference: @property(nonatomic, readonly) CGSize size The dimensions of the image, taking orientation into account. Discussion In iOS 4.0 and later, this value reflects the logical s...
Darkness asked 18/8, 2012 at 14:1

2

Is it possible to set the size of the bitmap in an HTML5 canvas so that it exactly matches the display size in device pixels, ie the number of physical pixels used to display the canvas, even...
Wehrmacht asked 9/11, 2018 at 20:50

10

Solved

I have a 2D image randomly and sparsely scattered with pixels. given a point on the image, I need to find the distance to the closest pixel that is not in the background color (black). What is the ...
Hagi asked 21/11, 2008 at 0:50

6

Solved

Is there any way to check if a selected (x,y) point of a PNG image is transparent?
Exfoliate asked 5/1, 2012 at 22:49

4

Solved

I'm trying to find similar or equivalent function of Matlabs "Bwareaopen" function in OpenCV? In MatLab Bwareaopen(image,P) removes from a binary image all connected components (objects) that have...
Enaenable asked 27/2, 2010 at 17:58

3

Solved

My Xamarin.Android app's push notification only works on Android 11 (Pixel 3 XL). Currently my app targets Android 11, however it also runs on Android 12 (Pixel 6 Pro). The only thing that is not w...
Pardoner asked 7/2, 2022 at 3:12

6

Solved

I need to just have a panel inside of which i'd be able to draw. I want to be able to draw pixel by pixel. ps: I don't need lines/circles other primitives. pps: the graphics library does not reall...
Rebozo asked 13/2, 2013 at 17:39

14

Solved

The HTML5 Canvas has no method for explicitly setting a single pixel. It might be possible to set a pixel using a very short line, but then antialiasing and line caps might interfere. Another way m...
Bourgeoisie asked 4/2, 2011 at 15:38

10

Solved

I'm stuck trying to turn on a single pixel on a Windows Form. graphics.DrawLine(Pens.Black, 50, 50, 51, 50); // draws two pixels graphics.DrawLine(Pens.Black, 50, 50, 50, 50); // draws no pixels ...
Biquadratic asked 17/4, 2009 at 15:57

3

I want to create a random pixel generator in swift. How would I be able to create something like the below codes in swift? Java program to demonstrate creation of random pixel image import java...
Gasify asked 13/6, 2020 at 16:38

2

Solved

I need to be able to replace all pixels that have a certain RGB value with another color in OpenCV. I’ve tried some of the solutions but none of them worked for me. What is the best way to achieve ...
Motorway asked 1/2, 2020 at 16:33

2

Solved

OK. I'm tired of googling and reading throught lots of documentation with no results. My aim is simple: get pyglet to draw an image pixel by pixel. I've been searching for hours with no results. ...
Butylene asked 20/8, 2010 at 2:35

© 2022 - 2024 — McMap. All rights reserved.