Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
Image Processing Algorithm
JPEG to Binary Conversion
Mansi Gupta
Dept. of Computer Sc. &Engg.,Lingaya’s University,Faridabad, Haryana,India
manasigupta18@gmail.com,
Meha Garg
Dept. of Computer Sc. &Engg.,Lingaya’s University,Faridabad, Haryana,India
mehagarg.be@gmail.com
Prateek Dhawan
 
Dept. of Computer Sc. &Engg.,Lingaya’s University,Faridabad, Haryana,India
 prateek.3212@gmail.com
 Abstract – 
The JPEG processing algorithm works beston photographs and paintings of realistic scenes withsmooth variations of tone and colour but is not wellsuited to files that will undergo multiple edits. Thedirect conversion of jpeg image into binary format isvery low in efficiency. In this paper, the process of conversion of jpeg image to binary image is beingdone in a step by step manner, without using directinbuilt function of jpeg to binary in MATLAB. As thebinary image is used for comparison purposes, the jpeg image is converted into LAB format to make theluminance scale perceptually more uniform, so thatthe procedure becomes more efficient.
 Keywords:
LAB, Binary image, sign language
 
I.
 
INTRODUCTIONJPEG (named after the Joint Photographic ExpertsGroup who created the standard) is a commonlyused method of lossy compression for photographicimages. [1]Another format is the binary format which has pixels with only two possible intensity values.They are normally displayed as black and white. Numerically, the two values are often 0 for black,and either 1 or 255 for white.Binary images are often produced by thresholdinga grayscale or color image, in order to separate anobject in the image from the background. The color of the object (usually white) is referred to as theforeground color. The rest (usually black) isreferred to as the background color. However,depending on the image which is to be threshold,this polarity might be inverted, in which case theobject is displayed with 0 and the background iswith a non-zero value. [2]As for the LAB colour space, L* stands for luminance, a* is the red-green axis, and b* is the blue-yellow axis. The asterisks were added todifferentiate CIE from another L,a,b model.[3]Although CIE L*a*b* has a large color gamut andis considered as the most accurate colour model, itis often used as a reference only or as anintermediary for colour space conversion.II.
 
VARIOUS METHODS FOR COMPUTING BINARY IMAGEThe JPEG image can be converted into Binaryimage by writing codes using C# or Visual Basic.This conversion can also be implemented byconversion of RGB into grayscale first and theninto binary.It can also be done with the help of an inbuiltfunction in MATLAB. The function isim2bw(RGB, level). Applying this function on theimage for alphabet A generates a corresponding binary image in fig.1
Fig.1 JPEG and Binary image for alphabet A
III.
 
PROBLEM DEFINITIONThe object is hands of the sign language useer which must be in fully in black when displayed inthe binary image. The image in fig. 1 is not clear and has distortions too, i.e., the hand portion is notin black completely. This would hinder gaining
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 2, May 201075http://sites.google.com/site/ijcsis/ISSN 1947-5500
 
higher efficiencies in further processing of theimage, if required.With most gestures one-handed, signs maybe one-handed (ASL) or two handed (BSL).Using colours to identify users’ hands may pose problems when there are uncontrolled backgrounds[5] depicted in fig.5
Fig.5 Image for alphabet A
Few signs are often very similar (or even identical)in there manual features but differ in non-manualfeatures (Fig. 6)
Fig. 6 Images for L, M, N and V alphabets
IV.
 
METHODOLOGYFirst the JPEG image is filtered to reduce noise andenhance the visual quality of the input image.Filtering constitutes an important part of any image processing pipeline where the final image isutilized for visual inspection or for automaticanalysis. [4] This preprocessing helps increase the performance of the subsequent stages.
Fig.7 Filtered Image for alphabet A
Then the filtered image in RGB colour space isconverted into LAB colour space. In LAB format,the figure can be segmented into three differentcolour axis L*, a* and b*. The image is thenviewed in these colour spaces and the sensitivity istested. After testing the sensitivity, a suitablethreshold value of L*, a*, b* or an appropriatecombination of either a* and b* or any other colour axis is taken for formulating the binary images.There are different set of values for detecting theskin and differentiating it with the backgroundcolour.
Fig.8 LAB Image for alphabet A
After the implementation of the specified values,the image can finally be converted into a binaryform
Fig.9 Binary Image for alphabet A
All those pixels that have their values in thisspecified range are given a value of 0, i.e. whiteand rest all the other pixels are given a value of 1,i.e. black.V.
 
APPLICATIONSThe binary images can be generated for all thealphabets of BSL sign language and can be used for recognizing the alphabets. This would eliminate theneed for sensors and other devices like digitalgloves which have been used in sign recognition previously.Also, it would greatly increase the efficiency for further image processing, if required, because of the near-perfect and low noise images produced.VI.
 
ADVANTAGES OF BINARY
 
Easy to acquire: simple digital cameras can be used together with very simple framestores, or low-cost scanners, or thresholdingmay be applied to grey-level images.
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 2, May 201076http://sites.google.com/site/ijcsis/ISSN 1947-5500
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • More From This User

    Notes
    Load more