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

 Akzeptierte Antwort

Image Analyst
Image Analyst am 22 Mai 2012

1 Stimme

yourImageArray(isnan(yourImageArray)) = 0;

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by