画像アドレス取得(チャネル0固定)

Namespace: fvalgcli
Assembly: fvalgcli_fga (in fvalgcli_fga.dll) Version: 3.1.0.0 (3.1.0.3)

Syntax

C#
public static IntPtr fnFGA_img_get_adrs(
	FHANDLE himg
)
Visual Basic
Public Shared Function fnFGA_img_get_adrs ( 
	himg As FHANDLE
) As IntPtr

Parameters

himg
Type: fvalgcli..::..FHANDLE
アドレスを取得する画像のハンドル

Return Value

Type: IntPtr
正常終了した場合は、左上画素のアドレスを返します。 異常終了した場合は、NULLを返します。(パラメータエラー、画像形式エラー、ライセンスエラー、または未初期化エラー)

Examples

C# Copy imageCopy
//    $Revision: 1.2 $

using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using fvalgcli;

namespace TC
{
    public partial class FIE
    {
        /// <summary>
        /// 画像アドレス取得(チャネル0固定).
        /// </summary>
        [FvPluginExecute]
        public void fnFGA_img_get_adrs()
        {
            // fnFGA_img_child_alloc 参照.
        }
    }
}

Exceptions

ExceptionCondition
System.IO..::..FileNotFoundException 実行環境に NVIDIA CUDA Runtime が存在しない場合、FGA ライブラリのロードが失敗し、この例外が発行されます。
必要な環境については FGA ライブラリ説明書 をご参照ください。
例外メッセージの例 (32bit 日本語 O/S の場合):
DLL 'fgamt.x86.3.0.0.dll' を読み込めません: 指定されたモジュールが見つかりません。 (HRESULT からの例外: 0x8007007E)

See Also