Covert a Binary Image

1 次查看(过去 30 天)
Gina Carts
Gina Carts 2019-2-22
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 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by