We have a Google Nexus 5 which takes RAW images in DNG-format. We were wondering where the difference of the DefaultCropSize (2448x3264) and ActiveArea (2464x3280) comes from and whether these pixels are used for some kind of black-level compensation or so? I've read that there are chances, that there is a masking layer over some of the pixels to get "online"-darkvalues. Could that be the issue here?
We're reading the files in MATLAB using this method which works quiet well: https://github.com/rcsumner/devCam/blob/5ab896704fdced674bfed8767c90251ce2cebe06/MATLAB/dngRead.m
The Adobe-DNG documentation gives these details: http://wwwimages.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec.pdf
Defaul Crop Size:
Raw images often store extra pixels around the edges of the final image. These extra pixels help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been applied).
Active Area:
This rectangle defines the active (non-masked) pixels of the sensor. The order of the rectangle coordinates is: top, left, bottom, right.
Thanks a lot in advance! :)