• 大小: 66KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: Matlab
  • 标签: matlab  超分辨率  

资源简介

为matlab源码,实现了超分辨率图像重建算法。

资源截图

代码片段和文件信息

function [ A ] = Aconstruction( moviesResol_xResol_yResol_tT_Mat)
%ACONSTRUCTION constructs the matrix                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
%  Detailed explanation goes here

% num_of_movies=length(movies);
% for movie_num=1:num_of_movies
%     info=aviinfo(movies(movie_num));
%     duration(movie_num)=info.Numframes;
%     width(movie_num)=info.Width;
%     height(movie_num)=info.Height;
% end

[num_of_movies movies_info]=GetMoviesInfo(movies);
lin=0;
write2line=0;
A=[0 0 0];
alot=5;
for movie_num=1:num_of_movies
    lin=lin+1;

    for yL=1:movies_info(movie_num).Height
        for xL=1:movies_info(movie_num).Width
            for tL=1:movies_info(movie_num).Numframes
                
                column=0;

                for y=1:Resol_y
                    for x=1:Resol_x
                        for t=1:Resol_t

                            column=column+1
                            p=[xyt];
                            ph=Ti(xLyLtLmovie_num1T_Mat);
                            val=B(p-phmovie_numT_Mat);
                            if ~(val<10^-alot)
                                write2line=write2line+1;
                                A(write2line:)=[lin column val]
                            end
                            
                        end
                    end
                end
                
            end
        end
    end
    
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       15360  2004-03-07 21:35  1.xls
     文件        2087  2003-12-04 12:43  Aconstruction.m
     文件        3527  2003-12-10 22:12  Aconstruction2.m
     文件        3818  2003-12-22 20:52  Aconstruction3.m
     文件       12860  2004-01-16 15:42  Aconstruction4.m
     文件       12148  2004-01-12 13:08  Aconstruction4BACKUP.m
     文件       13178  2004-03-03 13:59  Aconstruction5.m
     文件       12917  2004-03-04 19:36  Aconstruction6.m
     文件       12248  2004-03-29 17:50  Aconstruction7.m
     文件        2285  2004-03-01 22:12  AconstructionBrute.m
     文件         614  2004-03-29 17:51  Bi.m
     文件         972  2004-03-04 11:24  Bi_old.m
     文件       14848  2004-03-07 13:43  book.xls
     文件       15360  2004-03-07 15:06  book01.xls
     文件       17920  2004-03-07 17:46  book02.xls
     文件       18944  2004-03-07 19:18  book04.xls
     文件       18944  2004-03-07 19:19  book05.xls
     文件         780  2003-12-22 19:39  Calculate_Line_Stop_At_Non_Zero.m
     文件         143  2004-01-28 23:55  checkA.m
     文件         273  2004-01-14 21:17  checkLSQLIN.m
     文件         382  2004-03-08 19:15  create_movie.m
     文件         761  2003-11-26 10:01  Decimate4.m
     文件         187  2003-12-04 12:30  delta.m
     文件         446  2004-03-04 16:51  gau.m
     文件         176  2004-03-03 17:02  gau_old.m
     文件         289  2004-03-29 18:31  GetMoviesInfo.m
     文件         204  2004-03-04 20:07  GetMoviesInfo_old.m
     文件         325  2004-01-12 14:53  h_2_movie.m
     文件        1391  2004-03-29 18:34  IntervalCalc.m
     文件       15872  2004-03-08 13:09  len.xls
     文件        1604  2004-03-03 20:43  MakeMovies.m
............此处省略35个文件信息

评论

共有 条评论