emgu.cv的图像金字塔操作
来源:互联网 发布:nginx centos yum 编辑:程序博客网 时间:2024/06/06 12:50
emgu.cv里有三个常用的影像金字塔(重采样,每一级倍数2)函数:
1) BuildPyramid(int maxLevel) 建立多级影像金字塔
C#例子:Int maxLevel;
Image<Gray,byte> []imgs = img.BuildPyramid(maxLevel);
2) PyrDown() 向下(粗)重采样
C#例子:Image<Gray,byte>imgd = img.PyrDown();
3) PyrUp() 向上(细)重采样
C#例子:Image<Gray,byte>imgu = img.PyrUp();
详情如下:
1) Image(TColor, TDepth).BuildPyramidMethod
Compute the image pyramid
Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Collapse imageSyntax
Syntax(C#)
public Image<TColor, TDepth>[]BuildPyramid(int maxLevel)
Parameters
maxLevel
Type: System.Int32
The number of level's for the pyramid;Level 0 referes to the current image, level n is computed by calling thePyrDown() function on level n-1
ReturnValue
The image pyramid in Image []
Link
http://www.emgu.com/wiki/files/2.4.2/document/html/0f10eb26-3f55-849c-b62b-1d7a5e8116d3.htm
2) Image<TColor, TDepth>.PyrDownMethod
Performs downsampling step of Gaussianpyramid decomposition. First it convolves this image with the specified filterand then downsamples the image by rejecting even rows and columns.
Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll)Version: 2.0.1.0 (2.0.1.0)
Syntax(C#)
public Image<TColor, TDepth>PyrDown()
ReturnValue
The downsampled image
Link
http://www.emgu.com/wiki/files/2.0.1.0/html/2aaf7083-20e0-2de3-fc78-c361e4c6a211.htm
3) Image<TColor, TDepth>.PyrUpMethod
Namespace: Emgu.CV
Assembly: Emgu.CV (inEmgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax(C#)
public Image<TColor,TDepth> PyrUp()
ReturnValue
The upsampled image
Link
http://www.emgu.com/wiki/files/2.0.0.0/html/54e08a6f-3842-543b-125f-ae3d52392fe0.htm
- emgu.cv的图像金字塔操作
- emgu cv 图像三色的直方图
- emgu cv 读取摄像头图像
- Emgu CV的安装
- emgu cv 在WPF上显示图像
- Emgu CV库:.net平台下对openCV图像处理库的封装
- Emgu CV 库:.NET平台下对OpenCV 图像处理库的封装
- C#下的openCV(Emgu CV)
- C#下的openCV(Emgu CV)
- C#下的openCV(Emgu CV)
- 异常"Emgu.CV.CvInvoke"的类型初始值
- Emgu CV程序异常的首选解决方案
- C#-Emgu.CV-------视频截取和图像处理基础
- Emgu CV--基础知识
- Emgu CV Lesson 1
- emgu cv 轮廓提取
- emgu cv 透视变换
- Emgu Cv示例
- hdu2428 Stars
- Js获取当前日期时间及其它操作
- Android_LaunchMode
- Date类的使用
- NUC1011 Financial Management【数学计算】
- emgu.cv的图像金字塔操作
- JAVA变量
- 人脑杂念与电脑进程
- 用c++实现一个二叉排序树
- 第一次开通,记录一下
- Linux基础操作
- Ioc注入框架 注入布局 注入控件 动态代理注入事件
- python写算法题:leetcode: 24. Swap Nodes in Pairs
- 正则表达式小结