Skip to content
/ dhe Public

c++ implementation for dynamic histogram equalization

Notifications You must be signed in to change notification settings

niuwagege/dhe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

dhe

c++ implementation for dynamic histogram equalization.

Installtion

All you need is opencv.(recommend opencv3.4.1)

Parameter

For my task, the best alpha is round 0.06. You can use grid search to find the most approprite one for your own task.

Usage

#include "dhe.hpp"

cv::Mat result;
cv::Mat img = cv::imread("your image file path");
img.convertTo(img,cv::CV_8U);
dhe(img,result,0.06);

About

c++ implementation for dynamic histogram equalization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages