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

조회 수: 3 (최근 30일)
Andrea
Andrea 2012년 5월 22일
Converting all NaNs to zero in an image is my problem.

채택된 답변

Image Analyst
Image Analyst 2012년 5월 22일
yourImageArray(isnan(yourImageArray)) = 0;

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by