资源简介
图像处理中非常热门的形状上下文描述子,用matlab与C++混合编程实现,打开后运行demo1或者demo2即可。

代码片段和文件信息
function [xytc]=bdry_extract_3(V);
% [xytc]=bdry_extract_3(V);
% compute (rtheta) histograms for points along boundary of single
% region in binary image V
% extract a set of boundary points w/oriented tangents
%sig=1;
%Vg=gauss_sig(Vsig);
Vg=V; % if no smoothing is needed
c=contourc(Vg[.5 .5]);
[G1G2]=gradient(Vg);
% need to deal with multiple contours (for objects with holes)
fz=c(1:)~=0.5;
c(:find(~fz))=NaN;
B=c(:find(fz));
npts=size(B2);
t=zeros(npts1);
for n=1:npts
x0=round(B(1n));
y0=round(B(2n));
t(n)=atan2(G2(y0x0)G1(y0x0))+pi/2;
end
x=B(1:)‘;
y=B(2:)‘;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 965316 2005-06-13 09:29 shapecontext\2002shapematch-Belongie-Pami-ByContext.pdf
文件 634 2000-09-04 23:51 shapecontext\bdry_extract_3.m
文件 659 2000-09-04 20:28 shapecontext\bookstein.m
文件 23891 2008-03-21 14:28 shapecontext\box1_5_coress.eps
文件 34883 2008-03-21 14:28 shapecontext\box1_5_coress.fig
文件 33970 2008-03-21 14:28 shapecontext\box1_5_trans.eps
文件 18075 2008-03-21 14:28 shapecontext\box1_5_trans.fig
文件 24026 2008-03-21 14:29 shapecontext\box1_9_coress.eps
文件 35217 2008-03-21 14:29 shapecontext\box1_9_coress.fig
文件 33929 2008-03-21 14:29 shapecontext\box1_9_trans.eps
文件 18044 2008-03-21 14:29 shapecontext\box1_9_trans.fig
文件 1154 2011-11-14 16:27 shapecontext\demo_1.m
文件 1155 2000-09-05 15:00 shapecontext\demo_1.m~
文件 8879 2000-09-25 21:16 shapecontext\demo_2.m
文件 8879 2000-09-08 19:55 shapecontext\demo_2.m~
文件 627576 2000-09-05 00:08 shapecontext\digit_100_train_easy.mat
文件 627576 2000-09-05 00:08 shapecontext\digit_100_train_hard.mat
文件 820 2000-09-04 20:26 shapecontext\dist2.m
文件 115 2000-09-04 23:26 shapecontext\gaussker.m
文件 577 2000-09-04 23:26 shapecontext\get_samples_1.m
文件 432 2000-09-04 20:27 shapecontext\hist_cost_2.m
文件 11250 2000-09-04 20:28 shapecontext\hungarian.m
文件 335 2000-09-04 23:26 shapecontext\im.m
文件 96 2008-03-21 14:28 shapecontext\main_box.m
文件 1153 2008-03-21 14:25 shapecontext\main_shapecontext.m
文件 874 2000-09-05 15:25 shapecontext\README
文件 7288 2000-09-05 00:28 shapecontext\save_fish_def_3_1.mat
文件 7288 2000-09-05 00:28 shapecontext\save_fish_noise_3_2.mat
文件 8856 2000-09-05 00:28 shapecontext\save_fish_outlier_3_2.mat
文件 1963 2000-09-05 15:20 shapecontext\sc_compute.m
............此处省略6个文件信息
相关资源
- 用C语言进行数字图像处理
- basler相机图像采集和显示
- opencv手部轮廓识别以及轨迹识别
- 基于opencv漫水填充算法综合
- Visual+C++数字图像处理-谢凤英-源代码
- Bmp图像处理.zip
- VC++数字图像处理典型算法及实现
- VC6.0 完整的图像处理程序 运用了大量
- VC图像处理-用Canny算子提取边缘
- 数字图像处理扑克牌识别程序
- 数字图像处理与机器视觉——Visual
- 基于leapmotion的HMM手势识别
- C++ 图像处理283241
- C++图像伪彩色处理源代码
- 图像处理方面学习的好MFC显示直方图
- Visual C++.NET图像处理编程源代码 陆宗
- 直方图均衡化_c语言实现_源代码+实验
- (VC++ 数字图像处理典型算法及实现源
- 基于MFC的bmp图像处理268237
- c++指纹识别系统
- c语言实用数字图像处理
- 数字图像处理软件源代码三个资源集
- opencv图像处理MFC
- 数字图像处理实验源代码中值滤波,
- 圆检测和方形检测图像处理
- 数字图像处理的课程设计,图像处理
- 图像增强MSRCR算法
- 用MFC实现的图像处理源代码总集
- 数字图像处理-基于内容的图像分类
- VC6基于对话框的BMP灰度图片显示和轮
评论
共有 条评论