Class TBGRA3X3FilterScanner
Unit
Declaration
type TBGRA3X3FilterScanner = class(TBGRAFilterScannerMultipixel)
Description
Abstract scanner that applies a filter on a 3x3 window of pixels
Hierarchy
- IInterface
- IBGRAScanner
- TBGRACustomScanner
- TBGRAFilterScanner
- TBGRAFilterScannerMultipixel
- TBGRA3X3FilterScanner
Overview
Fields
FAutoSourceBorderColor: boolean; |
|
FDestinationBorderColor: TBGRAPixel; |
|
FSourceBorderColor: TBGRAPixel; |
Methods
constructor Create(ASource: IBGRAScanner; ABounds: TRect); overload; |
|
constructor Create(ASource: TBGRACustomBitmap); overload; |
|
function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; virtual; abstract; |
|
procedure DoComputeFilter(BufferX: Integer; const Buffers: array of PBGRAPixel; BufferWidth: integer; ADest: PBGRAPixel; ACount: integer); override; |
Properties
property AutoSourceBorderColor: boolean read FAutoSourceBorderColor write FAutoSourceBorderColor; |
|
property DestinationBorderColor: TBGRAPixel read FDestinationBorderColor write FDestinationBorderColor; |
|
property SourceBorderColor: TBGRAPixel read FSourceBorderColor write FSourceBorderColor; |
Description
Fields
FAutoSourceBorderColor: boolean; |
|
This item has no description. |
FDestinationBorderColor: TBGRAPixel; |
|
This item has no description. |
FSourceBorderColor: TBGRAPixel; |
|
This item has no description. |
Methods
constructor Create(ASource: IBGRAScanner; ABounds: TRect); overload; |
|
This item has no description. |
constructor Create(ASource: TBGRACustomBitmap); overload; |
|
This item has no description. |
function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; virtual; abstract; |
|
This item has no description. |
procedure DoComputeFilter(BufferX: Integer; const Buffers: array of PBGRAPixel; BufferWidth: integer; ADest: PBGRAPixel; ACount: integer); override; |
|
This item has no description. |
Properties
property AutoSourceBorderColor: boolean read FAutoSourceBorderColor write FAutoSourceBorderColor; |
|
This item has no description. |
property DestinationBorderColor: TBGRAPixel read FDestinationBorderColor write FDestinationBorderColor; |
|
This item has no description. |
property SourceBorderColor: TBGRAPixel read FSourceBorderColor write FSourceBorderColor; |
|
This item has no description. |