Window around an object

I have an image in which the area and centroid are known,of the object that is to be detected. How can i draw a window around it?

回答 (3 件)

Image Analyst
Image Analyst 2012 年 3 月 8 日

0 投票

What does that mean? You mean like outlining the region with a black line, like this
imageArray(row1, col1:col2) = 0;
imageArray(row2, col1:col2) = 0;
imageArray(row1:row2, col1) = 0;
imageArray(row1:row2, col2) = 0;
Riwa
Riwa 2012 年 3 月 8 日

0 投票

Yes,outlining that part whose area and centroid is known.

1 件のコメント

Image Analyst
Image Analyst 2012 年 3 月 9 日
So is your question solved, or not?

サインインしてコメントする。

質問済み:

2012 年 3 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by