OpenCV for Unity 3.0.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.12.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.ImgcodecsModule.Imgcodecs Class Reference

Static Public Member Functions

static bool haveImageReader (string filename)
 Checks if the specified image file can be decoded by OpenCV.
 
static bool haveImageWriter (string filename)
 Checks if the specified image file or specified file extension can be encoded by OpenCV.
 
static long imcount (string filename)
 Returns the number of images inside the given file.
 
static long imcount (string filename, int flags)
 Returns the number of images inside the given file.
 
static Mat imdecode (Mat buf, int flags)
 Reads an image from a buffer in memory.
 
static bool imdecodeanimation (Mat buf, Animation animation)
 Loads frames from an animated image buffer into an Animation structure.
 
static bool imdecodeanimation (Mat buf, Animation animation, int start)
 Loads frames from an animated image buffer into an Animation structure.
 
static bool imdecodeanimation (Mat buf, Animation animation, int start, int count)
 Loads frames from an animated image buffer into an Animation structure.
 
static bool imdecodemulti (Mat buf, int flags, List< Mat > mats)
 Reads a multi-page image from a buffer in memory.
 
static bool imdecodemulti (Mat buf, int flags, List< Mat > mats, Range range)
 Reads a multi-page image from a buffer in memory.
 
static Mat imdecodeWithMetadata (Mat buf, MatOfInt metadataTypes, List< Mat > metadata)
 Reads an image from a buffer in memory together with associated metadata.
 
static Mat imdecodeWithMetadata (Mat buf, MatOfInt metadataTypes, List< Mat > metadata, int flags)
 Reads an image from a buffer in memory together with associated metadata.
 
static bool imencode (string ext, Mat img, MatOfByte buf)
 Encodes an image into a memory buffer.
 
static bool imencode (string ext, Mat img, MatOfByte buf, MatOfInt _params)
 Encodes an image into a memory buffer.
 
static bool imencodeanimation (string ext, Animation animation, MatOfByte buf)
 Encodes an Animation to a memory buffer.
 
static bool imencodeanimation (string ext, Animation animation, MatOfByte buf, MatOfInt _params)
 Encodes an Animation to a memory buffer.
 
static bool imencodemulti (string ext, List< Mat > imgs, MatOfByte buf)
 Encodes array of images into a memory buffer.
 
static bool imencodemulti (string ext, List< Mat > imgs, MatOfByte buf, MatOfInt _params)
 Encodes array of images into a memory buffer.
 
static bool imencodeWithMetadata (string ext, Mat img, MatOfInt metadataTypes, List< Mat > metadata, MatOfByte buf)
 Encodes an image into a memory buffer.
 
static bool imencodeWithMetadata (string ext, Mat img, MatOfInt metadataTypes, List< Mat > metadata, MatOfByte buf, MatOfInt _params)
 Encodes an image into a memory buffer.
 
static Mat imread (string filename)
 Loads an image from a file.
 
static Mat imread (string filename, int flags)
 Loads an image from a file.
 
static void imread (string filename, Mat dst)
 Loads an image from a file.
 
static void imread (string filename, Mat dst, int flags)
 Loads an image from a file.
 
static bool imreadanimation (string filename, Animation animation)
 Loads frames from an animated image file into an Animation structure.
 
static bool imreadanimation (string filename, Animation animation, int start)
 Loads frames from an animated image file into an Animation structure.
 
static bool imreadanimation (string filename, Animation animation, int start, int count)
 Loads frames from an animated image file into an Animation structure.
 
static bool imreadmulti (string filename, List< Mat > mats)
 Loads a multi-page image from a file.
 
static bool imreadmulti (string filename, List< Mat > mats, int flags)
 Loads a multi-page image from a file.
 
static bool imreadmulti (string filename, List< Mat > mats, int start, int count)
 Loads images of a multi-page image from a file.
 
static bool imreadmulti (string filename, List< Mat > mats, int start, int count, int flags)
 Loads images of a multi-page image from a file.
 
static Mat imreadWithMetadata (string filename, MatOfInt metadataTypes, List< Mat > metadata)
 Reads an image from a file together with associated metadata.
 
static Mat imreadWithMetadata (string filename, MatOfInt metadataTypes, List< Mat > metadata, int flags)
 Reads an image from a file together with associated metadata.
 
static bool imwrite (string filename, Mat img)
 Saves an image to a specified file.
 
static bool imwrite (string filename, Mat img, MatOfInt _params)
 Saves an image to a specified file.
 
static bool imwriteanimation (string filename, Animation animation)
 Saves an Animation to a specified file.
 
static bool imwriteanimation (string filename, Animation animation, MatOfInt _params)
 Saves an Animation to a specified file.
 
static bool imwritemulti (string filename, List< Mat > img)
 
static bool imwritemulti (string filename, List< Mat > img, MatOfInt _params)
 
static bool imwriteWithMetadata (string filename, Mat img, MatOfInt metadataTypes, List< Mat > metadata)
 Saves an image to a specified file with metadata.
 
static bool imwriteWithMetadata (string filename, Mat img, MatOfInt metadataTypes, List< Mat > metadata, MatOfInt _params)
 Saves an image to a specified file with metadata.
 

Static Public Attributes

const int IMAGE_METADATA_EXIF = 0
 C++: enum ImageMetadataType (cv.ImageMetadataType)
 
const int IMAGE_METADATA_ICCP = 2
 C++: enum ImageMetadataType (cv.ImageMetadataType)
 
const int IMAGE_METADATA_MAX = 2
 C++: enum ImageMetadataType (cv.ImageMetadataType)
 
const int IMAGE_METADATA_UNKNOWN = -1
 C++: enum ImageMetadataType (cv.ImageMetadataType)
 
const int IMAGE_METADATA_XMP = 1
 C++: enum ImageMetadataType (cv.ImageMetadataType)
 
const int IMREAD_ANYCOLOR = 4
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_ANYDEPTH = 2
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_COLOR = 1
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_COLOR_BGR = 1
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_COLOR_RGB = 256
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_GRAYSCALE = 0
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_IGNORE_ORIENTATION = 128
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_LOAD_GDAL = 8
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_COLOR_2 = 17
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_COLOR_4 = 33
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_COLOR_8 = 65
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_GRAYSCALE_2 = 16
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_GRAYSCALE_4 = 32
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_REDUCED_GRAYSCALE_8 = 64
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMREAD_UNCHANGED = -1
 C++: enum ImreadModes (cv.ImreadModes)
 
