Commit e38c5505 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1696 from bill2239:fix_densecensus

parents 8292bb22 e2ad4e8b
......@@ -368,7 +368,7 @@ namespace cv
}
else if(params.kernelType == CV_DENSE_CENSUS)
{
censusTransform(left,right,params.kernelSize,censusImage[0],censusImage[1],CV_SPARSE_CENSUS);
censusTransform(left,right,params.kernelSize,censusImage[0],censusImage[1],CV_DENSE_CENSUS);
}
else if(params.kernelType == CV_CS_CENSUS)
{
......
......@@ -653,7 +653,7 @@ namespace cv
}
else if(params.kernelType == CV_DENSE_CENSUS)
{
censusTransform(left,right,params.kernelSize,censusImageLeft,censusImageRight,CV_SPARSE_CENSUS);
censusTransform(left,right,params.kernelSize,censusImageLeft,censusImageRight,CV_DENSE_CENSUS);
}
else if(params.kernelType == CV_CS_CENSUS)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment