opencv/modules/matlab/include/bridge.hpp

16 lines
247 B
C++

#ifndef OPENCV_BRIDGE_HPP_
#define OPENCV_BRIDGE_HPP_
#include "mex.h"
namespace mex {
class Bridge {
private:
mxArray* m_;
public:
bool valid() { return_ m_ != 0; } const
mxArray* toMxArray() { return m_; } const
};
#endif