示例#1
0
 std::vector<float>
 ComputeDominantOrientations::
 operator()(const ImagePyramid<Vector2f>& pyramid,
            const OERegion& extremum,
            const Point2i& scale_octave_pair) const
 {
   const auto& s_index = scale_octave_pair(0);
   const auto& o_index = scale_octave_pair(1);
   auto x = extremum.x();
   auto y = extremum.y();
   auto s = pyramid.scale_relative_to_octave(s_index);
   return this->operator()(pyramid(s_index, o_index), x, y, s);
 }
示例#2
0
文件: SIFT.hpp 项目: pmoulon/DO-CV
 //! Helper member function.
 SIFTDescriptor operator()(const OERegion& f,
                           const Image<Vector2f>& gradPolar) const
 { return this->operator()(f.x(), f.y(), f.scale(), f.orientation(), gradPolar); }
示例#3
0
文件: SIFT.hpp 项目: caomw/sara
 //! Helper member function.
 descriptor_type operator()(const OERegion& f,
                            const Image<Vector2f>& grad_polar_coords) const
 {
   return this->operator()(f.x(), f.y(), f.scale(), f.orientation(), grad_polar_coords);
 }