How can I convert all NaNs to Zero in the image?

1 次查看(过去 30 天)
Converting all NaNs to zero in an image is my problem.

采纳的回答

Image Analyst
Image Analyst 2012-5-22
yourImageArray(isnan(yourImageArray)) = 0;

更多回答(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