color transfer 颜色转化


代码中实现了两个用于颜色转化的论文 1.《Color Transfer Between Images》对应类HistogramCT.h 2.《Color Transfer Based on Normalized Cumulative Hue Histograms》对应类HistogramCT.h
资源截图
代码片段和文件信息
// cv_hw2_ColorTransfer.cpp : Defines the entry point for the console application.
#include “stdafx.h“
#include 
#include “ReinHardCT.h“
#include “HistogramCT.h“

int _tmain(int argc _TCHAR* argv[])
{
freopen( “out.out“ “w“ stdout );
ReinHardCT reinhardCT;
if ( reinhardCT.LoadImage( “input_s.png“ “input_t.png“ ) )
{
reinhardCT.Solve();
}
HistogramCT histogramCT;
if ( histogramCT.LoadImage( “input_s.png“ “input_t.png“ ) )
{
histogramCT.Solve();
}
cvWaitKey(0);
return 0;
}


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

     文件        530  2011-12-02 15:10  cv_hw2_ColorTransfercv_hw2_ColorTransfer.cpp

     文件       5226  2011-12-02 14:52  cv_hw2_ColorTransfercv_hw2_ColorTransfer.vcproj

     文件       1413  2011-12-06 16:54  cv_hw2_ColorTransfercv_hw2_ColorTransfer.vcproj.net35-PC.net 3.5.user

     文件       3546  2011-12-06 16:52  cv_hw2_ColorTransferHistogramCT.cpp

     文件        966  2011-12-06 16:27  cv_hw2_ColorTransferHistogramCT.h

     文件     164006  2011-12-01 20:56  cv_hw2_ColorTransferinput_s.png

     文件     105521  2011-12-01 20:56  cv_hw2_ColorTransferinput_t.png

     文件    8488560  2011-12-06 16:53  cv_hw2_ColorTransferout.out

     文件     193331  2011-12-06 16:52  cv_hw2_ColorTransferoutput_1.png

     文件     190555  2011-12-06 16:52  cv_hw2_ColorTransferoutput_2.png

     文件       1384  2011-12-01 12:16  cv_hw2_ColorTransferReadMe.txt

     文件       8022  2011-12-06 16:22  cv_hw2_ColorTransferReinHardCT.cpp

     文件       1471  2011-12-06 16:26  cv_hw2_ColorTransferReinHardCT.h

     文件      10192  2011-12-06 16:52  cv_hw2_ColorTransferReleaseBuildLog.htm

     文件        383  2011-12-06 16:52  cv_hw2_ColorTransferReleasecv_hw2_ColorTransfer.exe.intermediate.manifest

     文件    1061004  2011-12-06 16:52  cv_hw2_ColorTransferReleasecv_hw2_ColorTransfer.obj

     文件    1048576  2011-12-05 20:55  cv_hw2_ColorTransferReleasecv_hw2_ColorTransfer.pch

     文件    1059968  2011-12-06 16:52  cv_hw2_ColorTransferReleaseHistogramCT.obj

     文件         67  2011-12-06 16:52  cv_hw2_ColorTransferReleasemt.dep

     文件    1090197  2011-12-06 16:52  cv_hw2_ColorTransferReleaseReinHardCT.obj

     文件      29621  2011-12-05 20:55  cv_hw2_ColorTransferReleasestdafx.obj

     文件     478208  2011-12-06 16:52  cv_hw2_ColorTransferReleasevc80.idb

     文件     454656  2011-12-06 16:52  cv_hw2_ColorTransferReleasevc80.pdb

     文件        307  2011-12-01 12:16  cv_hw2_ColorTransferstdafx.cpp

     文件        516  2011-12-01 12:16  cv_hw2_ColorTransferstdafx.h

     文件       1632  2004-11-21 20:22  WmlMathincludeDirectImportWmlBandedMatrix.h

     文件       8102  2004-11-21 20:22  WmlMathincludeDirectImportWmlBandedMatrix.inl

     文件       4806  2004-11-21 20:22  WmlMathincludeDirectImportWmlGMatrix.h

     文件      17985  2004-11-21 20:22  WmlMathincludeDirectImportWmlGMatrix.inl

     文件       2245  2004-11-21 20:22  WmlMathincludeDirectImportWmlGVector.h

............此处省略158个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)