ImageF32¶
Summary¶
Single-channel float32 image (H x W).
Methods¶
fill¶
Signature: fill(value: float) -> None
Fill image with constant value.
get_height¶
Signature: get_height() -> int
Return image height.
get_size¶
Signature: get_size() -> ImageSize
Return image size as ImageSize.
get_width¶
Signature: get_width() -> int
Return image width.
load_from_disk¶
Signature: load_from_disk(file_path: str) -> bool
Load image from disk.
resize¶
Signature: resize(size: ImageSize) -> None
Resize image.
save_to_disk¶
Signature: save_to_disk(file_path: str) -> bool
Save image to disk.
to_numpy¶
Signature: to_numpy() -> numpy.ndarray[dtype=float32, order='C']
Return a NumPy copy of the image.