ImagePro>Auto-Classification


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Auto-Classification



Hi!

I use the auto-classification option in count/size mode but I have a little 
problem. Manually, I eable to class my object by area. The result apear at the 
screen with one color per class.

I try to do the same thing with the macro language but after the 
classification, my original image was not update. So, I can't see on the screen 
my class. What I does wrong?

This is my code I use after my image is open: (I obtain it with the record 
macro)

ret = IpBlbSetAttr(BLOB_AUTORANGE, 1)
	ret = IpBlbSetAttr(BLOB_BRIGHTOBJ, 0)
	ret = IpBlbSetAttr(BLOB_AUTORANGE, 1)
	ret = IpBlbSetAttr(BLOB_BRIGHTOBJ, 1)
	ret = IpBlbCount()
	ret = IpBlbUpdate(0)
	ipClassifiers(0) = BLBM_DIRECTION
	ret = IpBlbShowAutoClass(ipClassifiers(0), 1, 6, 1, 1)

      


                         Thanks, Jean-Marc Tanguay



***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************

This message is sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
TO UNSUBSCRIBE, send an email to: <imagepro-users-off@lists.mediacy.com>
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to  <imagepro-users-request@lists.mediacy.com>
To subscribe visit http://www.solutions-zone.com/ipednld/subscriber.asp



Search this Archive