Functions |
| bool | cv::haveImageReader (const String &filename) |
| | Checks if the specified image file can be decoded by OpenCV.
|
| |
| bool | cv::haveImageWriter (const String &filename) |
| | Checks if the specified image file or specified file extension can be encoded by OpenCV.
|
| |
| size_t | cv::imcount (const String &filename, int flags=IMREAD_ANYCOLOR) |
| | Returns the number of images inside the given file.
|
| |
| Mat | cv::imdecode (InputArray buf, int flags) |
| | Reads an image from a buffer in memory.
|
| |
| Mat | cv::imdecode (InputArray buf, int flags, Mat *dst) |
| |
| bool | cv::imdecodeanimation (InputArray buf, Animation &animation, int start=0, int count=INT16_MAX) |
| | Loads frames from an animated image buffer into an Animation structure.
|
| |
| bool | cv::imdecodemulti (InputArray buf, int flags, std::vector< Mat > &mats, const cv::Range &range=Range::all()) |
| | Reads a multi-page image from a buffer in memory.
|
| |
| Mat | cv::imdecodeWithMetadata (InputArray buf, std::vector< int > &metadataTypes, OutputArrayOfArrays metadata, int flags=IMREAD_ANYCOLOR) |
| | Reads an image from a memory buffer and extracts associated metadata.
|
| |
| bool | cv::imencode (const String &ext, InputArray img, std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | Encodes an image into a memory buffer.
|
| |
| bool | cv::imencodeanimation (const String &ext, const Animation &animation, std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | Encodes an Animation to a memory buffer.
|
| |
| bool | cv::imencodemulti (const String &ext, InputArrayOfArrays imgs, std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | Encodes array of images into a memory buffer.
|
| |
| bool | cv::imencodeWithMetadata (const String &ext, InputArray img, const std::vector< int > &metadataTypes, InputArrayOfArrays metadata, std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | Encodes an image into a memory buffer.
|
| |
| Mat | cv::imread (const String &filename, int flags=IMREAD_COLOR_BGR) |
| | Loads an image from a file.
|
| |
| void | cv::imread (const String &filename, OutputArray dst, int flags=IMREAD_COLOR_BGR) |
| | Loads an image from a file.
|
| |
| bool | cv::imreadanimation (const String &filename, Animation &animation, int start=0, int count=INT16_MAX) |
| | Loads frames from an animated image file into an Animation structure.
|
| |
| bool | cv::imreadmulti (const String &filename, std::vector< Mat > &mats, int flags=IMREAD_ANYCOLOR) |
| | Loads a multi-page image from a file.
|
| |
| bool | cv::imreadmulti (const String &filename, std::vector< Mat > &mats, int start, int count, int flags=IMREAD_ANYCOLOR) |
| | Loads images of a multi-page image from a file.
|
| |
| Mat | cv::imreadWithMetadata (const String &filename, std::vector< int > &metadataTypes, OutputArrayOfArrays metadata, int flags=IMREAD_ANYCOLOR) |
| | Reads an image from a file along with associated metadata.
|
| |
| bool | cv::imwrite (const String &filename, InputArray img, const std::vector< int > ¶ms=std::vector< int >()) |
| | Saves an image to a specified file.
|
| |
| bool | cv::imwriteanimation (const String &filename, const Animation &animation, const std::vector< int > ¶ms=std::vector< int >()) |
| | Saves an Animation to a specified file.
|
| |
| static bool | cv::imwritemulti (const String &filename, InputArrayOfArrays img, const std::vector< int > ¶ms=std::vector< int >()) |
| | multi-image overload for bindings
|
| |
| bool | cv::imwriteWithMetadata (const String &filename, InputArray img, const std::vector< int > &metadataTypes, InputArrayOfArrays &metadata, const std::vector< int > ¶ms=std::vector< int >()) |
| | Saves an image to a specified file with metadata.
|
| |