ailiaFeatureExtractorCompute method

int ailiaFeatureExtractorCompute(
  1. Pointer<AILIAFeatureExtractor> fextractor,
  2. Pointer<Void> dst,
  3. int dst_size,
  4. Pointer<Void> src,
  5. int src_stride,
  6. int src_width,
  7. int src_height,
  8. int src_format
)

~japanese @brief 特徴の抽出を行います。 @param fextractor 特徴抽出オブジェクトポインタ @param dst 特徴の格納先ポインタ(numeric型) @param dst_size dstのサイズ(byte) @param src 画像データ(32bpp) @param src_stride 1ラインのバイト数 @param src_width 画像幅 @param src_height 画像高さ @param src_format 画像フォーマット (AILIA_IMAGE_FORMAT_*) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Performs feature extraction. @param fextractor A feature extraction instance pointer @param dst A pointer to the storage location of the feature (numeric type) @param dst_size The size of the dst (bytes) @param src Image data (32 bpp) @param src_stride The number of bytes in 1 line @param src_width Image width @param src_height Image height @param src_format Image format (AILIA_IMAGE_FORMAT_*) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaFeatureExtractorCompute(
  ffi.Pointer<AILIAFeatureExtractor> fextractor,
  ffi.Pointer<ffi.Void> dst,
  int dst_size,
  ffi.Pointer<ffi.Void> src,
  int src_stride,
  int src_width,
  int src_height,
  int src_format,
) {
  return _ailiaFeatureExtractorCompute(
    fextractor,
    dst,
    dst_size,
    src,
    src_stride,
    src_width,
    src_height,
    src_format,
  );
}