CCentroid:Class Properties


The CCentroid class has several properties that hold the data for controlling centroid position measurements. Properties in the table below are accessed using the dot operator on the CCentroid object, for example, C.radiusX. You also can access them using the class Get... and Set... methods.

CCentroid Class Properties

radiusX

The pixel radius for computing the centroid position in the x direction. The default is 5 pixels.

radiusY

The pixel radius for computing the centroid position in the y direction. The default is 5 pixels.

trackX

The pixel radius for tracking the peak or valley in the x direction from the initial position to the centroid position. The default is 9 pixels.

trackY

The pixel radius for tracking the peak or valley in the y direction from the initial position to the centroid position. The default is 9 pixels.

bPositive

True if centroids are computed for peaks, or false if computed for valleys. The default is true.

Related Topics

CCentroid Class

CFWHM Class