brandondube / prysm

physical optics: integrated modeling, phase retrieval, segmented systems, polynomials and fitting, sequential raytracing...
https://prysm.readthedocs.io/en/stable/
MIT License
269 stars 46 forks source link

How to calculate MTF based on the input picture #32

Closed Programmerwyl closed 3 years ago

Programmerwyl commented 3 years ago

Hi all: Does anybody know What form of image should be passed in? thanks

brandondube commented 3 years ago

There are several algorithms for estimating the MTF based on an image, the slanted edge method, LSF method, PSF method, and so on, as well as some more advanced techniques for other targets (Thurman's Siemens' Star method, say).

The estimation process is out of scope for prysm and there are no functions in the library for computing MTF from an image of anything but a point spread function.