Create ROI from a set of points > 4
Is it possible to create a roi which is non rectangular?
Is it possible to create a roi which is non rectangular?
no, it's not possible, a ROI is a rectangle by definition.
what you can do is: draw your shape filled white into an empty black image, and use it as a mask for operations like bitwise_and(), subtract(), copyTo() etc.
Asked: 2017-06-07 03:16:30 -0600
Seen: 472 times
Last updated: Jun 07 '17
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Installing Sample App / OpenCV Manager
OpenCV-2.4.2-android-sdk missing build.xml?
OpenCV libs on Real Android Device
Unresolved inclusions in OpenCV android tutorial 4.
build openCV for android, without CUDA
OpenCV Tutorial 1 - Add OpenCV on API 8
Is OpenCV_2.4.2_binary_pack_armv7a source code open
How to get good matches from the ORB feature detection algorithm?
How to decrease the number of processed frames from a live video camera?
Have you tried using a polygon to specify the ROI? https://stackoverflow.com/questions/1...
@JackGold1 yeah, I looked into those. My detailed question is like this :: https://stackoverflow.com/questions/4...