|
| CV_EXPORTS_W bool | cv::haveImageReader (const String &filename) |
| | 检查 OpenCV 是否可以解码指定的图像文件。
|
| |
| CV_EXPORTS_W bool | cv::haveImageWriter (const String &filename) |
| | 检查 OpenCV 是否可以编码指定的图像文件或指定的文件扩展名。
|
| |
| CV_EXPORTS_W size_t | cv::imcount (const String &filename, int flags=IMREAD_ANYCOLOR) |
| | 返回给定文件中的图像数量。
|
| |
| CV_EXPORTS_W Mat | cv::imdecode (InputArray buf, int flags) |
| | 从内存缓冲区读取图像。
|
| |
| CV_EXPORTS Mat | cv::imdecode (InputArray buf, int flags, Mat *dst) |
| |
| CV_EXPORTS_W bool | cv::imdecodeanimation (InputArray buf, CV_OUT Animation &animation, int start=0, int count=INT16_MAX) |
| | 将动画图像缓冲区中的帧加载到 Animation 结构体中。
|
| |
| CV_EXPORTS_W bool | cv::imdecodemulti (InputArray buf, int flags, CV_OUT std::vector< Mat > &mats, const cv::Range &range=Range::all()) |
| | 从内存缓冲区读取多页图像。
|
| |
| CV_EXPORTS_W Mat | cv::imdecodeWithMetadata (InputArray buf, CV_OUT std::vector< int > &metadataTypes, OutputArrayOfArrays metadata, int flags=IMREAD_ANYCOLOR) |
| | 从内存缓冲区读取图像及其关联的元数据。
|
| |
| CV_EXPORTS_W bool | cv::imencode (const String &ext, InputArray img, CV_OUT std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将图像编码到内存缓冲区。
|
| |
| CV_EXPORTS_W bool | cv::imencodeanimation (const String &ext, const Animation &animation, CV_OUT std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将 Animation 编码到内存缓冲区。
|
| |
| CV_EXPORTS_W bool | cv::imencodemulti (const String &ext, InputArrayOfArrays imgs, CV_OUT std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将图像数组编码到内存缓冲区。
|
| |
| CV_EXPORTS_W bool | cv::imencodeWithMetadata (const String &ext, InputArray img, const std::vector< int > &metadataTypes, InputArrayOfArrays metadata, CV_OUT std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将图像编码到内存缓冲区。
|
| |
| CV_EXPORTS_W Mat | cv::imread (const String &filename, int flags=IMREAD_COLOR_BGR) |
| | 从文件加载图像。
|
| |
| CV_EXPORTS_W void | cv::imread (const String &filename, OutputArray dst, int flags=IMREAD_COLOR_BGR) |
| | 从文件加载图像。
|
| |
| CV_EXPORTS_W bool | cv::imreadanimation (const String &filename, CV_OUT Animation &animation, int start=0, int count=INT16_MAX) |
| | 将动画图像文件中的帧加载到 Animation 结构体中。
|
| |
| CV_EXPORTS_W bool | cv::imreadmulti (const String &filename, CV_OUT std::vector< Mat > &mats, int flags=IMREAD_ANYCOLOR) |
| | 从文件加载多页图像。
|
| |
| CV_EXPORTS_W bool | cv::imreadmulti (const String &filename, CV_OUT std::vector< Mat > &mats, int start, int count, int flags=IMREAD_ANYCOLOR) |
| | 从文件加载多页图像的图像。
|
| |
| CV_EXPORTS_W Mat | cv::imreadWithMetadata (const String &filename, CV_OUT std::vector< int > &metadataTypes, OutputArrayOfArrays metadata, int flags=IMREAD_ANYCOLOR) |
| | 从文件读取图像及相关元数据。
|
| |
| CV_EXPORTS_W bool | cv::imwrite (const String &filename, InputArray img, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将图像保存到指定文件。
|
| |
| CV_EXPORTS_W bool | cv::imwriteanimation (const String &filename, const Animation &animation, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将 Animation 保存到指定文件。
|
| |
| static CV_WRAP bool | cv::imwritemulti (const String &filename, InputArrayOfArrays img, const std::vector< int > ¶ms=std::vector< int >()) |
| | 用于绑定的多图像重载
|
| |
| CV_EXPORTS_W bool | cv::imwriteWithMetadata (const String &filename, InputArray img, const std::vector< int > &metadataTypes, InputArrayOfArrays &metadata, const std::vector< int > ¶ms=std::vector< int >()) |
| | 将图像和元数据保存到指定文件。
|
| |