Re: Pattern recognition
By montyross in ERDAS ECW JPEG2000 SDK
I had done this in c sharp.
rcode = vicwin.sortpixelsbyval(ref rimage, ref ptarray[0], numelem); if (rcode == vicwin.NO_ERROR) { coef = (double)ptarray[0].val / 255.0; if (coef > 1.0) coef = (double)ptarray[0].val / 65535.0; message = "Highest correlation value: " + coef.ToString("0.0000"); message = message + " Most probable location for mark: " + " (" + ptarray[0].x + "," + ptarray[0].y + ")"; MsgBox(0, message, "Find mark", 0); }
----------------------------------
You were sent this email because you opted to receive email notifications when someone responded to this thread.
To unsubscribe: