> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateDenoiseFilterParamsByImage Method of the ImageProcessingTools Object

This method measures ISO noise on the image and creates the [**DenoiseFilterParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/denoisefilterparams.md) object based on the measurement. The method is primarily designed for the images obtained by a digital camera.

> [!WARNING]
>
> This method can be used for color images only.

## Syntax

```vb Visual Basic .NET theme={null}
Function CreateDenoiseFilterParamsByImage( _
  Image As Image, _
  NoiseType As NoiseModelTypeEnum, _
  AverageCharSize As Integer _
) As DenoiseFilterParams
```

```cpp C++ theme={null}
HRESULT CreateDenoiseFilterParamsByImage(
  IImage*                Image,
  NoiseModelTypeEnum     NoiseType,
  Integer                AverageCharSize,
  IDenoiseFilterParams** Result
);
```

## Parameters

**Image**

\[in] This variable refers to the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object, which specifies the image to detect noise on.

**NoiseType**

\[in] Specifies the type of the noise. It can be either normal, or correlated. See details in the description of the [**NoiseModelTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/noisemodeltypeenum.md) constants.

**AverageCharSize**

\[in] Specifies the size of the characters on the image in pixels. For the best recognition quality, select the minimum possible size of characters. If you set this parameter to 0, FlexiCapture SDK will select the gentlest parameters.

**Result**

\[out, retval] A pointer to the [**IDenoiseFilterParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/denoisefilterparams.md)**\*** pointer variable that provides access to the created parameters.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**ImageProcessingTools**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools.md)
