Class TBGRA3X3FilterScanner

Unit

Declaration

type TBGRA3X3FilterScanner = class(TBGRAFilterScannerMultipixel)

Description

Abstract scanner that applies a filter on a 3x3 window of pixels

Hierarchy

Overview

Fields

Protected FAutoSourceBorderColor: boolean;
Protected FDestinationBorderColor: TBGRAPixel;
Protected FSourceBorderColor: TBGRAPixel;

Methods

Public constructor Create(ASource: IBGRAScanner; ABounds: TRect); overload;
Public constructor Create(ASource: TBGRACustomBitmap); overload;
Protected function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; virtual; abstract;
Protected procedure DoComputeFilter(BufferX: Integer; const Buffers: array of PBGRAPixel; BufferWidth: integer; ADest: PBGRAPixel; ACount: integer); override;

Properties

Public property AutoSourceBorderColor: boolean read FAutoSourceBorderColor write FAutoSourceBorderColor;
Public property DestinationBorderColor: TBGRAPixel read FDestinationBorderColor write FDestinationBorderColor;
Public property SourceBorderColor: TBGRAPixel read FSourceBorderColor write FSourceBorderColor;

Description

Fields

Protected FAutoSourceBorderColor: boolean;

This item has no description.

Protected FDestinationBorderColor: TBGRAPixel;

This item has no description.

Protected FSourceBorderColor: TBGRAPixel;

This item has no description.

Methods

Public constructor Create(ASource: IBGRAScanner; ABounds: TRect); overload;

This item has no description.

Public constructor Create(ASource: TBGRACustomBitmap); overload;

This item has no description.

Protected function DoFilter3X3(PTop,PMiddle,PBottom: PBGRAPixel): TBGRAPixel; virtual; abstract;

This item has no description.

Protected procedure DoComputeFilter(BufferX: Integer; const Buffers: array of PBGRAPixel; BufferWidth: integer; ADest: PBGRAPixel; ACount: integer); override;

This item has no description.

Properties

Public property AutoSourceBorderColor: boolean read FAutoSourceBorderColor write FAutoSourceBorderColor;

This item has no description.

Public property DestinationBorderColor: TBGRAPixel read FDestinationBorderColor write FDestinationBorderColor;

This item has no description.

Public property SourceBorderColor: TBGRAPixel read FSourceBorderColor write FSourceBorderColor;

This item has no description.