corr#
Cross-correlation of two inputs
-
template<typename In1Type, typename In2Type>
__MATX_INLINE__ auto matx::corr(const In1Type &i1, const In2Type &i2, matxConvCorrMode_t mode, matxConvCorrMethod_t method)# Correlate two input operators.
- Template Parameters:
In1Type – Type of first input
In2Type – Type of second input
- Parameters:
i1 – First input operator
i2 – Second input operator
mode – Mode of correlation
method – Method for correlation
-
template<typename In1Type, typename In2Type>
__MATX_INLINE__ auto matx::corr(const In1Type &i1, const In2Type &i2, const int32_t (&axis)[1], matxConvCorrMode_t mode, matxConvCorrMethod_t method)# Correlate two input operators.
- Template Parameters:
In1Type – Type of first input
In2Type – Type of second input
- Parameters:
i1 – First input operator
i2 – Second input operator
axis – the axis to perform correlation
mode – Mode of correlation
method – Method for correlation
Examples#
// Full correlation mode with direct correlation
(this->cv_full_even = corr(this->av, this->bv_even, MATX_C_MODE_FULL, MATX_C_METHOD_DIRECT)).run(this->exec);