const int IMWRITE_AVIF_DEPTH = 513
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_AVIF_QUALITY = 512
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_AVIF_SPEED = 514
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_EXR_COMPRESSION = (3 << 4) + 1
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_EXR_COMPRESSION_B44 = 6
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_B44A = 7
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_DWAA = 8
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_DWAB = 9
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_NO = 0
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_PIZ = 4
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_PXR24 = 5
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_RLE = 1
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_ZIP = 3
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_COMPRESSION_ZIPS = 2
 C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)
 
const int IMWRITE_EXR_DWA_COMPRESSION_LEVEL = (3 << 4) + 2
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_EXR_TYPE = (3 << 4) + 0
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_EXR_TYPE_FLOAT = 2
 C++: enum ImwriteEXRTypeFlags (cv.ImwriteEXRTypeFlags)
 
const int IMWRITE_EXR_TYPE_HALF = 1
 C++: enum ImwriteEXRTypeFlags (cv.ImwriteEXRTypeFlags)
 
const int IMWRITE_GIF_COLORTABLE = 1029
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_128 = 7
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_16 = 4
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_256 = 8
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_32 = 5
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_64 = 6
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_COLORTABLE_SIZE_8 = 3
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_DITHER = 1027
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_GIF_FAST_FLOYD_DITHER = 2
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_FAST_NO_DITHER = 1
 C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)
 
const int IMWRITE_GIF_LOOP = 1024
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_GIF_QUALITY = 1026
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_GIF_SPEED = 1025
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_GIF_TRANSPARENCY = 1028
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_HDR_COMPRESSION = (5 << 4) + 0
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_HDR_COMPRESSION_NONE = 0
 C++: enum ImwriteHDRCompressionFlags (cv.ImwriteHDRCompressionFlags)
 
const int IMWRITE_HDR_COMPRESSION_RLE = 1
 C++: enum ImwriteHDRCompressionFlags (cv.ImwriteHDRCompressionFlags)
 
const int IMWRITE_JPEG2000_COMPRESSION_X1000 = 272
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_CHROMA_QUALITY = 6
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_LUMA_QUALITY = 5
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_OPTIMIZE = 3
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_PROGRESSIVE = 2
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_QUALITY = 1
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_RST_INTERVAL = 4
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR = 7
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR_411 = 0x411111
 C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR_420 = 0x221111
 C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR_422 = 0x211111
 C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR_440 = 0x121111
 C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)
 
const int IMWRITE_JPEG_SAMPLING_FACTOR_444 = 0x111111
 C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)
 
const int IMWRITE_JPEGXL_DECODING_SPEED = 643
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEGXL_DISTANCE = 642
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEGXL_EFFORT = 641
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_JPEGXL_QUALITY = 640
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_FORMAT_GRAYSCALE = 2
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_FORMAT_NULL = 0
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_FORMAT_RGB = 4
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
 C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)
 
const int IMWRITE_PAM_TUPLETYPE = 128
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PNG_ALL_FILTERS = (IMWRITE_PNG_FAST_FILTERS | IMWRITE_PNG_FILTER_AVG | IMWRITE_PNG_FILTER_PAETH)
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_BILEVEL = 18
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PNG_COMPRESSION = 16
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PNG_FAST_FILTERS = (IMWRITE_PNG_FILTER_NONE | IMWRITE_PNG_FILTER_SUB | IMWRITE_PNG_FILTER_UP)
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_FILTER = 19
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PNG_FILTER_AVG = 64
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_FILTER_NONE = 8
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_FILTER_PAETH = 128
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_FILTER_SUB = 16
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_FILTER_UP = 32
 C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)
 
const int IMWRITE_PNG_STRATEGY = 17
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_PNG_STRATEGY_DEFAULT = 0
 C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)
 
const int IMWRITE_PNG_STRATEGY_FILTERED = 1
 C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)
 
const int IMWRITE_PNG_STRATEGY_FIXED = 4
 C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)
 
const int IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = 2
 C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)
 
const int IMWRITE_PNG_STRATEGY_RLE = 3
 C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)
 
const int IMWRITE_PXM_BINARY = 32
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_COMPRESSION = 259
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE = 8
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITT_T4 = 3
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITT_T6 = 4
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITTFAX3 = 3
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITTFAX4 = 4
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITTRLE = 2
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_CCITTRLEW = 32771
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_DCS = 32947
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_DEFLATE = 32946
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_IT8BL = 32898
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_IT8CTPAD = 32895
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_IT8LW = 32896
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_IT8MP = 32897
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_JBIG = 34661
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_JP2000 = 34712
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_JPEG = 7
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_JXL = 50002
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_LERC = 34887
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_LZMA = 34925
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_LZW = 5
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_NEXT = 32766
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_NONE = 1
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_OJPEG = 6
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_PACKBITS = 32773
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_PIXARFILM = 32908
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_PIXARLOG = 32909
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_SGILOG = 34676
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_SGILOG24 = 34677
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_T43 = 10
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_T85 = 9
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_THUNDERSCAN = 32809
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_WEBP = 50001
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_COMPRESSION_ZSTD = 50000
 C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)
 
const int IMWRITE_TIFF_PREDICTOR = 317
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT = 3
 C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)
 
const int IMWRITE_TIFF_PREDICTOR_HORIZONTAL = 2
 C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)
 
const int IMWRITE_TIFF_PREDICTOR_NONE = 1
 C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)
 
const int IMWRITE_TIFF_RESUNIT = 256
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_ROWSPERSTRIP = 278
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_XDPI = 257
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_TIFF_YDPI = 258
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 
const int IMWRITE_WEBP_QUALITY = 64
 C++: enum ImwriteFlags (cv.ImwriteFlags)
 

Member Function Documentation

◆ haveImageReader()

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.haveImageReader ( string filename)
static

Checks if the specified image file can be decoded by OpenCV.

The function haveImageReader checks if OpenCV is capable of reading the specified file. This can be useful for verifying support for a given image format before attempting to load an image.

Parameters
filenameThe name of the file to be checked.
Returns
true if an image reader for the specified file is available and the file can be opened, false otherwise.
Note
The function checks the availability of image codecs that are either built into OpenCV or dynamically loaded. It does not load the image codec implementation and decode data, but uses signature check. If the file cannot be opened or the format is unsupported, the function will return false.
See also
cv::haveImageWriter, cv::imread, cv::imdecode

◆ haveImageWriter()

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.haveImageWriter ( string filename)
static

Checks if the specified image file or specified file extension can be encoded by OpenCV.

The function haveImageWriter checks if OpenCV is capable of writing images with the specified file extension. This can be useful for verifying support for a given image format before attempting to save an image.

