Re: Pattern recognition

36 views
Skip to first unread message

Intergraph Geospatial Forum - Automated Email

unread,
Jul 25, 2013, 6:52:36 AM7/25/13
to erdas-communitie...@googlegroups.com

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:

  1. To unsubscribe from this item only, visit the item link and turn off notifications.
  2. To stop all notifications of any updated items from Intergraph Geospatial Forum, go to Edit Profile, click on the Site Options tab, then under Email Configuration, set Send Notifications to "No".

Reply all
Reply to author
Forward
0 new messages