ptyrad.utils.image_proc#
Image processing tools for CoM, fitting, normalization, shifting, etc.
Functions
|
Center crops a 2D or 3D array (e.g., an image). |
|
|
|
|
|
Estimate the center, radius, and std of a CBED pattern by minimizing the difference between the observed image and a synthetic model. |
|
|
|
|
|
Finds and returns the center of mass of an real-valued 2/3D tensor |
|
|
|
Estimate the local obj tilts from relative atomic column shifts |
|
Utility function that returns an estimate of the radius of rbf from CBED |
|
Generates a batch of shifted images from a single input image (..., Ny,Nx) with arbitray leading dimensions. |
|
|