OpenCV
5.0.0-pre
Open Source Computer Vision
|
Classes | |
struct | cvhalFilter2D |
Dummy structure storing filtering context. More... | |
Functions | |
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) |
Calculates adaptive threshold. | |
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) |
Calculate bilateral filter. See 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) |
Calculate box filter. | |
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 edge detector. | |
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) |
Analog of hal_cvtBGRtoThreePlaneYUV that allows approximations (not bit-exact) | |
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) |
Analog of hal_cvtBGRtoYUV, but allows approximations (not bit-exact) | |
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) |
analog of hal_cvtOnePlaneBGRtoYUV that allows approximations (not bit-exact) | |
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) |
analog of hal_cvtOnePlaneYUVtoBGR that allows approximations (not bit-exact) | |
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) |
Analog of hal_cvtThreePlaneYUVtoBGR that allows approximations (not bit-exact) | |
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) |
analog of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact) | |
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) |
Extended version of 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) |
Extended version of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact) | |
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) |
Analog of hal_cvtYUVtoBGR, but allows approximations (not bit-exact) | |
int | hal_ni_equalize_hist (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
Equalizes the histogram of a grayscale image. | |
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_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) |
Blurs an image using a generic Gaussian filter. | |
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) |
Blurs an image using a symmetric Gaussian filter with square kernel and 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]) |
Calculates all of the moments up to the third order of a polygon or rasterized shape for image. | |
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) |
Calculate integral image. | |
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) |
Calculate medianBlur filter. | |
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_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]) |
Calculates all of the moments up to the third order of a polygon of 2d points. | |
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) |
Perform Gaussian Blur and downsampling for input tile. | |
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) |
Perform Gaussian Blur and downsampling for input tile with optional margins for submatrix. | |
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 with floating point maps | |
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) |
Computes Scharr filter. | |
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_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) |
Computes Sobel derivatives. | |
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) |
Calculates fixed-level threshold to each array element. | |
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) |
Performs threshold filtering using threshold estimated by Otsu algorithm. | |
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) |
hal_warpAffineBlockline doing a row of affine transformation | |
int | hal_ni_warpAffineBlocklineNN (int *adelta, int *bdelta, short *xy, int X0, int Y0, int bw) |
hal_warpAffineBlocklineNN doing a row of affine transformation | |
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) |
hal_warpPerspectiveBlockline doing a row of perspective transformation | |
int | hal_ni_warpPerspectiveBlocklineNN (const double *M, short *xy, double X0, double Y0, double W0, int bw) |
hal_warpPerspectiveBlocklineNN doing a row of perspective transformation | |
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>
Calculates adaptive threshold.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
maxValue | Value assigned to the pixels for which the condition is satisfied |
adaptiveMethod | Adaptive thresholding algorithm |
thresholdType | Thresholding type |
blockSize | Size of a pixel neighborhood that is used to calculate a threshold value |
C | Constant subtracted from the mean or weighted mean |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculate bilateral filter. See https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depths of source and destination image. Should support CV_8U and CV_32F |
cn | Number of channels |
d | Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace |
sigma_color | Filter sigma in the color space |
sigma_space | Filter sigma in the coordinate space. When d>0, it specifies the neighborhood size regardless of sigmaSpace. Otherwise, d is proportional to sigmaSpace |
border_type | border mode used to extrapolate pixels outside of the image |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculate box filter.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
src_depth | Depth of source image |
dst_depth | Depts of destination image |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
ksize_width | Width of kernel |
ksize_height | Height of kernel |
anchor_x | Anchor point x coordinate |
anchor_y | Anchor point y coordinate |
normalize | If true then result is normalized |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Canny edge detector.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
cn | Number of channels |
lowThreshold | low hresholds value |
highThreshold | high thresholds value |
ksize | Kernel size for Sobel operator. |
L2gradient | Flag, indicating use L2 or L1 norma. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
greenBits | number of bits for green channel (5 or 6) Convert from packed BGR or RGB (16 bits per pixel, 555 or 565) to BGR, BGRA, RGB and RGBA. Support only CV_8U images (input 2 channels, output 3 or 4 channels). |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGR5x5toGray
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
greenBits | number of bits for green channel (5 or 6) Convert from packed BGR (16 bits per pixel, 555 or 565) to 1-channel gray. Support only CV_8U images. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U, CV_32F) |
scn | source image channels (3 or 4) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R channels will be swapped (BGR->RGB or RGB->BGR) Convert between BGR, BGRA, RGB and RGBA image formats. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoBGR5x5
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
greenBits | number of bits for green channel (5 or 6) Convert from BGR, BGRA, RGB and RGBA to packed BGR or RGB (16 bits per pixel, 555 or 565). Support only CV_8U images (input 3 or 4 channels, output 2 channels). |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoGray
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) Convert from BGR, BGRA, RGB or RGBA to 1-channel gray. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoHSV
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
isFullRange | if set to true write hue in range 0-255 (0-360 for float) otherwise in range 0-180 |
isHSV | if set to true write HSV otherwise HSL Convert from BGR, RGB, BGRA or RGBA to HSV or HSL. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoLab
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
isLab | if set to true write Lab otherwise Luv |
srgb | if set to true use sRGB gamma correction Convert from BGR, RGB, BGRA or RGBA to Lab or Luv. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoThreePlaneYUV
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
uIdx | U-channel plane index (0 or 1) Convert from BGR, RGB, BGRA or RGBA to YUV (YUV420p (or YV12/YV21) - Y plane followed by U and V planes). Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Analog of hal_cvtBGRtoThreePlaneYUV that allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
uIdx | U-channel plane index (0 or 1) Convert from BGR, RGB, BGRA or RGBA to YUV (YUV420p (or YV12/YV21) - Y plane followed by U and V planes). Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoTwoPlaneYUV
src_data | source image data |
src_step | source image step |
y_data | destination image data (Y-plane) |
y_step | destination image step (Y-plane) |
uv_data | destination image data (UV-plane) |
uv_step | destination image step (UV-plane) |
width | image width |
height | image height |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
uIdx | U-channel plane index (0 or 1) Convert from BGR, RGB, BGRA or RGBA to YUV (YUV420sp (or NV12/NV21) - Y plane followed by interleaved U/V plane). Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoXYZ
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) Convert from BGR, RGB, BGRA or RGBA to XYZ. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtBGRtoYUV
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
isCbCr | if set to true write output in YCbCr format Convert from BGR, RGB, BGRA or RGBA to YUV or YCbCr. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Analog of hal_cvtBGRtoYUV, but allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R source channels will be swapped (treat as RGB) |
isCbCr | if set to true write output in YCbCr format Convert from BGR, RGB, BGRA or RGBA to YUV or YCbCr. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
dcn | destination image channels (3 or 4) Convert from 1-channel gray to BGR, RGB, RGBA or BGRA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtGraytoBGR5x5
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
greenBits | number of bits for green channel (5 or 6) Convert from 1-channel gray to packed BGR (16 bits per pixel, 555 or 565). Support only CV_8U images. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtHSVtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U or CV_32F) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
isFullRange | if set to true read hue in range 0-255 (0-360 for float) otherwise in range 0-180 |
isHSV | if set to true treat source as HSV otherwise HSL Convert from HSV or HSL to BGR, RGB, BGRA or RGBA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtLabtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U or CV_32F) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
isLab | if set to true treat input as Lab otherwise Luv |
srgb | if set to true use sRGB gamma correction Convert from Lab or Luv to BGR, RGB, BGRA or RGBA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtMultipliedRGBAtoRGBA
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height Convert from format with multiplied alpha channel to BGRA or RGBA. Only for CV_8U. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneBGRtoYUV
src_data,src_step | source image data and step |
dst_data,dst_step | destination image data and step |
width,height | image size |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index (0 or 1) |
ycn | Y-channel index (0 or 1) Convert from BGR, RGB, BGRA or RGBA to interleaved YUV 4:2:2 (UYVY, YUY2 or YVYU). Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
analog of hal_cvtOnePlaneBGRtoYUV that allows approximations (not bit-exact)
src_data,src_step | source image data and step |
dst_data,dst_step | destination image data and step |
width,height | image size |
scn | source image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index (0 or 1) |
ycn | Y-channel index (0 or 1) Convert from BGR, RGB, BGRA or RGBA to interleaved YUV 4:2:2 (UYVY, YUY2 or YVYU). Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtOnePlaneYUVtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index (0 or 1) |
ycn | Y-channel index (0 or 1) Convert from interleaved YUV 4:2:2 (UYVY, YUY2 or YVYU) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
analog of hal_cvtOnePlaneYUVtoBGR that allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index (0 or 1) |
ycn | Y-channel index (0 or 1) Convert from interleaved YUV 4:2:2 (UYVY, YUY2 or YVYU) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtRGBAtoMultipliedRGBA
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height Convert from BGRA or RGBA to format with multiplied alpha channel. Only for CV_8U. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtThreePlaneYUVtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel plane index (0 or 1) Convert from YUV (YUV420p (or YV12/YV21) - Y plane followed by U and V planes) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Analog of hal_cvtThreePlaneYUVtoBGR that allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel plane index (0 or 1) Convert from YUV (YUV420p (or YV12/YV21) - Y plane followed by U and V planes) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtTwoPlaneYUVtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index in the interleaved U/V plane (0 or 1) Convert from YUV (YUV420sp (or NV12/NV21) - Y plane followed by interleaved U/V plane) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
analog of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index in the interleaved U/V plane (0 or 1) Convert from YUV (YUV420sp (or NV12/NV21) - Y plane followed by interleaved U/V plane) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Extended version of hal_cvtTwoPlaneYUVtoBGR.
y_data | source image data (Y-plane) |
y_step | source image step (Y-plane) |
uv_data | source image data (UV-plane) |
uv_step | source image step (UV-plane) |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index in the interleaved U/V plane (0 or 1) Convert from YUV (YUV420sp (or NV12/NV21) - Y plane followed by interleaved U/V plane) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Extended version of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact)
y_data | source image data (Y-plane) |
y_step | source image step (Y-plane) |
uv_data | source image data (UV-plane) |
uv_step | source image step (UV-plane) |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
uIdx | U-channel index in the interleaved U/V plane (0 or 1) Convert from YUV (YUV420sp (or NV12/NV21) - Y plane followed by interleaved U/V plane) to BGR, RGB, BGRA or RGBA. Only for CV_8U. Y : [16, 235]; Cb, Cr: [16, 240] centered at 128 |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtXYZtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) Convert from XYZ to BGR, RGB, BGRA or RGBA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_cvtYUVtoBGR
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
isCbCr | if set to true treat source as YCbCr Convert from YUV or YCbCr to BGR, RGB, BGRA or RGBA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Analog of hal_cvtYUVtoBGR, but allows approximations (not bit-exact)
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | image width |
height | image height |
depth | image depth (one of CV_8U, CV_16U or CV_32F) |
dcn | destination image channels (3 or 4) |
swapBlue | if set to true B and R destination channels will be swapped (write RGB) |
isCbCr | if set to true treat source as YCbCr Convert from YUV or YCbCr to BGR, RGB, BGRA or RGBA. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Equalizes the histogram of a grayscale image.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filter
context | pointer to user-defined context |
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | images width |
height | images height |
full_width | full width of source image (outside the ROI) |
full_height | full height of source image (outside the ROI) |
offset_x | source image ROI offset X |
offset_y | source image ROI offset Y |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterFree
context | pointer to user-defined context |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_filterInit
context | double pointer to user-defined context |
kernel_data | pointer to kernel data |
kernel_step | kernel step |
kernel_type | kernel type (CV_8U, ...) |
kernel_width | kernel width |
kernel_height | kernel height |
max_width | max possible image width, can be used to allocate working buffers |
max_height | max possible image height |
src_type | source image type |
dst_type | destination image type |
borderType | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
delta | added to pixel values |
anchor_x | relative X position of center point within the kernel |
anchor_y | relative Y position of center point within the kernel |
allowSubmatrix | indicates whether the submatrices will be allowed as source image |
allowInplace | indicates whether the inplace operation will be possible |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Blurs an image using a generic Gaussian filter.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depth of source and destination image |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
ksize_width | Width of kernel |
ksize_height | Height of kernel |
sigmaX | Gaussian kernel standard deviation. |
sigmaY | Gaussian kernel standard deviation. |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Blurs an image using a symmetric Gaussian filter with square kernel and sigma=0.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depth of source and destination image |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
ksize | Width of kernel |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculates all of the moments up to the third order of a polygon or rasterized shape for image.
src_data | Source image data |
src_step | Source image step |
src_type | source pints type |
width | Source image width |
height | Source image height |
binary | If it is true, all non-zero image pixels are treated as 1's |
m | Output array of moments (10 values) in the following order: m00, m10, m01, m20, m11, m02, m30, m21, m12, m03. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculate integral image.
depth | Depth of source image |
sdepth | Depth of sum image |
sqdepth | Depth of square sum image |
src_data | Source image data |
src_step | Source image step |
sum_data | Sum image data |
sum_step | Sum image step |
sqsum_data | Square sum image data |
sqsum_step | Square sum image step |
tilted_data | Tilted sum image data |
tilted_step | Tilted sum image step |
width | Source image width |
height | Source image height |
cn | Number of channels |
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>
Calculate medianBlur filter.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depths of source and destination image |
cn | Number of channels |
ksize | Size of kernel |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morph
context | pointer to user-defined context |
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | images width |
height | images height |
src_full_width | full width of source image (outside the ROI) |
src_full_height | full height of source image (outside the ROI) |
src_roi_x | source image ROI X offset |
src_roi_y | source image ROI Y offset |
dst_full_width | full width of destination image |
dst_full_height | full height of destination image |
dst_roi_x | destination image ROI X offset |
dst_roi_y | destination image ROI Y offset |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphFree
context | pointer to user-defined context |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_morphInit
context | double pointer to user-defined context |
operation | morphology operation CV_HAL_MORPH_ERODE or CV_HAL_MORPH_DILATE |
src_type | source image type |
dst_type | destination image type |
max_width | max possible image width, can be used to allocate working buffers |
max_height | max possible image height |
kernel_type | kernel type (CV_8U, ...) |
kernel_data | pointer to kernel data |
kernel_step | kernel step |
kernel_width | kernel width |
kernel_height | kernel height |
anchor_x | relative X position of center point within the kernel |
anchor_y | relative Y position of center point within the kernel |
borderType | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
iterations | number of iterations |
allowSubmatrix | indicates whether the submatrices will be allowed as source image |
allowInplace | indicates whether the inplace operation will be possible |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculates all of the moments up to the third order of a polygon of 2d points.
src_data | Source points (Point 2x32f or 2x32s) |
src_size | Source points count |
src_type | source pints type |
m | Output array of moments (10 values) in the following order: m00, m10, m01, m20, m11, m02, m30, m21, m12, m03. |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Perform Gaussian Blur and downsampling for input tile.
depth | Depths of source and destination image |
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
src_width | Source image width |
src_height | Source image height |
dst_width | Destination image width |
dst_height | Destination image height |
cn | Number of channels |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Perform Gaussian Blur and downsampling for input tile with optional margins for submatrix.
src_data | Source image data |
src_step | Source image step |
src_width | Source image width |
src_height | Source image height |
dst_data | Destination image data |
dst_step | Destination image step |
dst_width | Destination image width |
dst_height | Destination image height |
depth | Depths of source and destination image |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_remap with floating point maps
src_type | source and destination image type |
src_data | source image data |
src_step | source image step |
src_width | source image width |
src_height | source image height |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
mapx | map for x values |
mapx_step | mapx matrix step |
mapy | map for y values |
mapy_step | mapy matrix step |
interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
border_type | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
border_value | values to use for CV_HAL_BORDER_CONSTANT mode |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_resize
src_type | source and destination image type |
src_data | source image data |
src_step | source image step |
src_width | source image width |
src_height | source image height |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
inv_scale_x | inversed scale X coefficient |
inv_scale_y | inversed scale Y coefficient |
interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Computes Scharr filter.
src_depth | Depth of source image |
dst_depth | Depts of destination image |
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
dx | orders of the derivative x |
dy | orders of the derivative y |
scale | Scale factor for the computed derivative values |
delta | Delta value that is added to the results prior to storing them in dst |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilter
context | pointer to user-defined context |
src_data | source image data |
src_step | source image step |
dst_data | destination image data |
dst_step | destination image step |
width | images width |
height | images height |
full_width | full width of source image (outside the ROI) |
full_height | full height of source image (outside the ROI) |
offset_x | source image ROI offset X |
offset_y | source image ROI offset Y |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterFree
context | pointer to user-defined context |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_sepFilterInit
context | double pointer to user-defined context |
src_type | source image type |
dst_type | destination image type |
kernel_type | kernels type |
kernelx_data | pointer to x-kernel data |
kernelx_length | x-kernel vector length |
kernely_data | pointer to y-kernel data |
kernely_length | y-kernel vector length |
anchor_x | relative X position of center point within the kernel |
anchor_y | relative Y position of center point within the kernel |
delta | added to pixel values |
borderType | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Computes Sobel derivatives.
src_depth | Depth of source image |
dst_depth | Depts of destination image |
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
cn | Number of channels |
margin_left | Left margins for source image |
margin_top | Top margins for source image |
margin_right | Right margins for source image |
margin_bottom | Bottom margins for source image |
dx | orders of the derivative x |
dy | orders of the derivative y |
ksize | Size of kernel |
scale | Scale factor for the computed derivative values |
delta | Delta value that is added to the results prior to storing them in dst |
border_type | Border type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Calculates fixed-level threshold to each array element.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depths of source and destination image |
cn | Number of channels |
thresh | Threshold value |
maxValue | Value assigned to the pixels for which the condition is satisfied |
thresholdType | Thresholding type |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
Performs threshold filtering using threshold estimated by Otsu algorithm.
src_data | Source image data |
src_step | Source image step |
dst_data | Destination image data |
dst_step | Destination image step |
width | Source image width |
height | Source image height |
depth | Depths of source and destination image |
maxValue | Value assigned to the pixels for which the condition is satisfied |
thresholdType | Thresholding type |
thresh | Calculated threshold value |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffine
src_type | source and destination image type |
src_data | source image data |
src_step | source image step |
src_width | source image width |
src_height | source image height |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
M | 2x3 matrix with transform coefficients |
interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
borderType | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffineBlockline doing a row of affine transformation
adelta | input M0 * x array |
bdelta | input M3 * x array |
xy | output (x', y') coordinates |
alpha | output least significant bits of the (x', y') coordinates for interpolation |
X0 | input M1 * y + M2 value |
Y0 | input M4 * y + M5 value |
bw | length of the row |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpAffineBlocklineNN doing a row of affine transformation
adelta | input M0 * x array |
bdelta | input M3 * x array |
xy | output (x', y') coordinates |
X0 | input M1 * y + M2 value |
Y0 | input M4 * y + M5 value |
bw | length of the row |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspective
src_type | source and destination image type |
src_data | source image data |
src_step | source image step |
src_width | source image width |
src_height | source image height |
dst_data | destination image data |
dst_step | destination image step |
dst_width | destination image width |
dst_height | destination image height |
M | 3x3 matrix with transform coefficients |
interpolation | interpolation mode (CV_HAL_INTER_NEAREST, ...) |
borderType | border processing mode (CV_HAL_BORDER_REFLECT, ...) |
borderValue | values to use for CV_HAL_BORDER_CONSTANT mode |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspectiveBlockline doing a row of perspective transformation
M | 3x3 matrix with transform coefficients |
xy | output (x', y') coordinates |
alpha | output least significant bits of the (x', y') coordinates for interpolation |
X0 | input M0 * x0 + M1 * y + M2 value |
Y0 | input M3 * x0 + M4 * y + M5 value |
W0 | input M6 * x0 + M7 * y + M8 value |
bw | length of the row |
|
inline |
#include <imgproc/src/hal_replacement.hpp>
hal_warpPerspectiveBlocklineNN doing a row of perspective transformation
M | 3x3 matrix with transform coefficients |
xy | output (x', y') coordinates |
X0 | input M0 * x0 + M1 * y + M2 value |
Y0 | input M3 * x0 + M4 * y + M5 value |
W0 | input M6 * x0 + M7 * y + M8 value |
bw | length of the row |