function GetBoolMask(img: TImage32; reference: TColor32; compareFunc: TCompareFunction; tolerance: Integer): TArrayOfByte;
GetBoolMask finds all pixels in 'img' that match the 'reference' color according to the supplied compare function. The returned value is a binary (true/false) unidimensional array whose length corresponds to the supplied image's width x height.
TImage32.ConvertToBoolMask, GetByteMask
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025