Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Similar documents
Research on QR Code Image Pre-processing Algorithm under Complex Background

An algorithm of lips secondary positioning and feature extraction based on YCbCr color space SHEN Xian-geng 1, WU Wei 2

Research Article. Kinematics analysis of beam pumping unit base on projection method

A Method of weld Edge Extraction in the X-ray Linear Diode Arrays. Real-time imaging

Application Research of Wavelet Fusion Algorithm in Electrical Capacitance Tomography

Qiqihar University, China *Corresponding author. Keywords: Highway tunnel, Variant monitoring, Circle fit, Digital speckle.

A Novel Double Triangulation 3D Camera Design

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Adaptive Zoom Distance Measuring System of Camera Based on the Ranging of Binocular Vision

An adaptive container code character segmentation algorithm Yajie Zhu1, a, Chenglong Liang2, b

Research Article. Three-dimensional modeling of simulation scene in campus navigation system

Research on the Wood Cell Contour Extraction Method Based on Image Texture and Gray-scale Information.

result, it is very important to design a simulation system for dynamic laser scanning

Pedestrian Detection with Improved LBP and Hog Algorithm

A reversible data hiding based on adaptive prediction technique and histogram shifting

Study on Image Position Algorithm of the PCB Detection

Subpixel Corner Detection Using Spatial Moment 1)

International Conference on Electromechanical Control Technology and Transportation (ICECTT 2015)

Research on Quality Inspection method of Digital Aerial Photography Results

Algorithm Optimization for the Edge Extraction of Thangka Images

Study on GA-based matching method of railway vehicle wheels

AN APPROACH OF SEMIAUTOMATED ROAD EXTRACTION FROM AERIAL IMAGE BASED ON TEMPLATE MATCHING AND NEURAL NETWORK

Study on Gear Chamfering Method based on Vision Measurement

Research of Traffic Flow Based on SVM Method. Deng-hong YIN, Jian WANG and Bo LI *

A Kind of Fast Image Edge Detection Algorithm Based on Dynamic Threshold Value

Denoising and Edge Detection Using Sobelmethod

Iterative Removing Salt and Pepper Noise based on Neighbourhood Information

This paper puts forward three evaluation functions: image difference method, gradient area method and color ratio method. We propose that estimating t

New Weighted Mean Filtering Algorithm for Surface Image Based on Grey Entropy

Modeling and Analysis of the Support System of Space-based Anti-missile Information Based on UML

Research on online inspection system of emulsion explosive packaging defect based on machine vision

ENO morphological wavelet and its application in image processing

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware.

Analysis of TFT-LCD Point Defect Detection System Based on Machine Vision

Automotive covering parts drawing forming numerical simulation and the 6σ robust optimization of process parameters

The Population Density of Early Warning System Based On Video Image

Method of detection and removal rain from image based on the HSV color space

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

Study on Digitized Measuring Technique of Thrust Line for Rocket Nozzle

An Adaptive Threshold LBP Algorithm for Face Recognition

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

The design of medical image transfer function using multi-feature fusion and improved k-means clustering

Temperature Calculation of Pellet Rotary Kiln Based on Texture

Numerical Recognition in the Verification Process of Mechanical and Electronic Coal Mine Anemometer

Image segmentation based on gray-level spatial correlation maximum between-cluster variance

Fingerprint Ridge Distance Estimation: Algorithms and the Performance*

2 Proposed Methodology

An optical multiplier setup with dual digital micromirror

Recognition of Human Body Movements Trajectory Based on the Three-dimensional Depth Data

Study on Improving the Quality of Reconstructed NURBS Surfaces

Hole repair algorithm in hybrid sensor networks

Wavelength Estimation Method Based on Radon Transform and Image Texture

Research on friction parameter identification under the influence of vibration and collision

Journal of Chemical and Pharmaceutical Research, 2014, 6(6): Research Article

Image Segmentation Based on Watershed and Edge Detection Techniques

Edge and local feature detection - 2. Importance of edge detection in computer vision

A Growth Measuring Approach for Maize Based on Computer Vision

A Novel Image Super-resolution Reconstruction Algorithm based on Modified Sparse Representation

Designing of Fingerprint Enhancement Based on Curved Region Based Ridge Frequency Estimation

Implementation Of Harris Corner Matching Based On FPGA

Infrared Image Stitching Based on Immune Memory Clonal Selection Algorithm

EE795: Computer Vision and Intelligent Systems

4th Annual International Conference on Material Science and Engineering (ICMSE 2016)

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc. Research on motion tracking and detection of computer vision ABSTRACT KEYWORDS

RECTIFICATION METHODS ON DISTORTION OF DIGITAL AIRBORNE IMAGES