Parameters
filenameThe name of the file or the file extension (e.g., ".jpg", ".png"). It is recommended to provide the file extension rather than the full file name.
Returns
true if an image writer for the specified extension is available, false otherwise.
Note
The function checks the availability of image codecs that are either built into OpenCV or dynamically loaded. It does not check for the actual existence of the file but rather the ability to write files of the given type.
See also
cv::haveImageReader, cv::imwrite, cv::imencode

◆ imcount() [1/2]

static long OpenCVForUnity.ImgcodecsModule.Imgcodecs.imcount ( string filename)
static

Returns the number of images inside the given file.

The function imcount returns the number of pages in a multi-page image (e.g. TIFF), the number of frames in an animation (e.g. AVIF), and 1 otherwise. If the image cannot be decoded, 0 is returned.

Parameters
filenameName of file to be loaded.
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

todo 9.

◆ imcount() [2/2]

static long OpenCVForUnity.ImgcodecsModule.Imgcodecs.imcount ( string filename,
int flags )
static

Returns the number of images inside the given file.

The function imcount returns the number of pages in a multi-page image (e.g. TIFF), the number of frames in an animation (e.g. AVIF), and 1 otherwise. If the image cannot be decoded, 0 is returned.

Parameters
filenameName of file to be loaded.
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

todo 8.

◆ imdecode()

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecode ( Mat buf,
int flags )
static

Reads an image from a buffer in memory.

The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or contains invalid data, the function returns an empty matrix ( Mat::data==NULL ).

See cv::imread for the list of supported formats and flags description.

Note
In the case of color images, the decoded images will have the channels stored in B G R order.
Parameters
bufInput array or vector of bytes.
flagsThe same flags as in cv::imread, see cv::ImreadModes.

