画像の描画とオーバーレイ
オーバーレイ
● | 描画ではWindows GDI(Graphics Device Interface)システムコールが使用されます。 |
□ | MFC(Microsoft Foundation Class)アプリケーションは、通常、描画のためにOnDrawイベントハンドラを使用します。このとき、デバイスコンテキストのポインタを使用できます。 |
● | 256色表示モードのカラーパレットにより最適なレンダリングが行われます。 |
● | グレーレベル画像は LUT(ルックアップテーブル) を用いて改善できます(ヒストグラムの引き伸ばしまたは疑似カラー表示)。 |
● | 画像は水平方向および垂直方向に個別にズームできます。 |
● | DrawFrameWithCurrentPenメソッドによりフレームが描画されます。 |
● | 非破壊オーバーレイの描画演算では、画像の内容が変わることはありません(MoveTo/LineTo など)。 |
● | 破壊オーバーレイの描画演算では、画像内部に描画が行われるため画像の内容が変わります(Easy::OpenImageGraphicContextなど)。グレーレベル [カラー] 画像はグレーレベル [カラー] オーバーレイにのみ対応しています。 |
Enhanced Image Display
When the enhanced image display mode is enabled, a high-quality interpolation method is used to display the resized images.
□ | Set Easy::SetEnableEnhancedImageDisplay(bool) to TRUE, to enable the enhanced image display. |
□ | By default, this option is disabled. |
□ | Enhanced image display has a significant impact on display speed, the drawing can be 4x to 10x slower. |
□ | The drawing of images with EBW8Vector or EC24Vector used as Look Up Table doesn't support enhanced image display |
EnhancedImageDisplay disabled (left) and enabled (right)
□ | Open eVision Studio exposes this option in View > Option dialog: |