how to fill the region with know boundary directly on the figure

1 次查看(过去 30 天)
Hi there, I have a image plotted to a figure and by selecting some point with mouse, I outline the coordinates on the boundary. In side the boundary, there are lots of detail, so how can I fill all pixels inside that boundary with some color directly in the plot?
The coordinates obtained is mathematical coordinates instead of pixel coordinates. Thanks.

回答(1 个)

Rick Rosson
Rick Rosson 2012-3-1
>> doc patch

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by