필터 지우기
필터 지우기

conversion of pixel values in a gray scale image

조회 수: 1 (최근 30일)
BV
BV 2013년 6월 17일
I have a gray scale image . I want to convert all the zero pixel values to 255. is there any function to do so?

채택된 답변

Anand
Anand 2013년 6월 17일
im(im==0) = 255;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by