Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Rasterizers🞂TContourRasterizerClass

TContourRasterizer

Rasterizer that tracks and follows paths of similar color intensity across the sample surface.

Inheritance:TObject 🞂 TPersistent 🞂 TPlainInterfacedPersistent 🞂 TNotifiablePersistent 🞂 TThreadPersistent 🞂 TRasterizer 🞂 TContourRasterizer

Declaration ​

pascal
TContourRasterizer = class(TRasterizer)

Description ​

TContourRasterizer evaluates samples by following paths of minimal color intensity difference (contours) across adjacent pixels.

Starting at an initial unvisited coordinate, it evaluates neighboring forward, left, and right pixels, navigating along paths where color change is minimized. Once a contour branch dead-ends or encounters previously visited pixels, it scans for the next unvisited coordinate and repeats until the destination rectangle is fully sampled.