Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

fast-openISP: a faster re-implementation of openISP

NotificationsYou must be signed in to change notification settings

QiuJueqin/fast-openISP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

As told by its name, fast-openISP is afaster (and bugs-fixed) re-implementation oftheopenISP project.

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

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

ModuleopenISPfast-openISP
DPC20.57s0.29s
BLC11.75s0.02s
AAF16.87s0.08s
AWB7.54s0.02s
CNF73.99s0.25s
CFA40.71s0.20s
CCM56.85s0.06s
GAC25.71s0.07s
CSC60.32s0.06s
NLM1600.95s5.37s
BNF801.24s0.75s
CEH*-0.14s
EEH68.60s0.24s
FCS25.07s0.08s
HSC56.34s0.07s
BBC27.92s0.03s
End-to-end pipeline2894.41s7.82s

* CEH module is not included in the official openISP pipeline.

Usage

Clone this repo and run

python demo.py

The ISP outputs will be saved to./output directory.

The only required package for pipeline execution isnumpy.opencv-python andscikit-image are required only fordata IO.

Algorithms

All modules in fast-openISPreproduceprocessing algorithmsin openISP, except for EEH and BCC modules. In addition, a CEH (contrast enhancement) module withCLAHE isadded into the fast-openISP pipeline.

EEH (edge enhancement)

The official openISP usesanasymmetric kernelto extract edge map. In fast-openISP, however, we use the subtraction between the original and the gaussian filteredY-channel as the edge estimation, which reduces the artifact when the enhancement gain is large.

BCC (brightness & contrast control)

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

Parameters

Tunable 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 yamlin./configs, one file per camera.

Demo

Bayer Input
CFA Interpolation
Color Correction
Gamma Correction
Non-local Means & Bilateral Filter
Contrast Enhancement
Edge Enhancement
Hue & Saturation Control
Brightness & Contrast Control

License

Copyright 2021 Qiu Jueqin.

Licensed underMIT.

About

fast-openISP: a faster re-implementation of openISP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp