dip_opencv_interface.h file
This file defines the dip_opencv namespace, functionality to interface OpenCV 2 (or later) and DIPlib.
Contents
- Reference
Namespaces
- namespace dip_opencv
- The
dip_opencvnamespace contains the interface between OpenCV 2 (or later) and DIPlib. more...
Classes
-
class dip_opencv::
ExternalInterface - This class is the
dip::ExternalInterfacefor the OpenCV interface. more...
Functions
-
auto dip_opencv::
CopyDipToMat(dip::Image const& img) -> cv::Mat - Creates an OpenCV
cv::Matobject from a DIPlib image by copy. more... -
auto dip_opencv::
DipToMat(dip::Image const& img) -> cv::Mat - Creates an OpenCV
cv::Matobject around a DIPlib image, without taking ownership of the data. more... -
void dip_opencv::
FixBinaryImageForDip(dip::Image& img) - Fixes the binary image
imgto match expectations of DIPlib (i.e. only the bottom bit is used). more... -
void dip_opencv::
FixBinaryImageForOpenCv(dip::Image& img) - Fixes the binary image
imgto match expectations of OpenCV (i.e. all bits have the same value). more... -
auto dip_opencv::
MatToDip(cv::Mat const& mat, bool forceUnsigned = false) -> dip::Image - Creates a DIPlib image around an OpenCV
cv::Mat, without taking ownership of the data. more...