Ok, it works now. Is there a reason why you used 1.8*12 instead of
just the focal length? Does the 1.8 come from somewhere?

 For calculating the half height of a sensor I used:

wFX = 36
hFX = 24
dFX = sqrt(wFX**2 + hFX**2)
alpha = asin(wFX/dFX)
d = dFX*lens.CropFactor
h = cos(alpha)*d
sensorHalfHeight = h/2

 This assumes 3:2 aspect ratio at the moment.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Lensfun-users mailing list
Lensfun-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to