how to set pixel become white pixel
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 5 月 18 日
YourImage(1:21,:,:) = 255;
Replace the 255 with 1 if your image is floating point.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!