OOF2: The Manual
Name
DeltaGray (DeltaGray) — Range of gray values.
Synopsis
DeltaGray
(delta_gray
)
Details
-
Base class:
ColorDifference
-
Parameters:
delta_gray
- Difference in Gray value. Type: A real number in the range [0, 1].
Description
DeltaGray
is a ColorDifference object, used as a
parameter when selecting pixels in Images
. It specifies the
difference between two colors by converting them to grayscale, and
comparing the results. The difference between two colors is less
than DeltaGray
if the absolute value of the
difference of the average of their red, green, and blue components
is less than delta_gray
.
delta_gray
is a floating point number between 0
and 1 inclusive, where 0 indicates no intensity difference, and 1
indicates the maximum possible difference.