AnsweredAssumed Answered

How to run SoftISP ?

Question asked by 矢羽田 崇 on Mar 6, 2019
Latest reply on Mar 12, 2019 by 矢羽田 崇

I am trying SoftISP on Linux (4.14.78_1.0.0) on imx8mqevk. It is installed under /opt/imx-gpu-sdk/OpenCL/SoftISP.
I just type ./SoftISP then it apparently makes 4 files (0-SourceImage.bmp, 1-RemoveBadPixel.bmp, 2-WhiteBalance.bmp, 3-Equalization.bmp) but they are not image files.
It always outputs files as bmp, the option --ScreenshotFormat jpg does not work.

 

root@imx8mqevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ./SoftISP
Denoise status: 0
Initializing device(s)...
Get the Device info and select Device...
# of Devices Available = 1
# of Compute Units = 1
# compute units = 1
Getting device id...
Creating Command Queue...
Creating kernels...
Please wait for compiling and building kernels, about one minute...
Kernel execution time on GPU (kernel: badpixel): 27.198 ms
Kernel execution time on GPU (kernel: sigma): 1.309 ms
Kernel execution time on GPU (kernel: awb): 1.892 ms
Kernel execution time on GPU (kernel: equalize1): 31.618 ms
Kernel execution time on GPU (kernel: equalize2): 1.586 ms
Kernel execution time on GPU (kernel: equalize3): 3.291 ms
Kernel execution time on GPU (kernel: debayer): 21.86 ms
Saving images...
root@imx8mqevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ls -la
total 26372
drwxr-xr-x 3 root root 4096 Nov 25 23:28 .
drwxr-xr-x 5 root root 4096 Dec 4 2018 ..
-rw-r--r-- 1 root root 1231 Dec 4 2018 .AppInfo.json
-rw-r--r-- 1 root root 6220854 Nov 25 23:28 0-SourceImage.bmp
-rw-r--r-- 1 root root 6220854 Nov 25 23:28 1-RemoveBadPixel.bmp
-rw-r--r-- 1 root root 6220854 Nov 25 23:28 2-WhiteBalance.bmp
-rw-r--r-- 1 root root 6220854 Nov 25 23:28 3-Equalization.bmp
drwxr-xr-x 2 root root 4096 Dec 4 2018 Content
-rwxr-x--- 1 root root 449824 Nov 26 2018 Example.jpg
-rwxr-xr-x 1 root root 1646744 Dec 4 2018 SoftISP


I have read AN12060 but it does not describe how to run it.
Would you tell me how to run SoftISP properly ?

Outcomes