Covert a Binary Image

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?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

提问:

2019-2-22

Community Treasure Hunt

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

Start Hunting!

Translated by