Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to create a Rhombus using openCV

When we want to crop a section from an image what we normally use is cvSetImageROI() method and pass a rectangle as a parameter. In my case, I want to crop a rhombus from an image so that I have to pass a rhombus as the parameter. So I need to know how to draw a rhombus in opencv. Can someone help me with this problem. Thank You !

click to hide/show revision 2
retagged

updated 2013-09-23 15:02:25 -0600

berak gravatar image

How to create a Rhombus using openCV

When we want to crop a section from an image what we normally use is cvSetImageROI() method and pass a rectangle as a parameter. In my case, I want to crop a rhombus from an image so that I have to pass a rhombus as the parameter. So I need to know how to draw a rhombus in opencv. Can someone help me with this problem. Thank You !

click to hide/show revision 3
retagged

updated 2013-09-23 15:02:39 -0600

berak gravatar image

How to create a Rhombus using openCV

When we want to crop a section from an image what we normally use is cvSetImageROI() method and pass a rectangle as a parameter. In my case, I want to crop a rhombus from an image so that I have to pass a rhombus as the parameter. So I need to know how to draw a rhombus in opencv. Can someone help me with this problem. Thank You !