Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
dfd5191e
O
Opencv
项目概览
Greenplum
/
Opencv
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dfd5191e
编写于
5月 26, 2016
作者:
B
Bram Ton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor additions to the documentation.
上级
45474279
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
12 addition
and
6 deletion
+12
-6
modules/core/include/opencv2/core.hpp
modules/core/include/opencv2/core.hpp
+12
-6
未找到文件。
modules/core/include/opencv2/core.hpp
浏览文件 @
dfd5191e
...
@@ -889,7 +889,7 @@ output arrays.
...
@@ -889,7 +889,7 @@ output arrays.
The function cv::mixChannels provides an advanced mechanism for shuffling image channels.
The function cv::mixChannels provides an advanced mechanism for shuffling image channels.
cv::split
and cv::merge and some forms of cv::cvtColor are partial cases of cv::mixChannels
.
cv::split
,cv::merge,cv::extractChannel,cv::insertChannel and some forms of cv::cvtColor are partial cases of cv::mixChannels
.
In the example below, the code splits a 4-channel BGRA image into a 3-channel BGR (with B and R
In the example below, the code splits a 4-channel BGRA image into a 3-channel BGR (with B and R
channels swapped) and a separate alpha-channel image:
channels swapped) and a separate alpha-channel image:
...
@@ -923,7 +923,7 @@ src[0].channels() + src[1].channels()-1, and so on, the same scheme is used for
...
@@ -923,7 +923,7 @@ src[0].channels() + src[1].channels()-1, and so on, the same scheme is used for
channels; as a special case, when fromTo[k\*2] is negative, the corresponding output channel is
channels; as a special case, when fromTo[k\*2] is negative, the corresponding output channel is
filled with zero .
filled with zero .
@param npairs number of index pairs in `fromTo`.
@param npairs number of index pairs in `fromTo`.
@sa
cv::split, cv::merge, cv::
cvtColor
@sa
split, merge, extractChannel, insertChannel,
cvtColor
*/
*/
CV_EXPORTS
void
mixChannels
(
const
Mat
*
src
,
size_t
nsrcs
,
Mat
*
dst
,
size_t
ndsts
,
CV_EXPORTS
void
mixChannels
(
const
Mat
*
src
,
size_t
nsrcs
,
Mat
*
dst
,
size_t
ndsts
,
const
int
*
fromTo
,
size_t
npairs
);
const
int
*
fromTo
,
size_t
npairs
);
...
@@ -961,13 +961,19 @@ filled with zero .
...
@@ -961,13 +961,19 @@ filled with zero .
CV_EXPORTS_W
void
mixChannels
(
InputArrayOfArrays
src
,
InputOutputArrayOfArrays
dst
,
CV_EXPORTS_W
void
mixChannels
(
InputArrayOfArrays
src
,
InputOutputArrayOfArrays
dst
,
const
std
::
vector
<
int
>&
fromTo
);
const
std
::
vector
<
int
>&
fromTo
);
/** @brief extracts a single channel from src (coi is 0-based index)
/** @brief Extracts a single channel from src (coi is 0-based index)
@todo document
@param src input array
@param dst output array
@param coi index of channel to extract
@sa mixChannels, split
*/
*/
CV_EXPORTS_W
void
extractChannel
(
InputArray
src
,
OutputArray
dst
,
int
coi
);
CV_EXPORTS_W
void
extractChannel
(
InputArray
src
,
OutputArray
dst
,
int
coi
);
/** @brief inserts a single channel to dst (coi is 0-based index)
/** @brief Inserts a single channel to dst (coi is 0-based index)
@todo document
@param src input array
@param dst output array
@param coi index of channel for insertion
@sa mixChannels, merge
*/
*/
CV_EXPORTS_W
void
insertChannel
(
InputArray
src
,
InputOutputArray
dst
,
int
coi
);
CV_EXPORTS_W
void
insertChannel
(
InputArray
src
,
InputOutputArray
dst
,
int
coi
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录