CBICA / CaPTk

Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
https://www.cbica.upenn.edu/captk
Other
175 stars 63 forks source link

Otsu threshold does not work correctly #1359

Closed sarthakpati closed 3 years ago

sarthakpati commented 3 years ago

Describe the bug When trying to threshold an image using Otsu, the resultant image is empty.

To Reproduce Steps to reproduce the behavior:

Utilities.exe -i "C:\t1ce_LPS.nii.gz" -o "C:\t1ce_LPS_otsu.nii.gz" -thO 1

Expected behavior The output image should not be blank.

Screenshots Current output: image

Expected output: image

CaPTk Version 1.8.1

Desktop (please complete the following information): N.A.

Additional context Reported by @chiharusako