Skip to content

Instantly share code, notes, and snippets.

View shellqiqi's full-sized avatar

shell7 shellqiqi

  • Nanjing
View GitHub Profile
@shellqiqi
shellqiqi / CLAHE.c
Created November 27, 2017 03:52
Contrast Limited Adaptive Histogram Equalization
/*
* ANSI C code from the article
* "Contrast Limited Adaptive Histogram Equalization"
* by Karel Zuiderveld, karel@cv.ruu.nl
* in "Graphics Gems IV", Academic Press, 1994
*
*
* These functions implement Contrast Limited Adaptive Histogram Equalization.
* The main routine (CLAHE) expects an input image that is stored contiguously in
* memory; the CLAHE output image overwrites the original input image and has the
@shellqiqi
shellqiqi / github.css
Created December 18, 2017 09:02
Style for markdown2pdf
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
body {
font-family: "思源宋体 CN", "Segoe WPC", "Segoe UI", "SFUIText-Light", "HelveticaNeue-Light", sans-serif, "Droid Sans Fallback";
font-size: 14px;
padding: 0 12px;