cv.jit.blob.bounds Trying to understand object's output.

Apr 11, 2012 at 4:05am

cv.jit.blob.bounds Trying to understand object's output.

Hey :) Sorry Im still a complete noob at this.

I have found this example in another discussion and have been trying to use it to better understand what cv.jit.blobs.bounds is outputting. But I dont fully understand it. (See the patch at bottom of this post) :P

So in the example, which are the left, top, right and bottom coordinates? Are each of the different coloured sections giving these coordinates correspondingly? (Like red=left, green=top, blue=right, orange=bottom?) And if so what are the 4 values they are outputting? If there is only one bounding box, shouldnt each plane (each colour) be unpacking only one value?

Or is each colour for a different blob, and is thus unpacking left, top, right, and bottom coordinates for 4 blobs each?

Sorry if this is a real dumb question but I would REALLY appreciate the help! :)

Apr 11, 2012 at 4:09am


Apr 11, 2012 at 10:00am

the colored number boxes in the example patch are assuming there are four blobs being tracked.
so the four red are boxes are the left coordinates of the four blobs, the green are the right coordinates, etc.

if you were only tracking one blob, your output would be a 4 plane, 1 cell matrix (and thus you would only have a single number box of each color getting values)

two blobs would be a 4 plane, 2 cell matrix, etc.


You must be logged in to reply to this topic.