Issue 3: Sensor Size not found in Exif
Status:  New
Owner: ----
Reported by jvanderd...@gmail.com, Apr 18, 2010
In Noah original shell script he first checks the database for camera 
info for a particular model.  If he doesn't find it he then looks in the 
EXIF data.

With the sensor size Bundler incorporated twice as many image in my 
particular test.

I've written a patch.  The second index of the FocalPlaneXResolution tag 
tells you how large the sensor is in . . . some units.  And the 
FocalPlaneResolutionUnit tells you what those units are.

Noah uses jhead to read the EXIF data so I looked at jhead's source, his 
formula for finding the CCD size didn't work or make sense to me.

line 1054 - ImageInfo.CCDWidth = (float)(ExifImageWidth * FocalplaneUnits 
/ FocalplaneXRes);

My formula is simply CCDWidht = FocalPlaneXResolution[1] * 
FocalPlaneResolutionUnit

__init__.py
12.1 KB   View   Download