Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 580 Bytes

File metadata and controls

18 lines (10 loc) · 580 Bytes

Image-compression-by-huffman-coding

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:

  1. g++ pkg-config --cflags opencv programName.cpp pkg-config --libs opencv

  2. ./a.out image.jpg //For giving image input from command line

B]Commands for showing Histogrtam:

  1. g++ histogram.cpp

  2. ./a.out image.jpg //For giving image input from command line