|
ailia
1.6.0.0
|
公開メンバ関数 | |
| static int | ailiaCreateFeatureExtractor (ref IntPtr fextractor, IntPtr net, UInt32 format, UInt32 channel, UInt32 range, string layer_name) |
| 特徴抽出オブジェクトを作成します。 [詳解] | |
| static void | ailiaDestroyFeatureExtractor (IntPtr fextractor) |
| 特徴抽出オブジェクトを破棄します。 [詳解] | |
| static int | ailiaFeatureExtractorCompute (IntPtr fextractor, IntPtr dst, UInt32 dst_size, IntPtr src, UInt32 src_stride, UInt32 src_width, UInt32 src_height, UInt32 src_format) |
| 特徴の抽出を行います。 [詳解] | |
| static int | ailiaFeatureExtractorMatch (IntPtr fextractor, ref float distance, UInt32 distace_type, IntPtr feature1, UInt32 feature1_size, IntPtr feature2, UInt32 feature2_size) |
| 特徴間の距離を計算します。 [詳解] | |
静的公開変数類 | |
| const Int32 | AILIA_FEATURE_EXTRACTOR_DISTANCE_L2NORM =(0) |
| static int ailia.AiliaFeatureExtractor.ailiaCreateFeatureExtractor | ( | ref IntPtr | fextractor, |
| IntPtr | net, | ||
| UInt32 | format, | ||
| UInt32 | channel, | ||
| UInt32 | range, | ||
| string | layer_name | ||
| ) |
特徴抽出オブジェクトを作成します。
| fextractor | 特徴抽出オブジェクトポインタ |
| net | ネットワークオブジェクトポインタ |
| format | ネットワークの画像フォーマット (AILIA_NETWORK_IMAGE_FORMAT_*) |
| channel | ネットワークの画像チャンネル (AILIA_NETWORK_IMAGE_CHANNEL_*) |
| range | ネットワークの画像レンジ (AILIA_NETWORK_IMAGE_RANGE_*) |
| layer_name | 特徴に対応したレイヤーの名称 (VGG16の場合はfc1, nullで最終レイヤー) |
| static void ailia.AiliaFeatureExtractor.ailiaDestroyFeatureExtractor | ( | IntPtr | fextractor | ) |
特徴抽出オブジェクトを破棄します。
| fextractor | 特徴抽出オブジェクトポインタ |
| static int ailia.AiliaFeatureExtractor.ailiaFeatureExtractorCompute | ( | IntPtr | fextractor, |
| IntPtr | dst, | ||
| UInt32 | dst_size, | ||
| IntPtr | src, | ||
| UInt32 | src_stride, | ||
| UInt32 | src_width, | ||
| UInt32 | src_height, | ||
| UInt32 | src_format | ||
| ) |
特徴の抽出を行います。
| fextractor | 特徴抽出オブジェクトポインタ |
| dst | 特徴の格納先ポインタ(numeric型) |
| dst_size | dstのサイズ(byte) |
| src | 画像データ(32bpp) |
| src_stride | 1ラインのバイト数 |
| src_width | 画像幅 |
| src_height | 画像高さ |
| src_format | 画像フォーマット (AILIA_IMAGE_FORMAT_*) |
| static int ailia.AiliaFeatureExtractor.ailiaFeatureExtractorMatch | ( | IntPtr | fextractor, |
| ref float | distance, | ||
| UInt32 | distace_type, | ||
| IntPtr | feature1, | ||
| UInt32 | feature1_size, | ||
| IntPtr | feature2, | ||
| UInt32 | feature2_size | ||
| ) |
特徴間の距離を計算します。
| fextractor | 特徴抽出オブジェクトポインタ |
| distance | 特徴間距離 |
| distance_type | 特徴間距離の種別 |
| feature1 | 特徴の格納先ポインタ(numeric型) |
| feature1_size | dstのサイズ(byte) |
| feature2 | 特徴の格納先ポインタ(numeric型) |
| feature2_size | dstのサイズ(byte) |
|
static |
L2ノルム