The Study of Intelligent Scheduling Algorithm in the Vehicle ECU based on CAN Bus

Object Shape Recognition in Image for Machine Vision Application

An Automated Image-based Method for Multi-Leaf Collimator Positioning Verification in Intensity Modulated Radiation Therapy

A Design of Remote Monitoring System based on 3G and Internet Technology

Your Flowchart Secretary: Real-Time Hand-Written Flowchart Converter

PROCESSING FOR EFFICIENT MULTICORE OPTICAL FIBER TRANSMISSION

Pupil Localization Algorithm based on Hough Transform and Harris Corner Detection

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering

PLOTTING DEPTH CONTOURS BASED ON GRID DATA IN IRREGULAR PLOTTING AREAS

A Real-time Detection for Traffic Surveillance Video Shaking

Time Stamp Detection and Recognition in Video Frames

A liquid level control system based on LabVIEW and MATLAB hybrid programming

Application of Run Length Encoding In Track Vision Inspection System KANG FEI

Image Enhancement Techniques for Fingerprint Identification

Filtering Images. Contents

Study on fabric density identification based on binary feature matrix

An Improved Pre-classification Method for Offline Handwritten Chinese Character Using Four Corner Feature

Influence of SLA Rapid Prototyping Process Parameters on the Forming Precision Yaru Shi1, a, Yan Cao2, b*, Yongming Wang 3, cand Liang Huang4,d

Design of three-dimensional photoelectric stylus micro-displacement measuring system

Adaptive Local Thresholding for Fluorescence Cell Micrographs

Research on Evaluation Method of Video Stabilization

2.1 Optimized Importance Map

Video Inter-frame Forgery Identification Based on Optical Flow Consistency

A Fourier Extension Based Algorithm for Impulse Noise Removal

Investigation of Algorithms for Calculating Target Region Area

An indirect tire identification method based on a two-layered fuzzy scheme

Design of Soybean Milk Machine Control System based on STC89C52. Ya-gang SUN, Yue ZHANG, Zhi-gang YANG, Rui-cheng ZHANG and Xiao-wei SHEN

Research Of Data Model In Engineering Flight Simulation Platform Based On Meta-Data Liu Jinxin 1,a, Xu Hong 1,b, Shen Weiqun 2,c

Auto-Digitizer for Fast Graph-to-Data Conversion

Research on-board LIDAR point cloud data pretreatment

Half-edge Collapse Simplification Algorithm Based on Angle Feature

Automatic Grayscale Classification using Histogram Clustering for Active Contour Models

Research on Traffic Flow Statistics Algorithm Based on Inter - Frame Similarity

PARAMETERIZED COMPUTER AIDED DESIGN OF STUBBLE CLEANER

Research on Multi-sensor Image Matching Algorithm Based on Improved Line Segments Feature

Transcription:

Available online www.jocpr.com Journal of Chemical and Pharmaceutical esearch, 015, 7(3):175-179 esearch Article ISSN : 0975-7384 CODEN(USA) : JCPC5 Thread image processing technology research based on combination of edge detection and sub-pixel positioning Fang Li School of Electric Multiple Units Engineering, Dalian Jiao Tong University, China ABSTACT This paper introduces a new method for auto-measuring parameters of thread based on image processing techniques. According to the characteristics of the thread, this paper select median filtering method, Histogram edge detection and sub-pixel positioning and other image processing methods. Then the parameters of thread, such as the pitch diameter, half of thread angle and the pitch of thread were obtained, an example image was introduced to prove this method. It is very useful in improving the detection precision of thread. Keywords: Thread parameters; Edge detection; Sub-pixel positioning; Curve fitting INTODUCTION Thread is the most common form of connection in manufacturing machinery and equipment, it is widely used. Thread shape will affect the quality of connection seriously. But quality detection of thread has not been able to realize the automation so far, most still remain in the manual basis on micrometer. Traditional detection methods often lead to big error, low efficiency and the evaluation result was affected by human factors. In recent years, image processing technology was widely applied in the detection of thread parameters [1-3].Generally, thread was placed in a parallel light field, the projection or reflection imaging by optical system, using CCD camera as the acceptable image hardware equipment. After digitization, image processing and analysis were realized by computer. In the process of image processing, the edge point data was obtained, and the geometric parameters of the object also can be calculated [4-7]. This non-contact measurement technology will be very helpful for reducing the unqualified ones by means of measuring, analyzing and giving appropriate evaluation. However, the precision of traditional image processing method is very limited. It can only reach pixel level precision [8-9]. The purpose of this paper is to introduce a kind of new method: According to the characteristics of thread image, median filtering algorithm was used in the process of preprocessing. Then the gray histogram segmentation method was used to make the image to a binary image. And then through the edge tracking, make the image clearer, subsequently the image was subpixel edge positioned based on polynomial interpolation. The parameters of thread, such as the pitch diameter, half of thread angle and the pitch of thread can be obtained. The result of experiment show that this method is of high precision, good adaptability. It can reach the sub-pixel level and can be applied to various parts image of the detection. 175

