Forums > Jitter

Getting Co-ord values from cv.jit.blobs.bounds

April 19, 2007 | 5:38 pm

Hi,

Could anybody advise how to get the four co-ordinate values out of the cv.jit.blobs.bounds object as I am not sure how to get at them.

Thanks

Andy


April 19, 2007 | 6:57 pm

look into cv.jit.blobs.bounds.draw abstraction inside the help file.
you get a matrix out of the cv.jit.blobs.bounds
you need to pass it thru [jit.iter] >> [unpack 0 0 0 0] to get each blobs
top left right bottom positions

On 4/19/07, Andy Brennan wrote:
>
>
> Hi,
>
> Could anybody advise how to get the four co-ordinate values out of the
> cv.jit.blobs.bounds object as I am not sure how to get at them.
>
> Thanks
>
> Andy
>


April 19, 2007 | 7:29 pm

Thats great thanks.

I knew it was matrix output but had no ideas how to extract the values from the matrix. A very useful objecy.

Many Thanks

Andy


Viewing 3 posts - 1 through 3 (of 3 total)