A pixel is the smallest unit that can be represented or controlled on a display. The word pixel is derived from the phrase "picture element".
Questions tagged [pixel]
4067 questions
1
vote
1 answer
Android Studio XML getMeasuredWidth ()
The getMeasuredWidth() method measures the width in pixels, is there a similar method that measures the width in dp?

Tenday
- 11
- 1
1
vote
2 answers
How to meter pixel on screen
I need to meter pixel on web page or on the screen. I used orange pixel meter is any other program similar to mater pixel on screen.

Ballon
- 6,882
- 18
- 49
- 63
1
vote
1 answer
How to calculate the radiance of a pixel
I have a grayscale image and I have the intensity values of all the pixels. I need help converting this pixel intensity value to the radiance of the pixel in W / m2 / sr. If anyone can help me with this, I will greatly appreciate it.
I'm working…

Vanessa
- 21
- 3
1
vote
2 answers
Visual Basic - Get Bitmap pixels as array
I'm making a game in Visual Basic using .NET Framework 4. Is there something similar to this (from Java):
private int[] pixels = ((DataBufferInt) bufferedImage.getRaster().getDataBuffer()).getData();
for the Bitmap? Thanks.

Boodog
- 176
- 1
- 2
- 11
1
vote
0 answers
How to detect shadow under /below a segmented region?
I am working on a project (named :Shadow based renal stone detection ) in which after applying region growing to detect stone (as most brighter part in the image)
I have to verify the shadow under the stone with gray values( of shadow )ranging…

Tahira Batool
- 51
- 1
- 7
1
vote
1 answer
Is 1 CSS point equal to 75% to a CSS Pixel?
I'm trying to understand the how CSS pixels relates to CSS points nowadays and what I've read is that one css point is a 3/4 pixel. Is that correct? And I can ignore the old idea that 1pt would be 1/72 of 1in because of difference in resolution and…

Tony Bolero
- 281
- 1
- 2
- 9
1
vote
1 answer
Show div when it is 20% away from the bottom of the screen
Heyo,
so I was wondering if it is possible to show the fade-effect of a div, if it is 20% away from the bottom within the currend screen view. So for example if you scroll down on a page and the following contentbox gets a distance of 20% of the…

Pelle2010
- 143
- 1
- 13
1
vote
0 answers
UWP get canvas pixels
I'm working with UWP.
I have a Canvas that is partly colored and I need to know
what part is colored.
I think to get over each pixel of the canvas and check its color.
I cant find how to do this
thank you

Yair Ben Simon
- 13
- 4
1
vote
2 answers
How to efficiently find video frames with all pixels in a same color in MATLAB?
What is the efficient way (meaning using less loops and shorter run time) in MATLAB to read a video file say:vid1.wmv for example with this specifications (length: 5 min, frame width: 640, frame height: 480, frame rate: 30 frames/sec) and extract…

Remy
- 97
- 11
1
vote
2 answers
Resizing an image in java by factor of 2
This is what I have so far, but don't know what to do now? It makes the picture bigger but there is a lot of spaces in the picture. How do you copy pixels to fill in the holes?
public Picture enlarge()
{
Picture enlarged = new Picture(getWidth() *…

Glenn
- 13
- 3
1
vote
1 answer
Draw Pixels in a square from inside out - Java
I want to draw a square of pixels pending on how many items are in an array. the square represents the array amount so small squares represent small arrays and large squares represent large arrays. I am finding it difficult to conceptualize how I…

slotishtype
- 2,715
- 7
- 32
- 47
1
vote
0 answers
How to get pixel colour on screen (not using images) on Android?
I am developing a app to help with caligraphy. I intent to put the Letter/character on screen, and I want to know if the place where the user touches is inside or outside the letter area. Also, I want to be able to change the letter to another one…
user6855072
1
vote
1 answer
Inkscape Icon view: half pixel issue
I made a 24×24px square in Inkscape. I don’t understand why does the 24×24 icon view shows me a square with a gray pixel at its bottom? Any idea?

1213
- 706
- 2
- 8
- 25
1
vote
3 answers
Need software that can help me in working with pixels
I am working with graphics in C. I find thinking about the pixel locations terrible and I am in need of a tool where I can draw images and it gives me the pixel location of that point. Please guide me.
user379888
1
vote
1 answer
Threshold method is turning every pixel black
I am trying to implement my own threshold method in processing but I get a fully black image when I try to run the method on an image. Any help?
void threshold(PImage img) {
for (int i = 0; i < 300; i++) {
for (int j = 0; j < 300; j++) {
…

Raymond Edde
- 41
- 1
- 7