Fang Li J. Chem. Pharm. es., 015, 7(3):175-179 FUNCTIONS OF COMPOSITION AND PEPOCESSING OF IMAGE This method is mainly realized by software, flow chart is shown as follow: ead the image Image preprocessing Edge detection Sub-pixel positioning Fit the line according the two array, count the parameters End Fig. 1: A flow chart of image processing In the process of image acquisition and generation, the image will be influenced by various noises and interference, then distortion will generated, so quality of the image will decline. In order to remove noise and improve image quality, preprocessing of image is very necessary. The main influence factors were geometric distortion that generated from imaging system and noises that generated from photovoltaic conversion, analog-digital conversion. To reduce noise, low-passing filter can be used, but it will make the edge fuzzy because a lot of information lost. On the other hand, we could use high-passing filter for better edge, but noise was strengthened. Considering the two factors, median filter was chosen. Median filter is a nonlinear signal processing method, corresponding to a median filter of course. The central idea of the filter is based on the local median as the filter output. It will effectively preserve useful information and reduce noise, especially for the inhibition of salt and pepper noise and impact noise. The method is very simple: scanning the image by particular window, for example 3*3, then rearranging the entire pixel according to the gray value (rising or dropping), the median was given to the central pixel. The formula is shown as follows: g ( m, n) = Median{ f ( m k, n l),( k, l W )} (1) Fig. : Original image Fig. 3: Mean filter image The number of pixels within a window usually is odd, so that there is an intermediate pixel. If the number of pixels within the window is even, then take average value of pixel. Template 3 * 3 was used here. Of course, other template (5*5 7*7) also could be chosen for better result. 176

Fang Li J. Chem. Pharm. es., 015, 7(3):175-179 The edge information was reserved perfectly after a median filtering. After repeated experimental study found that, less noise in the image, the contrast between the object and background is better. The image after median filtering is almost not affected by noise interference. EDGE DETECTION The purpose of edge detection is to find the boundary between the research background and object or object boundaries in an image, such as an object boundary, the shadow boundary and so on. The so-called boundary refers to its surrounding pixel gray those pixels set step change or hill shape change. Usually the object boundary was determined by the gray value of the point in the image. It is a process of finding and locating discontinuous gray value. The classical edge extraction method is to research every pixel gray value change in a neighborhood in the image, using edge near one order or two order directional derivative variations, with a simple Generally classical algorithm was used to find the location of the edge pixels, and the whole pixel positioning precision was gotten, the process was called coarse positioning. Owing to the reasons for noise filtering is not complete; edge may be interrupted or broadened, so there were two parts in edge detection: first extract the edge point, then get rid of some redundant point or connect the discontinuous point, finally connect a continuous curve. The thread image has relatively simple structure and high quality. The contrast of the object and the background is big. It will increase the difficulty for subsequent image measurement if edge detection operator method was used in processing of edge extraction. This provides the possibility for the gray histogram threshold method is used to extract the edge point in the actual process of research. Two-peak shape histogram method is threshold algorithm in a kind of direct and simple method. Its purpose is to try to select the optimal threshold, so that the detection error of object detection and background is minimum. Assume the image includes only the detection of object and background, then the histogram graphics like a valley between two peaks. It is minimum error value at the bottom of the graph. Therefore can intuitively in the gray level histogram find the bottom of the range, and thus determine the threshold size. As can be seen from the graph, the bottom of the value is in between, through the actual measurement, to determine the threshold of 165. Then according to the threshold value, a binary image formed. It is a sharpening image. Then scan the image column by column and search the image edge, then obtain the edge contour curve finally. Fig. 4: Gray histogram The edge line extracted is discontinuous; the results can not be used to calculate the coordinates of edge points, so we need to introduce contour tracking. The purpose of contour tracking is to obtain only a single pixel edge contour, and remove burrs on the contour and other non contour line noise. The basic method of contour tracking is: find the target object pixels on the contour according to some strict criteria, and use some characteristics of these pixels, other pixels on the object could be founded according to some tracking criterion. Searching from left to right, from bottom to top in the image, the first black point found must be the bottom left of the boundary points, recording the coordinates of this point, so the adjacent boundary point lies in one of its right, upper right, upper, upper left point. 177

