jhfmat / isp-pipeline-hdrplus Goto Github PK
View Code? Open in Web Editor NEWDenoise,HDR,Isppipeline,Image-processing(图形处理),camera, Isp ,HDRplus
Denoise,HDR,Isppipeline,Image-processing(图形处理),camera, Isp ,HDRplus
vs2019
Debug+X64
编译过程 提示 错误 : 无法打开文件“BasicMem.lib”
BasicMem.lib
turbojpeg-static.lib
jpeg-static.lib
这三个静态库都没有啊?
Hello,
I am very interesting for your isp jobs. And I have two question to request for your help. 1) For Isp pipe surperlowlight,there are mudules like raw denoise\len shading,but I can not find those implement in code. 2) whether there are isp algo documents for isp pipeline. Thanks.
在QQ上搜索没有搜到
@jhfmat hi, brother , Could you offer a "weight.param" of your demo for surperlowlight? it is hard to run the surperlowlight demo just a screenshort
If grayscale images are used as input, where does the algorithm need to be changed?
Hi sir,
I want to integrate the HDR algo to my Camera App on the Android,but I dnot know how to complie this project and what parameters needed? how to use the configure file ?
I trying to run ndk-build command at folder:
ISP-pipeline-hdrplus/Mat/Android/jni$ ls Android.mk Application.mk build.cmd
ISP-pipeline-hdrplus/Mat/Android/jni$ ndk-build
but there are many error:
/home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/Android.mk:19: "TARGET_ARCH_ABI = arm64-v8a" [arm64-v8a] Compile++ : Mat <= MathFunction.cpp [arm64-v8a] Compile++ : Mat <= Common.cpp In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:1: In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.h:4: /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:268:11: error: called object type 'float' is not a function or function pointer tmp = min(R, G); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:269:11: error: called object type 'float' is not a function or function pointer min = min(tmp, B); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:270:11: error: called object type 'float' is not a function or function pointer tmp = max(R, G); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:271:11: error: called object type 'float' is not a function or function pointer max = max(tmp, B); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2619:43: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][0] + pIn[6][0])*k[0] + (pIn[1][0] + pIn[5][0]) *k[1] + (pIn[2][0] + pIn[4][0]) *k[2] + pIn[3][0] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2619:75: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][0] + pIn[6][0])*k[0] + (pIn[1][0] + pIn[5][0]) *k[1] + (pIn[2][0] + pIn[4][0]) *k[2] + pIn[3][0] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2619:107: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][0] + pIn[6][0])*k[0] + (pIn[1][0] + pIn[5][0]) *k[1] + (pIn[2][0] + pIn[4][0]) *k[2] + pIn[3][0] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2619:126: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][0] + pIn[6][0])*k[0] + (pIn[1][0] + pIn[5][0]) *k[1] + (pIn[2][0] + pIn[4][0]) *k[2] + pIn[3][0] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2620:43: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][1] + pIn[6][1])*k[0] + (pIn[1][1] + pIn[5][1]) *k[1] + (pIn[2][1] + pIn[4][1]) *k[2] + pIn[3][1] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2620:75: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][1] + pIn[6][1])*k[0] + (pIn[1][1] + pIn[5][1]) *k[1] + (pIn[2][1] + pIn[4][1]) *k[2] + pIn[3][1] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2620:107: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][1] + pIn[6][1])*k[0] + (pIn[1][1] + pIn[5][1]) *k[1] + (pIn[2][1] + pIn[4][1]) *k[2] + pIn[3][1] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2620:126: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][1] + pIn[6][1])*k[0] + (pIn[1][1] + pIn[5][1]) *k[1] + (pIn[2][1] + pIn[4][1]) *k[2] + pIn[3][1] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2621:43: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][2] + pIn[6][2])*k[0] + (pIn[1][2] + pIn[5][2]) *k[1] + (pIn[2][2] + pIn[4][2]) *k[2] + pIn[3][2] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2621:75: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][2] + pIn[6][2])*k[0] + (pIn[1][2] + pIn[5][2]) *k[1] + (pIn[2][2] + pIn[4][2]) *k[2] + pIn[3][2] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2621:107: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][2] + pIn[6][2])*k[0] + (pIn[1][2] + pIn[5][2]) *k[1] + (pIn[2][2] + pIn[4][2]) *k[2] + pIn[3][2] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2621:126: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][2] + pIn[6][2])*k[0] + (pIn[1][2] + pIn[5][2]) *k[1] + (pIn[2][2] + pIn[4][2]) *k[2] + pIn[3][2] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2622:43: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][3] + pIn[6][3])*k[0] + (pIn[1][3] + pIn[5][3]) *k[1] + (pIn[2][3] + pIn[4][3]) *k[2] + pIn[3][3] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2622:75: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][3] + pIn[6][3])*k[0] + (pIn[1][3] + pIn[5][3]) *k[1] + (pIn[2][3] + pIn[4][3]) *k[2] + pIn[3][3] * k[3]; ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Common.cpp:2622:107: error: use of undeclared identifier 'k' *(pOutLine++) = (pIn[0][3] + pIn[6][3])*k[0] + (pIn[1][3] + pIn[5][3]) *k[1] + (pIn[2][3] + pIn[4][3]) *k[2] + pIn[3][3] * k[3]; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [/home/fup/dsoft/sdk/ndk/21.4.7075529/build/core/build-binary.mk:478: /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/obj/local/arm64-v8a/objs/Mat/__/__/__/Mat/Common.o] Error 1 make: *** Waiting for unfinished jobs.... [arm64-v8a] Compile++ : Mat <= MultiUcharImage.cpp In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.cpp:1: In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.h:3: In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Mat.h:3: /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:268:11: error: called object type 'float' is not a function or function pointer tmp = min(R, G); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:269:11: error: called object type 'float' is not a function or function pointer min = min(tmp, B); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:270:11: error: called object type 'float' is not a function or function pointer tmp = max(R, G); ~~~^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:271:11: error: called object type 'float' is not a function or function pointer max = max(tmp, B); ~~~^ In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.cpp:1: In file included from /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.h:3: /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Mat.h:683:18: error: declaration of 'T' shadows template parameter template <class T> ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Mat.h:680:17: note: template parameter is declared here template <class T> ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Mat.h:686:19: error: declaration of 'T' shadows template parameter template <class T> ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/Mat.h:683:18: note: template parameter is declared here template <class T> ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.cpp:155:4: error: no matching function for call to 'RGBToHSVf' RGBToHSVf((float)RGB[0], (float)RGB[1], (float)RGB[2], (float)tmpHSV[0], (float)tmpHSV[1], (float)tmpHSV[2]); ^~~~~~~~~ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:262:13: note: candidate function not viable: expects an l-value for 4th argument inline void RGBToHSVf(float R, float G, float B, float& H, float& S, float&V) ^ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/MultiUcharImage.cpp:186:4: error: no matching function for call to 'RGBToHSVf' RGBToHSVf((float)RGB[0], (float)RGB[1], (float)RGB[2], (float)tmpHSV[0], (float)tmpHSV[1], (float)tmpHSV[2]); ^~~~~~~~~ /home/fup/data/workspace/ISP-pipeline-hdrplus/Mat/Android/jni/../../../Mat/SubFunction.h:262:13: note: candidate function not viable: expects an l-value for 4th argument inline void RGBToHSVf(float R, float G, float B, float& H, float& S, float&V)
Can you help me?
Thanks.
Hello @jhfmat ,i compile the DecodeCR2.cpp, and i want to convert *.CR2 file to *.raw file and generate the meta text, i have succesfully compiled the sorce code, but when i run the command: "./Decodecr2 ../imgs/burst22_0.CR2 ../imgs/1.raw ../imgs/1.txt ", i get the error:
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Aborted (core dumped)
following is the output of terminal:
raw_width, raw_height==9305 9304
left, top==9309 9308
0.000000
0.000000
0.000000
wb rgb gain(-nan,1.000000,-nan)
[0.000000,0.000000,0.000000,
[0.000000,0.000000,0.000000,
[0.000000,0.000000,0.000000,
ae sensorSensitivity(iso): 0
exposure(ns): 0
BLC: 0
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Aborted (core dumped)
The second issue: the demo images can not been download, because of the number of link visitors reaches the line, could you reply a new demo images download link? thank you very much!
qq群是解散了吗,为什么搜不到阿?
你好!最近在看HDR相关降噪的,但是好像没见到您在程序种有相关降噪的代码!看您样例中降噪效果挺好的,望从您这里得到一定的思路,不一定要代码,论文就好!
The link to the test data is expired. Could you please offer a new one?
在您的代码里没有找到多帧融合的代码了,能分享一下原理和代码吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.