尧图网站建设 尧图网络
  • 首页
  • 关于我们
  • 服务项目
  • 案例展示
  • 建站流程
  • 资讯中心
  • 联系我们
首页/资讯中心/详情

【图像重建】图像超分辨重建MATLAB源代码(迭代步长自适应)matlab代码

【图像重建】图像超分辨重建MATLAB源代码(迭代步长自适应)matlab代码
📅 发布时间:2026/8/3 0:36:24

​1 简介

Multi-image superresolution (SR) techniques produce a high-resolution image from several low-resolution observations. Previous reconstruction-based SR approaches focus more on the optimization models but have not adequately emphasized the mathematic solving techniques for this typically ill-conditioned and under-determined large scale problem. Since step size plays an important role in the iterative SR process, and there is a trade-off between less computation cost and higher accuracy, conven-tional SR methods either adopt a fixed step size to obtain a higher running speed, or use a computationally expensive line search algorithm to pursue an improvement in accuracy. Taking both cues into consideration, in this paper, we propose an adaptive line search strategy to realize the fast convergence of reconstruction-based SR. The approximate analytical expression of step size is introduced to prevent us from setting it empirically or running iterations to test a proper one. We further modify the proposed strategy to be more adaptive under different SR conditions. Using our strategy, one can accelerate the SR process and obtain the optimal solution with less iteration. Experiments are conducted on both synthetic datasets and real-world scenes. Results have demonstrated the effectiveness and outperformance of our proposed strategy compared with other line search strategies.

2 部分代码

clear all clc filename = 'Set'; files = dir(fullfile( filename,'*.bmp')); file_num = 2; % different number corresponds to defferent test images in 'Set' reg_term = 1; %regularization term: 1-BTV, 2-Tikhonov Image =imread([filename,'\',files(file_num).name]); SZ = size(size(Image)); if (SZ(2)==2) % turn grayscale image to RGB image for qw = 1:3 IMAGE (:,:,qw) = Image; end else IMAGE = Image; end %% Image Degradation D = [1,1;-2,1;-1,-3;3,-2]; % Shearing shift Gau = fspecial( 'gaussian', [3 3], 1); % Gaussian bluring kernel spf = 2; % sampling factor sigma2 = 1; % variation of noise LR = ImDegrate(IMAGE,D,Gau,spf,sigma2); % image degradation function %% Turn RGB to YCbCr, and only SR the Y component [~, ~, ~, M] = size(LR); for w = 1:M LR(:,:,:,w) = rgb2ycbcr(uint8( squeeze(LR(:,:,:,w)))); end maxiter = 10; % maximum number of iteration y1(:,:,:) = LR(:,:,1,:); y2(:,:,:) = LR(:,:,2,:); y3(:,:,:) = LR(:,:,3,:); HRitp1 = imresize(y1(:,:,1), spf, 'bicubic'); % bicubic interpolation HRitp1 = ImWarp(HRitp1, -D(1,1), -D(1,2)); % shift recovering I1 = Wang_SR(HRitp1, y1, D, Gau, spf, maxiter, reg_term); %Our proposed SR method HRitp2 = imresize(y2(:,:,1), spf, 'bicubic'); HRitp2 = ImWarp(HRitp2, -D(1,1), -D(1,2)); I2 = HRitp2; HRitp3 = imresize(y3(:,:,1), spf, 'bicubic'); HRitp3 = ImWarp(HRitp3, -D(1,1), -D(1,2)); I3 = HRitp3; ImZ(:, :, 1) = I1; ImZ(:, :, 2) = I2; ImZ(:, :, 3) = I3; ImZ = ycbcr2rgb(uint8( ImZ)); % Turn YCbCr to RGB figure; imshow( uint8( ImZ ) ); title('Wang et al.'); figure; imshow( uint8( IMAGE ) ); title('groundtruth'); %% Evaluation If = double(ImZ); %output image Is = double(IMAGE); %reference image [row,col,~]=size(If); %RMSE rmse=0; for color = 1:3 Ifc = If(:,:,color); Isc = Is(:,:,color); SSE=sum(sum((Ifc-Isc).^2)); rmsec=sqrt(SSE/(row*col)); rmse = rmse+rmsec/3; end rmse %PSNR psnr=0; for color = 1:3 Ifc = If(:,:,color); Isc = Is(:,:,color); maxIs = max(max(Isc)); minIs = min(min(Isc)); PSNRc = 10*log10((row*col*(maxIs-minIs)^2)/sum(sum((Ifc-Isc).^2))); psnr = psnr+PSNRc/3; end psnr %SSIM ssim=0; for color = 1:3 Ifc = uint8(If(:,:,color)); Isc = uint8(Is(:,:,color)); ssimc = cal_ssim(Ifc, Isc, 0, 0); ssim = ssim + ssimc/3; end ssim

3 仿真结果

4 参考文献

[1]朱翚. 利用MATLAB进行图像重建的算法研究[D]. 苏州大学, 2003.

部分理论引用网络文献,若有侵权联系博主删除。

相关新闻

  • 2026深圳美国私校申请避坑指南(高端申请与营销甄别版) - 互联网科技品牌测评
  • 2026长沙考研寄宿优质机构深度盘点——长沙考翼考研凭什么成为本土考生首选? - 资讯综合
  • 2026 年新发布:武冈优秀的添加型光亮剂制造厂怎么联系,把塑料件擦得亮得能照出人脸的那玩意儿,你知道怎么选才不踩坑吗?-广胜橡塑 - 行业推荐官[官方】--

最新新闻

  • Unity虚拟摇杆实现:UGUI事件系统与屏幕自适应全解析
  • 2026年8月揭阳市移动1000M单宽带小白避坑办理全攻略 - 找卡家园
  • 2026年8月陕西省渭南市电信单宽带小白避坑指南 - 找卡家园
  • 2026年8月上海市青浦区移动单宽带小白避坑办理全攻略 - 找卡家园
  • 2026年8月陕西省电信1000M单宽带套餐避坑全攻略 - 找卡家园
  • 开源可观测性的基石:为什么 Grafana 不只是仪表盘,而是 DevOps 的神经中枢

日新闻

  • 112、LLC谐振变换器的输入电压瞬态仿真分析
  • 2026深圳疑难签证办理指南:拒签再签/商务签/高端定制机构怎么选 - 互联网科技品牌测评
  • C-LODOP在Edge等现代浏览器中的部署、适配与实战应用

周新闻

  • 怀化母婴除甲醛公司测甲醛中心怎么选:康之居母婴除甲醛标准、流程、避坑指南 - 信誉隆金银铂奢回收
  • 三步打造你的终极音乐中心:foobox-cn网络电台功能完整指南
  • Lance湖仓格式:为多模态AI工作流设计的终极数据存储方案

月新闻

  • ClickHouse版本管理深度实战:4步构建零风险升级与回滚体系
  • Java 23 种设计模式:从踩坑到精通 | 番外:责任链模式 —— 物流审批流程实战
  • 华硕笔记本性能解放指南:G-Helper轻量级控制工具全面解析

关于尧图

  • 公司简介
  • 团队介绍
  • 企业文化
  • 荣誉资质

服务项目

  • 定制开发
  • 电商建站
  • UI 设计
  • 运维服务

快速链接

  • 案例展示
  • 建站流程
  • 常见问题
  • 资讯中心

联系方式

  • 📍北京市朝阳区互联网产业园 A 座 10 层
  • 📞400-888-8888
  • ✉️contact@rkmt.cn
  • 🕐周一至周日 9:00-21:00

© 2024 北京尧图网络科技有限公司 版权所有 | 京 ICP 备 XXXXXXXX 号