OpenCV  3.4.9
Open Source Computer Vision
Macros | Enumerations | Functions

Macros

#define cvvConvertImage   cvConvertImage
 
#define cvvLoadImage(name)   cvLoadImage((name),1)
 
#define cvvSaveImage   cvSaveImage
 

Enumerations

enum  {
  CV_LOAD_IMAGE_UNCHANGED =-1,
  CV_LOAD_IMAGE_GRAYSCALE =0,
  CV_LOAD_IMAGE_COLOR =1,
  CV_LOAD_IMAGE_ANYDEPTH =2,
  CV_LOAD_IMAGE_ANYCOLOR =4,
  CV_LOAD_IMAGE_IGNORE_ORIENTATION =128
}
 
enum  {
  CV_IMWRITE_JPEG_QUALITY =1,
  CV_IMWRITE_JPEG_PROGRESSIVE =2,
  CV_IMWRITE_JPEG_OPTIMIZE =3,
  CV_IMWRITE_JPEG_RST_INTERVAL =4,
  CV_IMWRITE_JPEG_LUMA_QUALITY =5,
  CV_IMWRITE_JPEG_CHROMA_QUALITY =6,
  CV_IMWRITE_PNG_COMPRESSION =16,
  CV_IMWRITE_PNG_STRATEGY =17,
  CV_IMWRITE_PNG_BILEVEL =18,
  CV_IMWRITE_PNG_STRATEGY_DEFAULT =0,
  CV_IMWRITE_PNG_STRATEGY_FILTERED =1,
  CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY =2,
  CV_IMWRITE_PNG_STRATEGY_RLE =3,
  CV_IMWRITE_PNG_STRATEGY_FIXED =4,
  CV_IMWRITE_PXM_BINARY =32,
  CV_IMWRITE_EXR_TYPE = 48,
  CV_IMWRITE_WEBP_QUALITY =64,
  CV_IMWRITE_PAM_TUPLETYPE = 128,
  CV_IMWRITE_PAM_FORMAT_NULL = 0,
  CV_IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1,
  CV_IMWRITE_PAM_FORMAT_GRAYSCALE = 2,
  CV_IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3,
  CV_IMWRITE_PAM_FORMAT_RGB = 4,
  CV_IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
}
 
enum  {
  CV_CVTIMG_FLIP =1,
  CV_CVTIMG_SWAP_RB =2
}
 

Functions

void cvConvertImage (const CvArr *src, CvArr *dst, int flags=0)
 
IplImagecvDecodeImage (const CvMat *buf, int iscolor=CV_LOAD_IMAGE_COLOR)
 
CvMatcvDecodeImageM (const CvMat *buf, int iscolor=CV_LOAD_IMAGE_COLOR)
 
CvMatcvEncodeImage (const char *ext, const CvArr *image, const int *params=0)
 
int cvHaveImageReader (const char *filename)
 
int cvHaveImageWriter (const char *filename)
 
IplImagecvLoadImage (const char *filename, int iscolor=CV_LOAD_IMAGE_COLOR)
 
CvMatcvLoadImageM (const char *filename, int iscolor=CV_LOAD_IMAGE_COLOR)
 
int cvSaveImage (const char *filename, const CvArr *image, const int *params=0)
 

Detailed Description

Macro Definition Documentation

◆ cvvConvertImage

#define cvvConvertImage   cvConvertImage

◆ cvvLoadImage

#define cvvLoadImage (   name)    cvLoadImage((name),1)

◆ cvvSaveImage

#define cvvSaveImage   cvSaveImage

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

#include <opencv2/imgcodecs/imgcodecs_c.h>

Enumerator
CV_LOAD_IMAGE_UNCHANGED 
CV_LOAD_IMAGE_GRAYSCALE 
CV_LOAD_IMAGE_COLOR 
CV_LOAD_IMAGE_ANYDEPTH 
CV_LOAD_IMAGE_ANYCOLOR 
CV_LOAD_IMAGE_IGNORE_ORIENTATION 

◆ anonymous enum

anonymous enum

#include <opencv2/imgcodecs/imgcodecs_c.h>

Enumerator
CV_IMWRITE_JPEG_QUALITY 
CV_IMWRITE_JPEG_PROGRESSIVE 
CV_IMWRITE_JPEG_OPTIMIZE 
CV_IMWRITE_JPEG_RST_INTERVAL 
CV_IMWRITE_JPEG_LUMA_QUALITY 
CV_IMWRITE_JPEG_CHROMA_QUALITY 
CV_IMWRITE_PNG_COMPRESSION 
CV_IMWRITE_PNG_STRATEGY 
CV_IMWRITE_PNG_BILEVEL 
CV_IMWRITE_PNG_STRATEGY_DEFAULT 
CV_IMWRITE_PNG_STRATEGY_FILTERED 
CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY 
CV_IMWRITE_PNG_STRATEGY_RLE 
CV_IMWRITE_PNG_STRATEGY_FIXED 
CV_IMWRITE_PXM_BINARY 
CV_IMWRITE_EXR_TYPE 
CV_IMWRITE_WEBP_QUALITY 
CV_IMWRITE_PAM_TUPLETYPE 
CV_IMWRITE_PAM_FORMAT_NULL 
CV_IMWRITE_PAM_FORMAT_BLACKANDWHITE 
CV_IMWRITE_PAM_FORMAT_GRAYSCALE 
CV_IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA 
CV_IMWRITE_PAM_FORMAT_RGB 
CV_IMWRITE_PAM_FORMAT_RGB_ALPHA 

◆ anonymous enum

anonymous enum

#include <opencv2/imgcodecs/imgcodecs_c.h>

Enumerator
CV_CVTIMG_FLIP 
CV_CVTIMG_SWAP_RB 

Function Documentation

◆ cvConvertImage()

void cvConvertImage ( const CvArr src,
CvArr dst,
int  flags = 0 
)

◆ cvDecodeImage()

IplImage* cvDecodeImage ( const CvMat buf,
int  iscolor = CV_LOAD_IMAGE_COLOR 
)

◆ cvDecodeImageM()

CvMat* cvDecodeImageM ( const CvMat buf,
int  iscolor = CV_LOAD_IMAGE_COLOR 
)

◆ cvEncodeImage()

CvMat* cvEncodeImage ( const char *  ext,
const CvArr image,
const int *  params = 0 
)

◆ cvHaveImageReader()

int cvHaveImageReader ( const char *  filename)

◆ cvHaveImageWriter()

int cvHaveImageWriter ( const char *  filename)

◆ cvLoadImage()

IplImage* cvLoadImage ( const char *  filename,
int  iscolor = CV_LOAD_IMAGE_COLOR 
)

◆ cvLoadImageM()

CvMat* cvLoadImageM ( const char *  filename,
int  iscolor = CV_LOAD_IMAGE_COLOR 
)

◆ cvSaveImage()

int cvSaveImage ( const char *  filename,
const CvArr image,
const int *  params = 0 
)