OpenCV create contours from image/colour

opencv.org/contours2
Benoit Lahoz made that great set for Qtz:
http://kineme.net/composition/benoitlahoz/BlobTrackingPluginCarasueloOpenCV002a

@Scratchpole, are you looking to create a contour image (in which case would the Outline Image node work for you?), a list of contour lines, or something else?

What would you like to use the proposed contour node for? As we plan nodes, it always helps to have a use case or example.

I’d use it for things like this: Quartz Composer Kinect 3D Triangles Contours Particles on Vimeo

The white contour line was created with Benoit’s qtz plugin, it’s output was 2d points.
I added random z coordinates to the structure to make the blue triangles. The line structure was also fed into _1024 Particle Warfare.
The base image was the kinect with a b/w mask.

2 Likes

On a similar request potentially, there was also _1024 Image to structure plugin…
I used it for this: Mr Blobby on Vimeo

Used the depth image with a mask from Kinect as image input, made a few layers of grid structures from varrying areas of the depth gradient.

2 Likes

OK, so this would be a node that inputs an image and outputs a list of contour lines. Opened for voting.

On a similar request potentially, there was also _1024 Image to structure plugin

Interesting. That’s different enough to be a separate feature request, if you’d like to create one. Is it still possible to download that plugin somewhere?

1 Like

Yup it’s part of Structure Tools 1.2 : https://1024d.wordpress.com/qc-plugins/

1 Like