资源简介

图像三维重建 matlab环境 可用于各种图像

资源截图

代码片段和文件信息

function index_of_peak_correlation = best_correlation_index(indices_by_radius params)
%BEST_CORRELATION_INDEX tells which of the indices (which correspond to 
%angular rotations) is the best one to use.  Different radii are
%more important than others because the onese at the center have too little
%data to be of use.  WEIGHTS correct for this by making the middle values
%of radius the most important.
%
number_of_radii = length(indices_by_radius);
weights = round([1:number_of_radii] .* (1 - cos([1:number_of_radii] * 2 * pi / number_of_radii)) / 2);

votes = [];
for j = 1 : number_of_radii
    votes = [votes repmat(indices_by_radius(j) [1 weights(j)])];
end

n = hist(votes[1: params.number_angular_divisions]);

index_of_peak_correlation = min(find(n == max(n)));
%min g

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1459  2002-07-30 14:11  Three-dimensional reconstruction\best_correlation_index.m

     文件       8711  2002-05-20 11:49  Three-dimensional reconstruction\dowel01.jpg

     文件       8296  2002-05-20 11:49  Three-dimensional reconstruction\dowel02.jpg

     文件       1445  2002-05-20 16:39  Three-dimensional reconstruction\image2angularintesity.m

     文件         86  2002-05-20 11:49  Three-dimensional reconstruction\isodd.m

     文件       1551  2009-12-23 13:54  Three-dimensional reconstruction\license.txt

     文件      27504  2002-07-30 14:04  Three-dimensional reconstruction\main.html

     文件       9214  2002-07-30 14:03  Three-dimensional reconstruction\main.m

     文件      81063  2002-05-21 10:02  Three-dimensional reconstruction\main_img01.jpg

     文件      84359  2002-05-21 10:02  Three-dimensional reconstruction\main_img02.jpg

     文件      39567  2002-05-21 10:02  Three-dimensional reconstruction\main_img03.jpg

     文件     129924  2002-05-21 10:02  Three-dimensional reconstruction\main_img04.jpg

     文件     130328  2002-05-21 10:02  Three-dimensional reconstruction\main_img05.jpg

     文件     124420  2002-05-21 10:02  Three-dimensional reconstruction\main_img07.jpg

     文件      34153  2002-05-21 10:02  Three-dimensional reconstruction\main_img08.jpg

     文件      74887  2002-05-21 10:02  Three-dimensional reconstruction\main_img09.jpg

     文件        256  2002-05-20 16:41  Three-dimensional reconstruction\make_odd_by_odd.m

     文件        928  2002-05-21 10:02  Three-dimensional reconstruction\readme.txt

    ..A.SH.     32256  2010-01-16 13:52  Three-dimensional reconstruction\Thumbs.db

     目录          0  2010-01-16 13:51  Three-dimensional reconstruction

----------- ---------  ---------- -----  ----

               790407                    20


评论

共有 条评论