Miscellaneous functions related to images and image processing.
Load image data into a 2D numpy array.
| Parameters: |
|
|---|---|
| Returns: | Array containing image data. Note that this may be non-contiguous. |
| Return type: | ndarray |
Get the 1-D power spectrum (squared-amplitude at each frequency) for a given input image. This is computed from the 2-D power spectrum via a rotational average.
| Parameters: |
|
|---|---|
| Returns: | Array whose rows contain the value, sum, and count of bins in the power histogram. |
Compute the 2-D power spectrum for an image.
| Parameters: | image (2D ndarray) – Image data. |
|---|---|
| Returns: | Squared amplitude from FFT of image. |
| Return type: | 2D ndarray |
Display an image to the user.
Display an image to the user under Linux.