procedure TraceContours(img: TImage32; intensity: integer = 0);
Intensity range is 0 - 10
Creates contours based on sharp changes in color and intensity, converting the image into a black and white drawing.
uses Img32, Img32.Extra, Img32.Fmt.PNG; ... img := TImage32.Create; img.LoadFromFile('trees.png'); TraceContours(img, 2); img.SaveToFile('trees3.png'); img.Free;
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025