文件名称:hdrmerge
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 43kb
- 下载次数:
- 1次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
HDR图片合成技术,是日本索尼公司图片处理算法。原理是放置两张曝光图片:一张暗和一张亮。经过合成处理生成一张更加接近现实美观的图片。此技术常用于改造照相机
opencv下编译通过,调用方法如下
/*iplImages图片数组,这里有两张:一张曝光亮的,一张曝光暗的*/
HDRMerger hdrMerge = hmCreateMerger(iplImages,length)
/*对齐(解决抖动图片合成错位),第2个参数是宽度,第3个参数是高度*/
hmAlign(hdrMerge, &nw, &nh, NProgressPercent)
hmSetCurve(hdrMerge, CM_PD_BT_709)
hmFusion(hdrMerge)
hmFusionResult(hdrMerge,dst,0,0)
hmDestroyMerger(hdrMerge) -HDR image synthesis, image processing algorithm of the Sony Corporation of Japan. The principle is to place two exposure picture: one dark and one bright. After the synthesis processing to generate a more realistic and beautiful pictures. This technology is commonly used to transform the camera opencv compiler, and call the method is as follows /* array of iplImages picture, there are two: an exposure of bright and a dark exposure of*/HDRMerger, hdrMerge = hmCreateMerger (iplImages, length) /* alignment (to solve the jitter picture synthesis dislocation), the second parameter is the width, the third parameter height of*/hmAlign (hdrMerge, & nw, & nh to find, NProgressPercent) hmSetCurve (hdrMerge, CM_PD_BT_709) hmFusion (hdrMerge) hmFusionResult ( hdrMerge, dst, 0,0) hmDestroyMerger (hdrMerge)
opencv下编译通过,调用方法如下
/*iplImages图片数组,这里有两张:一张曝光亮的,一张曝光暗的*/
HDRMerger hdrMerge = hmCreateMerger(iplImages,length)
/*对齐(解决抖动图片合成错位),第2个参数是宽度,第3个参数是高度*/
hmAlign(hdrMerge, &nw, &nh, NProgressPercent)
hmSetCurve(hdrMerge, CM_PD_BT_709)
hmFusion(hdrMerge)
hmFusionResult(hdrMerge,dst,0,0)
hmDestroyMerger(hdrMerge) -HDR image synthesis, image processing algorithm of the Sony Corporation of Japan. The principle is to place two exposure picture: one dark and one bright. After the synthesis processing to generate a more realistic and beautiful pictures. This technology is commonly used to transform the camera opencv compiler, and call the method is as follows /* array of iplImages picture, there are two: an exposure of bright and a dark exposure of*/HDRMerger, hdrMerge = hmCreateMerger (iplImages, length) /* alignment (to solve the jitter picture synthesis dislocation), the second parameter is the width, the third parameter height of*/hmAlign (hdrMerge, & nw, & nh to find, NProgressPercent) hmSetCurve (hdrMerge, CM_PD_BT_709) hmFusion (hdrMerge) hmFusionResult ( hdrMerge, dst, 0,0) hmDestroyMerger (hdrMerge)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
align
.....\calhg.cpp
.....\calhg.h
.....\resample.hpp
hdrmerge.cpp
hdrmerge.def
hdrmerge.h
hmAlign.cpp
hmAntiGhost.cpp
hmcsmp.cpp
hmcurve.cpp
hmcurve.h
hmdeghost.cpp
hmfusion.cpp
hmm.cpp
hmresult.cpp
hmresult.h
hmspline.cpp
hmspline.h
hmtpl.hpp
hmtype.h
.....\calhg.cpp
.....\calhg.h
.....\resample.hpp
hdrmerge.cpp
hdrmerge.def
hdrmerge.h
hmAlign.cpp
hmAntiGhost.cpp
hmcsmp.cpp
hmcurve.cpp
hmcurve.h
hmdeghost.cpp
hmfusion.cpp
hmm.cpp
hmresult.cpp
hmresult.h
hmspline.cpp
hmspline.h
hmtpl.hpp
hmtype.h