OpenCV  4.7.0-dev
Open Source Computer Vision
Functions
macosx.h File Reference
#import <AppKit/AppKit.h>
#include "opencv2/core.hpp"

Functions

void CGImageToMat (const CGImageRef image, cv::Mat &m, bool alphaExist=false)
 
CGImageRef MatToCGImage (const cv::Mat &image) CF_RETURNS_RETAINED
 
NSImage * MatToNSImage (const cv::Mat &image)
 
void NSImageToMat (const NSImage *image, cv::Mat &m, bool alphaExist=false)