Commit e2ad4e8b authored by Li-Chi Huang's avatar Li-Chi Huang Committed by Alexander Alekhin

fix densecensus when compute

parent 8292bb22
......@@ -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