SlideShare a Scribd company logo
1 of 28
SHRI RAMDEOBABA COLLEGE OF ENGINEERING
AND MANAGEMENT, NAGPUR.
F I N A L Y E A R P R O J E C T
By:
• Sayali Bodhankar - 18
• Mayur Harisangam - 53
• Akash Kharde - 79
• Shubham Patwardhan - 81
Project Guide:
• Prof. B. Lad.
Development of software to
detect faulty circlips by
pattern matching.
What is a circlip?
• A circlip (circular clip) is a type
of fastner or retaining ring consisting of a
semi-flexible metal ring with open ends
which can be snapped into place, into
a machined groove on a dowel pin or other
part to permit rotation but to prevent
lateral movement.
• Circlips are often used to secure pinned
connections.
Literature
Survey
• Mostly used for surface defect detection like sheet metal, fabric
textiles etc.
• Process: surface image is acquired by using a camera from top of
the surface from a distance adjusted so as to get the best possible
view of the surface.
• R-G-B image is converted into grey scale.
• Noise removing and filtering.
• Thresholding is done to get those pixels which represents an object.
• Histogram equalisation :
Histogram equalization is a method for stretching the contrast by
uniformly distributing the grey values enhances the quality of an image
useful when the image is intended for viewing.
• This method is applicable to differentiate textures , also the method
detects a variety of defects for a given texture.
1. Texture Defect Detection:
Literature
Survey
• This method is generally used for detection moving objects in videos from
static cameras.
• Generally an image’s regions of interest are objects (humans, cars, text
etc.) in its foreground.
• The rationale in the approach is that of detecting the moving objects
from the difference between the current frame and a reference frame,
often called “background image”, or “background model.
2.Foreground extraction and background
subtraction
Literature
Survey
• PCA is used to extract features of stored image and test
image.
• The Euclidian distance applied between the features of
standard images and the features of the test image, to
recognize the highest similarity image from the standard
image to the test image.
3.Principle Component Analysis:
Process Flow
Calculate Number of Holes
FAIL
Calculate Area
=2 ?
No
PASS
Within
Tolerance
range?
Dilation :
This operation is used to restore boundaries of the particles eroded due to erosion
operation. A dilation eliminates tiny holes isolated in particles and expands the particle
contours according to the template defined by the structuring element. This function
has the opposite effect of an erosion because the dilation is equivalent to eroding the
background.
For any given pixel P0, the structuring element is centered on P0.The pixels masked by a
coefficient of the structuring element equal to 1 then are referred to as Pi.
If the value of one pixel Pi is equal to 1, then P0 is set to 1, else P0 is set to 0.
If OR(Pi) = 1, then P0 = 1, else P0 = 0.
Firstly an Erosion operation is performed to eliminate the pixels isolated in the
background.
For a given pixel P0, the structuring element is centered on P0. The pixels
masked by a coefficient of the structuring element equal to 1 are then referred
as Pi.If the value of one pixel Pi is equal to 0, then P0 is set to 0, else P0 is set to
1.If AND(Pi) = 1, then P0 = 1, else P0 = 0.
According to the erosion operation mentioned above a pixel is cleared if it is
equal to 1 and the three neighbours to its left are not equal to 1.
However this operation also erodes the contour of particles according to the
template defined by the structuring element.
Local Thresholding:
The average is referred to as local mean m(i,j) at pixel (i,j).
An image B(i, j) is calculated as
B(i, j) = I(i, j) – m(i, j)
where m(i, j) is the local mean at pixel (i, j).
An optimal threshold is determined by maximizing
the between-class variation with respect to the threshold.
The threshold value is the pixel value k at which the following expression is maximized
B2=[T(k)-(k)]2/(k) [1-(k)]
where
(k)=i=0kip(i) , T=i=0N-1ip(i)
● i represents the gray level value.
● k represents the gray level value chosen as the threshold.
● h(i) represents the number of pixels in the image at each gray level value.
● N represents the total number of gray levels in the image. (256 for an 8-bit image)
● n represents the total number of pixels in the image.
Thresholding
Thresholding sets each grey level that is less than or equal to
some prescribed value T‐called the threshold value‐to 0, and
each grey level greater than T is changed to K ‐ 1.
Thresholding is useful when one wants to separate bright
objects of interest from a darker background or vice versa.
The thresholding transformation is defined by:
T(i,j) = k-1 ; I(I.j)>T
T(I,j)= 0 ; I(I,j)<T
For Entire Circlip
Inverse Transformation
Inverse Transformation is applied to greyscale
image.
Given greyscale image has 256 grey levels.
K=256
Inverse image: N(I,j)
Greyscale Image: I(I.j)
N(I,j)=(k-1)-I(I,j)
Normal Circlip
Faulty Circlip
Basler Industrial Camera
• Model Name -daA2500-14uc - Basler dart
• Sensor Type -CMOS
• Sensor Size -5.7 mm x 4.3 mm
• Resolution (H x V) -2592 px x 1944 px
• Resolution -5 MP
• Pixel Size (H x V) -2.2 µm x 2.2 µm
• Frame Rate -14 fps
• Power Requirements -Via USB 3.0 interface
• Power Consumption
• (typical) -1.3 W
• Basler dart can be interfaced using USB 3.0.
Hardware Implementation
Proximity Sensor
Components Required:
1. LM 358 IC
2. 1 InfraRed LED PhotoDiode pair
3. Resistors: 2 x 270R, 10K
4. Potentiometer: 10K
5. Breadboard
6. Power Supply: (3-12)V
7. Few Breadboard connectors
The sensing component
in this circuit is IR
photo-diode.
More the amount of
Infrared light falling on
the IR photodiode, more
is the current flowing
through it.
(Energy from IR waves is
absorbed by electrons at
p-n junction of IR
photodiode, which
causes current to flow)
This current when flows
through the 10k resistor,
causes potential
difference (voltage) to
develop.
As the value of resistor is
constant, the voltage
across the resistor is
directly proportional to
the magnitude of current
flowing, which in turn is
directly proportional to
the amount of Infra-Red
waves incident on the IR
photodiode.
So, when any object is
brought nearer to the
IR LED, Photo-Diode
pair, the amount of IR
rays from IR LED
which reflects and falls
on the IR photodiode
increases and therefore
voltage at the resistor
increases.
We compare this voltage change
(nearer the object, more is the
voltage at 10K resistor / IR
photodiode) with a fixed
reference voltage (Created using
a potentiometer).
Here, LM358 IC (A
comparator/OpAmp) is used for
comparing the sensor and
reference voltages.
The OpAmp functions in a way
that whenever the voltage at
non-inverting input is more than
the voltage at inverting input, the
output turns ON.
The positive terminal of
photodiode (This is the point
where the voltage changes
proportion to object distance)
is connected to non-inverting
input of OpAmp and the
reference voltage is
connected to inverting input
of OpAmp.
When no object is near the IR
proximity sensor, we need
LED to be turned off. So we
adjust the potentiometer so as
to make the voltage at
inverting input more than
non-inverting.
When any object approaches
the IR proximity sensor, the
voltage at photodiode
increases and at some point
the voltage at non-inverting
input becomes more than
inverting input, which causes
OpAmp to turn on the LED.
In the same manner, when the
object moves farther from the
IR proximity sensor, the
voltage at non-inverting input
reduces and at some point
becomes less than inverting
input, which causes OpAmp to
turn off the LED.
Serial Communication by ARDUINO
• Baud Rate = 115200.
• Both sidesof the serial connection(i.e. the
Arduino and your computer) need to be set to
use the same speed serial connectionin order
to get any sort of intelligibledata. If there's a
mismatch between what the two systems think
the speed is then the data will be garbled.
• :Serial.begin(115200) would set the Arduino
to transmit at 115200 bits per second.You'd
need to set whatever software you're using on
your computer (like the Arduino IDE's serial
monitor) to the same speed in order to see the
data being sent.
Microcontroller ATmega328
Operating Voltage(logic level): 5V
Input Voltage (recommended): 7-
12 V
Input Voltage(limits): 6-20 V
Digital I/O Pins : 14 (of which6
provide PWM output)
Analog Input Pins: 8
DC Current per I/O Pin: 40 mA
Flash Memory 32KB (ATmega328)
of which2KB used bybootloader
SRAM: 2KB(ATmega328) EEPROM:
1KB (ATmega328) Clock Speed: 16
MHz Dimensions: 0.73" x 1.70"
Besler D2500 camera
acrylic circular sheet
15x15 rectangular
plastic container
LED
Proximity Sensor and
Arduino Nano Board
Pixel to real world
measurements.
• Image used for calibration.Whatever length
measurement are shown after
image processing are in terms
of pixels. To convert these
measurements to real world
standard units such as
centimetre or metre, we have
to calibrate the program
accordingly. To calibrate the
program, we need to see how
many pixel lengths
correspond to what length in
centimetres. For this purpose
we have taken an image of a
scale and measured its length
in pixels.
Result
Publications
Paper submitted
to
IJCA
(International
• Rafael C. Gonzalez, Richard E. Woods, “Digital Image Processing”, 2nd ed.,
Prenticece Hall, Upper Saddle River, New Jersey 07458 .
• Su-Ling Lee and Chien-Cheng Tseng,Senior Member, IEEE, “Color Image
Enhancement Using Histogram Equalization Method without Changing Hue
and Saturation”,2017 IEEE International Conference on Consumer Electronics
- Taiwan (ICCE-TW)
• Mao Xiaobo, Yang Jing ,”Research on Object-background Segmentation of
Color Image Based on LabVIEW”,Proceedings of the 2011 IEEE International
Conference on Cyber Technology in Automation, Control, and Intelligent
Systems, March 20-23, 2011, Kunming, China
• Suresh Babu Changalasetty, Ahmed Said Badawy, Wade Ghribi and Lalitha
Saroja Thota ,”Identification and Extraction of Moving Vehicles in
LabVIEW”,International Conference on Communication and Signal
Processing, April 3-5, 2014, India .
• Abahan Sarkar Graduate Student Member IEEE, Tamal Dutta, and B K Roy
Member, IEEE,”Fault Identification on Cigarette Packets - An Image
Processing Approach ”,2014 Annual IEEE India Conference (INDICON).
Defect detection in circlips using image processing in ni lab view

More Related Content

What's hot

Real-time Object Tracking
Real-time Object TrackingReal-time Object Tracking
Real-time Object TrackingWonsang You
 
Fuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge DetectionFuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge DetectionDawn Raider Gupta
 
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYsipij
 
Edge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy LogicEdge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy LogicIJERA Editor
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingDHIVYADEVAKI
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Seminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab codeSeminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab codeBhushan Deore
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and codeVaddi Manikanta
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletIOSR Journals
 
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015) Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015) Konrad Wenzel
 
Iris & Peri-ocular Recognition
Iris & Peri-ocular RecognitionIris & Peri-ocular Recognition
Iris & Peri-ocular RecognitionShashank Dhariwal
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of ImageSatheesh K
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Overview Of Video Object Tracking System
Overview Of Video Object Tracking SystemOverview Of Video Object Tracking System
Overview Of Video Object Tracking SystemEditor IJMTER
 
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...IOSR Journals
 

What's hot (20)

Real-time Object Tracking
Real-time Object TrackingReal-time Object Tracking
Real-time Object Tracking
 
Fuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge DetectionFuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge Detection
 
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
 
Edge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy LogicEdge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy Logic
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Presentation of Visual Tracking
Presentation of Visual TrackingPresentation of Visual Tracking
Presentation of Visual Tracking
 
Orb feature by nitin
Orb feature by nitinOrb feature by nitin
Orb feature by nitin
 
Seminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab codeSeminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab code
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015) Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
 
Iris & Peri-ocular Recognition
Iris & Peri-ocular RecognitionIris & Peri-ocular Recognition
Iris & Peri-ocular Recognition
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Overview Of Video Object Tracking System
Overview Of Video Object Tracking SystemOverview Of Video Object Tracking System
Overview Of Video Object Tracking System
 
Line detection algorithms
Line detection algorithmsLine detection algorithms
Line detection algorithms
 
Stereo vision
Stereo visionStereo vision
Stereo vision
 
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
 

Similar to Defect detection in circlips using image processing in ni lab view

project_final_seminar
project_final_seminarproject_final_seminar
project_final_seminarMUKUL BICHKAR
 
Object detection at night
Object detection at nightObject detection at night
Object detection at nightSanjay Crúzé
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletIOSR Journals
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementSean Moran
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsSanthiNivas
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOHunter Rew
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhmMd Mosharof Hosen
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...alikhajegili
 
Image processing
Image processingImage processing
Image processingkamal330
 
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATIONDEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATIONSelvaLakshmi63
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniquesMazin Alwaaly
 
Back projection geometry in cbct
Back projection geometry in cbctBack projection geometry in cbct
Back projection geometry in cbctDrGayatriMehrotra
 
Photometric calibration
Photometric calibrationPhotometric calibration
Photometric calibrationAli A Jalil
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Visionothersk46
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorJinwon Lee
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementSean Moran
 

Similar to Defect detection in circlips using image processing in ni lab view (20)

project_final_seminar
project_final_seminarproject_final_seminar
project_final_seminar
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
Object detection at night
Object detection at nightObject detection at night
Object detection at night
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
OpenCV.pdf
OpenCV.pdfOpenCV.pdf
OpenCV.pdf
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGO
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhm
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...
 
