ImageFlattenerOut¶
- class giant.image_processing.image_flattener.ImageFlattenerOut(flattened, estimated_noise_level, local_slices)[source]¶
Create new instance of ImageFlattenerOut(flattened, estimated_noise_level, local_slices)
- Parameters:
flattened (ndarray[tuple[Any, ...], dtype[float32]])
estimated_noise_level (float | list[float])
local_slices (list[tuple[slice, slice]] | None)
- flattened: ndarray[tuple[Any, ...], dtype[float32]]¶
The flattened image.
The same shape as the input and with a float32 datatype.
- estimated_noise_level: float | list[float]¶
The estimated noise level in the image as a float (if GLOBAL flattening is used) or as a list of floats (if local flatttening is used).
If local flattening is used, each element of this list corresponds to the same element in the slice array
- local_slices: list[tuple[slice, slice]] | None¶
The slices used for local flattening and noise approximation, or None if GLOBAL flattening is used