◆ imdecodeanimation() [1/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodeanimation ( Mat buf,
Animation animation )
static

Loads frames from an animated image buffer into an Animation structure.

The function imdecodeanimation loads frames from an animated image buffer (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
bufA reference to an InputArray containing the image buffer.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the buffer was successfully loaded and frames were extracted; returns false otherwise.

◆ imdecodeanimation() [2/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodeanimation ( Mat buf,
Animation animation,
int start )
static

Loads frames from an animated image buffer into an Animation structure.

The function imdecodeanimation loads frames from an animated image buffer (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
bufA reference to an InputArray containing the image buffer.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the buffer was successfully loaded and frames were extracted; returns false otherwise.

◆ imdecodeanimation() [3/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodeanimation ( Mat buf,
Animation animation,
int start,
int count )
static

Loads frames from an animated image buffer into an Animation structure.

The function imdecodeanimation loads frames from an animated image buffer (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
bufA reference to an InputArray containing the image buffer.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the buffer was successfully loaded and frames were extracted; returns false otherwise.

◆ imdecodemulti() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodemulti ( Mat buf,
int flags,
List< Mat > mats )
static

Reads a multi-page image from a buffer in memory.

The function imdecodemulti reads a multi-page image from the specified buffer in the memory. If the buffer is too short or contains invalid data, the function returns false.

See cv::imreadmulti for the list of supported formats and flags description.

Note
In the case of color images, the decoded images will have the channels stored in B G R order.
Parameters
bufInput array or vector of bytes.
flagsThe same flags as in cv::imread, see cv::ImreadModes.
matsA vector of Mat objects holding each page, if more than one.
rangeA continuous selection of pages.

◆ imdecodemulti() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodemulti ( Mat buf,
int flags,
List< Mat > mats,
Range range )
static

Reads a multi-page image from a buffer in memory.

The function imdecodemulti reads a multi-page image from the specified buffer in the memory. If the buffer is too short or contains invalid data, the function returns false.

See cv::imreadmulti for the list of supported formats and flags description.

Note
In the case of color images, the decoded images will have the channels stored in B G R order.
Parameters
bufInput array or vector of bytes.
flagsThe same flags as in cv::imread, see cv::ImreadModes.
matsA vector of Mat objects holding each page, if more than one.
rangeA continuous selection of pages.

◆ imdecodeWithMetadata() [1/2]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodeWithMetadata ( Mat buf,
MatOfInt metadataTypes,
List< Mat > metadata )
static

Reads an image from a buffer in memory together with associated metadata.

The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or contains invalid data, the function returns an empty matrix ( Mat::data==NULL ).

See cv::imread for the list of supported formats and flags description.

Note
In the case of color images, the decoded images will have the channels stored in B G R order.
Parameters
bufInput array or vector of bytes.
metadataTypesOutput vector with types of metadata chucks returned in metadata, see ImageMetadataType.
metadataOutput vector of vectors or vector of matrices to store the retrieved metadata
flagsThe same flags as in cv::imread, see cv::ImreadModes.

◆ imdecodeWithMetadata() [2/2]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imdecodeWithMetadata ( Mat buf,
MatOfInt metadataTypes,
List< Mat > metadata,
int flags )
static

Reads an image from a buffer in memory together with associated metadata.

The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or contains invalid data, the function returns an empty matrix ( Mat::data==NULL ).

See cv::imread for the list of supported formats and flags description.

Note
In the case of color images, the decoded images will have the channels stored in B G R order.
Parameters
bufInput array or vector of bytes.
metadataTypesOutput vector with types of metadata chucks returned in metadata, see ImageMetadataType.
metadataOutput vector of vectors or vector of matrices to store the retrieved metadata
flagsThe same flags as in cv::imread, see cv::ImreadModes.

◆ imencode() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencode ( string ext,
Mat img,
MatOfByte buf )
static

Encodes an image into a memory buffer.

The function imencode compresses the image and stores it in the memory buffer that is resized to fit the result. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgImage to be compressed.
bufOutput buffer resized to fit the compressed image.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imencode() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencode ( string ext,
Mat img,
MatOfByte buf,
MatOfInt _params )
static

Encodes an image into a memory buffer.

The function imencode compresses the image and stores it in the memory buffer that is resized to fit the result. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgImage to be compressed.
bufOutput buffer resized to fit the compressed image.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imencodeanimation() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodeanimation ( string ext,
Animation animation,
MatOfByte buf )
static

Encodes an Animation to a memory buffer.

The function imencodeanimation encodes the provided Animation data into a memory buffer in an animated format. Supported formats depend on the implementation and may include formats like GIF, AVIF, APNG, or WEBP.

Parameters
extThe file extension that determines the format of the encoded data.
animationA constant reference to an Animation struct containing the frames and metadata to be encoded.
bufA reference to a vector of unsigned chars where the encoded data will be stored.
paramsOptional format-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ...). These parameters are used to specify additional options for the encoding process. Refer to cv::ImwriteFlags for details on possible parameters.
Returns
Returns true if the animation was successfully encoded; returns false otherwise.

◆ imencodeanimation() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodeanimation ( string ext,
Animation animation,
MatOfByte buf,
MatOfInt _params )
static

Encodes an Animation to a memory buffer.

The function imencodeanimation encodes the provided Animation data into a memory buffer in an animated format. Supported formats depend on the implementation and may include formats like GIF, AVIF, APNG, or WEBP.

Parameters
extThe file extension that determines the format of the encoded data.
animationA constant reference to an Animation struct containing the frames and metadata to be encoded.
bufA reference to a vector of unsigned chars where the encoded data will be stored.
paramsOptional format-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ...). These parameters are used to specify additional options for the encoding process. Refer to cv::ImwriteFlags for details on possible parameters.
Returns
Returns true if the animation was successfully encoded; returns false otherwise.

◆ imencodemulti() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodemulti ( string ext,
List< Mat > imgs,
MatOfByte buf )
static

Encodes array of images into a memory buffer.

The function is analog to cv::imencode for in-memory multi-page image compression. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgsVector of images to be written.
bufOutput buffer resized to fit the compressed data.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imencodemulti() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodemulti ( string ext,
List< Mat > imgs,
MatOfByte buf,
MatOfInt _params )
static

Encodes array of images into a memory buffer.

The function is analog to cv::imencode for in-memory multi-page image compression. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgsVector of images to be written.
bufOutput buffer resized to fit the compressed data.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imencodeWithMetadata() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodeWithMetadata ( string ext,
Mat img,
MatOfInt metadataTypes,
List< Mat > metadata,
MatOfByte buf )
static

Encodes an image into a memory buffer.

The function imencode compresses the image and stores it in the memory buffer that is resized to fit the result. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgImage to be compressed.
metadataTypesVector with types of metadata chucks stored in metadata to write, see ImageMetadataType.
metadataVector of vectors or vector of matrices with chunks of metadata to store into the file
bufOutput buffer resized to fit the compressed image.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imencodeWithMetadata() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imencodeWithMetadata ( string ext,
Mat img,
MatOfInt metadataTypes,
List< Mat > metadata,
MatOfByte buf,
MatOfInt _params )
static

Encodes an image into a memory buffer.

The function imencode compresses the image and stores it in the memory buffer that is resized to fit the result. See cv::imwrite for the list of supported formats and flags description.

Parameters
extFile extension that defines the output format. Must include a leading period.
imgImage to be compressed.
metadataTypesVector with types of metadata chucks stored in metadata to write, see ImageMetadataType.
metadataVector of vectors or vector of matrices with chunks of metadata to store into the file
bufOutput buffer resized to fit the compressed image.
paramsFormat-specific parameters. See cv::imwrite and cv::ImwriteFlags.

◆ imread() [1/4]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imread ( string filename)
static

Loads an image from a file.

The imread function loads an image from the specified file and returns OpenCV matrix. If the image cannot be read (because of a missing file, improper permissions, or unsupported/invalid format), the function returns an empty matrix.

Currently, the following file formats are supported:

  • Windows bitmaps - *.bmp, *.dib (always supported)
  • GIF files - *.gif (always supported)
  • JPEG files - *.jpeg, *.jpg, *.jpe (see the Note section)
  • JPEG 2000 files - *.jp2 (see the Note section)
  • Portable Network Graphics - *.png (see the Note section)
  • WebP - *.webp (see the Note section)
  • AVIF - *.avif (see the Note section)
  • Portable image format - *.pbm, *.pgm, *.ppm, *.pxm, *.pnm (always supported)
  • PFM files - *.pfm (see the Note section)
  • Sun rasters - *.sr, *.ras (always supported)
  • TIFF files - *.tiff, *.tif (see the Note section)
  • OpenEXR Image files - *.exr (see the Note section)
  • Radiance HDR - *.hdr, *.pic (always supported)
  • Raster and Vector geospatial data supported by GDAL (see the Note section)
Note
  • The function determines the type of an image by its content, not by the file extension.
  • In the case of color images, the decoded images will have the channels stored in B G R order.
  • When using IMREAD_GRAYSCALE, the codec's internal grayscale conversion will be used, if available. Results may differ from the output of cvtColor().
  • On Microsoft Windows* and Mac OS*, the codecs shipped with OpenCV (libjpeg, libpng, libtiff, and libjasper) are used by default. So, OpenCV can always read JPEGs, PNGs, and TIFFs. On Mac OS, there is also an option to use native Mac OS image readers. However, beware that currently these native image loaders give images with different pixel values because of the color management embedded into Mac OS.
  • On Linux*, BSD flavors, and other Unix-like open-source operating systems, OpenCV looks for codecs supplied with the OS. Ensure the relevant packages are installed (including development files, such as "libjpeg-dev" in Debian* and Ubuntu*) to get codec support, or turn on the OPENCV_BUILD_3RDPARTY_LIBS flag in CMake.
  • If the WITH_GDAL flag is set to true in CMake and IMREAD_LOAD_GDAL is used to load the image, the GDAL driver will be used to decode the image, supporting Raster and Vector formats.
  • If EXIF information is embedded in the image file, the EXIF orientation will be taken into account, and thus the image will be rotated accordingly unless the flags IMREAD_IGNORE_ORIENTATION or IMREAD_UNCHANGED are passed.
  • Use the IMREAD_UNCHANGED flag to preserve the floating-point values from PFM images.
  • By default, the number of pixels must be less than 2^30. This limit can be changed by setting the environment variable OPENCV_IO_MAX_IMAGE_PIXELS. See tutorial_env_reference.
Parameters
filenameName of the file to be loaded.
flagsFlag that can take values of cv::ImreadModes.

◆ imread() [2/4]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imread ( string filename,
int flags )
static

Loads an image from a file.

The imread function loads an image from the specified file and returns OpenCV matrix. If the image cannot be read (because of a missing file, improper permissions, or unsupported/invalid format), the function returns an empty matrix.

Currently, the following file formats are supported:

  • Windows bitmaps - *.bmp, *.dib (always supported)
  • GIF files - *.gif (always supported)
  • JPEG files - *.jpeg, *.jpg, *.jpe (see the Note section)
  • JPEG 2000 files - *.jp2 (see the Note section)
  • Portable Network Graphics - *.png (see the Note section)
  • WebP - *.webp (see the Note section)
  • AVIF - *.avif (see the Note section)
  • Portable image format - *.pbm, *.pgm, *.ppm, *.pxm, *.pnm (always supported)
  • PFM files - *.pfm (see the Note section)
  • Sun rasters - *.sr, *.ras (always supported)
  • TIFF files - *.tiff, *.tif (see the Note section)
  • OpenEXR Image files - *.exr (see the Note section)
  • Radiance HDR - *.hdr, *.pic (always supported)
  • Raster and Vector geospatial data supported by GDAL (see the Note section)
Note
  • The function determines the type of an image by its content, not by the file extension.
  • In the case of color images, the decoded images will have the channels stored in B G R order.
  • When using IMREAD_GRAYSCALE, the codec's internal grayscale conversion will be used, if available. Results may differ from the output of cvtColor().
  • On Microsoft Windows* and Mac OS*, the codecs shipped with OpenCV (libjpeg, libpng, libtiff, and libjasper) are used by default. So, OpenCV can always read JPEGs, PNGs, and TIFFs. On Mac OS, there is also an option to use native Mac OS image readers. However, beware that currently these native image loaders give images with different pixel values because of the color management embedded into Mac OS.
  • On Linux*, BSD flavors, and other Unix-like open-source operating systems, OpenCV looks for codecs supplied with the OS. Ensure the relevant packages are installed (including development files, such as "libjpeg-dev" in Debian* and Ubuntu*) to get codec support, or turn on the OPENCV_BUILD_3RDPARTY_LIBS flag in CMake.
  • If the WITH_GDAL flag is set to true in CMake and IMREAD_LOAD_GDAL is used to load the image, the GDAL driver will be used to decode the image, supporting Raster and Vector formats.
  • If EXIF information is embedded in the image file, the EXIF orientation will be taken into account, and thus the image will be rotated accordingly unless the flags IMREAD_IGNORE_ORIENTATION or IMREAD_UNCHANGED are passed.
  • Use the IMREAD_UNCHANGED flag to preserve the floating-point values from PFM images.
  • By default, the number of pixels must be less than 2^30. This limit can be changed by setting the environment variable OPENCV_IO_MAX_IMAGE_PIXELS. See tutorial_env_reference.
Parameters
filenameName of the file to be loaded.
flagsFlag that can take values of cv::ImreadModes.

◆ imread() [3/4]

static void OpenCVForUnity.ImgcodecsModule.Imgcodecs.imread ( string filename,
Mat dst )
static

Loads an image from a file.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts and the return value.

Parameters
filenameName of file to be loaded.
dstobject in which the image will be loaded.
flagsFlag that can take values of cv::ImreadModes

The image passing through the img parameter can be pre-allocated. The memory is reused if the shape and the type match with the load image.

◆ imread() [4/4]

static void OpenCVForUnity.ImgcodecsModule.Imgcodecs.imread ( string filename,
Mat dst,
int flags )
static

Loads an image from a file.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts and the return value.

Parameters
filenameName of file to be loaded.
dstobject in which the image will be loaded.
flagsFlag that can take values of cv::ImreadModes

The image passing through the img parameter can be pre-allocated. The memory is reused if the shape and the type match with the load image.

◆ imreadanimation() [1/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadanimation ( string filename,
Animation animation )
static

Loads frames from an animated image file into an Animation structure.

The function imreadanimation loads frames from an animated image file (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
filenameA string containing the path to the file.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the file was successfully loaded and frames were extracted; returns false otherwise.

◆ imreadanimation() [2/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadanimation ( string filename,
Animation animation,
int start )
static

Loads frames from an animated image file into an Animation structure.

The function imreadanimation loads frames from an animated image file (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
filenameA string containing the path to the file.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the file was successfully loaded and frames were extracted; returns false otherwise.

◆ imreadanimation() [3/3]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadanimation ( string filename,
Animation animation,
int start,
int count )
static

Loads frames from an animated image file into an Animation structure.

The function imreadanimation loads frames from an animated image file (e.g., GIF, AVIF, APNG, WEBP) into the provided Animation struct.

Parameters
filenameA string containing the path to the file.
animationA reference to an Animation structure where the loaded frames will be stored. It should be initialized before the function is called.
startThe index of the first frame to load. This is optional and defaults to 0.
countThe number of frames to load. This is optional and defaults to 32767.
Returns
Returns true if the file was successfully loaded and frames were extracted; returns false otherwise.

◆ imreadmulti() [1/4]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadmulti ( string filename,
List< Mat > mats )
static

Loads a multi-page image from a file.

The function imreadmulti loads a multi-page image from the specified file into a vector of Mat objects.

Parameters
filenameName of file to be loaded.
matsA vector of Mat objects holding each page.
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

cv::imread

◆ imreadmulti() [2/4]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadmulti ( string filename,
List< Mat > mats,
int flags )
static

Loads a multi-page image from a file.

The function imreadmulti loads a multi-page image from the specified file into a vector of Mat objects.

Parameters
filenameName of file to be loaded.
matsA vector of Mat objects holding each page.
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

cv::imread

◆ imreadmulti() [3/4]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadmulti ( string filename,
List< Mat > mats,
int start,
int count )
static

Loads images of a multi-page image from a file.

The function imreadmulti loads a specified range from a multi-page image from the specified file into a vector of Mat objects.

Parameters
filenameName of file to be loaded.
matsA vector of Mat objects holding each page.
startStart index of the image to load
countCount number of images to load
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

cv::imread

◆ imreadmulti() [4/4]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadmulti ( string filename,
List< Mat > mats,
int start,
int count,
int flags )
static

Loads images of a multi-page image from a file.

The function imreadmulti loads a specified range from a multi-page image from the specified file into a vector of Mat objects.

Parameters
filenameName of file to be loaded.
matsA vector of Mat objects holding each page.
startStart index of the image to load
countCount number of images to load
flagsFlag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

cv::imread

◆ imreadWithMetadata() [1/2]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadWithMetadata ( string filename,
MatOfInt metadataTypes,
List< Mat > metadata )
static

Reads an image from a file together with associated metadata.

The function imreadWithMetadata reads image from the specified file. It does the same thing as imread, but additionally reads metadata if the corresponding file contains any.

Parameters
filenameName of the file to be loaded.
metadataTypesOutput vector with types of metadata chucks returned in metadata, see ImageMetadataType.
metadataOutput vector of vectors or vector of matrices to store the retrieved metadata
flagsFlag that can take values of cv::ImreadModes

◆ imreadWithMetadata() [2/2]

static Mat OpenCVForUnity.ImgcodecsModule.Imgcodecs.imreadWithMetadata ( string filename,
MatOfInt metadataTypes,
List< Mat > metadata,
int flags )
static

Reads an image from a file together with associated metadata.

The function imreadWithMetadata reads image from the specified file. It does the same thing as imread, but additionally reads metadata if the corresponding file contains any.

Parameters
filenameName of the file to be loaded.
metadataTypesOutput vector with types of metadata chucks returned in metadata, see ImageMetadataType.
metadataOutput vector of vectors or vector of matrices to store the retrieved metadata
flagsFlag that can take values of cv::ImreadModes

◆ imwrite() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwrite ( string filename,
Mat img )
static

Saves an image to a specified file.

The function imwrite saves the image to the specified file. The image format is chosen based on the filename extension (see cv::imread for the list of extensions). In general, only 8-bit unsigned (CV_8U) single-channel or 3-channel (with 'BGR' channel order) images can be saved using this function, with these exceptions:

  • With OpenEXR encoder, only 32-bit float (CV_32F) images can be saved.
    • 8-bit unsigned (CV_8U) images are not supported.
  • With Radiance HDR encoder, non 64-bit float (CV_64F) images can be saved.
    • All images will be converted to 32-bit float (CV_32F).
  • With JPEG 2000 encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With JPEG XL encoder, 8-bit unsigned (CV_8U), 16-bit unsigned (CV_16U) and 32-bit float(CV_32F) images can be saved.
    • JPEG XL images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) / 16-bit 4-channel (CV_16UC4) / 32-bit float 4-channel (CV_32FC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255/65535/1.0.
  • With PAM encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With PNG encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
    • PNG images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) / 16-bit 4-channel (CV_16UC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255/65535(see the code sample below).
  • With PGM/PPM encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With TIFF encoder, 8-bit unsigned (CV_8U), 8-bit signed (CV_8S), 16-bit unsigned (CV_16U), 16-bit signed (CV_16S), 32-bit signed (CV_32S), 32-bit float (CV_32F) and 64-bit float (CV_64F) images can be saved.
    • Multiple images (vector of Mat) can be saved in TIFF format (see the code sample below).
    • 32-bit float 3-channel (CV_32FC3) TIFF images will be saved using the LogLuv high dynamic range encoding (4 bytes per pixel)
  • With GIF encoder, 8-bit unsigned (CV_8U) images can be saved.
    • GIF images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255.
    • 8-bit single-channel images (CV_8UC1) are not supported due to GIF's limitation to indexed color formats.

If the image format is not supported, the image will be converted to 8-bit unsigned (CV_8U) and saved that way.

If the format, depth or channel order is different, use Mat.convertTo and cv::cvtColor to convert it before saving. Or, use the universal FileStorage I/O functions to save the image to XML or YAML format.

The sample below shows how to create a BGRA image, how to set custom compression parameters and save it to a PNG file. It also demonstrates how to save multiple images in a TIFF file:

Parameters
filenameName of the file.
img(Mat or vector of Mat) Image or Images to be saved.
paramsFormat-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ... .) see cv::ImwriteFlags

◆ imwrite() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwrite ( string filename,
Mat img,
MatOfInt _params )
static

Saves an image to a specified file.

The function imwrite saves the image to the specified file. The image format is chosen based on the filename extension (see cv::imread for the list of extensions). In general, only 8-bit unsigned (CV_8U) single-channel or 3-channel (with 'BGR' channel order) images can be saved using this function, with these exceptions:

  • With OpenEXR encoder, only 32-bit float (CV_32F) images can be saved.
    • 8-bit unsigned (CV_8U) images are not supported.
  • With Radiance HDR encoder, non 64-bit float (CV_64F) images can be saved.
    • All images will be converted to 32-bit float (CV_32F).
  • With JPEG 2000 encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With JPEG XL encoder, 8-bit unsigned (CV_8U), 16-bit unsigned (CV_16U) and 32-bit float(CV_32F) images can be saved.
    • JPEG XL images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) / 16-bit 4-channel (CV_16UC4) / 32-bit float 4-channel (CV_32FC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255/65535/1.0.
  • With PAM encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With PNG encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
    • PNG images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) / 16-bit 4-channel (CV_16UC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255/65535(see the code sample below).
  • With PGM/PPM encoder, 8-bit unsigned (CV_8U) and 16-bit unsigned (CV_16U) images can be saved.
  • With TIFF encoder, 8-bit unsigned (CV_8U), 8-bit signed (CV_8S), 16-bit unsigned (CV_16U), 16-bit signed (CV_16S), 32-bit signed (CV_32S), 32-bit float (CV_32F) and 64-bit float (CV_64F) images can be saved.
    • Multiple images (vector of Mat) can be saved in TIFF format (see the code sample below).
    • 32-bit float 3-channel (CV_32FC3) TIFF images will be saved using the LogLuv high dynamic range encoding (4 bytes per pixel)
  • With GIF encoder, 8-bit unsigned (CV_8U) images can be saved.
    • GIF images with an alpha channel can be saved using this function. To achieve this, create an 8-bit 4-channel (CV_8UC4) BGRA image, ensuring the alpha channel is the last component. Fully transparent pixels should have an alpha value of 0, while fully opaque pixels should have an alpha value of 255.
    • 8-bit single-channel images (CV_8UC1) are not supported due to GIF's limitation to indexed color formats.

If the image format is not supported, the image will be converted to 8-bit unsigned (CV_8U) and saved that way.

If the format, depth or channel order is different, use Mat.convertTo and cv::cvtColor to convert it before saving. Or, use the universal FileStorage I/O functions to save the image to XML or YAML format.

The sample below shows how to create a BGRA image, how to set custom compression parameters and save it to a PNG file. It also demonstrates how to save multiple images in a TIFF file:

Parameters
filenameName of the file.
img(Mat or vector of Mat) Image or Images to be saved.
paramsFormat-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ... .) see cv::ImwriteFlags

◆ imwriteanimation() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwriteanimation ( string filename,
Animation animation )
static

Saves an Animation to a specified file.

The function imwriteanimation saves the provided Animation data to the specified file in an animated format. Supported formats depend on the implementation and may include formats like GIF, AVIF, APNG, or WEBP.

Parameters
filenameThe name of the file where the animation will be saved. The file extension determines the format.
animationA constant reference to an Animation struct containing the frames and metadata to be saved.
paramsOptional format-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ...). These parameters are used to specify additional options for the encoding process. Refer to cv::ImwriteFlags for details on possible parameters.
Returns
Returns true if the animation was successfully saved; returns false otherwise.

◆ imwriteanimation() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwriteanimation ( string filename,
Animation animation,
MatOfInt _params )
static

Saves an Animation to a specified file.

The function imwriteanimation saves the provided Animation data to the specified file in an animated format. Supported formats depend on the implementation and may include formats like GIF, AVIF, APNG, or WEBP.

Parameters
filenameThe name of the file where the animation will be saved. The file extension determines the format.
animationA constant reference to an Animation struct containing the frames and metadata to be saved.
paramsOptional format-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ...). These parameters are used to specify additional options for the encoding process. Refer to cv::ImwriteFlags for details on possible parameters.
Returns
Returns true if the animation was successfully saved; returns false otherwise.

◆ imwritemulti() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwritemulti ( string filename,
List< Mat > img )
static

◆ imwritemulti() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwritemulti ( string filename,
List< Mat > img,
MatOfInt _params )
static

◆ imwriteWithMetadata() [1/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwriteWithMetadata ( string filename,
Mat img,
MatOfInt metadataTypes,
List< Mat > metadata )
static

Saves an image to a specified file with metadata.

The function imwriteWithMetadata saves the image to the specified file. It does the same thing as imwrite, but additionally writes metadata if the corresponding format supports it.

Parameters
filenameName of the file. As with imwrite, image format is determined by the file extension.
img(Mat or vector of Mat) Image or Images to be saved.
metadataTypesVector with types of metadata chucks stored in metadata to write, see ImageMetadataType.
metadataVector of vectors or vector of matrices with chunks of metadata to store into the file
paramsFormat-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ... .) see cv::ImwriteFlags

◆ imwriteWithMetadata() [2/2]

static bool OpenCVForUnity.ImgcodecsModule.Imgcodecs.imwriteWithMetadata ( string filename,
Mat img,
MatOfInt metadataTypes,
List< Mat > metadata,
MatOfInt _params )
static

Saves an image to a specified file with metadata.

The function imwriteWithMetadata saves the image to the specified file. It does the same thing as imwrite, but additionally writes metadata if the corresponding format supports it.

Parameters
filenameName of the file. As with imwrite, image format is determined by the file extension.
img(Mat or vector of Mat) Image or Images to be saved.
metadataTypesVector with types of metadata chucks stored in metadata to write, see ImageMetadataType.
metadataVector of vectors or vector of matrices with chunks of metadata to store into the file
paramsFormat-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ... .) see cv::ImwriteFlags

Member Data Documentation

◆ IMAGE_METADATA_EXIF

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMAGE_METADATA_EXIF = 0
static

C++: enum ImageMetadataType (cv.ImageMetadataType)

◆ IMAGE_METADATA_ICCP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMAGE_METADATA_ICCP = 2
static

C++: enum ImageMetadataType (cv.ImageMetadataType)

◆ IMAGE_METADATA_MAX

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMAGE_METADATA_MAX = 2
static

C++: enum ImageMetadataType (cv.ImageMetadataType)

◆ IMAGE_METADATA_UNKNOWN

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMAGE_METADATA_UNKNOWN = -1
static

C++: enum ImageMetadataType (cv.ImageMetadataType)

◆ IMAGE_METADATA_XMP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMAGE_METADATA_XMP = 1
static

C++: enum ImageMetadataType (cv.ImageMetadataType)

◆ IMREAD_ANYCOLOR

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_ANYCOLOR = 4
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_ANYDEPTH

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_ANYDEPTH = 2
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_COLOR

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_COLOR = 1
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_COLOR_BGR

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_COLOR_BGR = 1
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_COLOR_RGB

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_COLOR_RGB = 256
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_GRAYSCALE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_GRAYSCALE = 0
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_IGNORE_ORIENTATION

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_IGNORE_ORIENTATION = 128
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_LOAD_GDAL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_LOAD_GDAL = 8
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_COLOR_2

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_COLOR_2 = 17
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_COLOR_4

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_COLOR_4 = 33
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_COLOR_8

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_COLOR_8 = 65
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_GRAYSCALE_2

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_GRAYSCALE_2 = 16
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_GRAYSCALE_4

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_GRAYSCALE_4 = 32
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_REDUCED_GRAYSCALE_8

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_REDUCED_GRAYSCALE_8 = 64
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMREAD_UNCHANGED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMREAD_UNCHANGED = -1
static

C++: enum ImreadModes (cv.ImreadModes)

◆ IMWRITE_AVIF_DEPTH

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_AVIF_DEPTH = 513
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_AVIF_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_AVIF_QUALITY = 512
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_AVIF_SPEED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_AVIF_SPEED = 514
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_EXR_COMPRESSION

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION = (3 << 4) + 1
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_EXR_COMPRESSION_B44

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_B44 = 6
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_B44A

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_B44A = 7
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_DWAA

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_DWAA = 8
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_DWAB

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_DWAB = 9
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_NO

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_NO = 0
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_PIZ

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_PIZ = 4
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_PXR24

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_PXR24 = 5
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_RLE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_RLE = 1
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_ZIP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_ZIP = 3
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_COMPRESSION_ZIPS

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_COMPRESSION_ZIPS = 2
static

C++: enum ImwriteEXRCompressionFlags (cv.ImwriteEXRCompressionFlags)

◆ IMWRITE_EXR_DWA_COMPRESSION_LEVEL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_DWA_COMPRESSION_LEVEL = (3 << 4) + 2
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_EXR_TYPE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_TYPE = (3 << 4) + 0
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_EXR_TYPE_FLOAT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_TYPE_FLOAT = 2
static

C++: enum ImwriteEXRTypeFlags (cv.ImwriteEXRTypeFlags)

◆ IMWRITE_EXR_TYPE_HALF

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_EXR_TYPE_HALF = 1
static

C++: enum ImwriteEXRTypeFlags (cv.ImwriteEXRTypeFlags)

◆ IMWRITE_GIF_COLORTABLE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE = 1029
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_128

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_128 = 7
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_16

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_16 = 4
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_256

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_256 = 8
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_32

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_32 = 5
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_64

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_64 = 6
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_COLORTABLE_SIZE_8

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_COLORTABLE_SIZE_8 = 3
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_DITHER

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_DITHER = 1027
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_GIF_FAST_FLOYD_DITHER

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_FAST_FLOYD_DITHER = 2
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_FAST_NO_DITHER

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_FAST_NO_DITHER = 1
static

C++: enum ImwriteGIFCompressionFlags (cv.ImwriteGIFCompressionFlags)

◆ IMWRITE_GIF_LOOP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_LOOP = 1024
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_GIF_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_QUALITY = 1026
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_GIF_SPEED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_SPEED = 1025
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_GIF_TRANSPARENCY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_GIF_TRANSPARENCY = 1028
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_HDR_COMPRESSION

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_HDR_COMPRESSION = (5 << 4) + 0
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_HDR_COMPRESSION_NONE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_HDR_COMPRESSION_NONE = 0
static

C++: enum ImwriteHDRCompressionFlags (cv.ImwriteHDRCompressionFlags)

◆ IMWRITE_HDR_COMPRESSION_RLE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_HDR_COMPRESSION_RLE = 1
static

C++: enum ImwriteHDRCompressionFlags (cv.ImwriteHDRCompressionFlags)

◆ IMWRITE_JPEG2000_COMPRESSION_X1000

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG2000_COMPRESSION_X1000 = 272
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_CHROMA_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_CHROMA_QUALITY = 6
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_LUMA_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_LUMA_QUALITY = 5
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_OPTIMIZE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_OPTIMIZE = 3
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_PROGRESSIVE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_PROGRESSIVE = 2
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_QUALITY = 1
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_RST_INTERVAL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_RST_INTERVAL = 4
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_SAMPLING_FACTOR

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR = 7
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEG_SAMPLING_FACTOR_411

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR_411 = 0x411111
static

C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)

◆ IMWRITE_JPEG_SAMPLING_FACTOR_420

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR_420 = 0x221111
static

C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)

◆ IMWRITE_JPEG_SAMPLING_FACTOR_422

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR_422 = 0x211111
static

C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)

