Image¶
Images of spectral values, such as the received power in a frame buffer, a spectral texture, or
a measured PSF. Each spectral submodule has its own: huira.rgb.Image,
huira.visible8.Image and so on.
- class huira.swir8.Image¶
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: huira._huira.swir8.Image) -> None
__init__(self: huira._huira.swir8.Image, width: int, height: int) -> None
__init__(self: huira._huira.swir8.Image, width: int, height: int, fill_value: huira._huira.swir8.SpectralBins) -> None
__init__(self: huira._huira.swir8.Image, array: numpy.ndarray[numpy.float32]) -> None
Construct from a numpy array. Single-channel: (H, W). Multi-channel: (H, W, C).
- property channels¶
- clear(self: huira._huira.swir8.Image) None¶
- property empty¶
- fill(self: huira._huira.swir8.Image, value: huira._huira.swir8.SpectralBins) None¶
- get_channel(self: huira._huira.swir8.Image, channel: int) huira._huira.Image_f32¶
Extract a single channel as an Image_f32 (0-indexed).
- property height¶
- property resolution¶
- property sensor_bit_depth¶
- property shape¶
- to_numpy(self: huira._huira.swir8.Image) numpy.ndarray[numpy.float32]¶
Return image data as a numpy array (always copies).
- property width¶
- class huira.swir8.ImageBundle¶
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: huira._huira.swir8.ImageBundle, image: huira._huira.swir8.Image) -> None
__init__(self: huira._huira.swir8.ImageBundle, image: huira._huira.swir8.Image, alpha: huira._huira.Image_f32) -> None
- property alpha¶
- property bit_depth¶
- property color_space¶
- property gamma_value¶
- property image¶
- property scaling¶