mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
With OpenCV >3.1 and 2.4.13, OpenCV can now be installed without specific modules. This makes it so that `node-opencv` will still be able to compile.
24 lines
450 B
C++
24 lines
450 B
C++
#ifndef __NODE_IMGPROC_H
|
|
#define __NODE_IMGPROC_H
|
|
|
|
#include "OpenCV.h"
|
|
|
|
#ifdef HAVE_OPENCV_IMGPROC
|
|
|
|
/**
|
|
* Implementation of imgproc.hpp functions
|
|
*/
|
|
class ImgProc: public Nan::ObjectWrap {
|
|
public:
|
|
static void Init(Local<Object> target);
|
|
static NAN_METHOD(DistanceTransform);
|
|
static NAN_METHOD(Undistort);
|
|
static NAN_METHOD(InitUndistortRectifyMap);
|
|
static NAN_METHOD(Remap);
|
|
static NAN_METHOD(GetStructuringElement);
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|