how to convert particular location of the image in to black ?

1 次查看(过去 30 天)
shall use image crop and copy position for this or what method i can try to change particular location in an image in to black

回答(1 个)

Image Analyst
Image Analyst 2013-12-11
yourImage(row1:row2, col1:col2) = 0; % If it's Monochrome
yourImage(row1:row2, col1:col2, :) = 0; % If it's Color

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by