I am using the Blob Detection library. My problem is: I have defined a rectangular region of interest (x1, y1, x2, y2) and I want to create an array with all the pixel coordinates that are in the intersection of the region of interest and the blobs. Any idea how to write the code? Thanks.
↧