how i can make a part of image black

5 Ansichten (letzte 30 Tage)
Sneha P S
Sneha P S am 21 Mai 2018
Bearbeitet: Image Analyst am 21 Mai 2018
I would like to crop an image that is, make a small block of an encrypted image black. How can i do that?

Antworten (1)

Image Analyst
Image Analyst am 21 Mai 2018
Bearbeitet: Image Analyst am 21 Mai 2018
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.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by