Git Product home page Git Product logo

isp-pipeline-hdrplus's Issues

不能正常解析raw文件

你好,
图像raw数据使用云盘文件夹surperlowlight/demo下,weight.param使用工程data目录下的。在vs编译运行后,发现解析raw失败。截图如下
image

Invalid demo data

The link to the test data is expired. Could you please offer a new one?

How to integrate this algo to Android platfrom?

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.

"Any documents for ISP algo"

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.

DecodeCR2 issues:terminate called after throwing an instance of 'std::out_of_range' , compile and run on ubuntu18.04

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!

没有降噪模块?

你好!最近在看HDR相关降噪的,但是好像没见到您在程序种有相关降噪的代码!看您样例中降噪效果挺好的,望从您这里得到一定的思路,不一定要代码,论文就好!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.