Research on Acquisition and Binarization of Cigarette Images
- Author
- YangFan
- Advisor
- CaoJiChang
- School
- Huazhong University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 167
- Citations
- 0
Abstract
In a tobacco factory, the specific number of cigarettes produced requires counting. But the counting precision of traditional mechanical counting method is not high enough. Also, the traditional method will damage the cigarettes. In light of this situation, using image recognition methods to count cigarettes is a better choice with the virtue of high speed and high accuracy. Above all, the method does not damage the cigarettes. Using image recognition methods to count cigarettes include three steps: cigarette image acquisition, image binarization and recognition and counting of cigarettes.After comparing all kinds of image acquisition equipments existed, digital camera is selected as the image acquisition equipment used for cigarette counting application. After configuring the digital camera parameters, the images obtained using digital camera to shoot the cigarette containers are pictures of Bayer, which need interpolated for human visual observation. Therefore, in the step of image acquisition, the missing values of G color plane of all pixels are interpolated. Then, the values of G color plane are used as the gray values to obtain the gray cigarette image. Finally, According to the R and B color plane values, internal areas of cigarettes are smoothed and edges of cigarettes are sharped. As the aims are different, the ordinary methods that measure the ordinary interpolation methods are not effective to measure the interpolation method for cigarette counting. The gradient of all pixels are used to measure whether the interpolation algorithm render the cigarettes edges. Then, the concept of inner area smoothness and edge sharpness are brought forward to measure the interpolation method for cigarette counting.To effectively distinguish background and cigarettes in a cigarette image, there is a need to select a threshold to convert the interpolated image to the binary image. First, according to the geometric characteristics of cigarette container, the container areas in the image are erased. Then, as the gray values of pixels in the cigarettes are very different and the intervals between cigarettes are small, the whole image is divided into isometrical foursquare areas and the concept of area sparsity ratio is brought forward. The thresholds are selected according to the maximum entropy method in the areas with small sparsity ratio, while the thresholds are selected according to the average gray values in the areas with large sparsity ratio.In order to certifying the validity of the image acquisition method and binarization method, the above-mentioned methods are implemented in a PC. The experimental result proved that the interpolation method can clearly differentiate the background and the cigarettes in the image with the precondition that does not destroy the cigarettes geometric characterstics. At the same time, the thresholding method can effective segment the background and the cigarettes.
Table of contents
Summary 4-5
ABSTRACT 5-9
1 Introduction 9-17
1.1 subject background , purpose and meaning 9-10
1.2 research status 10-15
1.3 The main research work 15-17
2 BAYER cigarettes original image acquisition 17-26
Research and select
2.1 image capture device 17-20
2.2 BAYER cigarettes original image acquisition 20-24
2.3 Summary 24-26
3 BAYER cigarettes original image interpolation algorithm 26-38
3.1 BAYER cigarettes original image quieting processing 26-28
3.2 grayscale image enhancement algorithm based on interpolation 28-33
3.3 metric interpolation algorithm 33-36
3.4 Summary 36-38
4 gray cigarette binarization algorithm 38-50
4.1 global maximum entropy thresholding algorithm 38-40
4.2 cigarettes picture frame and remove the external scene 40-43
4.3 integrated local threshold algorithm 43-49
4.4 Summary 49-50
5 Summary and Outlook 50-52
5.1 Full Summary 50-51
5.2 Prospect 51-52
Thanks 52-53
References 53-57
Appendix 1 ( published during the master's degree ) 57-58
Appendix 2 ( master's degree during the patent pending ) 58
Related dissertations
- The Research and Implementation of the Major Techniques in Automatic Shoeprint Analyzing and Matching System
- Research and Implementation of an Automatic Picture Oriented Television Advertisement Monitoring System
- The Application of Image Recognition in Wool Fiber Detection
- The Hardware Research of Preprocess in Cell Image Recognition Based on FPGA
- Research on New Methods of Linear Discriminant Analysis and Their Applications
- Research on Key Technologies of Automatic Identification System of Metallography Organization
- Research on Multi-axis Motion Controller Based on CAN Bus
- Design and Experiment of a Motion Control System Based on FPGA
- Research on Applications of Multiresolution Analysis in Geometry Modeling
- Research on Surface Reconstruction from Triangular Mesh
- The Interpolation and Conformal Smooth Stitching of NURBS Curves and Surfaces
- Research on Fire Positioning Algorithm of Inframed Image Based on Geographic Imformation System
- The Research on the Technology of Invisible QR Code Recognition
- Research on Synergetic Recognition and Retrieval of News Image and Captions
- Point Spread Function Obtaining Research Based on the Linear Space Variant Image Restoration
- Research on System of Digital Image Proccessing and Recognition of Instruments
- Research on Form Recognition in Printed Document Recognition System
- Research for License Plate Recognition System Based on Linear CCD Camera
- Research and Implementation of Real-time Recognition of Digitalinfomation in the Video Stream Based on Image Processing Technology
- Research on Theories and Key Technologies of Power Schottky Rectifiers