Module cudaarithm

Source
Expand description

§Operations on Matrices

Modules§

prelude

Structs§

Convolution
Base class for convolution (or cross-correlation) operator. :
DFT
Base class for DFT operator as a cv::Algorithm. :
LookUpTable
Base class for transform using lookup table.

Traits§

ConvolutionTrait
Mutable methods for crate::cudaarithm::Convolution
ConvolutionTraitConst
Constant methods for crate::cudaarithm::Convolution
DFTTrait
Mutable methods for crate::cudaarithm::DFT
DFTTraitConst
Constant methods for crate::cudaarithm::DFT
LookUpTableTrait
Mutable methods for crate::cudaarithm::LookUpTable
LookUpTableTraitConst
Constant methods for crate::cudaarithm::LookUpTable

Functions§

abs
Computes an absolute value of each matrix element.
abs_def
Computes an absolute value of each matrix element.
abs_sum
Returns the sum of absolute values for matrix elements.
abs_sum_def
Returns the sum of absolute values for matrix elements.
absdiff
Computes per-element absolute difference of two matrices (or of a matrix and scalar).
absdiff_def
Computes per-element absolute difference of two matrices (or of a matrix and scalar).
absdiff_with_scalar
Computes per-element absolute difference of a matrix and scalar.
absdiff_with_scalar_def
Computes per-element absolute difference of a matrix and scalar.
add
Computes a matrix-matrix or matrix-scalar sum.
add_def
Computes a matrix-matrix or matrix-scalar sum.
add_weighted
Computes the weighted sum of two arrays.
add_weighted_def
Computes the weighted sum of two arrays.
add_with_scalar
Computes a matrix-scalar sum.
add_with_scalar_def
Computes a matrix-scalar sum.
bitwise_and
Performs a per-element bitwise conjunction of two matrices (or of matrix and scalar).
bitwise_and_def
Performs a per-element bitwise conjunction of two matrices (or of matrix and scalar).
bitwise_and_with_scalar
Performs a per-element bitwise conjunction of a matrix and a scalar.
bitwise_and_with_scalar_def
Performs a per-element bitwise conjunction of a matrix and a scalar.
bitwise_not
Performs a per-element bitwise inversion.
bitwise_not_def
Performs a per-element bitwise inversion.
bitwise_or
Performs a per-element bitwise disjunction of two matrices (or of matrix and scalar).
bitwise_or_def
Performs a per-element bitwise disjunction of two matrices (or of matrix and scalar).
bitwise_or_with_scalar
Performs a per-element bitwise disjunction of a matrix and scalar.
bitwise_or_with_scalar_def
Performs a per-element bitwise disjunction of a matrix and scalar.
bitwise_xor
Performs a per-element bitwise exclusive or operation of two matrices (or of matrix and scalar).
bitwise_xor_def
Performs a per-element bitwise exclusive or operation of two matrices (or of matrix and scalar).
bitwise_xor_with_scalar
Performs a per-element bitwise exclusive or operation of a matrix and a scalar.
bitwise_xor_with_scalar_def
Performs a per-element bitwise exclusive or operation of a matrix and a scalar.
calc_abs_sum
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
calc_abs_sum_def
@overload
calc_norm
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
calc_norm_def
@overload
calc_norm_diff
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
calc_norm_diff_def
@overload
calc_sqr_sum
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
calc_sqr_sum_def
@overload
calc_sum
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
calc_sum_def
@overload
cart_to_polar
Converts Cartesian coordinates into polar.
cart_to_polar_1
Converts Cartesian coordinates into polar.
cart_to_polar_2
Converts Cartesian coordinates into polar.
cart_to_polar_1_def
Converts Cartesian coordinates into polar.
cart_to_polar_2_def
Converts Cartesian coordinates into polar.
cart_to_polar_def
Converts Cartesian coordinates into polar.
compare
Compares elements of two matrices (or of a matrix and scalar).
compare_def
Compares elements of two matrices (or of a matrix and scalar).
compare_with_scalar
Compares elements of a matrix and scalar.
compare_with_scalar_def
Compares elements of a matrix and scalar.
copy_make_border
Forms a border around an image.
copy_make_border_def
Forms a border around an image.
count_non_zero
Counts non-zero matrix elements.
count_non_zero_1
Counts non-zero matrix elements.
count_non_zero_1_def
@overload
create_convolution
Creates implementation for cuda::Convolution .
create_convolution_def
Creates implementation for cuda::Convolution .
create_dft
Creates implementation for cuda::DFT.
create_look_up_table
Creates implementation for cuda::LookUpTable .
dft
Performs a forward or inverse discrete Fourier transform (1D or 2D) of the floating point matrix.
dft_def
Performs a forward or inverse discrete Fourier transform (1D or 2D) of the floating point matrix.
divide
Computes a matrix-matrix or matrix-scalar division.
divide_def
Computes a matrix-matrix or matrix-scalar division.
divide_with_scalar
Computes a matrix-scalar division.
divide_with_scalar_def
Computes a matrix-scalar division.
exp
Computes an exponent of each matrix element.
exp_def
Computes an exponent of each matrix element.
find_min_max
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
find_min_max_def
@overload
find_min_max_loc
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
find_min_max_loc_def
@overload
flip
Flips a 2D matrix around vertical, horizontal, or both axes.
flip_def
Flips a 2D matrix around vertical, horizontal, or both axes.
gemm
Performs generalized matrix multiplication.
gemm_def
Performs generalized matrix multiplication.
in_range
Checks if array elements lie between two scalars.
in_range_def
Checks if array elements lie between two scalars.
integral
Computes an integral image.
integral_def
Computes an integral image.
log
Computes a natural logarithm of absolute value of each matrix element.
log_def
Computes a natural logarithm of absolute value of each matrix element.
lshift
Performs pixel by pixel right left of an image by a constant value.
lshift_1
C++ default parameters
lshift_1_def
Note
lshift_def
Performs pixel by pixel right left of an image by a constant value.
magnitude
Computes magnitudes of complex matrix elements.
magnitude_1
Computes magnitudes of complex matrix elements.
magnitude_1_def
@overload computes magnitude of each (x(i), y(i)) vector supports only floating-point source
magnitude_def
Computes magnitudes of complex matrix elements.
magnitude_sqr
Computes squared magnitudes of complex matrix elements.
magnitude_sqr_1
Computes squared magnitudes of complex matrix elements.
magnitude_sqr_1_def
@overload computes squared magnitude of each (x(i), y(i)) vector supports only floating-point source
magnitude_sqr_def
Computes squared magnitudes of complex matrix elements.
max
Computes the per-element maximum of two matrices (or a matrix and a scalar).
max_def
Computes the per-element maximum of two matrices (or a matrix and a scalar).
max_with_scalar
Computes the per-element maximum of a matrix and a scalar.
max_with_scalar_def
Computes the per-element maximum of a matrix and a scalar.
mean_std_dev
Computes a mean value and a standard deviation of matrix elements.
mean_std_dev_1
Computes a mean value and a standard deviation of matrix elements.
mean_std_dev_2
Computes a mean value and a standard deviation of matrix elements.
mean_std_dev_3
Computes a mean value and a standard deviation of matrix elements.
mean_std_dev_1_def
@overload
mean_std_dev_def
Computes a mean value and a standard deviation of matrix elements.
merge
Makes a multi-channel matrix out of several single-channel matrices.
merge_1
Makes a multi-channel matrix out of several single-channel matrices.
merge_1_def
@overload
merge_def
Makes a multi-channel matrix out of several single-channel matrices.
min
Computes the per-element minimum of two matrices (or a matrix and a scalar).
min_def
Computes the per-element minimum of two matrices (or a matrix and a scalar).
min_max
Finds global minimum and maximum matrix elements and returns their values.
min_max_def
Finds global minimum and maximum matrix elements and returns their values.
min_max_loc
Finds global minimum and maximum matrix elements and returns their values with locations.
min_max_loc_def
Finds global minimum and maximum matrix elements and returns their values with locations.
min_with_scalar
Computes the per-element minimum or a matrix and a scalar.
min_with_scalar_def
Computes the per-element minimum or a matrix and a scalar.
mul_and_scale_spectrums
Performs a per-element multiplication of two Fourier spectrums and scales the result.
mul_and_scale_spectrums_def
Performs a per-element multiplication of two Fourier spectrums and scales the result.
mul_spectrums
Performs a per-element multiplication of two Fourier spectrums.
mul_spectrums_def
Performs a per-element multiplication of two Fourier spectrums.
multiply
Computes a matrix-matrix or matrix-scalar per-element product.
multiply_def
Computes a matrix-matrix or matrix-scalar per-element product.
multiply_with_scalar
Computes a matrix-scalar per-element product.
multiply_with_scalar_def
Computes a matrix-scalar per-element product.
norm
Returns the norm of a matrix (or difference of two matrices).
norm_1
Returns the difference of two matrices.
norm_1_def
Returns the difference of two matrices.
norm_def
Returns the norm of a matrix (or difference of two matrices).
normalize
Normalizes the norm or value range of an array.
normalize_def
Normalizes the norm or value range of an array.
phase
Computes polar angles of complex matrix elements.
phase_1
Computes polar angles of complex matrix elements.
phase_1_def
Computes polar angles of complex matrix elements.
phase_def
Computes polar angles of complex matrix elements.
polar_to_cart
Converts polar coordinates into Cartesian.
polar_to_cart_1
Converts polar coordinates into Cartesian.
polar_to_cart_2
Converts polar coordinates into Cartesian.
polar_to_cart_1_def
Converts polar coordinates into Cartesian.
polar_to_cart_2_def
Converts polar coordinates into Cartesian.
polar_to_cart_def
Converts polar coordinates into Cartesian.
pow
Raises every matrix element to a power.
pow_def
Raises every matrix element to a power.
rect_std_dev
Computes a standard deviation of integral images.
rect_std_dev_def
Computes a standard deviation of integral images.
reduce
Reduces a matrix to a vector.
reduce_def
Reduces a matrix to a vector.
rshift
Performs pixel by pixel right shift of an image by a constant value.
rshift_1
C++ default parameters
rshift_1_def
Note
rshift_def
Performs pixel by pixel right shift of an image by a constant value.
split
Copies each plane of a multi-channel matrix into an array.
split_1
Copies each plane of a multi-channel matrix into an array.
split_1_def
@overload
split_def
Copies each plane of a multi-channel matrix into an array.
sqr
Computes a square value of each matrix element.
sqr_def
Computes a square value of each matrix element.
sqr_integral
Computes a squared integral image.
sqr_integral_def
Computes a squared integral image.
sqr_sum
Returns the squared sum of matrix elements.
sqr_sum_def
Returns the squared sum of matrix elements.
sqrt
Computes a square root of each matrix element.
sqrt_def
Computes a square root of each matrix element.
subtract
Computes a matrix-matrix or matrix-scalar difference.
subtract_def
Computes a matrix-matrix or matrix-scalar difference.
subtract_with_scalar
Computes matrix-scalar difference.
subtract_with_scalar_def
Computes matrix-scalar difference.
sum
Returns the sum of matrix elements.
sum_def
Returns the sum of matrix elements.
threshold
Applies a fixed-level threshold to each array element.
threshold_def
Applies a fixed-level threshold to each array element.
transpose
Transposes a matrix.
transpose_def
Transposes a matrix.