how i can make a part of image black

조회 수: 5 (최근 30일)
Sneha P S
Sneha P S 2018년 5월 21일
편집: Image Analyst 2018년 5월 21일
I would like to crop an image that is, make a small block of an encrypted image black. How can i do that?

답변 (1개)

Image Analyst
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.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by