資源簡介
這是經(jīng)典的高光去除算法
代碼片段和文件信息
#include?“qx_basic.h“
void?qx_timer::start(){ m_begin=clock();}
float?qx_timer::stop(){?m_end=clock();?return?(?float(m_end-m_begin)/CLOCKS_PER_SEC?);}
void?qx_timer::time_display(char?*disp){?printf(“Running?time?(%s)?is:?%5.5f?Seconds.\n“dispstop());}
void?qx_timer::fps_display(char?*disp){?printf(“Running?time?(%s)?is:?%5.5f?frame?per?second.\n“disp1.0f/stop());}
void?boxcar_sliding_window_x(double?*outdouble?*inint?hint?wint?radius)
{
????double?scale?=?1.0f?/?(2*radius+1);????
????for?(int?y?=?0;?y?????????double?t;
????????//?do?left?edge
????????t?=?in[y*w]?*?radius;
????????for?(int?x?=?0;?x?????????????t?+=?in[y*w+x];
????????}
????????out[y*w]?=?t?*?scale;
????????for(int?x?=?1;?x?????????????int?c?=?y
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-06-26?00:21??ECCV_10_supplementary_material\images\
?????文件??????960038??2010-02-09?15:07??ECCV_10_supplementary_material\images\circle.ppm
?????文件?????2487844??2008-10-18?21:46??ECCV_10_supplementary_material\images\fish.ppm
?????文件??????163628??2009-03-15?21:08??ECCV_10_supplementary_material\images\head.ppm
?????文件?????1896657??2010-03-18?19:14??ECCV_10_supplementary_material\images\pear.ppm
?????文件??????120038??2010-02-09?22:40??ECCV_10_supplementary_material\images\synth.ppm
?????文件?????1196667??2009-01-13?01:39??ECCV_10_supplementary_material\images\toys.ppm
?????文件?????????382??2010-06-09?14:46??ECCV_10_supplementary_material\qx_highlight_removal_bf.bat
?????文件???????32768??2010-03-19?00:45??ECCV_10_supplementary_material\qx_highlight_removal_bf.exe
?????文件?????????840??2010-03-22?18:19??ECCV_10_supplementary_material\Readme.txt
?????目錄???????????0??2010-06-26?00:23??ECCV_10_supplementary_material\source?code\
?????文件????????7614??2010-03-19?00:29??ECCV_10_supplementary_material\source?code\qx_basic.cpp
?????文件????????8938??2010-06-09?14:38??ECCV_10_supplementary_material\source?code\qx_basic.h
?????文件????????8688??2010-03-19?13:05??ECCV_10_supplementary_material\source?code\qx_ctbf_ss.cpp
?????文件????????2389??2010-06-09?14:38??ECCV_10_supplementary_material\source?code\qx_ctbf_ss.h
?????文件????????7511??2010-06-09?14:39??ECCV_10_supplementary_material\source?code\qx_highlight_removal_bf.cpp
?????文件????????1771??2010-06-26?00:22??ECCV_10_supplementary_material\source?code\qx_highlight_removal_bf.h
?????文件????????1127??2010-06-09?14:42??ECCV_10_supplementary_material\source?code\qx_highlight_removal_bf_main.cpp
?????文件?????????957??2010-06-09?14:37??ECCV_10_supplementary_material\source?code\qx_highlight_removal_using_bilateral_filtering.sln
?????文件???????19968??2010-06-26?00:23??ECCV_10_supplementary_material\source?code\qx_highlight_removal_using_bilateral_filtering.suo
?????文件????????4139??2010-06-09?14:41??ECCV_10_supplementary_material\source?code\qx_highlight_removal_using_bilateral_filtering.vcproj
?????文件????????1429??2010-06-09?14:42??ECCV_10_supplementary_material\source?code\qx_highlight_removal_using_bilateral_filtering.vcproj.ADOBENET.qinyang.user
?????文件????????1417??2010-06-26?00:23??ECCV_10_supplementary_material\source?code\qx_highlight_removal_using_bilateral_filtering.vcproj.rover3d.liiton.user
?????文件???????26112??2010-03-19?00:18??ECCV_10_supplementary_material\source?code\qx_ppm.cpp
?????文件????????4680??2010-06-09?14:38??ECCV_10_supplementary_material\source?code\qx_ppm.h
?????文件?????????547??2010-06-09?14:44??ECCV_10_supplementary_material\source?code\readme.txt
評論
共有 條評論