stouputils.data_science.data_processing.image.common module#

check_image(image: ndarray[Any, dtype[Any]], ignore_dtype: bool = False) None[source]#

Check if the image is valid

Parameters:
  • image (NDArray[Any]) – Image to check

  • ignore_dtype (bool) – Ignore the dtype check