> ## 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.

# DitheringMethodEnum

> ABBYY FineReader Engine API の DitheringMethodEnum — 画像ディザリングのアルゴリズム（Bayer、Floyd-Steinberg）。

DitheringMethodEnum の列挙定数は、画像のディザリングアルゴリズムを指定するために使用されます。

```
typedef enum {
 DM_Bayer,
 DM_FloydSteinberg
} DitheringMethodEnum;
```

<div id="elements">
  ## 要素
</div>

| 名前                 | 説明                                                                                                   |
| ------------------ | ---------------------------------------------------------------------------------------------------- |
| DM\_Bayer          | Bayer (順序型) ディザリング。しきい値マップを各ピクセルに適用してディザリングを行うアルゴリズムで、一部のピクセルが別の色で描画されます。生成される画像には、目立つ格子状のパターンが現れます。 |
| DM\_FloydSteinberg | Floyd–Steinbergディザリング。ピクセルの量子化誤差を周囲のピクセルに拡散することでディザリングを行うアルゴリズムです。                                   |

<div id="used-in">
  ## 使用箇所
</div>

[IImageDocument::DitherImage](/ja/fine-reader/engine/api-reference/image-related-objects/imagedocument/ditherimage-method)
