mercredi 26 mars 2014

2D depth calculation algorithm?


Vote count:

0




Okay, so I'm developing a VLC plugin in Visual C++ (as a dll) to act as a "filter." To be exact, the pixels are passed through unmodified, but are also copied to a texture on an OpenGL-rendered quad in a separate window created by the dll. I'm hoping to create a grayscale frame for each input frame, in real time, which represents a decent depth calculation.


To be clear, I'm not looking for an algorithm which works 100% of the time, because such a thing clearly doesn't exist. I'm searching for the techniques similar to the closed-source commercial program "Cyberlink Power DVD."


And no, Google (as well as previously asked questions on this website) were of no help to me. I looked.


And pretty please, if you have an answer for me that is very complicated, may I have some pseudo code? Those Wikipedia-style formulas give me headaches.


Thank you!



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire