Image Compression and Decompression Using Ann
Image Compression and Decompression Using Ann
Image Compression and Decompression Using Ann
By
Mr.Mahantesh Paramashetti
CONTENTS
Introduction Biologically Inspired Neuron Artificial Neural Networks Back Propagation Algorithm Compression Techniques Implementations Advantages Disadvantages Applications Conclusion
INTRODUCTION
Uncompressed multimedia data requires considerable storage capacity and transmission bandwidth. Apart from the existing technology like JPEG and MPEG standards, new technology such as neural networks are used for image compression.
Natural images are captured using image sensors and stored in memory banks. Large storage space is required
.
eg: A color image of size 256x256 requires a storage space of 1.5 Mega bits.
Storage cost for 1 GB is approximately Rs. 200. With the available bandwidth of 64kbps and 54mbps transmitting a three hour movie requires in uncompressed format takes 2917 years and 19 days respectively.
Transmission of huge image data is time consuming
.
Artificial neural networks has been chosen for image compression due to their massively parallel and distributed architecture. The idea behind this Training commands is the Back propagation algorithm.
Biological Neurons
Types of ANN
Feed forward networks Information only flows one way One input pattern produces one output No sense of time (or memory of previous state) Recurrency Nodes connect back to other nodes or themselves Information flow is multidirectional Sense of time and memory of previous state(s)
The Back propagation algorithm is used to update weights and bias of the neural networks. Weight and bias elements of the neuron decides the functionality of the network. Value of these weight and bias elements are calculated during training phase.
COMPRESSION
Image compression refers to the task of reducing the amount of data required to store or transmit an image. The compressed image is then subjected to further digital processing such as error control coding, encryption or multiplexing with other data sources, before being used to modulate the analog signal that is actually transmitted through the channel or stored in a storage medium.
Original images Image scaling(256x256) Vector values of the scaled Images (16x4096)
testing each image Comparing scaled & decompressed image by finding their PSNR & MSE values Each image is converted to vector form normalizing Passing the image through the network denormalizing
IMPLEMENTATION
MATLAB version R2007b. The Maximum error, MSE and PSNR values are calculated. Hardware implementation is done using FPGA board (Spatan 3 ).
Neural network training & performance plots: The neural network is trained
using the nntraintool, available in MATLAB.
The plot of MSE wrt epochs for
Advantages
A neural network can perform tasks that a linear program cannot. When an element of the neural network fails, it can continue without any problem by their parallel nature. A neural network learns and does not need to be reprogrammed. It works even in the presence of noise with good quality output.
Disadvantages
The neural network needs training to operate. The architecture of a neural network is different from the architecture of microprocessors therefore needs to be emulated. Requires high processing time for large neural networks. As the number of neurons increases the network becomes complex.
Applications
Pattern Matching Pattern Recognition Optimization Vector Quantization Data Clustering
CONCLUSION
Chipscope Pro Analyzer can easily implement the design on FPGA kit. The analysis showed that comparision between input and output values was proved to be similar. Using Chipscope Pro Analyzer smaller architectures can be easily built.
THANK YOU