Re: [osg-users] silhouette bitmap into vector

2019-07-05 Thread Trajce Nikolov NICK
Thanks Chris!!! Lots of info :) Nick On Fri, Jul 5, 2019 at 7:02 PM Chris Hanson wrote: > > And here's a completely unrelated (CPU driven, and very slow & intensive) > research paper on the state of the art of vectorization that I came across > while looking into this. Not useful in this case,

Re: [osg-users] silhouette bitmap into vector

2019-07-05 Thread Chris Hanson
Being more specific would depend on what your bitmap looked like and how you wanted to segment it before vectorizing. I assume you would want to do this in a purely OSG/OpenGL/GLSL environment without going to OpenCL or CUDA. So, this is defined in terms of multiple OSG-like rendering passes,

Re: [osg-users] silhouette bitmap into vector

2019-07-05 Thread Trajce Nikolov NICK
Thanks Chris! any links? I am interested On Fri, Jul 5, 2019 at 2:43 PM Chris Hanson wrote: > Sorry, Nick, I missed this query of yours! > > I could have given you some suggestions. If your OpenCV solution ever is > inadequate, you could probably make something really fast in GPU using >

Re: [osg-users] silhouette bitmap into vector

2019-07-05 Thread Chris Hanson
Sorry, Nick, I missed this query of yours! I could have given you some suggestions. If your OpenCV solution ever is inadequate, you could probably make something really fast in GPU using transform feedback. Could even do simplification in-GPU too. On Fri, Jul 5, 2019 at 2:11 PM Trajce Nikolov

Re: [osg-users] silhouette bitmap into vector

2019-07-05 Thread Trajce Nikolov NICK
Hi Community, just if someone else will need this: I was able to work it with OpenCV. But if you really want to exercise it here is a nice link with different algorithms explained in big detail: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4813928/ Cheers, Nick On Tue, Jul 2, 2019 at 1:03 PM

[osg-users] silhouette bitmap into vector

2019-07-02 Thread Trajce Nikolov NICK
Hi Community, This is a bit more CG question rather then OSG related, but I think there are lots of CG folks in this community so I dare to ask I am after processing of a rendering outline of a scene (which is a bitmap as a result of RTT in OSG) and then having this outline as an array of 2D