OpenCV 3.0.0

org.opencv.imgcodecs
Class Imgcodecs

java.lang.Object
  extended by org.opencv.imgcodecs.Imgcodecs

public class Imgcodecs
extends java.lang.Object


Field Summary
static int CV_CVTIMG_FLIP
           
static int CV_CVTIMG_SWAP_RB
           
static int CV_IMWRITE_JPEG_CHROMA_QUALITY
           
static int CV_IMWRITE_JPEG_LUMA_QUALITY
           
static int CV_IMWRITE_JPEG_OPTIMIZE
           
static int CV_IMWRITE_JPEG_PROGRESSIVE
           
static int CV_IMWRITE_JPEG_QUALITY
           
static int CV_IMWRITE_JPEG_RST_INTERVAL
           
static int CV_IMWRITE_PNG_BILEVEL
           
static int CV_IMWRITE_PNG_COMPRESSION
           
static int CV_IMWRITE_PNG_STRATEGY
           
static int CV_IMWRITE_PNG_STRATEGY_DEFAULT
           
static int CV_IMWRITE_PNG_STRATEGY_FILTERED
           
static int CV_IMWRITE_PNG_STRATEGY_FIXED
           
static int CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
           
static int CV_IMWRITE_PNG_STRATEGY_RLE
           
static int CV_IMWRITE_PXM_BINARY
           
static int CV_IMWRITE_WEBP_QUALITY
           
static int CV_LOAD_IMAGE_ANYCOLOR
           
static int CV_LOAD_IMAGE_ANYDEPTH
           
static int CV_LOAD_IMAGE_COLOR
           
static int CV_LOAD_IMAGE_GRAYSCALE
           
static int CV_LOAD_IMAGE_UNCHANGED
           
static int IMREAD_ANYCOLOR
           
static int IMREAD_ANYDEPTH
           
static int IMREAD_COLOR
           
static int IMREAD_GRAYSCALE
           
static int IMREAD_LOAD_GDAL
           
static int IMREAD_UNCHANGED
           
static int IMWRITE_JPEG_CHROMA_QUALITY
           
static int IMWRITE_JPEG_LUMA_QUALITY
           
static int IMWRITE_JPEG_OPTIMIZE
           
static int IMWRITE_JPEG_PROGRESSIVE
           
static int IMWRITE_JPEG_QUALITY
           
static int IMWRITE_JPEG_RST_INTERVAL
           
static int IMWRITE_PNG_BILEVEL
           
static int IMWRITE_PNG_COMPRESSION
           
static int IMWRITE_PNG_STRATEGY
           
static int IMWRITE_PNG_STRATEGY_DEFAULT
           
static int IMWRITE_PNG_STRATEGY_FILTERED
           
static int IMWRITE_PNG_STRATEGY_FIXED
           
static int IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
           
static int IMWRITE_PNG_STRATEGY_RLE
           
static int IMWRITE_PXM_BINARY
           
static int IMWRITE_WEBP_QUALITY
           
 
Constructor Summary
Imgcodecs()
           
 
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
 

Field Detail

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
Constructor Detail

Imgcodecs

public Imgcodecs()
Method Detail

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)

OpenCV 3.0.0 Documentation