tumourkit.utils.preprocessing.read_image
- tumourkit.utils.preprocessing.read_image(name: str, path: str) array
Given name image (without extension) and folder path, returns array with pixel values (RGB).
- Parameters:
name (str) – Name of the image (without extension).
path (str) – Path to the folder where the image is located.
- Returns:
Array with pixel values (RGB).
- Return type:
np.array