07-12-2012, 05:55 PM
DATA COMPRESSION AND ENCODING USING COLORS: (A NEW APPROACH FOR CODING)
DATA COMPRESSION.doc (Size: 338 KB / Downloads: 27)
Abstract:
The coding formats available today like the barcodes have proved to be successful because of their various applications like coding of products by a manufacturer, coding of books by a publisher, etc. The continuous advancement in the sensors technology can provide advancement in the coding format. The improvement in color sensors technology can give rise to a better and efficient coding technique. One such method “color cells technology”, is proposed and described in this thesis.
Due to its advantages like the compactness, security, and efficiency, this code is well suited to be used as a substitute for all available codes like the barcode.
Introduction:
Color is the result of interaction between a light source, an object and an observer. In case of reflected light, the light falling on an object will be reflected or absorbed depending on the surface characteristics such as reflectance and transmittance. For example, red paper will absorb most of the greenish and bluish part of the spectrum while reflecting the reddish part, making it appear red to the observer.
Any color is the combination of three primary colors Red, Green and Blue in fixed quantities. A color is stored in a computer in form of three numbers representing the quantities of Red, Green and Blue respectively. This representation is called RGB representation which is used in computers to store images in BMP, JPEG and PDF formats. Here each pixel is represented as values for Red, Green and Blue.
Color fading:
Color fading can be a major drawback of this technology. Because of color fading, data may be represented wrongly. Color generally fades with time. Disadvantages due to fading can be minimized by selecting the resolution such that cell size is larger than maximum possible fading. As the technology and precision of devices increases, resolution can be increased but the concept is same.
Barcode reader:
Bar coder readers decodes a bar code by scanning across the bar code and measuring the intensity of the light reflected back. The light variation is converted into digital signal. Due to barcode design, it does not matter we scan from the left to right or from the right to left.
A barcode reader contains two parts. The first part is the scanner that scans the image and coverts into digital representation (01111000). It consists of a photo-resist (resistance depends on intensity of light) and a current to voltage converter. Output of the barcode reader depends on the intensity of reflected light. The black bars represent 1’s and white spaces represent 0’s.length of bar does is not significant. The second part is the decoder which combines the binary digital signals into a series of characters. The decoded information is sent to the computer via keyboard or serial interfaces.
Color fading:
Color fading can be a major drawback of this technology. Because of color fading, data may be represented wrongly. Color generally fades with time. Disadvantages due to fading can be minimized by selecting the resolution such that cell size is larger than maximum possible fading. As the technology and precision of devices increases, resolution can be increased but the concept is same.
Barcode reader:
Bar coder readers decodes a bar code by scanning across the bar code and measuring the intensity of the light reflected back. The light variation is converted into digital signal. Due to barcode design, it does not matter we scan from the left to right or from the right to left.
A barcode reader contains two parts. The first part is the scanner that scans the image and coverts into digital representation (01111000). It consists of a photo-resist (resistance depends on intensity of light) and a current to voltage converter. Output of the barcode reader depends on the intensity of reflected light. The black bars represent 1’s and white spaces represent 0’s.length of bar does is not significant. The second part is the decoder which combines the binary digital signals into a series of characters. The decoded information is sent to the computer via keyboard or serial interfaces.
Conclusion:
Color sensors have a wide range of applications. They can completely replace barcode readers. Using colors, large amount of data can be printed on small space and can be retrieved back effectively. Data entry into computer is very easy because same RGB concept is already used there. They are the future because there is no limit on number of colors and as technology advances, more number of colors can be defined more precisely from the same RGB cube. Data transferred by using colors is more secured. Data compression is done by maintaining a data base and sending templates which represent the word. Thus data compression using this technology is more efficient and error free.