Using blob tracking to draw shapes
Aug 21 2010 | 6:47 am
I should probably preface this by saying I'm stuck in the world of 'trial and error' at the moment - I'm not totally sure if I'm on the right track, so any suggestions at all are gratefully appreciated...
I'm trying to find a way to use cv.jit.blobs to create shapes - probably with OpenGL, which I've had some success with. The catch is that I don't want to use a perfectly round or square (like cv.jit.bounds) shape - I'd prefer that it fitted the area considered a blob a little closer.
I've been playing with vade's v001.posterize filter, to try and 'crush' the number of colour values into something similar, but because I need to make this a binary image for cv.jit anyway, it isn't making a great deal of difference. The closest I've got is using cv.jit.blobs.color, but I'm hoping to create a more abstract shape with OpenGL than the coloured areas in a jitter matrix.
Hopefully this all makes some sense, but if not, here is the patch I've been testing some different cv.jit.blobs styles on...