Covert a Binary Image

3 views (last 30 days)
Gina Carts
Gina Carts on 22 Feb 2019
Hi,
I have a 4D binary image filled with 0 and 4. Voxels with 0 appear black and voxels with 4 appear white.
How can I make it to have 0 and 1 instead of 0 and 4?
Convert the voxels assigned the value 4 to have now the value 1?

Answers (0)

Community Treasure Hunt

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

Start Hunting!