MATLAB: Huffman coding and decoding for image(JPEG, BMP)

doit4mehuffmanimage compressionimage processingimage reconstructionsendit2me

I have to implement huffman encoding and decoding for a '.bmp' image without using the inbuilt matlab function like huffmandict, huffmanenco and huffmandeco.
Can anybody help me by sending me the source code?
Moreover, I have done the encoding part but I am not able to do the decoding. I have no idea as how to reconstruct the image through decoding.
Related Question