Jump to content

Resolution not 6000 x 4000?


aveshvather

Recommended Posts

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

  • Replies 42
  • Created
  • Last Reply
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

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"... :D (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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...