|
|
Show
|
|
A boolean integer specifying whether an automatic display of the Global Grid will be enabled or disabled. Must be one of the following values:
|
|
FALSE=0 disables an automatic display of the Global Grid.
|
TRUE=1 enables an automatic display of the Global Grid.
|
Default value: TRUE
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
When ImageWarp starts the automatic display of the Global Grid is set to the enabled state.
|
The following set of statements performs blob measurements on a captured image without displaying the Global Grid:
|
|
setShowGrid(FALSE)
|
SelectParam("Area","Perim","DCircle","DMin","DMax")
|
grabim(1)
|
threshunimod(1,1,0,1)
|
scrap(1,1,50,400,1)
|
measobjects(1,1,"")
|
Print "Area of object 10: ",Grid.GetParamValue(10,"Area"), " pixels"
|