Calculate Color Statistics in Selected Area(s)

When one or more area features are selected, this option will appear in the Digitizer context menu under Attribute/ Style Functions and Analysis/Measurement.

This tool will calculate color statistics for the pixels in the top most visible raster falling inside of each area feature. The calculated attributes include most present RGB value, as well as additional statistics about the color values. The calculation will come from the displayed pixel values of the data, including any Color/Contrast Adjustment, Color Grade Tab, or Band Setup Tab changes.

Color Statistics are helpful for image analysis workflows, and to determine the appropriate colors when vectorizing imagery with the Create Area Features from Equal Values tool.

Color Statistics Options

Use the slider to select how close colors must be to be declared a "match". When set to Exact (0), then the stored color values must match exactly. Any other value allows for slightly different colors to be considered the same. The usefulness of this depends on the type of data being analyzed. For example, when attempting to determine the roof color for building footprints, a non-zero similarity number is recommended, since many colors that look the same vary slightly in their internal representation.

Statistics

Global Mapper will add the following attributes to each feature:

MOST_PRESENT_COLOR - this is the RGB value that occurs the largest number of times within the area feature.

In the following attributes, the values are calculated separately for the Red, Green, and Blue components of the colors.

AVG_RGB - The average Red, Green, and Blue color values.

MODE_RGB - The mode (most frequent) Red, Green and Blue color values.

1ST_QUARTILE_RGB - The first quartile value.

MEDIAN_RGB - The median Red, Green and Blue color values.

3RD_QUARTILE_RGB - The 3rd quartile value.