powered by
Perform thresholding on the given image
ThresholdImage( "" , "" , "" , "" , "" , "" , "" ) ThresholdImage( "" , "" , "" , "Otsu" , "" )
Number of dimensions of the input image
Input image to operate on
Result image
Lower edge of threshold window
Higher edge of threshold window
Inside value
Outside value
Number of thresholds
0 -- Success 1 -- Failure
# NOT RUN { ThresholdImage( 3 , "input_img.nii" , "output_img.nii" , 2 , 3 ) ThresholdImage( 3 , "input_img.nii" , "output_img.nii" , "Otsu" , 3 ) # }
Run the code above in your browser using DataLab