Top  Previous  Next

measCount ( integer Input [, string File ] )

Use this function to activate interactive count of objects in an image. Equivalent to selecting the Object Count command in the Measure menu.

An integer between 1 and 99 specifying the frame number of the image for which the count of objects is performed.  
An optional string specifying the name of the ImageWarp data file for saving measurement results. If the file already exists, the data previously stored will be loaded into the Measurement table. If no such a file exists, it will be created when the user presses the Save button on the dialog.  
This set of statements activates the object count for a sample image:  
setCurDir ("samples")  
loadIm (1,"sample8.iwd")  
measCount (1)  
For more information on the Object Count dialog box and the list of supported parameters refer to ImageWarp User's Guide