Image Compression using Huffman Coding
Compression of image by using OpenCV library and Huffman Coding Algorithm
#Data Structures and Algorithms mini project on Huffman Coding
A]Commands for compiling the code in OpenCV:
-
g++ pkg-config --cflags opencv programName.cpp pkg-config --libs opencv
-
./a.out image.jpg
//For giving image input from command line
B]Commands for showing Histogrtam:
-
g++ histogram.cpp
-
./a.out image.jpg
//For giving image input from command line