◆ IMWRITE_JPEG_SAMPLING_FACTOR_440

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR_440 = 0x121111
static

C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)

◆ IMWRITE_JPEG_SAMPLING_FACTOR_444

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEG_SAMPLING_FACTOR_444 = 0x111111
static

C++: enum ImwriteJPEGSamplingFactorParams (cv.ImwriteJPEGSamplingFactorParams)

◆ IMWRITE_JPEGXL_DECODING_SPEED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEGXL_DECODING_SPEED = 643
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEGXL_DISTANCE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEGXL_DISTANCE = 642
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEGXL_EFFORT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEGXL_EFFORT = 641
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_JPEGXL_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_JPEGXL_QUALITY = 640
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PAM_FORMAT_BLACKANDWHITE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_FORMAT_GRAYSCALE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_GRAYSCALE = 2
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_FORMAT_NULL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_NULL = 0
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_FORMAT_RGB

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_RGB = 4
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_FORMAT_RGB_ALPHA

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
static

C++: enum ImwritePAMFlags (cv.ImwritePAMFlags)

◆ IMWRITE_PAM_TUPLETYPE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PAM_TUPLETYPE = 128
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PNG_ALL_FILTERS

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_ALL_FILTERS = (IMWRITE_PNG_FAST_FILTERS | IMWRITE_PNG_FILTER_AVG | IMWRITE_PNG_FILTER_PAETH)
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_BILEVEL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_BILEVEL = 18
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PNG_COMPRESSION

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_COMPRESSION = 16
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PNG_FAST_FILTERS

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FAST_FILTERS = (IMWRITE_PNG_FILTER_NONE | IMWRITE_PNG_FILTER_SUB | IMWRITE_PNG_FILTER_UP)
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_FILTER

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER = 19
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PNG_FILTER_AVG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER_AVG = 64
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_FILTER_NONE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER_NONE = 8
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_FILTER_PAETH

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER_PAETH = 128
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_FILTER_SUB

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER_SUB = 16
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_FILTER_UP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_FILTER_UP = 32
static

