Delaunay region as ROI?

asked 2017-09-12 10:58:45 -0500

krishprince gravatar image

How to make a delaunay triangle region of ROI in opencv.

edit retag flag offensive close merge delete


I need each delaunay triangle for matching processing.

krishprince gravatar imagekrishprince ( 2017-09-12 22:34:37 -0500 )edit

If you want to set a non rectangular you can create a mask instead .

SourceImage.copyTo(OutputImage ,Mask);

you can create a mask by drawing filled contour around your points.

Ziri gravatar imageZiri ( 2017-09-13 21:22:32 -0500 )edit

Thanks i will try.

krishprince gravatar imagekrishprince ( 2017-09-13 22:11:49 -0500 )edit