how i can make a part of image black
5 ビュー (過去 30 日間)
古いコメントを表示
I would like to crop an image that is, make a small block of an encrypted image black. How can i do that?
0 件のコメント
回答 (1 件)
Image Analyst
2018 年 5 月 21 日
編集済み: Image Analyst
2018 年 5 月 21 日
First, decrypt it, then set the block to black (zero)
yourImage(row1:row2, column1:column2, :) = 0;
Or crop it
yourImage = yourImage(row1:row2, column1:column2, :);
Then encrypt it again if you need to.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!