Skip to content

Formula used to calculate the image scale from focal length is not right #170

@saikewei

Description

@saikewei

In stellarsolver/internalextractorsolver.cpp, line 1118,1119

appu = rad2arcsec(atan(36. / (2. * scalelo))) / (double)m_Statistics.width;
appl = rad2arcsec(atan(36. / (2. * scalehi))) / (double)m_Statistics.width;

I think the formula used to calculate the image scale from focal length is not right. The fix is to multiply the result by 2.
For example, the width of the image shot by my camera is about 7k pixels. When using 200mm lens, the correct arcsec/pixel is about 5.3.

This issue makes the solver unable to solve when the user uses scale in focalmm mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions