【Matlab】图像插值函数interp2理解
来源:互联网 发布:怎么制作一个软件 编辑:程序博客网 时间:2024/05/19 03:45
图像插值就是利用已知邻近像素点的灰度值(或rgb图像中的三色值)来产生未知像素点的灰度值,以便由原始图像再生出具有更高分辨率的图像。
通过例子来理解interp2函数:
- 1
- 2
- 3
- 4
- 5
- 6
- 1
- 2
- 3
- 4
- 5
- 6
进行插值
- 1
- 2
- 3
- 4
- 5
- 6
- 1
- 2
- 3
- 4
- 5
- 6
使用格式:
Vq = interp2(X,Y,V,Xq,Yq)
Vq = interp2(V,Xq,Yq)
Vq = interp2(V)
Vq = interp2(V,k)
Vq = interp2(_,method)
Vq = interp2(_,method,extrapval)
输入:
X,Y — Sample grid points
matrices | vectorsV — Sample values
matrix- Xq,Yq — Query points
scalars | vectors | matrices | arrays - k — Refinement factor
1 (default) | real, nonnegative, integer scalar - method — Interpolation method
‘linear’ (default) | ‘nearest’ | ‘cubic’ | ‘spline’ - extrapval — Function value outside domain of X and Y
scalar
输出:
- Vq — Interpolated values
scalar | vector | matrix
阅读全文
0 0
- 【Matlab】图像插值函数interp2理解
- 【Matlab】图像插值函数interp2理解
- matlab中的interp2插值函数
- matlab中三维插值函数interp2的使用
- Matlab中二维插值interp2函数的使用
- matlab 插值函数理解
- matlab 使用interp2进行2维数组的插值
- matlab中interp2函数
- matlab interp2函数详解
- matlab的interp2二维数据内插值函数
- matlab 插值函数
- matlab函数interp2及其c++代码
- MATLAB插值函数interp1
- MATLAB 牛顿插值函数
- 一维插值(interp1)和二维插值(interp2)
- [转]一维插值(interp1)和二维插值(interp2)
- Matlab实现图像插值和降低图像灰度级
- 函数插值计算(Matlab程序)
- 饿
- 模板:快速幂
- wireshark源码探索No.2---文档
- hibernate配置二级缓存三种方式
- 生产者---消费者模型之信号量
- 【Matlab】图像插值函数interp2理解
- 从零开始学_JavaScript_系列(37)——让浏览器支持es7特性
- pyspark写法总结
- Android多页面开发
- Ubuntu14.04下安装wechat(微信)
- 初识Gradle
- Subsets (backtracking)
- 连接池原理
- WCF+WPF学习要点总结