-
Notifications
You must be signed in to change notification settings - Fork 596
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
If I enter a value >1 for the anisotropy flag in the CLI (for a zstack), cellpose still analyzes the image as if the zstack were isotropic (no resizing is done). When using the GUI, the analysis seems to treat the stack correctly and make it isotropic prior to segmentation, but then I get an opencv error related to resizing at the mask creation step. This is using v4.0.3. This is the error message:
2025-05-20 08:41:31,452 [WARNING] Resizing is depricated in v4.0.1+ 2025-05-20 08:41:32,596 [INFO] masks created in 5.33s GUI_INFO: resizing flows to original image size ERROR: OpenCV(4.11.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:3845: error: (-215:Assertion failed) !dsize.empty() in function 'cv::hal::resize'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working