Measurements Preferences  
Top  Previous  Next


Menu:   Edit > Preferences > Measurements  
Script:   setMeasAttr  

This tab of the Preferences
dialog box lets you adjust the general settings for automatic measurements.

Border processing

 
Lets you choose how to measure objects that intersect the edges of an image or selection.  
 
Select Include to have ImageWarp measure objects that cross the edges. If part of an object lies outside a selection area, it will be included into the count.  
Select Cut to have ImageWarp partially measure the objects that cross the edges of the image or selection. If part of an object lies outside the selection area, it will be disregarded.  
Select Remove to have ImageWarp exclude from the count any object that intersects the edges of the image or selection. Only the objects that lie entirely within the area of interest will be measured.  
 
Default value: Include  
 
Connectivity
 
Lets you specify the neighborhood pattern for object detection algorithms.  
 
Select 4-connect to use a "city block" neighborhood. The pixels connected diagonally will be treated as belonging to different objects.  
Select 8 connect to use an "chess board' neighborhood. Any interconnected pixels will be treated as belonging to the same object.  
 
Default value: 8-connect  
 
Note that ImageWarp uses opposite neighborhood patterns for finding objects and holes in them. If you select the 4-connect option, the holes will be measured using the 8-connect neighborhood.  
 
Contour step
 
Lets you choose the minimum step for outline-based measurements. The step is indicated in pixels. The following parameters are affected by this option: AreaOut, AreaConv, AreaBox, PerimOut, PerimConv, Convexity, Rmin, Rmax, AngleRmin, AngleRmax, Ravrg, RRatio, FeretMin, FeretMax, AngleFmin, AngleFmax, FeretAvrg, FeretRatio, BoxWidth, BoxLength, BoxRatio, Rectangularity, CenterConvX, CenterConvY.  
 
Default value: 1  
 
Scan step
 
Lets you choose the distance between the scan lines in the Field Measurements The following measurement parameters are affected by this option: ChordSum, ChordRef, InterceptX, InterceptY, Anisotropy.  
 
Default value: 1  

Angle step

 
Lets you choose the minimum angular step for radial measurements. The step is indicated in degrees. The following parameters are affected by this option: RadiiIn, RadiiOut, Diameters, Dmin, Dmax, AngleDmin, AngleDmax, Davrg, DRatio.  
 
Default value: 1  
 
Reverse angle

Lets you reverse the direction of angular measurements. By default ImageWarp assigns the positive sign to angles increasing in a direction from the positive X-axis to the positive Y-axis. Since the default direction of the Y-axis is downward, angles are typically measured clockwise. If you select this option, the sign of angular measurements will be inverted. The following parameters are affected by this option: Angle, AngleMajor, AngleMinor, AngleFmin, AngleFmax, AngleDmin, AngleDmax, AngleRmin, AngleRmax.  
 
Default value: Disabled  
 
Data format

Lets you choose the data format in which the measurement results will be displayed in the data tables. Select one of the following options:  
 
Fixed  
 
The data will be displayed in the floating-point format with a fixed number of decimal digits.  
 
Scientific  
 
The data will be displayed in the scientific format with an exponent field.  
 
General  
 
The data will be displayed in the fixed or scientific format whichever is more compact for a given value and precision.  
 
Default value: Fixed  
 
Decimal places

Lets you enter the precision of the data format. For the Fixed and Scientific format this value specifies the number of digits to be displayed after the decimal point. For the General format this value specifies the maximum number of significant digits to be displayed.  
 
Default value: 5