SmoothImageBySquareAverage Method of the ImageProcessingTools Object

This method smoothes the image by averaging over the square neighborhood. The method removes sharp differences from the image. It can be useful, for example, if the image contains some noise, i.e. random black dots or speckles. This method should not be used if the lines of letters on the image are thin.

Important! This method can be used for gray and color images only.

Syntax

Visual Basic .NET

Function SmoothImageBySquareAverage( _
  Image As Image, _
  SquareSize As Integer, _
) As Image
    

C++

HRESULT SmoothImageBySquareAverage(
  IImage*  Image,
  int      SquareSize,
  IImage** Result
);
    

Parameters

Image
[in] This variable refers to the Image object which is to be preprocessed.
SquareSize
[in] This variable specifies the side of the square neighborhood. Must be an odd number above or equal to 3.
Result
[out, retval] A pointer to the IImage* pointer variable that provides access to the resulting image.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

ImageProcessingTools

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.