07-22-2014 12:32 AM
Hi All,
I want to check whether an array of points(each element of the array is a cluster of X and Y coordinates) form a closed ROI or not.
Any suggestion on how this can be done?
Thanks.
Regards
Aveo
07-27-2014 08:52 PM
Well one simple test would be whether the coordinates of the first and last point are the same. Also, if the ROI is made up of straight lines there needs to be at least 4 points in the definition.
Mike...