[−][src]Module opencv::core
Core functionality
Basic structures
C structures and operations
Connections with C++
Operations on arrays
XML/YAML Persistence
Clustering
Utility and system functions and macros
SSE utilities
NEON utilities
Softfloat support
Utility functions for OpenCV samples
OpenGL interoperability
Intel IPP Asynchronous C/C++ Converters
Optimization Algorithms
DirectX interoperability
Eigen support
OpenCL support
Intel VA-API/OpenCL (CL-VA) interoperability
Hardware Acceleration Layer
Functions
Interface
Universal intrinsics
Private implementation helpers
Structs
AutoLock | |
CheckContext | |
CommandLineParser | Designed for command line parsing |
ConjGradSolver | This class is used to perform the non-linear non-constrained minimization of a function with known gradient, |
DMatch | Class for matching keypoint descriptors |
Hamming | replaced with CV_Assert(expr) in Debug configuration |
KeyPoint | Data structure for salient point detectors. |
LDA | Linear Discriminant Analysis @todo document this class |
Mat | n-dimensional dense array class \anchor CVMat_Details |
MatExpr | Matrix expression representation @anchor MatrixExpressions This is a list of implemented matrix operations that can be combined in arbitrary complex expressions (here A, B stand for matrices ( Mat ), s for a scalar ( Scalar ), alpha for a real-valued scalar ( double )): |
MatSize | |
MatStep | |
Matx_AddOp | |
Matx_DivOp | |
Matx_MatMulOp | |
Matx_MulOp | |
Matx_ScaleOp | |
Matx_SubOp | |
Matx_TOp | |
Moments | struct returned by cv::moments |
Mutex | |
NAryMatIterator | n-ary multi-dimensional array iterator. |
NodeData | |
NodeDataTls | |
PCA | Principal Component Analysis |
ParallelLoopBodyLambdaWrapper | |
Param | |
Point_ | |
Range | Template class specifying a continuous subsequence (slice) of a sequence. |
Rect_ | |
RotatedRect | The class represents rotated (i.e. not up-right) rectangles on a plane. |
Scalar_ | |
Size_ | |
TermCriteria | The class defining termination criteria for iterative algorithms. |
TickMeter | a Class to measure passing time. |
UMat | @todo document |
UMatData | Comma-separated Matrix Initializer |
Vec2 | |
Vec3 | |
Vec4 | |
Vec6 | |
Vec8 | |
float16_t | |
softdouble | |
softfloat | @addtogroup core_utils_softfloat |
Constants
Statics
CV_VERSION |
Traits
Algorithm | This is a base class for all more or less complex algorithms in OpenCV |
BufferPoolController | |
DownhillSolver | This class is used to perform the non-linear non-constrained minimization of a function, |
Formatted | @todo document |
Formatter | @todo document |
MatOp | |
MinProblemSolver | Basic interface for all solvers |
MinProblemSolver_Function | Represents function being optimized |
ParallelLoopBody | Base class for parallel data processors |
ValidMatElement | |
ValidPointType | |
ValidRectType | |
ValidScalarType | |
ValidSizeType | |
ValidVecType |
Functions
abs | |
abs_1 | Absolute value |
absdiff | Calculates the per-element absolute difference between two arrays or between an array and a scalar. |
absdiff8s | |
absdiff8u | |
absdiff16s | |
absdiff16u | |
absdiff32f | |
absdiff32s | |
absdiff64f | |
add | Calculates the per-element sum of two arrays or an array and a scalar. |
add8s | |
add8u | |
add16s | |
add16u | |
add32f | |
add32s | |
add64f | |
add_weighted | Calculates the weighted sum of two arrays. |
add_weighted8s | |
add_weighted8u | |
add_weighted16s | |
add_weighted16u | |
add_weighted32f | |
add_weighted32s | |
add_weighted64f | |
align_size | Aligns a buffer size to the specified number of bytes. |
and8u | |
batch_distance | naive nearest neighbor finder |
bitwise_and | computes bitwise conjunction of the two arrays (dst = src1 & src2) Calculates the per-element bit-wise conjunction of two arrays or an array and a scalar. |
bitwise_not | Inverts every bit of an array. |
bitwise_or | Calculates the per-element bit-wise disjunction of two arrays or an array and a scalar. |
bitwise_xor | Calculates the per-element bit-wise "exclusive or" operation on two arrays or an array and a scalar. |
border_interpolate | Computes the source location of an extrapolated pixel. |
calc_covar_matrix | Calculates the covariance matrix of a set of vectors. |
calc_covar_matrix_arrays | @overload |
cart_to_polar | Calculates the magnitude and angle of 2D vectors. |
cbrt | Cube root |
check_hardware_support | Returns true if the specified feature is supported by the host hardware. |
check_range | Checks every element of an input array for invalid values. |
cholesky | proxy for hal::Cholesky |
cholesky32f | |
cholesky64f | |
cholesky_1 | proxy for hal::Cholesky |
cmp8s | |
cmp8u | |
cmp16s | |
cmp16u | |
cmp32f | |
cmp32s | |
cmp64f | |
compare | Performs the per-element comparison of two arrays or an array and scalar value. |
complete_symm | Copies the lower or the upper half of a square matrix to its another half. |
convert_fp16 | Converts an array to half precision floating number. |
convert_from_va_surface | Converts VASurfaceID object to OutputArray. |
convert_scale_abs | Scales, calculates absolute values, and converts the result to 8-bit. |
convert_to_va_surface | Converts InputArray to VASurfaceID object. |
copy_make_border | Forms a border around an image. |
cos | Cosine |
count_non_zero | Counts non-zero array elements. |
cube_root | Computes the cube root of an argument. |
cv_abs | |
cv_abs_1 | |
cv_cbrt | Fast cubic root calculation |
cv_change_seq_block | |
cv_check_hardware_support | |
cv_error | Sets error status and performs some additional actions (displaying message box, writing message to stderr, terminating application etc.) depending on the current error mode |
cv_error_from_ipp_status | Maps IPP error codes to the counterparts from OpenCV |
cv_error_str | Retrieves textual description of the error given its code |
cv_fast_arctan | Fast arctangent calculation |
cv_get_err_mode | Retrieves current error processing mode |
cv_get_err_status | Get current OpenCV error status |
cv_get_num_threads | retrieve/set the number of threads used in OpenMP implementations |
cv_get_optimal_dft_size | Finds optimal DFT vector size >= size0 |
cv_get_thread_num | get index of the thread being executed |
cv_get_tick_count | helper functions for RNG initialization and accurate time measurement: uses internal clock counter on x86 |
cv_get_tick_frequency | |
cv_gui_box_report | Output to MessageBox(WIN32) |
cv_insert_node_into_tree | Inserts sequence into tree with specified "parent" sequence. If parent is equal to frame (e.g. the most external contour), then added contour will have null pointer to parent. |
cv_ipl_depth | |
cv_nul_dev_report | Output nothing |
cv_remove_node_from_tree | Removes contour from tree (together with the contour children). |
cv_rng | Initializes a random number generator state. |
cv_round64 | Rounds a number to nearest even long long integer |
cv_set_err_mode | Sets error processing mode, returns previously used mode |
cv_set_err_status | Sets error status silently |
cv_set_num_threads | C++ default parameters: |
cv_std_err_report | Output to console(fprintf(stderr,...)) |
cv_trunc | |
cv_trunc_1 | Truncates number to integer with minimum magnitude |
cv_unregister_type | Unregisters the type. |
cv_use_optimized | Loads optimized functions from IPP, MKL etc. or switches back to pure C code |
dct | Performs a forward or inverse discrete Cosine transform of 1D or 2D array. |
depth_to_string | Returns string of cv::Mat depth value: CV_8U -> "CV_8U" or " |
depth_to_string_ | Returns string of cv::Mat depth value: CV_8U -> "CV_8U" or NULL |
determinant | Returns the determinant of a square floating-point matrix. |
dft | Performs a forward or inverse Discrete Fourier transform of a 1D or 2D floating-point array. |
div8s | |
div8u | |
div16s | |
div16u | |
div32f | |
div32s | |
div64f | |
div_up | Integer division with result round up. |
div_up_1 | @overload |
divide | @overload |
divide_mat | Performs per-element division of two arrays or a scalar by an array. |
dump_input_array | |
dump_input_array_of_arrays | |
dump_input_output_array | |
dump_input_output_array_of_arrays | |
eigen | Calculates eigenvalues and eigenvectors of a symmetric matrix. |
eigen_non_symmetric | Calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only). |
error | |
exp | Calculates the exponent of every array element. |
exp32f | |
exp64f | |
exp_1 | |
exp_2 | Exponent |
exp_3 | |
exp_4 | |
extract_channel | Extracts a single channel from src (coi is 0-based index) |
fast_atan2 | Calculates the angle of a 2D vector in degrees. |
fast_atan3 | |
fast_atan32f | |
fast_atan64f | |
find_non_zero | Returns the list of locations of non-zero pixels |
flip | Flips a 2D array around vertical, horizontal, or both axes. |
gemm | Performs generalized matrix multiplication. |
gemm32f | |
gemm32fc | |
gemm64f | |
gemm64fc | |
get_build_information | Returns full configuration time cmake output. |
get_cpu_tick_count | Returns the number of CPU ticks. |
get_elem_size | |
get_hardware_feature_name | Returns feature name by ID |
get_ipp_error_location | |
get_ipp_features | |
get_ipp_status | |
get_ipp_version | |
get_num_threads | Returns the number of threads used by OpenCV for parallel regions. |
get_number_of_cpus | Returns the number of logical CPUs available for the process. |
get_optimal_dft_size | Returns the optimal DFT size for a given vector size. |
get_thread_id | |
get_thread_num | Returns the index of the currently executed thread within the current parallel region. Always returns 0 if called outside of parallel region. |
get_tick_count | Returns the number of ticks. |
get_tick_frequency | Returns the number of ticks per second. |
get_type_from_d3_dformat | |
get_type_from_dxgi_format | |
get_version_major | Returns major library version |
get_version_minor | Returns minor library version |
get_version_revision | Returns revision field of the library version |
get_version_string | Returns library version string |
glob | C++ default parameters: |
have_open_vx | |
hconcat | @overload |
hconcat_1 | @overload |
hconcat_2 | Applies horizontal concatenation to given matrices. |
idct | Calculates the inverse Discrete Cosine Transform of a 1D or 2D array. |
idft | Calculates the inverse Discrete Fourier Transform of a 1D or 2D array. |
in_range | Checks if array elements lie between the elements of two other arrays. |
insert_channel | Inserts a single channel to dst (coi is 0-based index) |
inv_sqrt | |
inv_sqrt32f | |
inv_sqrt64f | |
inv_sqrt_1 | |
invert | Finds the inverse or pseudo-inverse of a matrix. |
kmeans | Finds centers of clusters and groups input samples around the clusters. |
log | |
log32f | |
log64f | |
log_1 | |
log_2 | Calculates the natural logarithm of every array element. |
log_3 | |
log_4 | Natural logarithm |
lu | proxy for hal::LU |
lu32f | |
lu64f | |
lu_1 | proxy for hal::LU |
lut | Performs a look-up table transform of an array. |
magnitude | |
magnitude32f | |
magnitude64f | |
magnitude_1 | |
magnitude_2 | Calculates the magnitude of 2D vectors. |
mahalanobis | Calculates the Mahalanobis distance between two vectors. |
max | |
max8s | |
max8u | |
max16s | |
max16u | |
max32f | |
max32s | |
max64f | |
max_1 | |
max_mat_mat | Calculates per-element maximum of two arrays or an array and a scalar. |
mean | Calculates an average (mean) of array elements. |
mean_std_dev | Calculates a mean and standard deviation of array elements. |
merge | @overload |
merge_1 | Creates one multi-channel array out of several single-channel ones. |
min | |
min8s | |
min8u | |
min16s | |
min16u | |
min32f | |
min32s | |
min64f | |
min_1 | Min and Max functions |
min_mat_mat | Calculates per-element minimum of two arrays or an array and a scalar. |
min_max_idx | Finds the global minimum and maximum in an array |
min_max_loc | Finds the global minimum and maximum in an array. |
mix_channels | @overload |
mix_channels_1 | @overload |
mix_channels_2 | Copies specified channels from input arrays to the specified channels of output arrays. |
mul8s | |
mul8u | |
mul16s | |
mul16u | |
mul32f | |
mul32s | |
mul64f | |
mul_add | |
mul_add_1 | Fused Multiplication and Addition |
mul_spectrums | Performs the per-element multiplication of two Fourier spectrums. |
mul_transposed | Calculates the product of a matrix and its transposition. |
multiply | Calculates the per-element scaled product of two arrays. |
norm | Calculates the absolute norm of an array. |
norm_hamming | |
norm_hamming_1 | |
norm_hamming_2 | |
norm_hamming_3 | |
norm_l1_ | |
norm_l1 | |
norm_l2_sqr_ | |
norm_l2 | |
norm_l2_sqr | |
norm_l1__1 | |
norm_with_type | Calculates an absolute difference norm or a relative difference norm. |
normalize | Normalizes the norm or value range of an array. |
not8u | |
or8u | |
parallel_for_ | Parallel data processor |
patch_na_ns | converts NaN's to the given number |
pca_back_project | wrap PCA::backProject |
pca_compute | wrap PCA::operator() and add eigenvalues output parameter |
pca_compute_1 | wrap PCA::operator() and add eigenvalues output parameter |
pca_compute_2 | wrap PCA::operator() |
pca_compute_variance | wrap PCA::operator() |
pca_project | wrap PCA::project |
perspective_transform | Performs the perspective matrix transformation of vectors. |
phase | Calculates the rotation angle of 2D vectors. |
polar_to_cart | Calculates x and y coordinates of 2D vectors from their magnitude and angle. |
pow | Raises every array element to a power. |
pow_1 | |
pow_2 | Raising to the power |
psnr | Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric. |
qr32f | |
qr64f | |
randn | Fills the array with normally distributed random numbers. |
randu | Generates a single uniformly-distributed random number or an array of random numbers. |
recip8s | |
recip8u | |
recip16s | |
recip16u | |
recip32f | |
recip32s | |
recip64f | |
reduce | Reduces a matrix to a vector. |
repeat | @overload |
repeat_to | Fills the output array with repeated copies of the input array. |
reset_trace | |
rotate | Rotates a 2D array in multiples of 90 degrees. The function cv::rotate rotates the array in one of three different ways: Rotate by 90 degrees clockwise (rotateCode = ROTATE_90_CLOCKWISE). Rotate by 180 degrees clockwise (rotateCode = ROTATE_180). Rotate by 270 degrees clockwise (rotateCode = ROTATE_90_COUNTERCLOCKWISE). |
round_up | Round first value up to the nearest multiple of second value. |
round_up_1 | @overload |
scale_add | Calculates the sum of a scaled array and another array. |
set_break_on_error | Sets/resets the break-on-error mode. |
set_flags | |
set_identity | Initializes a scaled identity matrix. |
set_num_threads | OpenCV will try to set the number of threads for the next parallel region. |
set_rng_seed | Sets state of default random number generator. |
set_use_instrumentation | |
set_use_ipp | |
set_use_ipp__not_exact | |
set_use_ipp_ne | |
set_use_open_vx | |
set_use_optimized | Enables or disables the optimized code. |
sin | Sine |
solve | Solves one or more linear systems or least-squares problems. |
solve_cubic | Finds the real roots of a cubic equation. |
solve_lp | Solve given (non-integer) linear programming problem using the Simplex Algorithm (Simplex Method). |
solve_poly | Finds the real or complex roots of a polynomial equation. |
sort | Sorts each row or each column of a matrix. |
sort_idx | Sorts each row or each column of a matrix. |
split | @overload |
split_at | Divides a multi-channel array into several single-channel arrays. |
sqrt | |
sqrt32f | |
sqrt64f | |
sqrt_1 | |
sqrt_2 | Calculates a square root of array elements. |
sqrt_3 | |
sqrt_4 | Square root |
sub8s | |
sub8u | |
sub16s | |
sub16u | |
sub32f | |
sub32s | |
sub64f | |
subtract | Calculates the per-element difference between two arrays or array and a scalar. |
sum | Calculates the sum of array elements. |
sv_back_subst | wrap SVD::backSubst |
sv_decomp | wrap SVD::compute |
svd32f | |
svd64f | |
swap | Swaps two matrices |
tempfile | C++ default parameters: |
trace | Returns the trace of a matrix. |
transform | Performs the matrix transformation of every array element. |
transpose | Transposes a matrix. |
type_to_string | Returns string of cv::Mat depth value: CV_8UC3 -> "CV_8UC3" or " |
use_instrumentation | |
use_ipp | |
use_ipp__not_exact | |
use_ipp_ne | |
use_open_vx | |
use_optimized | Returns the status of optimized code usage. |
vconcat | @overload |
vconcat_1 | @overload |
vconcat_2 | Applies vertical concatenation to given matrices. |
xor8u |
Type Definitions
CvCloneFunc | |
CvCloneFuncExtern | |
CvCmpFunc | a < b ? -1 : a > b ? 1 : 0 |
CvCmpFuncExtern | a < b ? -1 : a > b ? 1 : 0 |
CvErrorCallback | |
CvErrorCallbackExtern | |
CvIsInstanceFunc | < map (collection of named file nodes) |
CvIsInstanceFuncExtern | < map (collection of named file nodes) |
Cv_iplCreateROI | |
Cv_iplCreateROIExtern | |
Point | |
Point2d | |
Point2f | |
Point2l | |
Point2i | |
Rect | |
Rect2d | |
Rect2f | |
Rect2i | |
Scalar | |
Size | |
Size2d | |
Size2f | |
Size2l | |
Size2i | |
Vec2d | |
Vec2f | |
Vec2i | |
Vec2w | |
Vec2s | |
Vec2b | |
Vec3d | |
Vec3f | |
Vec3i | |
Vec3w | |
Vec3s | |
Vec3b | |
Vec4d | |
Vec4f | |
Vec4i | |
Vec4w | |
Vec4s | |
Vec4b | |
Vec6d | |
Vec6f | |
Vec6i | |
Vec8i |