Fang Li J. Chem. Pharm. es., 015, 7(3):175-179 Fig. 5: Contour Tracing Algorithm Fig. 6: Edge Detection Image Use the following criteria: track from the first boundary point, the search direction is along the defined initial upper left. The top left point is the boundary point if it is black, otherwise the search direction 45 degrees clockwise until the first black point was found. Then this black point was defined as the new boundary point, then the search direction was defined as lower left,continue to use the same method to search for the boundary point, until return the original point. SUB-PIXEL POSITIONING AND MEASUEMENT OF PAAMETES Analysis image according to the given target characteristics (such as noise filtering, prominent characteristics, feature extraction and fitting grayscale characteristics, etc.), to identify and locate the features the most consistent with the target, realize the goal is better than that of integer pixel accuracy of positioning, called image sub-pixel positioning technology. There are many kinds of sub-pixel positioning method. This paper uses polynomial interpolation positioning method. Suppose is the gradient magnitude of any point in image, 0 is the gradient mode of edge point P0 (m, n), -1, 1 respectively is two gradient magnitude of adjacent pixel point P-1, P1 in the gradient direction.through the sub-pixel coordinates is: x = m + y = n + 1 0 + 1 1 0 + 1 ω cos ω sin ( θ ) ( θ ) () (3) Where ω is distance from the adjacent pixel point to the edge point, where θ is angle of the gradient direction with the positive X axis. In this paper, the rules are as follows: scan the image and record the edge sub pixel coordinates, then we will obtain two one-dimensional arrays. For each element in the two arrays, then we will get the turning point, we will get four arrays. Then the least square method was used realize curve fitting [10-1,]. It was not necessary that all the points fitting the curve. But the curve can reflect the given basic data trends and weaken the influence of error. So it is very accurate. Calculating average valve of the horizontal ordinate of the four fitting curve every arrays, it can be expressed as D 1 D D 3 D 4 ;So we will obtain: External diameter of thread: d = D 4 D 1 (4) 178

Fang Li J. Chem. Pharm. es., 015, 7(3):175-179 Bottom diameter of thread d = D 1 3 D Pitch diameter of thread d + d1 d = (5) (6) Pitch: D D1 + D4 p = D3 (7) As to spiral angle, we can obtain it by fitting line according the turning points. In Matlab, it could be expressed as: Plot(x1, y1, 1) [13]. For example, the standard pitch is.550, the average value of image processing is.554, so the deviation is 0.005, and it can meet the requirement of the measurement precision. Once the detection system is fixed, there is a fixed ratio between the image distance and the actual size. So the image distance multiplied by the proportion of value, it is the actual size. Table. Outcome of the pitch Number 1 3 4 5 K result.553.54.557.555.536 K CONCLUSION This method could be applied in measurement of regular screw threads. With help of this method, it is very convenient and quick in screw thread image processing. Deviation is so small that it can be ignored. The greater the amount of image data, the precision of the results is higher. Acknowledgments The authors wish to thank the Education Department of Liaoning Province, China (No.L014187), under which the present work was possible. EFEENCES [1] Lan Shang. The esearch of non-contact measuring Technology of Screw Image Based on CCD, Dazing petroleum institute, 004. []Xu Ai-qun, Xiang Zhan-qin, Chen Zi-chen. Journal of Zhejiang University, 005,39 (8): 1179-1183. [3]Liu ongyuan. The fastener technology, 004, (1): 33-35. [4] E S Gadelmawla. A novel system for automatic measurement and inspection of parallel screw threads, Production Engineering and Mechanical Design Department, Faculty of Engineering, Mansoura University, 1-,004. [5]Li J C, Zhao D B, Li B J, Chen G H A. Journal of Information and Computational Science,010,7(13) 847-54. [6] Liu H Y, Li L, Zhang D M. 011 Journal of Information and Computational Science 8(7) 117-3. [7] Dong Hong-yan. esearch on some techniques in edge detection, National University of Defense Technology, 008. [8] Sun Wei, Zhang Xiao-rui, Tang Hui-qiang, et al. Opto-Electronic Engineering, 011, 38(10) 13-9. [9] Zhang Wei, Pan Xiao-hong, Liu Zhi, et al. Computer Integrated Manufacturing Systems, 01,18(1) 01-7. [10] HUA Ying, PENG Hongjing. Journal of Image and Graphics, 010, 15(4):570~576. [11] Yu Qiao-yun, Xing Xiao-zhen, Photoelectric engineering,001,8(6):56~58,65. [1] Tang Liang-rui. Image Processing Technology, Beijing, 00, 10-13. [13] Luo Jun-Hui, Feng Ping. MATLAB 7.0 Applied in Processing of Image, Beijing, 010, 89-90. 179