Class TBGRAContourScanner
Unit
Declaration
type TBGRAContourScanner = class(TBGRA3X3FilterScanner)
Description
Scanner that computes the contour of the elements of an image.
It computes a grayscale image, then for each pixel calculates the difference with surrounding pixels (in intensity and alpha) and draw black pixels when there is a difference.
Hierarchy
- IInterface
- IBGRAScanner
- TBGRACustomScanner
- TBGRAFilterScanner
- TBGRAFilterScannerMultipixel
- TBGRA3X3FilterScanner
- TBGRAContourScanner
Overview
Fields
FGammaCorrection: boolean; |
|
FOpacity: byte; |
Methods
constructor Create(ASource: TBGRACustomBitmap; AGammaCorrection: boolean = False); overload; |
|
constructor Create(ASource: IBGRAScanner; ABounds: TRect; AGammaCorrection: boolean = False); overload; |
|
function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; override; |
Properties
property Opacity: Byte read FOpacity write FOpacity; |
Description
Fields
FGammaCorrection: boolean; |
|
This item has no description. |
FOpacity: byte; |
|
This item has no description. |
Methods
constructor Create(ASource: TBGRACustomBitmap; AGammaCorrection: boolean = False); overload; |
|
This item has no description. |
constructor Create(ASource: IBGRAScanner; ABounds: TRect; AGammaCorrection: boolean = False); overload; |
|
This item has no description. |
function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; override; |
|
This item has no description. |
Properties
property Opacity: Byte read FOpacity write FOpacity; |
|
This item has no description. |