Selection.similar

void similar (int tolerance, bool antiAlias)

Parameters

tolerance The tolerance range. Range: 0 to 255.
antiAlias If true, anti-aliasing is used.

Description

Grows the selection to include pixels throughout the image falling within the tolerance range.