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

4 Ansichten (letzte 30 Tage)
Andrea
Andrea am 22 Mai 2012
Converting all NaNs to zero in an image is my problem.

Akzeptierte Antwort

Image Analyst
Image Analyst am 22 Mai 2012
yourImageArray(isnan(yourImageArray)) = 0;

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by