91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 20.29MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2023-07-03
  • 語言: 其他
  • 標簽: HDR??matlab??

資源簡介

HDR Deghosting: How to deal with Saturation, http://www.cs.duke.edu/~junhu/CVPR2013/

資源截圖

代碼片段和文件信息

clear;

warning(‘off‘‘all‘);
addpath(‘utils‘);
addpath(‘patchmatch-2.1‘);
patha?=?‘Data‘;

firstdir?=?dir(patha);
for?indx?=?3:size(firstdir1)

????subpatha?=?[patha?‘/‘?firstdir(indx).name];????
????subdir???=?dir(subpatha);
????
????close?all;
????clear?im;
?
????count?=?0;????
????for?inds?=?3:length(subdir)
????????
????????[~~extension]?=?fileparts(subdir(inds).name);
????????extension?=?upper(extension);
????????
????????switch?extension
????????????case?{‘.PNG‘?‘.BMP‘?‘.JPG‘?‘.TIF‘?‘.TIFF‘}????????????????

?????????????????count???????????=?count?+?1;
?????????????????imgStack{count}?=?imread([subpatha?‘/‘?subdir(inds).name]);
?????????????????
?????????????????if?max(size(imgStack{count}))?>?1600
?????????????????????ratio???????????=?max(size(imgStack{count}1)?...
???????????????????????????????????????size(imgStack{count}2))?/?1600;
?????????????????????imgStack{count}?=?imresize(imgStack{count}?1/ratio);??????????????????????????????????????
?????????????????end
?????????????????
?????????????????if?isimg(imgStack{count})
?????????????????????
?????????????????????if?isa(imgStack{count}?‘uint16‘)
?????????????????????????imgStack{count}?=?uint8(?double(imgStack{count})?*?255?/?(2^16?-?1));?????????????????????????
?????????????????????elseif?isa(imgStack{count}?‘double‘)
?????????????????????????imgStack{count}?=?uint8(?imgStack{count}?*?255);?????????????????????????
?????????????????????end
?????????????????????
?????????????????else
?????????????????????error(‘Invalid?Img?Type!‘);
?????????????????end
?????????????????
????????????otherwise
????????end
????????
????end
????
????N??????????????????=?numel(imgStack);???
????uv?????????????????=?cell(N1);
????latentImgs?????????=?cell(N1);
????ppIMFs?????????????=?cell(N1);
????invppIMFs??????????=?cell(N1);????
????
????idxRef?????????????=?ceil(count/2);????
????latentImgs{idxRef}?=?imgStack{idxRef};????
????idxPostRef?????????=?idxRef?+?1;
????idxPreRef??????????=?idxRef?-?1;
????keepRun????????????=?true;
????
????tic;????????
????
????while?keepRun

????????if?idxPreRef?>=?1
????????????idxRef?=?idxPreRef?+?1;
????????????idxSrc?=?idxPreRef;
????????????
????????????fprintf(1?‘Processing?img?%d?and?img?%d?:?Finish?0/6‘?idxRef?idxSrc);
????????????
????????????tempSrc???=?imgStack{idxSrc};
????????????tempRef???=?latentImgs{idxRef};
????????????[uv{idxSrc}?latentImgs{idxSrc}?ppIMFs{idxSrc}?invppIMFs{idxSrc}]?...
??????????????????????=?computemultiscale(tempSrctempRef);????????????
????????????idxPreRef?=?idxPreRef?-?1;
????????end???????????
????????
????????fprintf(‘\n‘);
????????
????????if?idxPostRef?<=?N
????????????idxRef?=?idxPostRef?-?1;
????????????idxSrc?=?idxPostRef;
????????????
????????????fprintf(1?‘Processing?img?%d?and?img?%d?:?Finish?0/6‘?idxRef?idxSrc);????????????
????????????
????????????tempSrc????=?imgStack{idxSrc};
????????????tempRef????=?latentImgs{idxRef};????????????
????????????[uv{idxSrc}?latentImgs{idxSrc}?ppIMFs{idxSrc}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2115??2012-11-13?16:11??version_0.0\patchmatch-2.1\CVS\Entries
?????文件??????????52??2012-11-04?20:55??version_0.0\patchmatch-2.1\CVS\Root
?????文件??????????38??2012-11-04?20:55??version_0.0\patchmatch-2.1\CVS\Repository
?????文件?????8108776??2012-11-21?21:28??version_0.0\Data\Lady\Img1.jpg
?????文件?????8026285??2012-11-21?21:29??version_0.0\Data\Lady\Img2.jpg
?????文件?????5267062??2012-11-21?21:29??version_0.0\Data\Lady\Img3.jpg
?????文件????????5012??2013-08-05?09:25??version_0.0\utils\computemultiscale.m
?????文件????????2828??2013-08-05?09:32??version_0.0\utils\computeimfhist.m
?????文件????????1940??2013-08-05?09:26??version_0.0\utils\computepyramid.m
?????文件????????1106??2013-08-05?09:28??version_0.0\utils\transfercolor.m
?????文件????????9821??2013-08-05?09:31??version_0.0\utils\computeimfIRLS.m
?????文件????????1004??2013-08-05?09:28??version_0.0\utils\solvescreenedpossion.m
?????文件?????????983??2013-08-04?21:56??version_0.0\utils\imshowstack.m
?????文件??????????85??2013-08-04?21:56??version_0.0\utils\isequalsize.m
?????文件????????1535??2013-08-05?09:32??version_0.0\utils\computehisteqnnf.m
?????文件????????4266??2013-08-05?06:07??version_0.0\utils\computesinglescale.m
?????文件?????????292??2013-08-05?07:02??version_0.0\utils\isimg.m
?????文件????????1698??2012-11-10?19:26??version_0.0\patchmatch-2.1\patchdist.cpp
?????文件????????1447??2012-11-10?19:32??version_0.0\patchmatch-2.1\patchdist.m
?????文件????????1561??2012-11-10?19:46??version_0.0\patchmatch-2.1\build_unix.sh
?????文件???????15364??2012-08-13?19:25??version_0.0\patchmatch-2.1\.DS_Store
?????文件????????1893??2012-08-24?15:15??version_0.0\patchmatch-2.1\allegro_emu.cpp
?????文件????????1185??2012-08-24?22:38??version_0.0\patchmatch-2.1\allegro_emu.h
?????文件?????????782??2012-08-13?19:25??version_0.0\patchmatch-2.1\build_mac.m
?????文件?????????824??2012-08-13?19:25??version_0.0\patchmatch-2.1\build_windows.bat
?????文件????????3051??2012-08-13?19:25??version_0.0\patchmatch-2.1\console_test_descriptor_mex.m
?????文件?????????929??2012-08-13?19:25??version_0.0\patchmatch-2.1\console_test_knn.m
?????文件????????2817??2012-08-13?19:25??version_0.0\patchmatch-2.1\console_test_mex.m
?????文件?????????411??2012-08-13?19:25??version_0.0\patchmatch-2.1\console_test_rot_scale.m
?????文件??????247429??2012-08-24?22:38??version_0.0\patchmatch-2.1\knn.cpp
?????文件????????6307??2012-08-24?22:38??version_0.0\patchmatch-2.1\knn.h
............此處省略34個文件信息

評論

共有 條評論