00001
00024 #ifndef __D_IMAGE_FUNCTIONS__
00025 #define __D_IMAGE_FUNCTIONS__
00026
00027 #include <opencv/cv.h>
00028
00029 namespace DVision {
00030
00031 class ImageFunctions
00032 {
00033 public:
00034
00051 static cv::Mat getPatch(const cv::Mat &im, const cv::KeyPoint &kp,
00052 int final_size = -1, bool rectifyOrientation = true,
00053 bool useCartesianAngle = false);
00054
00062 static cv::Mat getPatch(const cv::Mat &im, const cv::Point2f &pt,
00063 unsigned int patch_size);
00064
00065 };
00066
00067 }
00068
00069 #endif
00070
00071