how to set pixel become white pixel

조회 수: 2 (최근 30일)
mohd
mohd 2012년 5월 18일
i have an image, i want to set row 0 until row 20 become all white pixel in that image. here i attach my illustration pic for your understanding. help me please http://i1259.photobucket.com/albums/ii548/msaiful89/hmm.png

답변 (1개)

Walter Roberson
Walter Roberson 2012년 5월 18일
YourImage(1:21,:,:) = 255;
Replace the 255 with 1 if your image is floating point.

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by