org.opencv.imgcodecs
Class Imgcodecs
java.lang.Object
org.opencv.imgcodecs.Imgcodecs
public class Imgcodecs
- extends java.lang.Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CV_CVTIMG_FLIP
public static final int CV_CVTIMG_FLIP
- See Also:
- Constant Field Values
CV_CVTIMG_SWAP_RB
public static final int CV_CVTIMG_SWAP_RB
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_CHROMA_QUALITY
public static final int CV_IMWRITE_JPEG_CHROMA_QUALITY
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_LUMA_QUALITY
public static final int CV_IMWRITE_JPEG_LUMA_QUALITY
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_OPTIMIZE
public static final int CV_IMWRITE_JPEG_OPTIMIZE
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_PROGRESSIVE
public static final int CV_IMWRITE_JPEG_PROGRESSIVE
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_QUALITY
public static final int CV_IMWRITE_JPEG_QUALITY
- See Also:
- Constant Field Values
CV_IMWRITE_JPEG_RST_INTERVAL
public static final int CV_IMWRITE_JPEG_RST_INTERVAL
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_BILEVEL
public static final int CV_IMWRITE_PNG_BILEVEL
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_COMPRESSION
public static final int CV_IMWRITE_PNG_COMPRESSION
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY
public static final int CV_IMWRITE_PNG_STRATEGY
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY_DEFAULT
public static final int CV_IMWRITE_PNG_STRATEGY_DEFAULT
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY_FILTERED
public static final int CV_IMWRITE_PNG_STRATEGY_FILTERED
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY_FIXED
public static final int CV_IMWRITE_PNG_STRATEGY_FIXED
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
public static final int CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
- See Also:
- Constant Field Values
CV_IMWRITE_PNG_STRATEGY_RLE
public static final int CV_IMWRITE_PNG_STRATEGY_RLE
- See Also:
- Constant Field Values
CV_IMWRITE_PXM_BINARY
public static final int CV_IMWRITE_PXM_BINARY
- See Also:
- Constant Field Values
CV_IMWRITE_WEBP_QUALITY
public static final int CV_IMWRITE_WEBP_QUALITY
- See Also:
- Constant Field Values
CV_LOAD_IMAGE_ANYCOLOR
public static final int CV_LOAD_IMAGE_ANYCOLOR
- See Also:
- Constant Field Values
CV_LOAD_IMAGE_ANYDEPTH
public static final int CV_LOAD_IMAGE_ANYDEPTH
- See Also:
- Constant Field Values
CV_LOAD_IMAGE_COLOR
public static final int CV_LOAD_IMAGE_COLOR
- See Also:
- Constant Field Values
CV_LOAD_IMAGE_GRAYSCALE
public static final int CV_LOAD_IMAGE_GRAYSCALE
- See Also:
- Constant Field Values
CV_LOAD_IMAGE_UNCHANGED
public static final int CV_LOAD_IMAGE_UNCHANGED
- See Also:
- Constant Field Values
IMREAD_ANYCOLOR
public static final int IMREAD_ANYCOLOR
- See Also:
- Constant Field Values
IMREAD_ANYDEPTH
public static final int IMREAD_ANYDEPTH
- See Also:
- Constant Field Values
IMREAD_COLOR
public static final int IMREAD_COLOR
- See Also:
- Constant Field Values
IMREAD_GRAYSCALE
public static final int IMREAD_GRAYSCALE
- See Also:
- Constant Field Values
IMREAD_LOAD_GDAL
public static final int IMREAD_LOAD_GDAL
- See Also:
- Constant Field Values
IMREAD_UNCHANGED
public static final int IMREAD_UNCHANGED
- See Also:
- Constant Field Values
IMWRITE_JPEG_CHROMA_QUALITY
public static final int IMWRITE_JPEG_CHROMA_QUALITY
- See Also:
- Constant Field Values
IMWRITE_JPEG_LUMA_QUALITY
public static final int IMWRITE_JPEG_LUMA_QUALITY
- See Also:
- Constant Field Values
IMWRITE_JPEG_OPTIMIZE
public static final int IMWRITE_JPEG_OPTIMIZE
- See Also:
- Constant Field Values
IMWRITE_JPEG_PROGRESSIVE
public static final int IMWRITE_JPEG_PROGRESSIVE
- See Also:
- Constant Field Values
IMWRITE_JPEG_QUALITY
public static final int IMWRITE_JPEG_QUALITY
- See Also:
- Constant Field Values
IMWRITE_JPEG_RST_INTERVAL
public static final int IMWRITE_JPEG_RST_INTERVAL
- See Also:
- Constant Field Values
IMWRITE_PNG_BILEVEL
public static final int IMWRITE_PNG_BILEVEL
- See Also:
- Constant Field Values
IMWRITE_PNG_COMPRESSION
public static final int IMWRITE_PNG_COMPRESSION
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY
public static final int IMWRITE_PNG_STRATEGY
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY_DEFAULT
public static final int IMWRITE_PNG_STRATEGY_DEFAULT
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY_FILTERED
public static final int IMWRITE_PNG_STRATEGY_FILTERED
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY_FIXED
public static final int IMWRITE_PNG_STRATEGY_FIXED
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
public static final int IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
- See Also:
- Constant Field Values
IMWRITE_PNG_STRATEGY_RLE
public static final int IMWRITE_PNG_STRATEGY_RLE
- See Also:
- Constant Field Values
IMWRITE_PXM_BINARY
public static final int IMWRITE_PXM_BINARY
- See Also:
- Constant Field Values
IMWRITE_WEBP_QUALITY
public static final int IMWRITE_WEBP_QUALITY
- See Also:
- Constant Field Values
Imgcodecs
public Imgcodecs()
imdecode
public static Mat imdecode(Mat buf,
int flags)
imencode
public static boolean imencode(java.lang.String ext,
Mat img,
MatOfByte buf)
imencode
public static boolean imencode(java.lang.String ext,
Mat img,
MatOfByte buf,
MatOfInt params)
imread
public static Mat imread(java.lang.String filename)
imread
public static Mat imread(java.lang.String filename,
int flags)
imreadmulti
public static boolean imreadmulti(java.lang.String filename,
java.util.List<Mat> mats)
imreadmulti
public static boolean imreadmulti(java.lang.String filename,
java.util.List<Mat> mats,
int flags)
imwrite
public static boolean imwrite(java.lang.String filename,
Mat img)
imwrite
public static boolean imwrite(java.lang.String filename,
Mat img,
MatOfInt params)