Skip to content

QiuJueqin/fast-openISP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Open Image Signal Processor (fast-openISP)

As told by its name, fast-openISP is a faster re-implementation of the openISP project.

Compared to C-style code in the official openISP repo, fast-openISP uses pure matrix implementations based on Numpy, and increases processing speed over 300 times.

Here is the running time in my Ryzen 7 1700 8-core 3.00GHz machine with the 1920x1080 input Bayer array:

Module openISP fast-openISP
DPC 20.57s 0.30s
BLC 11.75s 0.02s
AAF 16.87s 0.08s
AWB 7.54s 0.02s
CNF 73.99s 0.26s
CFA 40.71s 0.21s
CCM 56.85s 0.07s
GAC 25.71s 0.07s
CSC 60.32s 0.06s
NLM 1600.95s 5.52s
BNF 801.24s 0.77s
EEH 68.60s 0.83s
FCS 25.07s 0.08s
HSC 56.34s 0.07s
BBC 27.92s 0.03s
End-to-end pipeline 2894.41s 8.48s

Algorithms

All modules in fast-openISP reproduce processing algorithms in openISP, except for EEH and BCC modules.

EEH (edge enhancement)

The official openISP uses the difference between the original and the gaussian-filtered Y-channel arrays as the edge map approximation. In fast-openISP, however, we replace gaussian with the bilateral filter, which gets better estimation to the edges, and consequently reduces the artifact when the enhancement gain is large.

BCC (brightness & contrast control)

The official openISP enhances the image contrast by pixel-wise enlarge the difference between pixel values and a constant integer (128). In fast-openISP, we use the median value of the whole frame instead of a constant.

Parameters

Tunable module parameters in fast-openISP are differently named from those in openISP, but they are all self-explained, and no doubt you can easily tell the counterparts in two repos. All parameters are managed in a yaml configuration file, and one yaml for one camera.

Demo

# todo

License

Copyright 2021 Qiu Jueqin.

Licensed under MIT.

About

fast-openISP: a faster re-implementation of openISP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages