## PreprocessingFilter.ToGrayscale method

画像をグレースケール画像に変換します。 グレースケール画像は、画像内に 256 レベルの光 (0 ～ 255) があります。

```csharp
public static PreprocessingFilter ToGrayscale()
```

### 戻り値

グレースケール フィルター オブジェクト。

### 関連項目

* class [PreprocessingFilter](../)
* 名前空間 [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter/)
* 組み立て [Aspose.OCR](../../../)