C++: enum ImwritePNGFilterFlags (cv.ImwritePNGFilterFlags)

◆ IMWRITE_PNG_STRATEGY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY = 17
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_PNG_STRATEGY_DEFAULT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY_DEFAULT = 0
static

C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)

◆ IMWRITE_PNG_STRATEGY_FILTERED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY_FILTERED = 1
static

C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)

◆ IMWRITE_PNG_STRATEGY_FIXED

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY_FIXED = 4
static

C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)

◆ IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = 2
static

C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)

◆ IMWRITE_PNG_STRATEGY_RLE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PNG_STRATEGY_RLE = 3
static

C++: enum ImwritePNGFlags (cv.ImwritePNGFlags)

◆ IMWRITE_PXM_BINARY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_PXM_BINARY = 32
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_COMPRESSION

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION = 259
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE = 8
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITT_T4

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITT_T4 = 3
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITT_T6

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITT_T6 = 4
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITTFAX3

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITTFAX3 = 3
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITTFAX4

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITTFAX4 = 4
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITTRLE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITTRLE = 2
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_CCITTRLEW

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_CCITTRLEW = 32771
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_DCS

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_DCS = 32947
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_DEFLATE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_DEFLATE = 32946
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_IT8BL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_IT8BL = 32898
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_IT8CTPAD

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_IT8CTPAD = 32895
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_IT8LW

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_IT8LW = 32896
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_IT8MP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_IT8MP = 32897
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_JBIG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_JBIG = 34661
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_JP2000

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_JP2000 = 34712
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_JPEG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_JPEG = 7
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_JXL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_JXL = 50002
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_LERC

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_LERC = 34887
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_LZMA

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_LZMA = 34925
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_LZW

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_LZW = 5
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_NEXT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_NEXT = 32766
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_NONE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_NONE = 1
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_OJPEG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_OJPEG = 6
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_PACKBITS

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_PACKBITS = 32773
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_PIXARFILM

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_PIXARFILM = 32908
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_PIXARLOG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_PIXARLOG = 32909
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_SGILOG

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_SGILOG = 34676
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_SGILOG24

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_SGILOG24 = 34677
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_T43

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_T43 = 10
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_T85

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_T85 = 9
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_THUNDERSCAN

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_THUNDERSCAN = 32809
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_WEBP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_WEBP = 50001
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_COMPRESSION_ZSTD

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_COMPRESSION_ZSTD = 50000
static

C++: enum ImwriteTiffCompressionFlags (cv.ImwriteTiffCompressionFlags)

◆ IMWRITE_TIFF_PREDICTOR

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_PREDICTOR = 317
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT = 3
static

C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)

◆ IMWRITE_TIFF_PREDICTOR_HORIZONTAL

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_PREDICTOR_HORIZONTAL = 2
static

C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)

◆ IMWRITE_TIFF_PREDICTOR_NONE

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_PREDICTOR_NONE = 1
static

C++: enum ImwriteTiffPredictorFlags (cv.ImwriteTiffPredictorFlags)

◆ IMWRITE_TIFF_RESUNIT

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_RESUNIT = 256
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_ROWSPERSTRIP

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_ROWSPERSTRIP = 278
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_XDPI

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_XDPI = 257
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_TIFF_YDPI

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_TIFF_YDPI = 258
static

C++: enum ImwriteFlags (cv.ImwriteFlags)

◆ IMWRITE_WEBP_QUALITY

const int OpenCVForUnity.ImgcodecsModule.Imgcodecs.IMWRITE_WEBP_QUALITY = 64
static

C++: enum ImwriteFlags (cv.ImwriteFlags)


The documentation for this class was generated from the following file: