public class Imgcodecs
extends java.lang.Object
Constructor and Description |
---|
Imgcodecs() |
Modifier and Type | Method and Description |
---|---|
static Mat |
imdecode(Mat buf,
int flags) |
static boolean |
imencode(java.lang.String ext,
Mat img,
MatOfByte buf) |
static boolean |
imencode(java.lang.String ext,
Mat img,
MatOfByte buf,
MatOfInt params) |
static Mat |
imread(java.lang.String filename) |
static Mat |
imread(java.lang.String filename,
int flags) |
static boolean |
imreadmulti(java.lang.String filename,
java.util.List<Mat> mats) |
static boolean |
imreadmulti(java.lang.String filename,
java.util.List<Mat> mats,
int flags) |
static boolean |
imwrite(java.lang.String filename,
Mat img) |
static boolean |
imwrite(java.lang.String filename,
Mat img,
MatOfInt params) |
public static final int CV_CVTIMG_FLIP
public static final int CV_CVTIMG_SWAP_RB
public static final int CV_IMWRITE_JPEG_CHROMA_QUALITY
public static final int CV_IMWRITE_JPEG_LUMA_QUALITY
public static final int CV_IMWRITE_JPEG_OPTIMIZE
public static final int CV_IMWRITE_JPEG_PROGRESSIVE
public static final int CV_IMWRITE_JPEG_QUALITY
public static final int CV_IMWRITE_JPEG_RST_INTERVAL
public static final int CV_IMWRITE_PNG_BILEVEL
public static final int CV_IMWRITE_PNG_COMPRESSION
public static final int CV_IMWRITE_PNG_STRATEGY
public static final int CV_IMWRITE_PNG_STRATEGY_DEFAULT
public static final int CV_IMWRITE_PNG_STRATEGY_FILTERED
public static final int CV_IMWRITE_PNG_STRATEGY_FIXED
public static final int CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
public static final int CV_IMWRITE_PNG_STRATEGY_RLE
public static final int CV_IMWRITE_PXM_BINARY
public static final int CV_IMWRITE_WEBP_QUALITY
public static final int CV_LOAD_IMAGE_ANYCOLOR
public static final int CV_LOAD_IMAGE_ANYDEPTH
public static final int CV_LOAD_IMAGE_COLOR
public static final int CV_LOAD_IMAGE_GRAYSCALE
public static final int CV_LOAD_IMAGE_UNCHANGED
public static final int IMREAD_ANYCOLOR
public static final int IMREAD_ANYDEPTH
public static final int IMREAD_COLOR
public static final int IMREAD_GRAYSCALE
public static final int IMREAD_LOAD_GDAL
public static final int IMREAD_REDUCED_COLOR_2
public static final int IMREAD_REDUCED_COLOR_4
public static final int IMREAD_REDUCED_COLOR_8
public static final int IMREAD_REDUCED_GRAYSCALE_2
public static final int IMREAD_REDUCED_GRAYSCALE_4
public static final int IMREAD_REDUCED_GRAYSCALE_8
public static final int IMREAD_UNCHANGED
public static final int IMWRITE_JPEG_CHROMA_QUALITY
public static final int IMWRITE_JPEG_LUMA_QUALITY
public static final int IMWRITE_JPEG_OPTIMIZE
public static final int IMWRITE_JPEG_PROGRESSIVE
public static final int IMWRITE_JPEG_QUALITY
public static final int IMWRITE_JPEG_RST_INTERVAL
public static final int IMWRITE_PNG_BILEVEL
public static final int IMWRITE_PNG_COMPRESSION
public static final int IMWRITE_PNG_STRATEGY
public static final int IMWRITE_PNG_STRATEGY_DEFAULT
public static final int IMWRITE_PNG_STRATEGY_FILTERED
public static final int IMWRITE_PNG_STRATEGY_FIXED
public static final int IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
public static final int IMWRITE_PNG_STRATEGY_RLE
public static final int IMWRITE_PXM_BINARY
public static final int IMWRITE_WEBP_QUALITY
public static boolean imencode(java.lang.String ext, Mat img, MatOfByte buf, MatOfInt params)
public static Mat imread(java.lang.String filename)
public static Mat imread(java.lang.String filename, int flags)
public static boolean imreadmulti(java.lang.String filename, java.util.List<Mat> mats)
public static boolean imreadmulti(java.lang.String filename, java.util.List<Mat> mats, int flags)
public static boolean imwrite(java.lang.String filename, Mat img)