#include "OpenCV.h" class Image: public node::ObjectWrap { public: IplImage* image; static Persistent constructor; static void Init(Handle target); static Handle New(const Arguments &args); Image(int width, int height); Image(v8::Value* src); static Handle GetWidth(Local prop, const AccessorInfo &info); static Handle GetHeight(Local prop, const AccessorInfo &info); };