OOF2: The Manual

Name

DeltaHSV (DeltaHSV) — Range of colors in hue, saturation, and value space.

Synopsis

DeltaHSV(delta_hue,delta_saturation,delta_value)

Details

  • Base class: ColorDifference
  • Parameters:

    delta_hue
    Difference in Hue. Type: A real number in the range [0, 360].
    delta_saturation
    Difference in Saturation. Type: A real number in the range [0, 1].
    delta_value
    Difference in Value. Type: A real number in the range [0, 1].

Description

DeltaHSV is a ColorDifference object, used as a parameter when selecting pixels in Images. It specifies the difference between two colors by comparing their HSV representations. The difference between two colors is less than DeltaHSV if the absolute value of the differences of their hues, saturations, and values are less than delta_hue, delta_saturation, and delta_value, respectively. delta_hue and delta_saturation are dimensionless floating point numbers between 0 and 1, since hue and saturatation must be between 0 and 1. A color value is given by an angle, so delta_value is in degrees. The absolute difference between two angles is always taken to be the shorter distance around the unit circle.