• StefanBruens's avatar
    Merge pull request #14936 from StefanBruens:crosscorr_cleanup · 3e4a195b
    StefanBruens authored
    Crosscorr cleanup (#14936)
    
    * Simplify code for convolution destination type/size
    
    For the 2d filter code, destination size equals source size, and the
    crossCorr function even (re-)creates the output matrix with the given size.
    
    The number of channels also have to match. The destination type() is the
    one used to create the output matrix, so we can use its type() here.
    
    This is a preparatory patch.
    Signed-off-by: 's avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
    
    * Remove redundant destination size and type parameters from crossCorr
    
    All calling sites of crossCorr already use (...,
    mat, mat.size(), mat.type(), ...), so the parameters are redundant.
    Signed-off-by: 's avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
    3e4a195b
Name
Last commit
Last update
..
calib3d Loading commit data...
core Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaobjdetect Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
dnn Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
js Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...