Filter löschen
Filter löschen

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

1 Ansicht (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)

Kategorien

Mehr zu Convert Image Type finden Sie in Help 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