Pixel is a 2D or 3D? please answer me. thanks
Show older comments
Pixel is a 2D or 3D? please answer me. thanks
Accepted Answer
More Answers (2)
Mike Garrity
on 11 Sep 2015
2 votes
I think that the best answer for what a pixel "is" is Alvy Ray Smith's A Pixel Is Not A Little Square memo.
3 Comments
Image Analyst
on 11 Sep 2015
I don't buy everything Alvy says there. A CCD "well" is a square (for the vast majority of sensors, Fuji being an exception), which means that when mapped back onto the scene, the signal is the mean signal from a square back in the original scene. True, that square from the scene may not be a square upon display, like on an old trinitron monitor or a dithered printout, but mathematically the signal still represents light coming from a square patch back in the original scene that reflected light into the camera.
Mike Garrity
on 11 Sep 2015
Yes but ... In most cases a CCD well doesn't end up being a pixel because demosaicing is performed to combine values from multiple wells behind different color filters to create the final pixel.
There's usually an antialiasing filter in there too. These have the effect of smearing some of the light from the edges of the well into the neighboring well to prevent artifacts from features which are smaller than the width of the well.
And then on display, antialiasing schemes such as ClearType take advantage of the internal structure of the "pixel" to increase the apparent resolution.
There are cases where you can think of a pixel as being a little square, but there are also a lot of cases where that mental model is going to get you into trouble. I think that Alvy was correct to tell us not to get too comfortable with that mental model.
Image Analyst
on 11 Sep 2015
True, the birefringent anti-aliasing filter over the sensor does give a duplicate image that makes the square a bit sheared. I thought demosaicing was just done on the "missing" pixels, and there of course it's just an interpolation, or estimate, of what the value would be there in the missing spot. So, yes, 2/3 of the pixels will not be exactly a square with really straight, sharp, crisp edges. But on the pixels that are actually there, don't they just deliver those unaltered (not demosaiced and affected by neighboring pixels)?
And of course cameras might add their own secret sauce to the final image they deliver such as dead pixel removal, various color enhancements (some of which you can specify/control and some that you have no control over), and perhaps edge enhancements or other special effects.
Thorsten
on 11 Sep 2015
1 vote
A pixel is a "picture element", or the basic element of a digital image. The most common image formats are binary images, where the pixel can be either 0 or 1, gray scale images where the pixel can take values 0, 1, 2,..., 255 (8bit) or RGB color images, where the pixel is defined by three 8-bit values for Red, Green, and Blue, respectively.
1 Comment
Muhammad Sohail
on 11 Sep 2015
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!