Skip to content

Commit

Permalink
getDefaultName() added
Browse files Browse the repository at this point in the history
all other contrib feature has this function but tbmr
  • Loading branch information
abbaselmas authored Nov 23, 2024
1 parent 475f6fa commit 8f69a81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/xfeatures2d/src/tbmr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,11 @@ void TBMR_Impl::detectAndCompute(
useProvidedKeypoints);
}

String TBMR::getDefaultName() const
{
return (Feature2D::getDefaultName() + ".TBMR");
}

Ptr<TBMR> TBMR::create(int _min_area, float _max_area_relative, float _scale,
int _n_scale)
{
Expand All @@ -581,4 +586,4 @@ Ptr<TBMR> TBMR::create(int _min_area, float _max_area_relative, float _scale,
}

} // namespace xfeatures2d
} // namespace cv
} // namespace cv

0 comments on commit 8f69a81

Please sign in to comment.