Image processing
Image processingImage processing
Image processing
 
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATIONDEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Back projection geometry in cbct
Back projection geometry in cbctBack projection geometry in cbct
Back projection geometry in cbct
 
Photometric calibration
Photometric calibrationPhotometric calibration
Photometric calibration
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Vision
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox Detector
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

Defect detection in circlips using image processing in ni lab view

  • 1. SHRI RAMDEOBABA COLLEGE OF ENGINEERING AND MANAGEMENT, NAGPUR. F I N A L Y E A R P R O J E C T By: • Sayali Bodhankar - 18 • Mayur Harisangam - 53 • Akash Kharde - 79 • Shubham Patwardhan - 81 Project Guide: • Prof. B. Lad.
  • 2. Development of software to detect faulty circlips by pattern matching.
  • 3. What is a circlip? • A circlip (circular clip) is a type of fastner or retaining ring consisting of a semi-flexible metal ring with open ends which can be snapped into place, into a machined groove on a dowel pin or other part to permit rotation but to prevent lateral movement. • Circlips are often used to secure pinned connections.
  • 4. Literature Survey • Mostly used for surface defect detection like sheet metal, fabric textiles etc. • Process: surface image is acquired by using a camera from top of the surface from a distance adjusted so as to get the best possible view of the surface. • R-G-B image is converted into grey scale. • Noise removing and filtering. • Thresholding is done to get those pixels which represents an object. • Histogram equalisation : Histogram equalization is a method for stretching the contrast by uniformly distributing the grey values enhances the quality of an image useful when the image is intended for viewing. • This method is applicable to differentiate textures , also the method detects a variety of defects for a given texture. 1. Texture Defect Detection:
  • 5. Literature Survey • This method is generally used for detection moving objects in videos from static cameras. • Generally an image’s regions of interest are objects (humans, cars, text etc.) in its foreground. • The rationale in the approach is that of detecting the moving objects from the difference between the current frame and a reference frame, often called “background image”, or “background model. 2.Foreground extraction and background subtraction
  • 6. Literature Survey • PCA is used to extract features of stored image and test image. • The Euclidian distance applied between the features of standard images and the features of the test image, to recognize the highest similarity image from the standard image to the test image. 3.Principle Component Analysis:
  • 7. Process Flow Calculate Number of Holes FAIL Calculate Area =2 ? No PASS Within Tolerance range?
  • 8.
  • 9. Dilation : This operation is used to restore boundaries of the particles eroded due to erosion operation. A dilation eliminates tiny holes isolated in particles and expands the particle contours according to the template defined by the structuring element. This function has the opposite effect of an erosion because the dilation is equivalent to eroding the background. For any given pixel P0, the structuring element is centered on P0.The pixels masked by a coefficient of the structuring element equal to 1 then are referred to as Pi. If the value of one pixel Pi is equal to 1, then P0 is set to 1, else P0 is set to 0. If OR(Pi) = 1, then P0 = 1, else P0 = 0. Firstly an Erosion operation is performed to eliminate the pixels isolated in the background. For a given pixel P0, the structuring element is centered on P0. The pixels masked by a coefficient of the structuring element equal to 1 are then referred as Pi.If the value of one pixel Pi is equal to 0, then P0 is set to 0, else P0 is set to 1.If AND(Pi) = 1, then P0 = 1, else P0 = 0. According to the erosion operation mentioned above a pixel is cleared if it is equal to 1 and the three neighbours to its left are not equal to 1. However this operation also erodes the contour of particles according to the template defined by the structuring element. Local Thresholding: The average is referred to as local mean m(i,j) at pixel (i,j). An image B(i, j) is calculated as B(i, j) = I(i, j) – m(i, j) where m(i, j) is the local mean at pixel (i, j). An optimal threshold is determined by maximizing the between-class variation with respect to the threshold. The threshold value is the pixel value k at which the following expression is maximized B2=[T(k)-(k)]2/(k) [1-(k)] where (k)=i=0kip(i) , T=i=0N-1ip(i) ● i represents the gray level value. ● k represents the gray level value chosen as the threshold. ● h(i) represents the number of pixels in the image at each gray level value. ● N represents the total number of gray levels in the image. (256 for an 8-bit image) ● n represents the total number of pixels in the image.
  • 10. Thresholding Thresholding sets each grey level that is less than or equal to some prescribed value T‐called the threshold value‐to 0, and each grey level greater than T is changed to K ‐ 1. Thresholding is useful when one wants to separate bright objects of interest from a darker background or vice versa. The thresholding transformation is defined by: T(i,j) = k-1 ; I(I.j)>T T(I,j)= 0 ; I(I,j)<T For Entire Circlip Inverse Transformation Inverse Transformation is applied to greyscale image. Given greyscale image has 256 grey levels. K=256 Inverse image: N(I,j) Greyscale Image: I(I.j) N(I,j)=(k-1)-I(I,j)
  • 11.
  • 14. Basler Industrial Camera • Model Name -daA2500-14uc - Basler dart • Sensor Type -CMOS • Sensor Size -5.7 mm x 4.3 mm • Resolution (H x V) -2592 px x 1944 px • Resolution -5 MP • Pixel Size (H x V) -2.2 µm x 2.2 µm • Frame Rate -14 fps • Power Requirements -Via USB 3.0 interface • Power Consumption • (typical) -1.3 W • Basler dart can be interfaced using USB 3.0.
  • 16. Proximity Sensor Components Required: 1. LM 358 IC 2. 1 InfraRed LED PhotoDiode pair 3. Resistors: 2 x 270R, 10K 4. Potentiometer: 10K 5. Breadboard 6. Power Supply: (3-12)V 7. Few Breadboard connectors The sensing component in this circuit is IR photo-diode. More the amount of Infrared light falling on the IR photodiode, more is the current flowing through it. (Energy from IR waves is absorbed by electrons at p-n junction of IR photodiode, which causes current to flow) This current when flows through the 10k resistor, causes potential difference (voltage) to develop. As the value of resistor is constant, the voltage across the resistor is directly proportional to the magnitude of current flowing, which in turn is directly proportional to the amount of Infra-Red waves incident on the IR photodiode. So, when any object is brought nearer to the IR LED, Photo-Diode pair, the amount of IR rays from IR LED which reflects and falls on the IR photodiode increases and therefore voltage at the resistor increases. We compare this voltage change (nearer the object, more is the voltage at 10K resistor / IR photodiode) with a fixed reference voltage (Created using a potentiometer). Here, LM358 IC (A comparator/OpAmp) is used for comparing the sensor and reference voltages. The OpAmp functions in a way that whenever the voltage at non-inverting input is more than the voltage at inverting input, the output turns ON. The positive terminal of photodiode (This is the point where the voltage changes proportion to object distance) is connected to non-inverting input of OpAmp and the reference voltage is connected to inverting input of OpAmp. When no object is near the IR proximity sensor, we need LED to be turned off. So we adjust the potentiometer so as to make the voltage at inverting input more than non-inverting. When any object approaches the IR proximity sensor, the voltage at photodiode increases and at some point the voltage at non-inverting input becomes more than inverting input, which causes OpAmp to turn on the LED. In the same manner, when the object moves farther from the IR proximity sensor, the voltage at non-inverting input reduces and at some point becomes less than inverting input, which causes OpAmp to turn off the LED.
  • 17. Serial Communication by ARDUINO • Baud Rate = 115200. • Both sidesof the serial connection(i.e. the Arduino and your computer) need to be set to use the same speed serial connectionin order to get any sort of intelligibledata. If there's a mismatch between what the two systems think the speed is then the data will be garbled. • :Serial.begin(115200) would set the Arduino to transmit at 115200 bits per second.You'd need to set whatever software you're using on your computer (like the Arduino IDE's serial monitor) to the same speed in order to see the data being sent.
  • 18. Microcontroller ATmega328 Operating Voltage(logic level): 5V Input Voltage (recommended): 7- 12 V Input Voltage(limits): 6-20 V Digital I/O Pins : 14 (of which6 provide PWM output) Analog Input Pins: 8 DC Current per I/O Pin: 40 mA Flash Memory 32KB (ATmega328) of which2KB used bybootloader SRAM: 2KB(ATmega328) EEPROM: 1KB (ATmega328) Clock Speed: 16 MHz Dimensions: 0.73" x 1.70"
  • 19. Besler D2500 camera acrylic circular sheet 15x15 rectangular plastic container LED Proximity Sensor and Arduino Nano Board
  • 20. Pixel to real world measurements. • Image used for calibration.Whatever length measurement are shown after image processing are in terms of pixels. To convert these measurements to real world standard units such as centimetre or metre, we have to calibrate the program accordingly. To calibrate the program, we need to see how many pixel lengths correspond to what length in centimetres. For this purpose we have taken an image of a scale and measured its length in pixels.
  • 21.
  • 22.
  • 23.
  • 24.
  • 27. • Rafael C. Gonzalez, Richard E. Woods, “Digital Image Processing”, 2nd ed., Prenticece Hall, Upper Saddle River, New Jersey 07458 . • Su-Ling Lee and Chien-Cheng Tseng,Senior Member, IEEE, “Color Image Enhancement Using Histogram Equalization Method without Changing Hue and Saturation”,2017 IEEE International Conference on Consumer Electronics - Taiwan (ICCE-TW) • Mao Xiaobo, Yang Jing ,”Research on Object-background Segmentation of Color Image Based on LabVIEW”,Proceedings of the 2011 IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems, March 20-23, 2011, Kunming, China • Suresh Babu Changalasetty, Ahmed Said Badawy, Wade Ghribi and Lalitha Saroja Thota ,”Identification and Extraction of Moving Vehicles in LabVIEW”,International Conference on Communication and Signal Processing, April 3-5, 2014, India . • Abahan Sarkar Graduate Student Member IEEE, Tamal Dutta, and B K Roy Member, IEEE,”Fault Identification on Cigarette Packets - An Image Processing Approach ”,2014 Annual IEEE India Conference (INDICON).