Skip to content

miladce/opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Color Specification

color specification in opencv:
after equalizing the histogram of the input image and desired histogram,
we must relate this two equalized histograms.
for equalizing histograms we must normalize the cdf of the histograms. and then map their colors.
these links may help you:
http://fourier.eng.hmc.edu/e161/lectures/contrast_transform/node3.html
https://www.scribd.com/doc/106790597/OPENCV-Topic-04-Histogram-Specification#scribd
I wrote a function to use mapping instead of the mapping part of the second link..
my function's args are the values of the normalized of cdf of histograms and the output is the mapping array that specifies a color for the colors of input image.
mappedColorUsedInDesiredImage=outputarray[inputImageColor]

About

color-specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages