From: tom f. <tf...@al...> - 2009-08-02 19:16:56
|
Srimal Jayawardena <sr...@gm...> writes: > Hi > > > How complex is the image recognition algorithm? > > Well the function involves a matrix operations, calculating > expected values, covariances etc and obtaining the minimum > of the function values from the 100 frames. > > Can GLSL calculate an arbitrary function like that? In general, it's hard to get a GPU to perform an arbitrary algorithm. That said, matrix operations are what a GPU was designed to do, and I recommended GLSL because GPUs are exceptionally good at doing the types of per-fragment operations that come up frequently in image processing. > Any good pointers for me to get started? http://www.opengl.org/documentation/glsl/ the wikipedia page is a good meta starting point: http://en.wikipedia.org/wiki/GLSL note the 'References'. Some quick google searches turn up: http://gamma.cs.unc.edu/GPGP/lectures/imgproc.pdf http://www.cs.berkeley.edu/~kubitron/courses/cs252-F03/projects/reports/project12_report_ver2.pdf -tom > > You might consider implementing your algorithm in GLSL. [snip] |