Class KAZE

Class Documentation

class libKAZE::KAZE

KAZE Class Declaration.

Public Functions

KAZE(KAZEOptions &options)

KAZE constructor with input options.

Note

The constructor allocates memory for the nonlinear scale space

Parameters

optionsKAZE configuration options

~KAZE()

Destructor.

void Allocate_Memory_Evolution()

Allocates the memory for the nonlinear scale space.

int Create_Nonlinear_Scale_Space(const cv::Mat &img)

This method creates the nonlinear scale space for a given image.

Parameters

img – Input image for which the nonlinear scale space needs to be created

Returns

0 if the nonlinear scale space was created successfully. -1 otherwise

void Feature_Detection(std::vector<cv::KeyPoint> &kpts)

This method selects interesting keypoints with local-maximum response in the nonlinear scale space.

Parameters

kpts – Vector of keypoints

void Compute_Descriptors(std::vector<cv::KeyPoint> &kpts, cv::Mat &desc)

This method computes the descriptors in the nonlinear scale space.

Parameters
  • kpts – Vector of keypoints

  • desc – Matrix with the feature descriptors

void Save_Scale_Space()

This method saves the nonlinear scale space into jpg images for visualization or debugging purposes.

void Save_Detector_Responses()

This method saves the feature detector responses of the nonlinear scale space for visualization or debugging purposes.

inline KAZETiming Get_Computation_Times() const

Return the computation times.