Just giving this a bit of a nudge by way of another patch – my last post was probably too general anyway.
Basically, what I'm trying to work out is how to take a video feed, crush the colours so I'm left with only a few distinct shades of grey (so that identifying different brightnesses is easier) and loosely tracing those shapes with OpenGL.
Attached is a photoshopped image of the 'crushed colour' effect I'm expecting would make shape tracking easier. The left and right side show before and after, respectively.
What I'm really stuck on now is how to separate each shade, so that I can work with them individually.
The attached image should work with this patch…
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Aug 22, 2010 at 12:42pm #186269