https://bugs.kde.org/show_bug.cgi?id=439221
Bug ID: 439221 Summary: Incorrect calculation of camera field of view Product: kstars Version: unspecified Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mutla...@ikarustech.com Reporter: fred_...@hotmail.fr Target Milestone: --- SUMMARY The returned value for the camera field of view is wrong when the focal length is short. OBSERVED RESULT - Canon 6D mk II pixel pitch of 5,67 um and 6240x4160 px - 24 mm lens Returns : 84,47 x 56.31° This is completely wrong EXPECTED RESULT 73,6° x 53,1° ADDITIONAL INFORMATION Apparently your logic is to multiply the pixel sampling by the number of pixels. If this is a good approximation when the focal length is at least 10x bigger than the sensors size, it completely fails otherwise. The formula that gives the proper result each time (but fisheyes) is : fov = 2*atan[L/(2*F)] -- You are receiving this mail because: You are watching all bug changes.