| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Functions
MacOS(OSX) glue
Image file reading and writing

## Detailed Description

## 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)

## Function Documentation

## ◆ CGImageToMat()

void CGImageToMat | ( | const CGImageRef | image,
|  | cv::Mat & | m,
|  | bool | alphaExist = false )

`#include <opencv2/imgcodecs/macosx.h>`

## ◆ MatToCGImage()

CGImageRef MatToCGImage | ( | const cv::Mat & | image | ) |

`#include <opencv2/imgcodecs/macosx.h>`

## ◆ MatToNSImage()

NSImage * MatToNSImage | ( | const cv::Mat & | image | ) |

`#include <opencv2/imgcodecs/macosx.h>`

## ◆ NSImageToMat()

void NSImageToMat | ( | const NSImage * | image,
|  | cv::Mat & | m,
|  | bool | alphaExist = false )

`#include <opencv2/imgcodecs/macosx.h>`