mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
Default kernel size of 9 was used instead of the set one
This commit is contained in:
@@ -393,7 +393,7 @@ namespace cv
|
||||
{
|
||||
starCensusTransform(left,right,params.kernelSize,censusImage[0],censusImage[1]);
|
||||
}
|
||||
hammingDistanceBlockMatching(censusImage[0], censusImage[1], hammingDistance);
|
||||
hammingDistanceBlockMatching(censusImage[0], censusImage[1], hammingDistance, params.kernelSize);
|
||||
costGathering(hammingDistance, partialSumsLR);
|
||||
blockAgregation(partialSumsLR, params.agregationWindowSize, agregatedHammingLRCost);
|
||||
dispartyMapFormation(agregatedHammingLRCost, disp0, 3);
|
||||
|
@@ -679,7 +679,7 @@ namespace cv
|
||||
starCensusTransform(left,right,params.kernelSize,censusImageLeft,censusImageRight);
|
||||
}
|
||||
|
||||
hammingDistanceBlockMatching(censusImageLeft, censusImageRight, hamDist);
|
||||
hammingDistanceBlockMatching(censusImageLeft, censusImageRight, hamDist, params.kernelSize);
|
||||
|
||||
computeDisparityBinarySGBM( left, right, disp, params, buffer,hamDist);
|
||||
|
||||
|
Reference in New Issue
Block a user