Click or drag to resize
Accord.NET (logo)

IFilterApply Method (UnmanagedImage, UnmanagedImage)

Apply filter to an image.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.6.0
Syntax
void Apply(
	UnmanagedImage sourceImage,
	UnmanagedImage destinationImage
)
Request Example View Source

Parameters

sourceImage
Type: Accord.ImagingUnmanagedImage
Source image to be processed.
destinationImage
Type: Accord.ImagingUnmanagedImage
Destination image to store filter's result.
Exceptions
ExceptionCondition
InvalidImagePropertiesExceptionIn the case if destination image has incorrect size.
Remarks

The method keeps the source image unchanged and puts the the result of image processing filter into destination image.

Note Note
The destination image must have the size, which is expected by the filter.

See Also