Click or drag to resize
Accord.NET (logo)

BaseFilter2 Class

Base class for filters, which operate with two images of the same size and format and produce new image as a result.
Inheritance Hierarchy

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public abstract class BaseFilter2 : BaseFilter
Request Example View Source

The BaseFilter2 type exposes the following members.

Constructors
  NameDescription
Protected methodBaseFilter2
Initializes a new instance of the BaseFilter2 class.
Protected methodBaseFilter2(Bitmap)
Initializes a new instance of the BaseFilter2 class.
Protected methodBaseFilter2(UnmanagedImage)
Initializes a new instance of the BaseFilter2 class.
Top
Properties
  NameDescription
Public propertyFormatTranslations
Format translations dictionary.
(Inherited from BaseFilter.)
Public propertyOverlayImage
Overlay image.
Public propertyUnmanagedOverlayImage
Unmanaged overlay image.
Top
Methods
  NameDescription
Public methodApply(Bitmap)
Apply filter to an image.
(Inherited from BaseFilter.)
Public methodApply(BitmapData)
Apply filter to an image.
(Inherited from BaseFilter.)
Public methodApply(UnmanagedImage)
Apply filter to an image in unmanaged memory.
(Inherited from BaseFilter.)
Public methodApply(UnmanagedImage, UnmanagedImage)
Apply filter to an image in unmanaged memory.
(Inherited from BaseFilter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcessFilter(UnmanagedImage, UnmanagedImage)
Process the filter on the specified image.
(Overrides BaseFilterProcessFilter(UnmanagedImage, UnmanagedImage).)
Protected methodProcessFilter(UnmanagedImage, UnmanagedImage, UnmanagedImage)
Process the filter on the specified image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

The abstract class is the base class for all filters, which can be applied to an image producing new image as a result of image processing.

The base class is aimed for such type of filters, which require additional image to process the source image. The additional image is set by OverlayImage or UnmanagedOverlayImage property and must have the same size and pixel format as source image. See documentation of particular inherited class for information about overlay image purpose.

See Also