Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get boundry and center information of a mask

Hi,

I have the following mask:

mask

and I would like to get this masks center position as well as boundary positions (preferably like in a container). Since this is not a rigid geometric shape, I don't know how exactly one could get its center, hence my question.

As for the boundary information, do we need to use a contour detector? Is there a simpler way?

Thanks in advance.

How to get boundry and center information of a mask

Hi,

I have the following mask:

mask

and I would like to get this masks mask's center position as well as its boundary positions (preferably like in a container). positions. Since this is not a rigid geometric shape, I don't know how exactly one could get its center, hence my question.

As for the boundary information, do we need to use a contour detector? Is there a simpler way?

Thanks in advance.