[−][src]Module opencv::core
Core functionality
Basic structures
C structures and operations
Connections with C++
Operations on arrays
Asynchronous API
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
AsyncArray | Returns result of asynchronous operations |
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, |
Context | |
DMatch | Class for matching keypoint descriptors |
Device | |
Hamming | replaced with CV_Assert(expr) in Debug configuration |
Image2D | |
Kernel | |
KernelArg | |
KeyPoint | Data structure for salient point detectors. |
LDA | Linear Discriminant Analysis @todo document this class |
Mat | n-dimensional dense array class \anchor CVMat_Details |
MatConstIterator | |
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 | @cond IGNORED |
Matx_DivOp | |
Matx_MatMulOp | |
Matx_MulOp | |
Matx_ScaleOp | |
Matx_SubOp | |
Matx_TOp | |
Moments | struct returned by cv::moments |
NAryMatIterator | n-ary multi-dimensional array iterator. |
NodeData | |
NodeDataTls | |
PCA | Principal Component Analysis |
ParallelLoopBodyLambdaWrapper | |
Param | |
Platform | |
PlatformInfo | |
Point_ | |
Program | |
ProgramEntry | |
ProgramSource | |
Queue | |
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_ | |
SparseMat | The class SparseMat represents multi-dimensional sparse numerical arrays. |
SparseMatIterator | Read-write Sparse Matrix Iterator |
SparseMat_Hdr | the sparse matrix header |
SparseMat_Node | sparse matrix node - element of a hash table |
TermCriteria | The class defining termination criteria for iterative algorithms. |
TickMeter | a Class to measure passing time. |
Timer | |
UMat | @todo document |
UMatData | |
Vec2 | |
Vec3 | |
Vec4 | |
Vec6 | |
Vec8 |
Enums
FLAGS | |
IMPL | |
LogLevel | |
TYPE | |
UMatUsageFlags |
Constants
Statics
CV_VERSION |
Traits
Algorithm | This is a base class for all more or less complex algorithms in OpenCV |
AllocatorStatisticsInterface | |
BufferPoolController | |
DataType | This sealed trait is implemented for types that are valid to use as Mat elements |
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 |
SparseMatConstIterator | Read-Only Sparse Matrix Iterator. |
ValidPointType | This sealed trait is implemented for types that are valid to use in corresponding context |
ValidRectType | This sealed trait is implemented for types that are valid to use in corresponding context |
ValidScalarType | This sealed trait is implemented for types that are valid to use in corresponding context |
ValidSizeType | This sealed trait is implemented for types that are valid to use in corresponding context |
ValidVecType | This sealed trait is implemented for types that are valid to use in corresponding context |
Functions
MAKETYPE | |
MAT_DEPTH | |
absdiff | Calculates the per-element absolute difference between two arrays or between an array and a scalar. |
add | Calculates the per-element sum of two arrays or an array and a scalar. |
add_samples_data_search_path | Override search data path by adding new search location |
add_samples_data_search_sub_directory | Append samples search data sub directory |
add_weighted | Calculates the weighted sum of two arrays. |
align_size | Aligns a buffer size to the specified number of bytes. |
attach_context | Attaches OpenCL context to OpenCV |
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. |
build_options_add_matrix_description | |
calc_covar_matrix | Calculates the covariance matrix of a set of vectors. |
cart_to_polar | Calculates the magnitude and angle of 2D vectors. |
check_failed__mat_channels | |
check_failed__mat_channels_1 | |
check_failed__mat_depth | |
check_failed__mat_depth_1 | |
check_failed__mat_type | |
check_failed__mat_type_1 | |
check_failed_auto | |
check_failed_auto_1 | |
check_failed_auto_2 | |
check_failed_auto_3 | |
check_failed_auto_4 | |
check_failed_auto_5 | |
check_failed_auto_6 | |
check_failed_auto_7 | |
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 |
cholesky_f32 | proxy for hal::Cholesky |
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_buffer | Convert OpenCL buffer to UMat |
convert_from_image | Convert OpenCL image2d_t to UMat |
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. |
convert_type_str | |
copy_make_border | Forms a border around an image. |
count_non_zero | Counts non-zero array elements. |
cube_root | Computes the cube root of an argument. |
cv_abs | |
cv_abs_1 | |
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 " |
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. |
div_up | Integer division with result round up. |
divide | Performs per-element division of two arrays or a scalar by an array. |
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 | |
duv_up_u | Integer division with result round up. |
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 | |
error_no_return | same as cv::error, but does not return |
exp | Calculates the exponent of every array element. |
extract_channel | Extracts a single channel from src (coi is 0-based index) |
fast_atan2 | Calculates the angle of a 2D vector in degrees. |
find_file | Try to find requested data file |
find_file_or_keep | C++ default parameters |
find_non_zero | Returns the list of locations of non-zero pixels |
finish | |
flip | Flips a 2D array around vertical, horizontal, or both axes. |
gemm | Performs generalized matrix multiplication. |
get_build_information | Returns full configuration time cmake output. |
get_cpu_features_line | Returns list of CPU features enabled during compilation. |
get_cpu_tick_count | Returns the number of CPU ticks. |
get_elem_size | |
get_flags | |
get_hardware_feature_name | Returns feature name by ID |
get_ipp_error_location | |
get_ipp_features | |
get_ipp_status | |
get_ipp_version | |
get_log_level | Get global logging level |
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_open_cl_error_string | |
get_optimal_dft_size | Returns the optimal DFT size for a given vector size. |
get_platfoms_info | |
get_thread_id | |
get_thread_num | Deprecated 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_d3d_format | Get OpenCV type from DirectX type |
get_type_from_dxgi_format | Get OpenCV type from DirectX type |
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_amd_blas | |
have_amd_fft | |
have_open_cl | |
have_open_vx | |
have_svm | |
hconcat | Applies horizontal concatenation to given matrices. |
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) |
invert | Finds the inverse or pseudo-inverse of a matrix. |
kernel_to_str | C++ default parameters |
kmeans | Finds centers of clusters and groups input samples around the clusters. |
log | Calculates the natural logarithm of every array element. |
lu | proxy for hal::LU |
lu_f32 | proxy for hal::LU |
lut | Performs a look-up table transform of an array. |
magnitude | Calculates the magnitude of 2D vectors. |
mahalanobis | Calculates the Mahalanobis distance between two vectors. |
max | Calculates per-element maximum of two arrays or an array and a scalar. |
max_umat | 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. |
memop_type_to_str | |
merge | Creates one multi-channel array out of several single-channel ones. |
min | 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. |
min_umat | Calculates per-element minimum of two arrays or an array and a scalar. |
mix_channels | Copies specified channels from input arrays to the specified channels of output arrays. |
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_l1 | |
norm_l2 | |
norm_l2_sqr | |
norm_with_type | Calculates an absolute difference norm or a relative difference norm. |
normalize | Normalizes the norm or value range of an array. |
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() |
pca_compute_values | wrap PCA::operator() and add eigenvalues output parameter |
pca_compute_values_variance | wrap PCA::operator() and add eigenvalues output parameter |
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. |
predict_optimal_vector_width_max | C++ default parameters |
psnr | Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric. |
randn | Fills the array with normally distributed random numbers. |
randu | Generates a single uniformly-distributed random number or an array of random numbers. |
reduce | Reduces a matrix to a vector. |
repeat | Fills the output array with repeated copies of the input array. |
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 | Round first value up to the nearest multiple of second value. |
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_flags_1 | |
set_identity | Initializes a scaled identity matrix. |
set_log_level | Set global logging level |
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_cl | |
set_use_open_vx | |
set_use_optimized | Enables or disables the optimized code. |
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 | Divides a multi-channel array into several single-channel arrays. |
sqrt | Calculates a square root of array elements. |
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 |
swap | Swaps two matrices |
swap_umat | Swaps two matrices |
tempfile | C++ default parameters |
test_async_array | |
test_async_exception | |
trace | Returns the trace of a matrix. |
transform | Performs the matrix transformation of every array element. |
transpose | Transposes a matrix. |
type_to_str | |
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_cl | |
use_open_vx | |
use_optimized | Returns the status of optimized code usage. |
vconcat | Applies vertical concatenation to given matrices. |
vconcat_2 | Applies vertical concatenation to given matrices. |
vecop_type_to_str | |
write_log_message | Write log message |
Type Definitions
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 |