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); }
//! 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); }
//! 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); }