small brief edit, was trying to allow user to pass integral image but this introduced some bugs, so no longer doing this...
for now.
This commit is contained in:
parent
29b94ceef9
commit
d84931e456
@ -70,9 +70,12 @@ void BriefDescriptorExtractor::compute(const Mat& image, std::vector<KeyPoint>&
|
|||||||
{
|
{
|
||||||
// Construct integral image for fast smoothing (box filter)
|
// Construct integral image for fast smoothing (box filter)
|
||||||
Mat sum;
|
Mat sum;
|
||||||
if(image.type() == CV_32S)
|
|
||||||
sum = image;
|
///TODO allow the user to pass in a precomputed integral image
|
||||||
else
|
//if(image.type() == CV_32S)
|
||||||
|
// sum = image;
|
||||||
|
//else
|
||||||
|
|
||||||
integral(image, sum, CV_32S);
|
integral(image, sum, CV_32S);
|
||||||
|
|
||||||
//Remove keypoints very close to the border
|
//Remove keypoints very close to the border
|
||||||
|
Loading…
x
Reference in New Issue
Block a user