CheshireCat Posted March 2, 2014 Share #41 Posted March 2, 2014 Advertisement (gone after registration) Hence, there would not be pixels missing from the JPEG but extra sites added to the raw pixel array, in order to arrive at the targeted image size. From dcraw documentation (http://www.cybercom.net/~dcoffin/dcraw/): Why are dcraw output images larger than camera JPEGs? Any algorithm that combines each pixel with its neighbors is going to have problems near the edges. C code is cheap, so dcraw applies a different algorithm to edge pixels. Hardware logic is expensive, so cameras crop off the edge pixels after processing. This basically means that the sensor has 12 extra pixels on each border to allow using a single demosaicing algorithm for the entire image.The 12 extra pixels on each border (correctly demosaiced or not, depending on single vs multiple algorithms) are then discarded to produce an image with a perfect 3:2 aspect ratio. Link to post Share on other sites More sharing options...
Advertisement Posted March 2, 2014 Posted March 2, 2014 Hi CheshireCat, Take a look here Resolution not 6000 x 4000?. I'm sure you'll find what you were looking for!
Nick_S Posted March 2, 2014 Share #42 Posted March 2, 2014 From dcraw documentation (Decoding raw digital photos in Linux): This basically means that the sensor has 12 extra pixels on each border to allow using a single demosaicing algorithm for the entire image. The 12 extra pixels on each border (correctly demosaiced or not, depending on single vs multiple algorithms) are then discarded to produce an image with a perfect 3:2 aspect ratio. That is very informative, thanks. Nick Link to post Share on other sites More sharing options...
luigi bertolotti Posted March 2, 2014 Share #43 Posted March 2, 2014 From dcraw documentation (Decoding raw digital photos in Linux): .... Yup... very interesting.... is astonishing how many pieces of code one can find in the Linux Open Source ecosystem... ... and is diffilcult to resist to the "nerd's temptation"... (which warranties full nights of hard work... but I know people who are deeply into this mood, in the most diverse application fields) On a more "corporate" level, also the Adobe public specs for DNG (easy to find and download) can be useful to understand pixel - level processing... Highly technical, very long, nut not impossible to understand. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.