【圖像重建】圖像超分辨重建MATLAB源代碼(迭代步長自適應(yīng))matlab代碼
?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 rmse0; for color 1:3 Ifc If(:,:,color); Isc Is(:,:,color); SSEsum(sum((Ifc-Isc).^2)); rmsecsqrt(SSE/(row*col)); rmse rmsermsec/3; end rmse %PSNR psnr0; 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 psnrPSNRc/3; end psnr %SSIM ssim0; for color 1:3 Ifc uint8(If(:,:,color)); Isc uint8(Is(:,:,color)); ssimc cal_ssim(Ifc, Isc, 0, 0); ssim ssim ssimc/3; end ssim3 仿真結(jié)果4 參考文獻[1]朱翚. 利用MATLAB進行圖像重建的算法研究[D]. 蘇州大學(xué), 2003.部分理論引用網(wǎng)絡(luò)文獻若有侵權(quán)聯(lián)系博主刪除。

相關(guān)新聞

AU-48八米拾音的信噪比衰減與降噪門限耦合分析

AU-48八米拾音的信噪比衰減與降噪門限耦合分析

一、"拾音 8 米"這個指標該怎么讀AU-48 的規(guī)格里,麥克風(fēng)拾取范圍寫的是 10cm-800cm,配合 T1/T2 參數(shù)切換可選四檔:中距離 0.5-2m、近距離 0.1-0.2m、遠距離 0.5-5m、超遠距離 0.5-8m。"能拾音 8 米"這句話本身沒錯&#…

2026/8/3 0:07:47 閱讀更多
從提示詞小白到AI內(nèi)容架構(gòu)師(20年技術(shù)老兵的6階能力躍遷圖譜,僅剩最后87個免費解讀名額)

從提示詞小白到AI內(nèi)容架構(gòu)師(20年技術(shù)老兵的6階能力躍遷圖譜,僅剩最后87個免費解讀名額)

更多請點擊: https://codechina.net 第一章:AI寫作能力躍遷的認知革命 過去五年,AI寫作已從“模板填充”邁入“語義共建”階段——模型不再僅復(fù)述訓(xùn)練數(shù)據(jù)中的句式,而是基于跨文檔推理、意圖錨定與風(fēng)格自適應(yīng),動態(tài)構(gòu)建…

2026/8/3 0:07:47 閱讀更多
行為樹與py_trees:從狀態(tài)機到模塊化AI決策的Python實踐

行為樹與py_trees:從狀態(tài)機到模塊化AI決策的Python實踐

1. 從狀態(tài)機到行為樹:為什么我們需要更優(yōu)雅的決策邏輯如果你做過游戲AI、機器人控制或者任何需要復(fù)雜決策邏輯的系統(tǒng),大概率都跟狀態(tài)機打過交道。狀態(tài)機(FSM)是個好東西,直觀、簡單,畫幾個圈圈和箭頭就能把…

2026/8/3 1:17:53 閱讀更多
騰訊鵝蝦平臺:零代碼構(gòu)建AI Agent,無縫集成QQ飛書釘釘

騰訊鵝蝦平臺:零代碼構(gòu)建AI Agent,無縫集成QQ飛書釘釘

1. 項目概述:當(dāng)“養(yǎng)蝦”不再是技術(shù)活 最近,騰訊悄悄上線了一個叫「鵝蝦」的新玩意兒,在圈子里小火了一把。這名字乍一聽有點摸不著頭腦,但如果你最近關(guān)注過AI Agent(智能體)或者企業(yè)辦公自動化,…

2026/8/3 1:17:53 閱讀更多
3分鐘免費下載無損歌詞:163MusicLyrics終極指南

3分鐘免費下載無損歌詞:163MusicLyrics終極指南

3分鐘免費下載無損歌詞:163MusicLyrics終極指南 【免費下載鏈接】163MusicLyrics 云音樂歌詞獲取處理工具【網(wǎng)易云、QQ音樂】 項目地址: https://gitcode.com/GitHub_Trending/16/163MusicLyrics 還在為找不到高質(zhì)量的LRC歌詞而煩惱嗎?163MusicLy…

2026/8/3 1:07:51 閱讀更多
全球僅7家廠商通過ISO/IEC 27001認證的名片AI引擎,我們逆向拆解了它的字段置信度熔斷機制

全球僅7家廠商通過ISO/IEC 27001認證的名片AI引擎,我們逆向拆解了它的字段置信度熔斷機制

更多請點擊: https://kaifayun.com 第一章:全球僅7家廠商通過ISO/IEC 27001認證的名片AI引擎概覽 名片AI引擎是企業(yè)級智能文檔處理的核心組件,專注于高精度OCR、語義結(jié)構(gòu)化提取與跨語言實體對齊。截至2024年第三季度,全球范圍內(nèi)僅…

2026/8/3 0:07:47 閱讀更多
3分鐘搞定!QQ空間歷史說說完整備份終極指南

3分鐘搞定!QQ空間歷史說說完整備份終極指南

3分鐘搞定!QQ空間歷史說說完整備份終極指南 【免費下載鏈接】GetQzonehistory 獲取QQ空間發(fā)布的歷史說說 項目地址: https://gitcode.com/GitHub_Trending/ge/GetQzonehistory 你是否曾想過,那些年發(fā)過的QQ空間說說,那些記錄青春的文字…

2026/8/2 0:04:01 閱讀更多
AMAT 0100-02186 I/O 分配 PCB

AMAT 0100-02186 I/O 分配 PCB

AMAT 0100-02186 I/O分配PCB板是應(yīng)用材料(Applied Materials)公司生產(chǎn)的一款用于半導(dǎo)體設(shè)備的I/O信號分配電路板。該型號(0100-02186)的核心特點如下:專用于Endura等半導(dǎo)體工藝腔室。集成信號路由與分配功能。連接控制…

2026/8/2 2:51:21 閱讀更多
Nissei Corp FFMN-32L-10-T0 40AX 三相異步電動機

Nissei Corp FFMN-32L-10-T0 40AX 三相異步電動機

Nissei Corp FFMN-32L-10-T0 40AX 三相異步電動機是日本日清(Nissei)品牌的一款工業(yè)用三相異步電機,適用于自動化設(shè)備及通用機械驅(qū)動。該型號(FFMN-32L-10-T0 40AX)的核心特點如下:三相交流異步電動機。額定…

2026/8/2 2:52:49 閱讀更多