Skip to content

samidalati/OpenCV-Entropy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV-Entropy

histGray.cpp is used to calculate the entropy of a grayscale image histColor.cpp is used to calculate the entropy of color image, the color image is first split into YCbCr and then the histogram and entropy is calculated per each channel myHist.cpp is used to calculate the entropy of a grayscale image without using OpenCV's calcHist

to compile use: g++ -ggdb pkg-config --cflags opencv -o histGray histGray.cpp pkg-config --libs opencv or use 'buildme.sh' ./buildme.sh histGray.cpp

About

calculating image entropy using opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published