The method I used is creating a polygon from QPointF or QPolygonF and based from that polygon having the same shaped I want to clip the polygon created into the original image.
The method I used is creating a polygon from QPointF or QPolygonF and based from that polygon having the same shaped I want to clip the polygon created into the original image.
Hi,
You can use OpenCV libraries to do this. Take a look at segmentation algorithms.
To use OpenCV with Qt there are a lot of posts about it, so use the search tool to view them.
Òscar Llarch i Galán
Is there a better way to d this using only whats in Qt itself?
I'll change my question, I need to clip a hexagon in the middle of an image.
Is that possible? I only see rectangle examples on the net.
Thx
Bookmarks