-
大小: 20KB文件类型: .rar金币: 2下载: 1 次发布日期: 2021-06-05
- 语言: Matlab
- 标签: Matlab; multimodal image registration
资源简介
《A Partial Intensity Invariant Feature Descriptor for multimodal retinal image registration》论文的matlab源代码
代码片段和文件信息
% Auther: Jian Chen
% April 2008
% Department of Biomedical imaging Columbia University New York USA
% Institute of Automation Chinese Academy of Sciences Beijing China
% email: jc3129@columbia.edu jian.chen@ia.ac.cn
% All rights reserved
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% read images
[p1p2] = rr_getpath;
if ~strcmp(p2pwd)
path(pathpwd);
end
t = zeros(181);
for i = 1:1
close all
f1 = [num2str(i)‘_1.jpg‘];
f2 = [num2str(i)‘_2.jpg‘];
[I1 I2 f1 f2 pathname] = rr_readimage;%(f1f2);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fprintf(‘It may take half a minute to registering those two images\n‘);
fprintf(‘Please be patient...\n‘);
Iter = 2;
tic;
if Iter == 1
t_fundus = rr_registration1(I1 I2 ‘linear conformal‘);
I1_c = imtransform(I1t_fundus‘XData‘[1 size(I22)] ‘YData‘[1 size(I21)]);
[I1_cI2_c] = rr_imagesize(I1_cI2);
clear I1
clear I2
end
k = 1;
while Iter>1
if k == 1
t_fundus = rr_registration1(I1 I2 ‘linear conformal‘);
I1_c = imtransform(I1t_fundus‘XData‘[1 size(I22)] ‘YData‘[1 size(I21)]);
[I1_cI2_c] = rr_imagesize(I1_cI2);
clear I1
clear I2
% figureimshow(I1_c+I2_c[])
Iter = Iter+1;
else
t_fundus = rr_registration2(I1_c I2_c ‘affine‘);
% t_fundus = registration1(I1_c I2_c ‘affine‘);
I1_c = imtransform(I1_ct_fundus‘XData‘[1 size(I2_c2)] ‘YData‘[1 size(I2_c1)]);
[I1_cI2_c] = rr_imagesize(I1_cI2_c);
end
Iter = Iter-1;
k = 2;
end
t(i) = toc;
figureimshow(I1_c+I2_c[])
title(‘fusion of results‘)
fprintf(‘Runtime = %6.2f seconds.\n\n‘t(i));
fprintf(‘The results have been saved in the same directory as your original images\n\n‘);
%%%%%%%%%%%%%%%%%%%%%%%%%% save images
I3 = I1_c+I2_c;
I3 = I3/max(I3(:));
f11 = [pathname(1:end-3)‘moved_‘f1];
f22 = [pathname(1:end-3)‘moved_‘f2];
f33 = [pathname(1:end-3)‘fusion_‘f2(1:end-4)‘-‘f1];
% imwrite(I1_cf11);
% imwrite(I2_cf22);
% imwrite(I3f33);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 548 2008-04-14 14:38 rr_translation.m
文件 492 2008-04-14 14:46 read me.txt
文件 2146 2008-11-30 13:52 registration.m
文件 447 2008-04-14 14:36 rr_appendimages.m
文件 1449 2008-04-14 14:36 rr_checkerboardshow.m
文件 941 2008-04-15 14:06 rr_corr.m
文件 946 2008-04-14 14:36 rr_d2gauss.m
文件 4209 2008-04-14 14:36 rr_desc
文件 565 2008-04-14 14:36 rr_getpath.m
文件 2161 2008-03-23 01:48 rr_harris.m
文件 667 2008-04-14 14:36 rr_image_pat.m
文件 465 2008-04-14 14:37 rr_imagesize.m
文件 1384 2008-04-14 14:37 rr_match.m
文件 804 2008-04-14 14:37 rr_msk.m
文件 2155 2008-04-14 14:37 rr_MTransformation.m
文件 886 2008-04-14 14:37 rr_orientation.m
文件 1278 2008-04-15 14:20 rr_para_transform.m
文件 1374 2008-04-14 14:37 rr_readimage.m
文件 3200 2008-04-15 13:41 rr_refine.m
文件 2284 2008-11-30 14:17 rr_reg.m
文件 2531 2008-11-30 13:55 rr_registration1.m
文件 2230 2008-04-18 12:16 rr_registration2.m
文件 988 2008-04-14 14:38 rr_removeboundarypoint.m
文件 2594 2008-04-14 14:38 rr_removeincorrectmatch.m
文件 3369 2008-11-30 14:09 rr_removeincorrectmatch_new.asv
文件 3346 2008-11-30 14:12 rr_removeincorrectmatch_new.m
文件 935 2008-04-14 14:38 rr_rigidtransformation.m
文件 780 2008-04-14 14:38 rr_showmatch.m
----------- --------- ---------- ----- ----
45174 28
............此处省略1个文件信息
- 上一篇:自动驾驶多目标检测.7z
- 下一篇:jpeg压缩的matlab程序
相关资源
- 8916_msimage.mbn
- image normalization图像归一化matlab程序
- BM3D matlab
- HDR_image-master MATLAB仿真程序
- image fusion tools
- IMAGE_MATLAB_GUI
- Deblurring Images Matrices Spectra and Filteri
- _image fusion(精品.zip
- matlab开发-Poissonimageediting
- BM3D滤波算法+BM3D_image,可实现
- digital image correlation
- 电路与系统分析:使用MATLAB
- Biosignal and biomedical image processing matl
- HDR_image-master MATLAB 仿真程序 包含多张
- kmeans图像分类
- Image Deformation Using Moving Least Squaresma
- matlab开发-Image2Data
- saber&MATLAB;联合仿真设置
- Image Deformation Using Moving Least Squares 移
- MATLAB实现灰度处理
- Quaternion and Octonion Color Image Processing
- [实用Matlab图像与视频处理][ocr_exampl
- Gonzalez_2009_Digital Image Processing Using M
- 数字图像处理MATLAB版第二版配套资源
- 图像分割的matlab算法
- Rectangling Panoramic Images via Warping论文的
- Digital Image Processing Using Matlab_2ed_Gonz
- SAR图像分类识别
- 基于MATLAB的金属表面缺陷分类与测量
- MATLAB Image Processing Toolbox官方教程
评论
共有 条评论