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

# ImageProcessingTools オブジェクトの CorrectImageGeometry メソッド

このメソッドは、画像の形状 (遠近歪み、テキスト行の湾曲) を補正します。

## 構文

```vb Visual Basic .NET theme={null}
Function CorrectImageGeometry( _
  Image As Image, _
  IsPhoto As Boolean, _
) As Image
```

```cpp C++ theme={null}
HRESULT CorrectImageGeometry(
  IImage*      Image,
  VARIANT_BOOL IsPhoto,
  IImage**     Result
);
```

## パラメーター

**Image**

\[in] この変数は、前処理の対象となる [**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトを参照します。

**IsPhoto**

\[in] 画像が写真かどうかを指定します。

**Result**

\[out, retval] 出力画像にアクセスするための [**IImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md)\*\*\*\*\* ポインター変数へのポインターです。

## 戻り値

このメソッドに固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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