slmsuite.holography.analysis#
Helper functions for processing images.
Submodules
Utilities for interfacing with files. |
|
Common fit functions. |
Functions
Detect an array of spots and return the orientation as an affine transformation. |
|
Detect blobs in an image. |
|
For two sets of ordered points with equal length, find the best-fit affine transformation that transforms from the first basis to the second. |
|
Compile a transformation lambda from simple rotates and flips. |
|
Given the output of |
|
Backwards compatible alias for |
|
Alias for |
|
Given the output of |
|
Given the output of |
|
Fit each image in a stack of images to a 2D |
|
Computes the given moment \(M_{m_xm_y}\) for a stack of images. |
|
Computes the zeroth order moments, equivalent to spot mass or normalization, for a stack of images. |
|
Normalizes of a stack of images via the the zeroth order moments such that each image sums to one. |
|
Computes the two first order moments, equivalent to spot position \(\left<x\right>\) relative to image center, for a stack of images. |
|
Reduce the number of phase wraps in the image by adding a global offset. |
|
Computes a metric proportional to the Strehl ratio of a stack of images. |
|
Remove a global blaze from a phase image. |
|
Zeros the field of a stack of images such that moment calculations will succeed. |
|
Find and then remove all the phase vortices in a phase image. |
|
Near-alias of |
|
Computes the three second order central moments, equivalent to variance, for a stack of images. |
|
Find the coordinates of phase vortices inside a phase image by computing the winding number directly. |
|
Find the coordinates of phase vortices inside a phase image by computing the winding number directly. |
|
Fits sets of Zernike polynomials to a stack of |
|
Crop integration regions around an array of |
|
Plots non-integrated results of |
|
Tiles a stack of images into a single image. |