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

# Image オブジェクト (IImage インターフェイス)

このオブジェクトは、開いている画像の 1 つの「画像プレーン」([black-and-white](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md#black-and-white)、[カラー](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md#color)、または[プレビュー](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md#preview))を表します。このオブジェクトを使用すると、幾何学的パラメーターや解像度など、この「画像プレーン」のプロパティにアクセスできます。また、この画像に対応するビットマップのハンドルを取得することもできます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **ImageColorType** | [**ImageColorTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagecolortypeenum.md)、読み取り専用 | 現在の画像プレーンのカラーモード (black-and-white、グレー、カラー) を指定します。 **注:** [**ImageDocument**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md) オブジェクトが black-and-white 画像を表している場合、[**IImageDocument::ColorImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md#colorimage) プロパティから取得した画像プレーンも、実際のカラーモードは black-and-white になります。このプロパティを使用すると、現在の画像プレーンの実際のカラーモードを確認できます。 |
| **ImageDocument** | [**ImageDocument**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 現在の画像プレーンの親である **ImageDocument** オブジェクトを参照します。独立した **Image** オブジェクトの場合、このプロパティは NULL を返します。 |
| **Height** | [**整数**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 現在の画像プレーンの高さ (ピクセル単位) を格納します。画像の black-and-white 画像プレーンの高さは、同じ画像のカラー画像プレーンの高さと等しくなります。 |
| **Resolution** | [**整数**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 現在の画像プレーンの解像度 (ピクセル/インチ単位) を格納します。画像の black-and-white 画像プレーンの解像度は、同じ画像のカラー画像プレーンの解像度と等しくなります。 |
| **Width** | [**整数**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 現在の画像プレーンの幅 (ピクセル単位) を格納します。画像の black-and-white 画像プレーンの幅は、同じ画像のカラー画像プレーンの幅と等しくなります。 |
| **XResolution** | [**整数**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 現在の画像プレーンの水平解像度 (ピクセル/インチ単位) を格納します。画像の black-and-white 画像プレーンの解像度は、同じ画像のカラー画像プレーンの解像度と等しくなります。 |
| **YResolution** | [**整数**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | 現在の画像プレーンの垂直解像度 (ピクセル/インチ単位) を格納します。画像の black-and-white 画像プレーンの解像度は、同じ画像のカラー画像プレーンの解像度と等しくなります。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**EstimateBitmapSize**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image-estimatebitmapsize.md) | **GetPicture** メソッドが返すビットマップのサイズを推定します。 |
| [**GetPicture**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image-getpicture.md) | 現在の画像プレーンに対応するビットマップのハンドルを返します。 |
| [**WriteToFile**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image-writetofile.md) | 現在の画像プレーンの画像を画像ファイルに書き込みます。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Image.gif?s=dc6b2659e4ab98e9152ebaa64f1e4799)

## 出力パラメーター

このオブジェクトは、次のメソッドの出力パラメーターです。

* [**ImageProcessingTools**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools.md) オブジェクトの [**Binarize**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-binarize.md)、[**BitmapToImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-bitmaptoimage.md)、[**ConvertToGray**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-converttogray.md)、[**CorrectImageGeometry**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-correctimagegeometry.md)、[**CropImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-cropimage.md)、[**EqualizeBrightness**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-equalizebrightness.md)、[**FillRegionWithColor**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-fillregionwithcolor.md)、[**FilterColor**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-filtercolor.md)、[**InvertRegion**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-invertregion.md)、[**MirrorImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-mirrorimage.md)、[**PreprocessCameraImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-preprocesscameraimage.md)、[**RemoveGarbage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-removegarbage.md)、[**RemoveMotionBlur**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-removemotionblur.md)、[**RotateImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimage.md)、[**RotateImageByRotationType**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimagebyrotationtype.md)、[**SmoothImageByGaussianKernel**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebygaussiankernel.md)、[**SmoothImageBySquareAverage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebysquareaverage.md)、[**SmoothTexture**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothtexture.md)、[**StretchImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-stretchimage.md)、[**StretchTrapezoidToRectangle**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-stretchtrapezoidtorectangle.md)、[**SuppressColorObjects**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-suppresscolorobjects.md) メソッド
* [**ImageFile**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagefile.md) オブジェクトの [**OpenImagePage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagefile-openimagepage.md) メソッド

## 入力パラメーター

このオブジェクトは、次のメソッドの入力パラメーターです。

* [**ImageProcessingTools**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools.md) オブジェクトの [**Binarize**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-binarize.md)、[**ConvertToGray**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-converttogray.md)、[**CorrectImageGeometry**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-correctimagegeometry.md)、[**CreateDenoiseFilterParamsByImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-createdenoisefilterparamsbyimage.md)、[**CropImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-cropimage.md)、[**DetectEmpty**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-detectempty.md)、[**DetectOrientationByText**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-detectorientationbytext.md)、[**EqualizeBrightness**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-equalizebrightness.md)、[**FillRegionWithColor**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-fillregionwithcolor.md)、[**FilterColor**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-filtercolor.md)、[**ImageToBitmap**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-imagetobitmap.md)、[**InvertRegion**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-invertregion.md)、[**MirrorImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-mirrorimage.md)、[**PreprocessCameraImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-preprocesscameraimage.md)、[**RemoveGarbage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-removegarbage.md)、[**RemoveMotionBlur**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-removemotionblur.md)、[**RotateImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimage.md)、[**RotateImageByRotationType**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimagebyrotationtype.md)、[**SmoothImageBySquareAverage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebysquareaverage.md)、[**SuppressColorObjects**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-suppresscolorobjects.md)、[**SmoothImageByGaussianKernel**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebygaussiankernel.md)、[**SmoothTexture**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-smoothtexture.md)、[**StretchImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-stretchimage.md)、[**StretchTrapezoidToRectangle**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools-stretchtrapezoidtorectangle.md) メソッド

## 関連項目

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

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
