utilities.transform_utils.image_loading module#
This module contains functions for loading images from a directory into a numpy array.
- load_ims(ims_path: str) ndarray[Any, dtype[int16]] [source]#
Loads images from the input directory into numpy tensor. Specfically dimensions are [N, H, W, C]. where N = Number of images
H = Image height W = Images Width C = Number of channels/bands of image
Parameters#
- str ims_path:
directory where images are stored.
Returns#
- return NDArray[np.int16]:
numpy array of images in format [N, H, W, C]