Skip to content

zhangpengk/ISP-pipeline-hdrplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mat

1,Introduce

debug ref

Matlib Is an open source (C / C + +) image algorithm library, It can be used under multiple platforms(Window, Linux, Android), It contains all kinds of conventional image processing algorithms, all functions adopt the underlying optimization technology, include (Neon, Openmp, Linebuf, Mempool, and so on) ,Its performance is faster than OpenCV, The code is only 1M, which is very simplified and has no dependency,It is very convenient to use, We can use the neon instruction on the window platform, Development and use is very friendly, which can quickly integrate developers into their own code.

2,Frame structure

framestucture

Here we briefly describe the core class of mat basic image library (parent class mat. H file) Subclasses contain (MultIntImage, MultiShortImage, MultiUcharImage, MultiUshortImage, SingleUcharImage, Yuv420Image), They contain various basic image processing algorithms, We can use them to process images such as RAW RGB GRAY YUV. For detailed code usage, please refer to the example file.

3,How to compile a project

  • Window platform: We can use vs2017 to compile(open Mat.vcxproj)
  • Linux platform: We can use g++ to compile(/Linux/ build.cmd)
  • Android platform: We can use ndk to compile(/android/Jni/ build.cmd)

4,example for hdrplus

注意事项本算法要求是多帧短曝光raw

测试图片demo下载链接 链接:https://pan.baidu.com/s/1PdGphn8Z5f7zKtkReOgmhg 提取码:aaaa (DecedeCR2.exe文件将.CR2文件解码到.raw文件和生成相关的参数文件.txt,ISPpipeline.exe是一套isp将raw处理到bmp流程) run23detail.png

基于mat hdrplus 框架图

ISPpipeline.png

1,打开网络参数文件

weight.param.png

2,关闭isp种核心三个模块

  • nBlockMatchFusionEnable=0; ValueRange=[0,1,1] 多帧去噪
  • nChromaDenoiseEnable=0; ValueRange=[0,1,1] 去除彩色噪声
  • nTonemappingEnable=0; ValueRange=[0,1,1] 动态范围压缩

如图:

sampleweight.png

3,运行run23.bat

run23.png

Outbmp目录下生成Normalize.bmp如图:

basicispss.png

4,打开网络模块开启上述三个模块如图:

fullweight.png

删除outbmp/Normalize.bmp 再次运行run23.bat

outbmp目录下生成Normalize.bmp图如下:

myispss.png

5,下载hdrplus里面的demo测试结果图项目链接

hdrplusziplianjie.png hdrpluszip.png

6,解压001压缩包找到里面output23.png

hdrplusdemooutdir.png

hdrplus测试结果图

hdrplusout23ss.png

7,三张图整体对比

fullcompare.png

8,三张细节对比

detailcompare.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 53.7%
  • C++ 38.3%
  • Makefile 5.1%
  • CMake 2.8%
  • Other 0.1%