• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    Python
  • Created about 6 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some histogram equalization methods to enhance image contrast, including AHE and CLAHE.

histogram_equalization

Some histogram equalization methods to enhance image contrast, including AHE and CLAHE.

  • 知乎链接
  • 代码架构
  • 方法
    • ImageOps HE
    • HE
    • AHE
    • CLAHE
    • Local Region Stretch HE
  • 结果展示

知乎(zhihu)链接

代码架构

  • contrast.py 各种直方图均衡化实现的脚本,ImageContraster类
  • main.py 测试,使用方法参考main.py
  • python3.6

方法

  • 代码实现了五种直方图均衡化的方法,分别是:1.利用PIL.ImageOps实现的直方图均衡化;2.自己实现的直方图均衡化HE;3.自适应直方图均衡化AHE;4.限制对比度自适应直方图均衡化CLAHE;5.自适应局部区域伸展直方图均衡化Local Region Stretch HE。其原理详细介绍见知乎链接。

结果展示

下面给出一些结果图片,每组有六张图片,分别是原图、ImageOps HE、HE、AHE、CLAHE、Local Region Stretch HE的结果对比:

More Repositories

1

FedRepo

Python
173
star
2

NeuralProcess

PyTorch for Neural Process in ICML 2018
Python
20
star
3

Neighbourhood-Component-Analysis

Four methods to implementing NCA which is often used for metric learning and dimension reduction.
Python
17
star
4

sampling

Some methods to sampling data points from a given distribution.
Python
14
star
5

approximated_kmeans

Use random projection and random sparsification to speed up K-Means.
Python
8
star
6

ATS-LargeKD

Python
8
star
7

perlin_noise_flowfields

Using perlin noise and flowfields to create beautiful pictures.
JavaScript
7
star
8

bad_apple_ascii

Transfer the video of bad apple to a series of ascii-images.
HTML
7
star
9

fractals_py_p5

Five methods to draw beautiful pictures and curves which are called fractals.
Python
6
star
10

text_particle_p5

A program written by p5.js, generating fireworks with special shapes, such as characters and hearts.
JavaScript
6
star
11

Locally-Linear-Embedding

Play with another dimension reduction and manifold learning method called LLE.
Python
6
star
12

FedPS-AggregateOrNot

code for paper: Aggregate or Not? Exploring Where to Privatize in DNN Based Federated Learning Under Different Non-IID Scenes
Python
5
star
13

FedKWS-UI

Python
5
star
14

maze_p5

Three methods to generate a 2D maze, and draw the constructing process using p5.js.
JavaScript
4
star
15

svm_gradient_descent

Using neural networks to solve svm, including linear and kernel type.
Terra
3
star
16

transferdemo

A deep domain adaptation demo for transfer learning (DAN).
Python
3
star
17

FedPAN

Python
3
star
18

lenet5_tensorflow

Using tensorflow to build the lenet-5 network proposed by Yann LeCun.
Python
3
star
19

MAP

Python
2
star
20

CDSF-Transferability

Python
2
star
21

king_pics_feat_py

Using matrix factorization to extract images' features.(PCA & NMF)
Python
2
star
22

MrTF

Python
2
star
23

kinematics_p5js

Drawing beautiful curves using kinematics.
JavaScript
2
star
24

DMIS

Python
2
star
25

night_special_effect_p5js

Creating a night special effect simply.
JavaScript
2
star
26

nlp_demo

1
star