refactor(image-processing): replace cv2 with tifffile for reading images
Switched from using OpenCV (cv2) to Tifffile for reading images, specifically TIFF files, in the resize_image function to better handle multi-dimensional image data. The change was made due to Tifffile's superior capabilities in dealing with TIFF images compared to OpenCV. Additionally, removed unnecessary resizing before Ilastik processing to streamline the workflow and avoid redundancy. This update aims to improve workflow efficiency and maintain image quality handling in microscopy applications.
Loading
Please register or sign in to comment