![]() |
OpenCV 4.13.0
Open Source Computer Vision
|
クラス | |
| struct | cvhalFilter2D |
| フィルタリングのコンテキストを格納するダミー構造体。 続きを読む... | |
関数 | |
| int | hal_ni_adaptiveThreshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) |
| 適応的しきい値処理を計算する。 | |
| int | hal_ni_bilateralFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int d, double sigma_color, double sigma_space, int border_type) |
| バイラテラルフィルタを計算する。次を参照: https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html。 | |
| int | hal_ni_boxFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, size_t ksize_width, size_t ksize_height, int anchor_x, int anchor_y, bool normalize, int border_type) |
| ボックスフィルタを計算する。 | |
| int | hal_ni_calcHist (const uchar *src_data, size_t src_step, int src_type, int src_width, int src_height, float *hist_data, int hist_size, const float **ranges, bool uniform, bool accumulate) |
| 配列の集合のヒストグラムを計算する。 | |
| int | hal_ni_canny (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int cn, double lowThreshold, double highThreshold, int ksize, bool L2gradient) |
| Canny エッジ検出器。 | |
| int | hal_ni_cvtBGR5x5toBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits) |
| hal_cvtBGR5x5toBGR | |
| int | hal_ni_cvtBGR5x5toGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits) |
| hal_cvtBGR5x5toGray | |
| int | hal_ni_cvtBGRtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue) |
| hal_cvtBGRtoBGR | |
| int | hal_ni_cvtBGRtoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits) |
| hal_cvtBGRtoBGR5x5 | |
| int | hal_ni_cvtBGRtoGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue) |
| hal_cvtBGRtoGray | |
| int | hal_ni_cvtBGRtoHSV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV) |
| hal_cvtBGRtoHSV | |
| int | hal_ni_cvtBGRtoLab (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb) |
| hal_cvtBGRtoLab | |
| int | hal_ni_cvtBGRtoThreePlaneYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx) |
| hal_cvtBGRtoThreePlaneYUV | |
| int | hal_ni_cvtBGRtoThreePlaneYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtBGRtoThreePlaneYUV の類似版 | |
| int | hal_ni_cvtBGRtoTwoPlaneYUV (const uchar *src_data, size_t src_step, uchar *y_data, size_t y_step, uchar *uv_data, size_t uv_step, int width, int height, int scn, bool swapBlue, int uIdx) |
| hal_cvtBGRtoTwoPlaneYUV | |
| int | hal_ni_cvtBGRtoXYZ (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue) |
| hal_cvtBGRtoXYZ | |
| int | hal_ni_cvtBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr) |
| hal_cvtBGRtoYUV | |
| int | hal_ni_cvtBGRtoYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr) |
| hal_cvtBGRtoYUV の類似版だが、近似(ビット単位で厳密ではない)を許容する | |
| int | hal_ni_cvtGraytoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn) |
| hal_cvtGraytoBGR | |
| int | hal_ni_cvtGraytoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits) |
| hal_cvtGraytoBGR5x5 | |
| int | hal_ni_cvtHSVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV) |
| hal_cvtHSVtoBGR | |
| int | hal_ni_cvtLabtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb) |
| hal_cvtLabtoBGR | |
| int | hal_ni_cvtMultipliedRGBAtoRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| hal_cvtMultipliedRGBAtoRGBA | |
| int | hal_ni_cvtOnePlaneBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn) |
| hal_cvtOnePlaneBGRtoYUV | |
| int | hal_ni_cvtOnePlaneBGRtoYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtOnePlaneBGRtoYUV の類似版 | |
| int | hal_ni_cvtOnePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn) |
| hal_cvtOnePlaneYUVtoBGR | |
| int | hal_ni_cvtOnePlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtOnePlaneYUVtoBGR の類似版 | |
| int | hal_ni_cvtRGBAtoMultipliedRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| hal_cvtRGBAtoMultipliedRGBA | |
| int | hal_ni_cvtThreePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtThreePlaneYUVtoBGR | |
| int | hal_ni_cvtThreePlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtThreePlaneYUVtoBGR の類似版 | |
| int | hal_ni_cvtTwoPlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtTwoPlaneYUVtoBGR | |
| int | hal_ni_cvtTwoPlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtTwoPlaneYUVtoBGR の類似版 | |
| int | hal_ni_cvtTwoPlaneYUVtoBGREx (const uchar *y_data, size_t y_step, const uchar *uv_data, size_t uv_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| hal_cvtTwoPlaneYUVtoBGR の拡張版。 | |
| int | hal_ni_cvtTwoPlaneYUVtoBGRExApprox (const uchar *y_data, size_t y_step, const uchar *uv_data, size_t uv_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx) |
| 近似(ビット単位で厳密ではない)を許容する hal_cvtTwoPlaneYUVtoBGR の拡張版 | |
| int | hal_ni_cvtXYZtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue) |
| hal_cvtXYZtoBGR | |
| int | hal_ni_cvtYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr) |
| hal_cvtYUVtoBGR | |
| int | hal_ni_cvtYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr) |
| hal_cvtYUVtoBGR の類似版だが、近似(ビット単位で厳密ではない)を許容する | |
| int | hal_ni_equalize_hist (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| グレースケール画像のヒストグラムを平坦化する。 | |
| int | hal_ni_filter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y) |
| hal_filter | |
| int | hal_ni_filter_stateless (const uchar *src_data, size_t src_step, int src_type, uchar *dst_data, size_t dst_step, int dst_type, int width, int height, int full_width, int full_height, int offset_x, int offset_y, const uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int anchor_x, int anchor_y, double delta, int borderType, bool isSubmatrix, bool allowInplace) |
| ステートレスな方式での2Dフィルタリング | |
| int | hal_ni_filterFree (cvhalFilter2D *context) |
| hal_filterFree | |
| int | hal_ni_filterInit (cvhalFilter2D **context, uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int max_width, int max_height, int src_type, int dst_type, int borderType, double delta, int anchor_x, int anchor_y, bool allowSubmatrix, bool allowInplace) |
| hal_filterInit | |
| int | hal_ni_gaussianBlur (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize_width, size_t ksize_height, double sigmaX, double sigmaY, int border_type) |
| 汎用のガウシアンフィルタを用いて画像を平滑化する。 | |
| int | hal_ni_gaussianBlurBinomial (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize, int border_type) |
| 正方カーネルかつ sigma=0 の対称ガウシアンフィルタを用いて画像を平滑化する。 | |
| int | hal_ni_imageMoments (const uchar *src_data, size_t src_step, int src_type, int width, int height, bool binary, double m[10]) |
| 画像に対し、多角形またはラスタライズされた形状について3次までのすべてのモーメントを計算する。 | |
| int | hal_ni_integral (int depth, int sdepth, int sqdepth, const uchar *src_data, size_t src_step, uchar *sum_data, size_t sum_step, uchar *sqsum_data, size_t sqsum_step, uchar *tilted_data, size_t tilted_step, int width, int height, int cn) |
| 積分画像を計算する。 | |
| int | hal_ni_medianBlur (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int ksize) |
| medianBlur フィルタを計算する。 | |
| int | hal_ni_morph (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_full_width, int src_full_height, int src_roi_x, int src_roi_y, int dst_full_width, int dst_full_height, int dst_roi_x, int dst_roi_y) |
| hal_morph | |
| int | hal_ni_morph_stateless (int operation, const uchar *src_data, size_t src_step, int src_type, uchar *dst_data, size_t dst_step, int dst_type, int width, int height, int src_full_width, int src_full_height, int src_roi_x, int src_roi_y, int dst_full_width, int dst_full_height, int dst_roi_x, int dst_roi_y, const uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool allowSubmatrix, bool allowInplace) |
| ステートレスな方式でのモルフォロジー | |
| int | hal_ni_morphFree (cvhalFilter2D *context) |
| hal_morphFree | |
| int | hal_ni_morphInit (cvhalFilter2D **context, int operation, int src_type, int dst_type, int max_width, int max_height, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool allowSubmatrix, bool allowInplace) |
| hal_morphInit | |
| int | hal_ni_polygonMoments (const uchar *src_data, size_t src_size, int src_type, double m[10]) |
| 2D点の多角形について3次までのすべてのモーメントを計算する。 | |
| int | hal_ni_pyrdown (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int border_type) |
| 入力タイルに対してガウシアン平滑化とダウンサンプリングを行う。 | |
| int | hal_ni_pyrdown_offset (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int border_type) |
| 部分行列に対する省略可能なマージンを伴って、入力タイルにガウシアン平滑化とダウンサンプリングを行う。 | |
| int | hal_ni_pyrup (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int border_type) |
| 入力タイルに対してガウシアン平滑化とアップサンプリングを行う。 | |
| int | hal_ni_remap16s (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, short *mapx, size_t mapx_step, ushort *mapy, size_t mapy_step, int interpolation, int border_type, const double border_value[4]) |
| 固定小数点マップを用いた hal_remap | |
| int | hal_ni_remap32f (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, float *mapx, size_t mapx_step, float *mapy, size_t mapy_step, int interpolation, int border_type, const double border_value[4]) |
| 浮動小数点マップを用いた hal_remap | |
| int | hal_ni_remap32fc2 (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, float *map, size_t map_step, int interpolation, int border_type, const double border_value[4]) |
| 浮動小数点マップを用いた hal_remap | |
| int | hal_ni_resize (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation) |
| hal_resize | |
| int | hal_ni_scharr (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, double scale, double delta, int border_type) |
| Scharr フィルタを計算する。 | |
| int | hal_ni_sepFilter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y) |
| hal_sepFilter | |
| int | hal_ni_sepFilter_stateless (const uchar *src_data, size_t src_step, int src_type, uchar *dst_data, size_t dst_step, int dst_type, int width, int height, int full_width, int full_height, int offset_x, int offset_y, const uchar *kernelx_data, int kernelx_len, const uchar *kernely_data, int kernely_len, int kernel_type, int anchor_x, int anchor_y, double delta, int borderType) |
| ステートレスな方式での分離可能フィルタリング | |
| int | hal_ni_sepFilterFree (cvhalFilter2D *context) |
| hal_sepFilterFree | |
| int | hal_ni_sepFilterInit (cvhalFilter2D **context, int src_type, int dst_type, int kernel_type, uchar *kernelx_data, int kernelx_length, uchar *kernely_data, int kernely_length, int anchor_x, int anchor_y, double delta, int borderType) |
| hal_sepFilterInit | |
| int | hal_ni_sobel (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, int ksize, double scale, double delta, int border_type) |
| Sobel 微分を計算する。 | |
| int | hal_ni_threshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, double thresh, double maxValue, int thresholdType) |
| 配列の各要素に対して固定レベルのしきい値処理を計算する。 | |
| int | hal_ni_threshold_otsu (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, double maxValue, int thresholdType, double *thresh) |
| 大津のアルゴリズムで推定したしきい値を用いてしきい値フィルタリングを行う。 | |
| int | hal_ni_warpAffine (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4]) |
| hal_warpAffine | |
| int | hal_ni_warpAffineBlockline (int *adelta, int *bdelta, short *xy, short *alpha, int X0, int Y0, int bw) |
| アフィン変換の1行を処理する hal_warpAffineBlockline | |
| int | hal_ni_warpAffineBlocklineNN (int *adelta, int *bdelta, short *xy, int X0, int Y0, int bw) |
| アフィン変換の1行を処理する hal_warpAffineBlocklineNN | |
| int | hal_ni_warpPerspective (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4]) |
| hal_warpPerspective | |
| int | hal_ni_warpPerspectiveBlockline (const double *M, short *xy, short *alpha, double X0, double Y0, double W0, int bw) |
| 透視変換の1行を処理する hal_warpPerspectiveBlockline | |
| int | hal_ni_warpPerspectiveBlocklineNN (const double *M, short *xy, double X0, double Y0, double W0, int bw) |
| 透視変換の1行を処理する hal_warpPerspectiveBlocklineNN | |
Interpolation modes | |
| #define | CV_HAL_INTER_NEAREST 0 |
| #define | CV_HAL_INTER_LINEAR 1 |
| #define | CV_HAL_INTER_CUBIC 2 |
| #define | CV_HAL_INTER_AREA 3 |
| #define | CV_HAL_INTER_LANCZOS4 4 |
| #define | CV_HAL_INTER_LINEAR_EXACT 5 |
| #define | CV_HAL_INTER_NEAREST_EXACT 6 |
| #define | CV_HAL_INTER_MAX 7 |
| #define | CV_HAL_WARP_FILL_OUTLIERS 8 |
| #define | CV_HAL_WARP_INVERSE_MAP 16 |
| #define | CV_HAL_WARP_RELATIVE_MAP 32 |
Morphology operations | |
| #define | CV_HAL_MORPH_ERODE 0 |
| #define | CV_HAL_MORPH_DILATE 1 |
Threshold types | |
| #define | CV_HAL_THRESH_BINARY 0 |
| #define | CV_HAL_THRESH_BINARY_INV 1 |
| #define | CV_HAL_THRESH_TRUNC 2 |
| #define | CV_HAL_THRESH_TOZERO 3 |
| #define | CV_HAL_THRESH_TOZERO_INV 4 |
| #define | CV_HAL_THRESH_MASK 7 |
| #define | CV_HAL_THRESH_OTSU 8 |
| #define | CV_HAL_THRESH_TRIANGLE 16 |
Adaptive threshold algorithm | |
| #define | CV_HAL_ADAPTIVE_THRESH_MEAN_C 0 |
| #define | CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1 |
| #define CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_ADAPTIVE_THRESH_MEAN_C 0 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_AREA 3 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_CUBIC 2 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_LANCZOS4 4 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_LINEAR 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_LINEAR_EXACT 5 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_MAX 7 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_NEAREST 0 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_INTER_NEAREST_EXACT 6 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_MORPH_DILATE 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_MORPH_ERODE 0 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_BINARY 0 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_BINARY_INV 1 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_MASK 7 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_OTSU 8 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_TOZERO 3 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_TOZERO_INV 4 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_TRIANGLE 16 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_THRESH_TRUNC 2 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_WARP_FILL_OUTLIERS 8 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_WARP_INVERSE_MAP 16 |
#include <opencv2/imgproc/hal/interface.h>
| #define CV_HAL_WARP_RELATIVE_MAP 32 |
#include <opencv2/imgproc/hal/interface.h>
|
inline |
#include <imgproc/src/hal_replacement.hpp>
適応的しきい値を計算する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| maxValue | 条件が満たされるピクセルに割り当てられる値 |
| adaptiveMethod | 適応的しきい値処理アルゴリズム |
| thresholdType | しきい値処理の種別 |
| blockSize | しきい値の計算に使用されるピクセル近傍のサイズ |
| C | 平均または加重平均から減算される定数 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
バイラテラルフィルタを計算する。https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html を参照。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度。CV_8U と CV_32F をサポートすべきである |
| cn | チャンネル数 |
| d | フィルタリング時に使用される各ピクセル近傍の直径。非正の場合は sigmaSpace から計算される |
| sigma_color | 色空間におけるフィルタのシグマ |
| sigma_space | 座標空間におけるフィルタのシグマ。d>0 の場合は sigmaSpace に関係なく近傍サイズを指定する。それ以外の場合、d は sigmaSpace に比例する |
| border_type | 画像外のピクセルを外挿するために使用する境界モード |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
ボックスフィルタを計算する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| src_depth | 入力画像のビット深度 |
| dst_depth | 出力画像のビット深度 |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| ksize_width | カーネルの幅 |
| ksize_height | カーネルの高さ |
| anchor_x | アンカー点のx座標 |
| anchor_y | アンカー点のy座標 |
| normalize | trueの場合、結果は正規化される |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
配列の集合のヒストグラムを計算する。
| src_data | ソース画像データ |
| src_step | 入力画像のステップ |
| src_type | 入力画像の型。 |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| hist_data | ヒストグラムデータ |
| hist_size | ヒストグラムのサイズ |
| ranges | ヒストグラムのビン境界を表す dims 個の配列の配列 |
| uniform | ヒストグラムが一様であるかどうかを示すフラグ |
| accumulate | 累積フラグ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Canny エッジ検出器。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| cn | チャンネル数 |
| lowThreshold | 低しきい値 |
| highThreshold | 高しきい値 |
| ksize | Sobel演算子のカーネルサイズ。 |
| L2gradient | L2ノルムとL1ノルムのどちらを使うかを示すフラグ。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| greenBits | Gチャンネルのビット数 (5または6) パックされたBGRまたはRGB (1ピクセルあたり16ビット, 555または565) からBGR, BGRA, RGB, RGBAへ変換する。CV_8U画像のみサポート (入力2チャンネル, 出力3または4チャンネル)。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toGray
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| greenBits | Gチャンネルのビット数 (5または6) パックされたBGR (1ピクセルあたり16ビット, 555または565) から1チャンネルのグレースケールへ変換する。CV_8U画像のみサポート。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、BチャンネルとRチャンネルが入れ替わる (BGR->RGB または RGB->BGR) BGR, BGRA, RGB, RGBAの各画像フォーマット間で変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR5x5
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| greenBits | Gチャンネルのビット数 (5または6) BGR, BGRA, RGB, RGBAから、パックされたBGRまたはRGB (1ピクセルあたり16ビット, 555または565) へ変換する。CV_8U画像のみサポート (入力3または4チャンネル, 出力2チャンネル)。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoGray
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) BGR, BGRA, RGB, RGBAから1チャンネルのグレースケールへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoHSV
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8UまたはCV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| isFullRange | trueに設定すると、hueを0-255の範囲 (float の場合は0-360) で書き込む。そうでない場合は0-180の範囲で書き込む |
| isHSV | trueに設定するとHSVを書き込み、そうでない場合はHSLを書き込む BGR, RGB, BGRA, RGBAからHSVまたはHSLへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoLab
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8UまたはCV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| isLab | trueに設定するとLabを書き込み、そうでない場合はLuvを書き込む |
| srgb | trueに設定するとsRGBガンマ補正を使用する BGR, RGB, BGRA, RGBAからLabまたはLuvへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoThreePlaneYUV
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| uIdx | Uチャンネルのプレーンインデックス (0または1) BGR, RGB, BGRA, RGBAからYUV (YUV420p (またはYV12/YV21) - Yプレーンの後にUプレーンとVプレーンが続く) へ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
近似(ビット単位で厳密ではない)を許容する hal_cvtBGRtoThreePlaneYUV の類似版
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| uIdx | Uチャンネルのプレーンインデックス (0または1) BGR, RGB, BGRA, RGBAからYUV (YUV420p (またはYV12/YV21) - Yプレーンの後にUプレーンとVプレーンが続く) へ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoTwoPlaneYUV
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| y_data | 出力画像データ (Yプレーン) |
| y_step | 出力画像のステップ (Yプレーン) |
| uv_data | 出力画像データ (UVプレーン) |
| uv_step | 出力画像のステップ (UVプレーン) |
| width | 画像の幅 |
| height | 画像の高さ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| uIdx | Uチャンネルのプレーンインデックス (0または1) BGR, RGB, BGRA, RGBAからYUV (YUV420sp (またはNV12/NV21) - Yプレーンの後にインターリーブされたU/Vプレーンが続く) へ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoXYZ
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) BGR, RGB, BGRA, RGBAからXYZへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoYUV
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| isCbCr | trueに設定すると出力をYCbCr形式で書き込む BGR, RGB, BGRA, RGBAからYUVまたはYCbCrへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoYUV の類似版だが、近似(ビット単位で厳密ではない)を許容する
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、ソースのBチャンネルとRチャンネルが入れ替わる (RGBとして扱う) |
| isCbCr | trueに設定すると出力をYCbCr形式で書き込む BGR, RGB, BGRA, RGBAからYUVまたはYCbCrへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) 1チャンネルのグレースケールからBGR, RGB, RGBA, BGRAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR5x5
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| greenBits | Gチャンネルのビット数 (5または6) 1チャンネルのグレースケールから、パックされたBGR (1ピクセルあたり16ビット, 555または565) へ変換する。CV_8U画像のみサポート。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtHSVtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8UまたはCV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| isFullRange | trueに設定すると、hueを0-255の範囲 (float の場合は0-360) で読み込む。そうでない場合は0-180の範囲で読み込む |
| isHSV | trueに設定するとソースをHSVとして扱い、そうでない場合はHSLとして扱う HSVまたはHSLからBGR, RGB, BGRA, RGBAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtLabtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8UまたはCV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| isLab | trueに設定すると入力をLabとして扱い、そうでない場合はLuvとして扱う |
| srgb | trueに設定するとsRGBガンマ補正を使用する LabまたはLuvからBGR, RGB, BGRA, RGBAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtMultipliedRGBAtoRGBA
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ アルファチャンネルが乗算された形式からBGRAまたはRGBAへ変換する。CV_8Uのみ対応。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneBGRtoYUV
| src_data,src_step | ソース画像データとステップ |
| dst_data,dst_step | 出力画像データとステップ |
| width,height | 画像サイズ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのインデックス (0または1) |
| ycn | Yチャンネルのインデックス (0または1) BGR, RGB, BGRA, RGBAからインターリーブされたYUV 4:2:2 (UYVY, YUY2, YVYU) へ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneBGRtoYUV の類似版で、近似を許容する(ビット精度は保証されない)
| src_data,src_step | ソース画像データとステップ |
| dst_data,dst_step | 出力画像データとステップ |
| width,height | 画像サイズ |
| scn | ソース画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのインデックス (0または1) |
| ycn | Yチャンネルのインデックス (0または1) BGR, RGB, BGRA, RGBAからインターリーブされたYUV 4:2:2 (UYVY, YUY2, YVYU) へ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneYUVtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのインデックス (0または1) |
| ycn | Yチャンネルのインデックス (0または1) インターリーブされたYUV 4:2:2 (UYVY, YUY2, YVYU) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneYUVtoBGR の類似版で、近似を許容する(ビット精度は保証されない)
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのインデックス (0または1) |
| ycn | Yチャンネルのインデックス (0または1) インターリーブされたYUV 4:2:2 (UYVY, YUY2, YVYU) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtRGBAtoMultipliedRGBA
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ BGRAまたはRGBAから、アルファチャンネルが乗算された形式へ変換する。CV_8Uのみ対応。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtThreePlaneYUVtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのプレーンインデックス (0または1) YUV (YUV420p (またはYV12/YV21) - Yプレーンの後にUプレーンとVプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtThreePlaneYUVtoBGR の類似版で、近似を許容する(ビット精度は保証されない)
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | Uチャンネルのプレーンインデックス (0または1) YUV (YUV420p (またはYV12/YV21) - Yプレーンの後にUプレーンとVプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | インターリーブされたU/Vプレーン内のUチャンネルのインデックス (0または1) YUV (YUV420sp (またはNV12/NV21) - Yプレーンの後にインターリーブされたU/Vプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR の類似版で、近似を許容する(ビット精度は保証されない)
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | インターリーブされたU/Vプレーン内のUチャンネルのインデックス (0または1) YUV (YUV420sp (またはNV12/NV21) - Yプレーンの後にインターリーブされたU/Vプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR の拡張版。
| y_data | ソース画像データ (Yプレーン) |
| y_step | ソース画像のステップ (Yプレーン) |
| uv_data | ソース画像データ (UVプレーン) |
| uv_step | ソース画像のステップ (UVプレーン) |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | インターリーブされたU/Vプレーン内のUチャンネルのインデックス (0または1) YUV (YUV420sp (またはNV12/NV21) - Yプレーンの後にインターリーブされたU/Vプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR の拡張版で、近似を許容する(ビット精度は保証されない)
| y_data | ソース画像データ (Yプレーン) |
| y_step | ソース画像のステップ (Yプレーン) |
| uv_data | ソース画像データ (UVプレーン) |
| uv_step | ソース画像のステップ (UVプレーン) |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| uIdx | インターリーブされたU/Vプレーン内のUチャンネルのインデックス (0または1) YUV (YUV420sp (またはNV12/NV21) - Yプレーンの後にインターリーブされたU/Vプレーンが続く) からBGR, RGB, BGRA, RGBAへ変換する。CV_8Uのみ対応。Y : [16, 235]; Cb, Cr: [16, 240] (128を中心とする) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtXYZtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) XYZからBGR, RGB, BGRA, RGBAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtYUVtoBGR
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| isCbCr | trueに設定するとソースをYCbCrとして扱う YUVまたはYCbCrからBGR, RGB, BGRA, RGBAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtYUVtoBGR の類似版で、近似を許容する(ビット精度は保証されない)
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| depth | 画像のビット深度 (CV_8U, CV_16U, CV_32Fのいずれか) |
| dcn | 出力画像のチャンネル数 (3または4) |
| swapBlue | trueに設定すると、出力のBチャンネルとRチャンネルが入れ替わる (RGBで書き込む) |
| isCbCr | trueに設定するとソースをYCbCrとして扱う YUVまたはYCbCrからBGR, RGB, BGRA, RGBAへ変換する。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
グレースケール画像のヒストグラムを平坦化(equalize)する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filter
| context | ユーザー定義コンテキストへのポインタ |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| full_width | ソース画像の全幅 (ROIの外側を含む) |
| full_height | ソース画像の全高 (ROIの外側を含む) |
| offset_x | ソース画像のROIオフセットX |
| offset_y | ソース画像のROIオフセットY |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
ステートレスな方式での2Dフィルタリング
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_type | ソース画像の型 |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_type | 出力画像の型 |
| width | 画像の幅 |
| height | 画像の高さ |
| full_width | ソース画像の全幅 (ROIの外側を含む) |
| full_height | ソース画像の全高 (ROIの外側を含む) |
| offset_x | ソース画像のROIオフセットX |
| offset_y | ソース画像のROIオフセットY |
| kernel_data | カーネルデータへのポインタ |
| kernel_step | カーネルのステップ |
| kernel_type | カーネルの型 (CV_8U, ...) |
| kernel_width | カーネルの幅 |
| kernel_height | カーネルの高さ |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| delta | ピクセル値に加算される |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| isSubmatrix | 部分行列を入力画像として許可するかどうかを示す |
| allowInplace | インプレース操作が可能かどうかを示す |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterFree
| context | ユーザー定義コンテキストへのポインタ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterInit
| context | ユーザ定義コンテキストへのダブルポインタ |
| kernel_data | カーネルデータへのポインタ |
| kernel_step | カーネルのステップ |
| kernel_type | カーネルの型 (CV_8U, ...) |
| kernel_width | カーネルの幅 |
| kernel_height | カーネルの高さ |
| max_width | 画像の最大幅。作業用バッファの確保に使用できる |
| max_height | 画像の最大高さ |
| src_type | ソース画像の型 |
| dst_type | 出力画像の型 |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| delta | ピクセル値に加算される |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| allowSubmatrix | 部分行列を入力画像として許可するかどうかを示す |
| allowInplace | インプレース操作が可能かどうかを示す |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
汎用のガウシアンフィルタを用いて画像を平滑化する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| ksize_width | カーネルの幅 |
| ksize_height | カーネルの高さ |
| sigmaX | ガウシアンカーネルの標準偏差。 |
| sigmaY | ガウシアンカーネルの標準偏差。 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
正方カーネルかつ sigma=0 の対称ガウシアンフィルタを用いて画像を平滑化する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| ksize | カーネルの幅 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
画像に対し、ポリゴンまたはラスタライズされた形状の3次までのすべてのモーメントを計算する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_type | 入力点の型 |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| binary | true の場合、すべての非ゼロ画像ピクセルを 1 として扱う |
| m | モーメントの出力配列 (10 個の値)。順序は次のとおり: m00, m10, m01, m20, m11, m02, m30, m21, m12, m03。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
積分画像を計算する。
| depth | 入力画像のビット深度 |
| sdepth | 総和画像のビット深度 |
| sqdepth | 二乗和画像のビット深度 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| sum_data | 総和画像のデータ |
| sum_step | 総和画像のステップ |
| sqsum_data | 二乗和画像のデータ |
| sqsum_step | 二乗和画像のステップ |
| tilted_data | 傾斜総和画像のデータ |
| tilted_step | 傾斜総和画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| cn | チャンネル数 |
| Source | Sum | Square sum |
|---|---|---|
| CV_8U | CV_32S | CV_64F |
| CV_8U | CV_32S | CV_32F |
| CV_8U | CV_32S | CV_32S |
| CV_8U | CV_32F | CV_64F |
| CV_8U | CV_32F | CV_32F |
| CV_8U | CV_64F | CV_64F |
| CV_16U | CV_64F | CV_64F |
| CV_16S | CV_64F | CV_64F |
| CV_32F | CV_32F | CV_64F |
| CV_32F | CV_32F | CV_32F |
| CV_32F | CV_64F | CV_64F |
| CV_64F | CV_64F | CV_64F |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
medianBlur フィルタを計算する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| cn | チャンネル数 |
| ksize | カーネルのサイズ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morph
| context | ユーザー定義コンテキストへのポインタ |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| src_full_width | ソース画像の全幅 (ROIの外側を含む) |
| src_full_height | ソース画像の全高 (ROIの外側を含む) |
| src_roi_x | 入力画像の ROI X オフセット |
| src_roi_y | 入力画像の ROI Y オフセット |
| dst_full_width | 出力画像の全幅 |
| dst_full_height | 出力画像の全高さ |
| dst_roi_x | 出力画像の ROI X オフセット |
| dst_roi_y | 出力画像の ROI Y オフセット |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
ステートレスな方式でのモルフォロジー
| operation | モルフォロジー操作 CV_HAL_MORPH_ERODE または CV_HAL_MORPH_DILATE |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_type | ソース画像の型 |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_type | 出力画像の型 |
| width | 画像の幅 |
| height | 画像の高さ |
| src_full_width | ソース画像の全幅 (ROIの外側を含む) |
| src_full_height | ソース画像の全高 (ROIの外側を含む) |
| src_roi_x | 入力画像の ROI X オフセット |
| src_roi_y | 入力画像の ROI Y オフセット |
| dst_full_width | 出力画像の全幅 |
| dst_full_height | 出力画像の全高さ |
| dst_roi_x | 出力画像の ROI X オフセット |
| dst_roi_y | 出力画像の ROI Y オフセット |
| kernel_data | カーネルデータへのポインタ |
| kernel_step | カーネルのステップ |
| kernel_type | カーネルの型 (CV_8U, ...) |
| kernel_width | カーネルの幅 |
| kernel_height | カーネルの高さ |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| borderValue | CV_HAL_BORDER_CONSTANT モードで使用する値 |
| iterations | 反復回数 |
| allowSubmatrix | 部分行列を入力画像として許可するかどうかを示す |
| allowInplace | インプレース操作が可能かどうかを示す |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphFree
| context | ユーザー定義コンテキストへのポインタ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphInit
| context | ユーザ定義コンテキストへのダブルポインタ |
| operation | モルフォロジー操作 CV_HAL_MORPH_ERODE または CV_HAL_MORPH_DILATE |
| src_type | ソース画像の型 |
| dst_type | 出力画像の型 |
| max_width | 画像の最大幅。作業用バッファの確保に使用できる |
| max_height | 画像の最大高さ |
| kernel_type | カーネルの型 (CV_8U, ...) |
| kernel_data | カーネルデータへのポインタ |
| kernel_step | カーネルのステップ |
| kernel_width | カーネルの幅 |
| kernel_height | カーネルの高さ |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| borderValue | CV_HAL_BORDER_CONSTANT モードで使用する値 |
| iterations | 反復回数 |
| allowSubmatrix | 部分行列を入力画像として許可するかどうかを示す |
| allowInplace | インプレース操作が可能かどうかを示す |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
2D点群のポリゴンに対し、3次までのすべてのモーメントを計算する。
| src_data | 入力点 (Point 2x32f または 2x32s) |
| src_size | 入力点の数 |
| src_type | 入力点の型 |
| m | モーメントの出力配列 (10 個の値)。順序は次のとおり: m00, m10, m01, m20, m11, m02, m30, m21, m12, m03。 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
入力タイルに対してガウシアンブラーとダウンサンプリングを実行する。
| depth | 入力画像と出力画像のビット深度 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| cn | チャンネル数 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
サブ行列に対する省略可能なマージンを指定して、入力タイルにガウシアンブラーとダウンサンプリングを実行する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
入力タイルに対してガウシアンブラーとアップサンプリングを実行する。
| depth | 入力画像と出力画像のビット深度 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| cn | チャンネル数 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
固定小数点マップを用いた hal_remap
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| mapx | x 値のマップ |
| mapx_step | mapx 行列のステップ |
| mapy | y 値のマップ |
| mapy_step | mapy 行列のステップ |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
| border_type | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| border_value | CV_HAL_BORDER_CONSTANT モードで使用する値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
浮動小数点マップを用いた hal_remap
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| mapx | x 値のマップ |
| mapx_step | mapx 行列のステップ |
| mapy | y 値のマップ |
| mapy_step | mapy 行列のステップ |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
| border_type | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| border_value | CV_HAL_BORDER_CONSTANT モードで使用する値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
浮動小数点マップを用いた hal_remap
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| map | xy 値のマップ |
| map_step | マップ行列のステップ |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
| border_type | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| border_value | CV_HAL_BORDER_CONSTANT モードで使用する値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_resize
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| inv_scale_x | 逆スケール X 係数 |
| inv_scale_y | 逆スケール Y 係数 |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Scharr フィルタを計算する。
| src_depth | 入力画像のビット深度 |
| dst_depth | 出力画像のビット深度 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| dx | x 方向の微分の階数 |
| dy | y 方向の微分の階数 |
| scale | 計算された微分値に対するスケール係数 |
| delta | dst に格納する前に結果へ加算されるデルタ値 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilter
| context | ユーザー定義コンテキストへのポインタ |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 画像の幅 |
| height | 画像の高さ |
| full_width | ソース画像の全幅 (ROIの外側を含む) |
| full_height | ソース画像の全高 (ROIの外側を含む) |
| offset_x | ソース画像のROIオフセットX |
| offset_y | ソース画像のROIオフセットY |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
ステートレスな方式での分離可能フィルタリング
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_type | ソース画像の型 |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_type | 出力画像の型 |
| width | 画像の幅 |
| height | 画像の高さ |
| full_width | ソース画像の全幅 (ROIの外側を含む) |
| full_height | ソース画像の全高 (ROIの外側を含む) |
| offset_x | ソース画像のROIオフセットX |
| offset_y | ソース画像のROIオフセットY |
| kernelx_data | x カーネルデータへのポインタ |
| kernelx_len | x カーネルベクトルの長さ |
| kernely_data | y カーネルデータへのポインタ |
| kernely_len | y カーネルベクトルの長さ |
| kernel_type | カーネルの型 (CV_8U, ...) |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| delta | ピクセル値に加算される |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterFree
| context | ユーザー定義コンテキストへのポインタ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterInit
| context | ユーザ定義コンテキストへのダブルポインタ |
| src_type | ソース画像の型 |
| dst_type | 出力画像の型 |
| kernel_type | カーネルの型 |
| kernelx_data | x カーネルデータへのポインタ |
| kernelx_length | x カーネルベクトルの長さ |
| kernely_data | y カーネルデータへのポインタ |
| kernely_length | y カーネルベクトルの長さ |
| anchor_x | カーネル内における中心点の相対的なX位置 |
| anchor_y | カーネル内における中心点の相対的なY位置 |
| delta | ピクセル値に加算される |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Sobel微分を計算する。
| src_depth | 入力画像のビット深度 |
| dst_depth | 出力画像のビット深度 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| cn | チャンネル数 |
| margin_left | 入力画像の左マージン |
| margin_top | 入力画像の上マージン |
| margin_right | ソース画像の右マージン |
| margin_bottom | ソース画像の下マージン |
| dx | x 方向の微分の階数 |
| dy | y 方向の微分の階数 |
| ksize | カーネルのサイズ |
| scale | 計算された微分値に対するスケール係数 |
| delta | dst に格納する前に結果へ加算されるデルタ値 |
| border_type | 境界タイプ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
各配列要素に対して固定レベルのしきい値処理を計算する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| cn | チャンネル数 |
| thresh | しきい値 |
| maxValue | 条件が満たされるピクセルに割り当てられる値 |
| thresholdType | しきい値処理の種別 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Otsuアルゴリズムで推定したしきい値を用いてしきい値フィルタリングを実行する。
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| width | 入力画像の幅 |
| height | 入力画像の高さ |
| depth | 入力画像と出力画像のビット深度 |
| maxValue | 条件が満たされるピクセルに割り当てられる値 |
| thresholdType | しきい値処理の種別 |
| thresh | 計算されたしきい値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffine
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| M | 変換係数を持つ 2x3 行列 |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| borderValue | CV_HAL_BORDER_CONSTANT モードで使用する値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffineBlockline。アフィン変換の1行を処理する
| adelta | 入力 M0 * x 配列 |
| bdelta | 入力 M3 * x 配列 |
| xy | 出力 (x', y') 座標 |
| alpha | 補間用の (x', y') 座標の最下位ビットの出力 |
| X0 | 入力 M1 * y + M2 値 |
| Y0 | 入力 M4 * y + M5 値 |
| bw | 行の長さ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffineBlocklineNN。アフィン変換の1行を処理する
| adelta | 入力 M0 * x 配列 |
| bdelta | 入力 M3 * x 配列 |
| xy | 出力 (x', y') 座標 |
| X0 | 入力 M1 * y + M2 値 |
| Y0 | 入力 M4 * y + M5 値 |
| bw | 行の長さ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspective
| src_type | 入力画像と出力画像の型 |
| src_data | 入力画像データ |
| src_step | 入力画像のステップ |
| src_width | 入力画像の幅 |
| src_height | 入力画像の高さ |
| dst_data | 出力画像データ |
| dst_step | 出力画像のステップ |
| dst_width | 出力画像の幅 |
| dst_height | 出力画像の高さ |
| M | 変換係数を持つ 3x3 行列 |
| interpolation | 補間モード (CV_HAL_INTER_NEAREST, ...) |
| borderType | 境界処理モード (CV_HAL_BORDER_REFLECT, ...) |
| borderValue | CV_HAL_BORDER_CONSTANT モードで使用する値 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspectiveBlockline。透視変換の1行を処理する
| M | 変換係数を持つ 3x3 行列 |
| xy | 出力 (x', y') 座標 |
| alpha | 補間用の (x', y') 座標の最下位ビットの出力 |
| X0 | 入力 M0 * x0 + M1 * y + M2 値 |
| Y0 | 入力 M3 * x0 + M4 * y + M5 値 |
| W0 | 入力 M6 * x0 + M7 * y + M8 値 |
| bw | 行の長さ |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspectiveBlocklineNN。透視変換の1行を処理する
| M | 変換係数を持つ 3x3 行列 |
| xy | 出力 (x', y') 座標 |
| X0 | 入力 M0 * x0 + M1 * y + M2 値 |
| Y0 | 入力 M3 * x0 + M4 * y + M5 値 |
| W0 | 入力 M6 * x0 + M7 * y + M8 値 |
| bw | 行の長さ |