Object Count  
Top  Previous  Next


Menu:   Measure > Count  
Script:   measCount  

Use this command to perform interactive count of objects in an image. You can save the results into an ImageWarp data file and open it later as a data table
, or you can export the results to Microsoft Excel for further analysis.

When you choose this command, the Object Count dialog box will appear. As you move the cursor over the Input image frame, the cursor will take shape of a cross. Position the cursor over the object you want to count and click the left mouse button. A small circle with the color determined by the Class options will appear in the image, and the count of 1 will be displayed n the Measurement table. As you continue counting objects, the value in the table will be incremented. If you want to count objects of a different class, change the Class option. Newly counted objects will be marked with a different color and their count will appear in a new row of the Measurement table. If you click a row in the table, the markers of the selected class will blink.

You can change the size of the dialog box by positioning the cursor near an edge or corner and dragging the two-way arrow to the desired position.

The following options are available in the Object Count dialog box:

Input
 
in the leftmost column of the table. As you count the objects in the input image, the count value in the table is incremented. If you click a row in the table, the markers corresponding to the selected class will blink. Click the same row again to stop blinking of the markers.  
 
Delete row
 
Click this button to delete the currently selected row from the Measurement table. When you delete a row of data from the table, the corresponding markers will be erased from the input image.  
 
Clear all
 
Click this button to clear the entire Measurement table and initialize the count of objects.  
 
Export to Excel
 
Click this button to transfer data to Microsoft Excel for further analysis. If the Excel application is not open, ImageWarp will attempt to start it automatically before transferring data. If you receive an error message, make sure Microsoft Excel is installed in the system and you have enough memory to run both Excel and ImageWarp.  
 
Copy to Grid
 
Click this button to copy the data from the Measurement Table to the Global Grid and display it. If the Global Grid already contains some data, they will be overwritten.  

Save data
 
Click this button to save the results of object count into an ImageWarp data file. When you click this button, the Open dialog box will appear allowing you to enter a file name or select a data file from the list of files and folders. If you select a file in the list, its name will appear in the File Name box, and ImageWarp will ask if you want to replace this file with the one you would like to save. You can load the data from the saved file later and resume the object count. You can also open a data file for further analysis by choosing Open Data on the File menu.  
 
Close
 
Closes the Object Count dialog box. If you have not saved the session results to a data file, ImageWarp will offer you to do it.  
 
Note – ImageWarp maintains backup logs during all interactive measurements. This ensures that data will not be lost due to a sudden hardware or software failure. If the system fails or application stops responding, restart ImageWarp and choose the measurement command that was interrupted. All results from the last session will be restored and loaded into the measurement table.