资源简介
采用交互式方法(人为标注一些像素点)的图像分割方法,matlab程序,可以运行,值得收藏。

代码片段和文件信息
% version 2.0 --Jun/2010
% version 1.0 --Feb/2008
% written by Shiming Xiang ( smxiang@gmail.com )
function dist = calcu_between_distance_matrix_iter(XR XS)
% XR: the reference data points each column is a data point;
% XS: the data points for calculating the distance matrix from XS to XR. Each column is a data point
% dist: squared distance: each row is a distance vector for a data point w.r.t. XR
[D Nr] = size(XR);
[D Ns] = size(XS);
X2 = sum(XR.^2 1); % square each element and then add each column
dist = zeros(Ns Nr);
% I do not thinkwritting the following sentences with a for-loop is a good selection. Actually we can try to use technique of block matrices to speed up the computaion.
for i = 1: Ns
XX = XS(:i); % extract the i-th column
XX2 = (XX‘ * XX) * ones(1 Nr);
dist_temp = XX2 - 2 * XX‘ * XR;
distance = X2 + dist_temp;
dist(i :) = distance;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 116618 2007-12-13 15:42 001.bmp
文件 116618 2008-04-12 20:17 001_label.bmp
文件 40362 2010-06-09 10:16 001_spline.bmp
文件 227754 2008-04-20 17:33 002.bmp
文件 227754 2008-04-20 18:11 002_label.bmp
文件 77578 2010-06-09 10:19 002_spline.bmp
文件 227754 2008-04-25 11:58 scissors.bmp
文件 227754 2008-04-25 12:19 scissors_label.bmp
文件 77578 2010-06-09 10:16 scissors_spline.bmp
文件 2752 2008-04-12 20:20 data_image_kmeans_001.mat
文件 3811 2008-04-25 12:19 data_image_kmeans_scissors.mat
文件 1025 2010-06-09 12:16 calcu_between_distance_matrix_iter.m
文件 625 2010-06-09 12:16 calcu_distance_matrix_iter.m
文件 884 2010-06-09 14:01 construct_coefficient_matrix.m
文件 6062 2010-06-09 12:37 call_segmentation.m
文件 678 2010-06-09 12:17 cvrt_img_to_matrix.m
文件 5491 2010-06-09 11:40 demo_for_figure_01.m
文件 5504 2010-06-09 11:24 demo_for_figure_scissors_image.m
文件 2402 2010-06-09 12:36 demo_for_your_own_image.m
文件 999 2010-06-09 12:18 extract_label_from_image.m
文件 1331 2010-06-09 12:18 post_process_image_for_two_class_regression.m
文件 2143 2010-06-09 12:18 reshape_to_image.m
文件 752 2010-06-09 14:02 solve_linear_system.m
文件 665 2010-06-09 12:18 spline_regression.m
文件 3062 2010-06-09 12:19 transform_spline.m
文件 1990 2010-06-09 10:51 readme.txt
- 上一篇:基于 HMM算法的语音识别的matlab程序
- 下一篇:小波包阈值去噪
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论