How to convert a volume image to binary?

1 view (last 30 days)
I want to convert volume image to binary in matlab, does any one have an idea?

Accepted Answer

Adam
Adam on 19 Aug 2014
binaryVolume = logical( volume );

More Answers (1)

Image Analyst
Image Analyst on 19 Aug 2014
Maybe threshold it???
binaryVolumeImage = grayscaleVolumeImage3D > someThresholdValue;

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!