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

3 visualizzazioni (ultimi 30 giorni)
Converting all NaNs to zero in an image is my problem.

Risposta accettata

Image Analyst
Image Analyst il 22 Mag 2012
yourImageArray(isnan(yourImageArray)) = 0;

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by