SlideShare uma empresa Scribd logo
1 de 76
Morphological Image Operation
   Download di http://rumah-belajar.org




                                           2
Mathematical Morphology

   Mathematical morphology is a powerful
    methodology which was initiated in the late
    1960s by G.Matheron and J.Serra at the
    Fontainebleau School of Mines in France.
   nowadays it offers many theoretic and
    algorithmic tools inspiring the development of
    research in the fields of signal
    processing, image processing, machine
    vision, and pattern recognition.



                                                     3
Morphological Operations -1

The four most basic operations in mathematical
morphology are dilation, erosion, opening and Closing:




                                                         4
Morphological Image Processing

   Boolean algebra
   Dilation and erosion
   Opening and closing
   Hit-or-miss
   Basic algorithms
   Extension to gray-scale




                                     5
Examples of Boolean Algebra
   Switching algebra
       S = {0, 1}
   Finite Boolean algebras
       Example: S = {(0, 0), (0, 1), (1, 0), (1, 1)}
       (a1, a2)’ = (a’1, a’2)
       (0, 1) (1, 0) = (0, 0)
   Set unions/intersections
       Union is like
       Intersection is like
       Empty set is like 0
       There is no 1 (universal set)



                                                        6
Review: Boolean Algebra
   A Boolean algebra is a set with at least two
    elements, three operations (and , or , not ‘) and two
    special elements (0, 1) that have the following
    properties.
       A B is an element of the set. This function is defined for all
        elements A and B in the set. It is symmetric (A B = B A)
       A B has the same properties
       A’ is defined for all elements in the set.
           A A’=0, A A’=1
       The operations    and + are distributive.
           A (B C)=(A B) (A C)
           A (B C)=(A B) (A C)
       0 and 1 are identities, in the following sense
           0 A=A
           1 A=A

                                                                         7
Some Basic Definitions
    Let A and B be sets with components a=(a1,a2) and
     b=(b1,b2), respectively.
    The translation of A by x=(x1,x2) is
          A + x = {c | c = a + x, for a A}
    The reflection of A is
          Ar = {x | x = -a for a A}
    The complement of A is
          Ac = {x | x A}
    The union of A and B is
          A B = {x | x A or x B }
    The intersection of A and B is
          A B = {x | x A and x B }
                                                         8
Some Basic Definitions
    The difference of A and B is.
          A – B = A Bc = {x | x A and x B}
    A and B are said to be disjoint or mutually exclusive if they
     have no common elements.
    If every element of a set A is also an element of another set
     B, then A is said to be a subset of B.




                                                                     9
Additional Operations
   Elements of set: points
       Points are integers (1-D discrete space)
       Points are 2-D vectors with integer components (2-D
        discrete space)
   Operations
       Addition (vector addition)
       Reflection (multiply by -1)
       Integer multiplication
   A set of points can be translated or reflected
       S+x = x+S (new set consists of all points of
        S, translated by x)
       S^ is the set reflected through the origin

                                                              10
Boolean Algebra




                  11
Continuous and Discrete Morphology

   There are morphology theories of continuous
    and discrete spaces
   Example of continuous space
       Real line
   Example of discrete space
       Integers
   We will talk about the morphology of discrete
    spaces


                                                    12
Morphology




     A binary image containing two object sets A and B

     B = {(0,0), (0,1), (1,0)}
     A = {(5,0), (3,1), (4,1), (5,1), (3,2), (4,2), (5,2)}



                                                              13
Basic Morphological Operations

   Dilation
       A+B = {x| x = y+z, y in A, z in B}
       Equivalent definition
           {x, (x+B^) A is not empty}
   Erosion
       A-B = {x| x+B is a subset of A}




                                             14
Some Basic Definitions (Dilation)
    Dilation
          A B = {x | (B + x) A    }
    Dilation expands a region.




                                      15
Example (1)




              16
More Examples (2)




                    17
Some Basic Definitions (Erosion)
    Erosion
         A B = {x | (B + x) A}
    Erosion shrinks a region.




                                   18
More Examples (3)




                    19
Some Basic Definitions (opening)
    Opening is erosion followed by dilation:
          A B = (A B) B
    Opening smoothes regions, removes spurs, breaks narrow
     lines.




                                                              20
Morphological Opening
      A oB @(A   B) B

        A opened by B




                         21
Some Basic Definitions (closing)
    Closing is dilation followed by erosion:
         A B = (A B) B
    Closing fills narrow gaps and holes in a region.




                                                        22
Morphological Closing

    A • B @(A B) B
       A closed by B




                        23
Example




          24
Combination of Opening and Closing




                                     25
Hit-or-Miss

   Given: points on plane
   Template: Set of one points (foreground) and set
    of zero points (background)
   Example foreground: B1=D, B2=D
   Find: Points x for which B1+x are 1, B2+x are 0
   Solution:




                                                      26
Exp:




       27
Boundary Extraction

    (A) A (A B)'




                      28
Region Filling


   Xk (Xk 1 B) A'
•Start with point in region A.
Keep expanding by
dilation, using points in region A
only.




                                              29
Extraction of Connected Component

    Xk   (Xk   1   B) A


   Start with point
    on object. Keep
    adding points




                                    30
Skeleton

   Morphological skeleton
      Start with structuring element, B
      Generate a sequence of elements Bk=kB,
      B0=0                 n
                 A       k 0   Sk Bk
      Construction

      Sk    (A Bk ) ((A Bk ) B)'



    Connected       skeleton

                                               31
Morphological Skeleton




                         32
Connected Skeleton




                     33
Some Morphological Algorithms




                                34
Some Morphological Algorithms
    Boundary of a set, A, can be found by
        A - (A B)




                                             B




                                                 35
Some Morphological Algorithms
   A region can be filled iteratively by
        Xk+1 = (Xk B) Ac ,
                where k = 0,1,…
                and X0 is a point inside the region.




                                                       36
Some Morphological Algorithms




                                37
Morphological Operations

BWMORPH Perform morphological operations on binary image.
 BW2 = BWMORPH(BW1,OPERATION) applies a specific
 morphological operation to the binary image BW1.

  BW2 = BWMORPH(BW1,OPERATION,N) applies the operation N
  times. N can be Inf, in which case the operation is repeated
  until the image no longer changes.

OPERATION is a string that can have one of these values:
  'skel'   With N = Inf, remove pixels on the boundaries
           of objects without allowing objects to break
           apart
  'spur' Remove end points of lines without removing
           small objects completely.
  'fill' Fill isolated interior pixels (0's surrounded by
           1's)
  ...




                                                                 38
Morphological Operations
   BW1 = imread('circbw.tif');
   BW2 = bwmorph(BW1,'skel',Inf);
   imshow(BW1);
   figure, imshow(BW2);




                                    39
Morphological Operations
   BW1 = imread('circbw.tif');
   BW2 = bwperim(BW1);
   imshow(BW1);
   figure, imshow(BW2)




                                 40
Morphological Operations

Pixel Connectivity
Connectivity defines which pixels are connected to other pixels. A set of
pixels in a binary image that form a connected group is called an object
or a connected component.




            4-connected                    8-connected



                                                                            41
Morphological Operations
BW = [0 0 0 0 0 0   0   0;
      0 1 1 0 0 1   1   1;
      0 1 1 0 0 0   1   1;    X = bwlabel(BW,4);
      0 1 1 0 0 0   0   0;    RGB = label2rgb(X, @jet, 'k');
      0 0 0 1 1 0   0   0;    imshow(RGB,'notruesize')
      0 0 0 1 1 0   0   0;
      0 0 0 1 1 0   0   0;
      0 0 0 0 0 0   0   0];
X = bwlabel(BW,4)
X =   0 0 0 0 0 0   0   0
      0 1 1 0 0 3   3   3
      0 1 1 0 0 0   3   3
      0 1 1 0 0 0   0   0
      0 0 0 2 2 0   0   0
      0 0 0 2 2 0   0   0
      0 0 0 2 2 0   0   0
      0 0 0 0 0 0   0   0

                                                               42
Some Morphological Algorithms

                    Application example: Using
                    connected components to detect
                    foreign objects in packaged food.
                    There are four objects with
                    significant size!




                                                   43
Some Morphological Algorithms
    Thinning: Thin regions iteratively; retain connections and
     endpoints.
    Skeletons: Reduces regions to lines of one pixel thick;
     preserves shape.
    Convex hull: Follows outline of a region except for
     concavities.




    Pruning: Removes small branches.


                                                                  44
Summary




          45
Summary




          46
Summary




          47
Summary




          48
Extensions to Gray-Scale Images
  Dilation




                                  49
Extensions to Gray-Scale Images
  Dilation




             Take the maximum within the window.



                                                   50
Extensions to Gray-Scale Images
  Erosion




                                  51
Extensions to Gray-Scale Images
    Dilation:
       Makes image brighter

       Reduces or eliminates dark details

    Erosion:
       Makes image darker

       Reduces or eliminates bright details




                                               52
Extensions to Gray-Scale Images




                                  53
Extensions to Gray-Scale Images




               Opening: Narrow bright areas are reduced.
               Closing: Narrow dark areas are reduced.



                                                           54
Extensions to Gray-Scale Images




                                  56
Application Example




                      57
Application Example-Segmentation




                                   58
Application Example-Granulometry




                                   59
Morphological Reconstruction (exp.algo)

      Algorithm for binary reconstruction:
         1. M = V o K , where K is any SE.
         2. T = M,
         3. M= M      Ki , where i=4 or i=8,

         4. M = M∩ V, [Take only those pixels from M that are also in V .]
         5. if M     T then go to 2,

         6. else stop;




         Original (V)              Opened (M)          Reconstructed (T)
                                                                             60
Application in 2D Image Processing
       Character Extraction-1




    Character Extraction From Cover Image (Source)
                                                     61
Application in 2D Image Processing
       Character Extraction-2




    Character Extraction From Cover Image (Results)
                                                      62
Application in 2D Image Processing
       Character Extraction-3




           Morning       Noon




           Afternoon     Evening
                                     63
Application in 2D Image Processing
       Character Extraction-4




           Morning       Noon




           Afternoon     Evening
                                     64
Application in 3D Image Processing
        Organs Extraction-1




 slice20        slice25        slice30




                 slice25      slice30   65
 slice20
Application in 3D Image Processing
        Organs Extraction-2




        Top View           Back View


                                       66
Application in 3D Image Processing
        Organs Extraction-3




                                     67
Application in 3D Image Processing
          Organs Extraction-4




                Segmented heart beating cycle

                                                68
Application in 3D Image Processing
          Organs Extraction-5




         Kidney with Bones   Kidney with Vessels



                                                   69
Brain View snapshot-3
                --Registration tool kit

                           Features:
                              1. Cut plane in 3D
                              2. Work in 2 data sets
                              3. 2D and 3D view
                              4. Registration methods:
                                 •   LandMark
                                 •   ThinPlateSpline
                                 •   GridTransform
                                 •   MutualInformation


                                                    70
Brain View snapshot-4
                --Segmenation tool kit

                          Features:
                             1. Cut plane in 3D
                             2. Work in 2 data sets
                             3. 2D and 3D view
                             4. Segmenation
                                 methods:
                                 •   Morphology
                                 •   Snake
                                 •   Level Set
                                 •   Watershed


                                                  71
Research Plan-1
      Medical Image Analysis
                      --- Segmentation and Registration
          More efforts address on Ultrasound Image (2D, 3D)




            Segmented baby face from US




                                                  2D Segmentation using GDM 72
           Real time US, MR integration for IGS
73
Image Comparison Techniques


•   Image Subtraction
    the simplest and most direct approach to PCB inspection
    problem. The PCB is compared to an image of an ideal part. The
    subtraction can be done by logical XOR operation between the
    two images .
•   Feature Matching
    an improved form of image subtraction, in which the extracted
    features from the object and those defined by the model are
    compared.
•   Phase Only Method




                                                                     74
Example PCB and Mask




                       75
Result



         short
         spur
         dirt
         open
         mousebite
         pinhole




                     76
Question




           77

Mais conteúdo relacionado

Mais procurados

Region filling
Region fillingRegion filling
Region fillinghetvi naik
 
Dilation and erosion
Dilation and erosionDilation and erosion
Dilation and erosionAswin Pv
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingAnubhav Kumar
 
Morphology in graphics and image processing
Morphology in graphics and image processingMorphology in graphics and image processing
Morphology in graphics and image processingDheeban Smart
 
Erosion and dilation
Erosion and dilationErosion and dilation
Erosion and dilationAkhil .B
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processingVinayak Narayanan
 
COM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingCOM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingHemantha Kulathilake
 
morphological tecnquies in image processing
morphological tecnquies in image processingmorphological tecnquies in image processing
morphological tecnquies in image processingsoma saikiran
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysislalitxp
 
Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Kazi Mostafa
 

Mais procurados (20)

Region filling
Region fillingRegion filling
Region filling
 
Dilation and erosion
Dilation and erosionDilation and erosion
Dilation and erosion
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Morphology in graphics and image processing
Morphology in graphics and image processingMorphology in graphics and image processing
Morphology in graphics and image processing
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
Erosion and dilation
Erosion and dilationErosion and dilation
Erosion and dilation
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
COM2304: Morphological Image Processing
COM2304: Morphological Image ProcessingCOM2304: Morphological Image Processing
COM2304: Morphological Image Processing
 
morphological tecnquies in image processing
morphological tecnquies in image processingmorphological tecnquies in image processing
morphological tecnquies in image processing
 
Dip Morphological
Dip MorphologicalDip Morphological
Dip Morphological
 
1422798749.2779lecture 5
1422798749.2779lecture 51422798749.2779lecture 5
1422798749.2779lecture 5
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
 
point processing
point processingpoint processing
point processing
 
07object3d
07object3d07object3d
07object3d
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 
Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images Low-Resolution Contour Recognition for Hexagonal Grid Images
Low-Resolution Contour Recognition for Hexagonal Grid Images
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Point Processing
Point ProcessingPoint Processing
Point Processing
 

Destaque

Mikrokontroler pertemuan 3
Mikrokontroler pertemuan 3Mikrokontroler pertemuan 3
Mikrokontroler pertemuan 3Rumah Belajar
 
Mikrokontroler pertemuan 5
Mikrokontroler pertemuan 5Mikrokontroler pertemuan 5
Mikrokontroler pertemuan 5Rumah Belajar
 
Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2 Rumah Belajar
 
2Dさんから流れてきた問題
2Dさんから流れてきた問題2Dさんから流れてきた問題
2Dさんから流れてきた問題Naoto Mizuno
 
幾何コンテスト2013
幾何コンテスト2013幾何コンテスト2013
幾何コンテスト2013Naoto Mizuno
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrixRumah Belajar
 
01 introduction image processing analysis
01 introduction image processing analysis01 introduction image processing analysis
01 introduction image processing analysisRumah Belajar
 
Color tracking
Color trackingColor tracking
Color trackingHasan Ijaz
 
Mikrokontroler dan Antar Muka (14)
Mikrokontroler dan Antar Muka (14)Mikrokontroler dan Antar Muka (14)
Mikrokontroler dan Antar Muka (14)jayamartha
 
Archopht 82 2_008
Archopht 82 2_008Archopht 82 2_008
Archopht 82 2_008JOHNNYMAN
 

Destaque (11)

Mikrokontroler pertemuan 3
Mikrokontroler pertemuan 3Mikrokontroler pertemuan 3
Mikrokontroler pertemuan 3
 
Mikrokontroler pertemuan 5
Mikrokontroler pertemuan 5Mikrokontroler pertemuan 5
Mikrokontroler pertemuan 5
 
Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2
 
2Dさんから流れてきた問題
2Dさんから流れてきた問題2Dさんから流れてきた問題
2Dさんから流れてきた問題
 
幾何コンテスト2013
幾何コンテスト2013幾何コンテスト2013
幾何コンテスト2013
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
 
01 introduction image processing analysis
01 introduction image processing analysis01 introduction image processing analysis
01 introduction image processing analysis
 
Color tracking
Color trackingColor tracking
Color tracking
 
3 d image processsing operations
3 d image processsing operations3 d image processsing operations
3 d image processsing operations
 
Mikrokontroler dan Antar Muka (14)
Mikrokontroler dan Antar Muka (14)Mikrokontroler dan Antar Muka (14)
Mikrokontroler dan Antar Muka (14)
 
Archopht 82 2_008
Archopht 82 2_008Archopht 82 2_008
Archopht 82 2_008
 

Semelhante a Image segmentation 3 morphology

Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfSangitaBose2
 
Admission for mba
Admission for mbaAdmission for mba
Admission for mbaEdhole.com
 
Solution Strategies for Equations that Arise in Geometric (Cliff ord) Algebra
Solution Strategies for Equations that Arise in Geometric (Clifford) AlgebraSolution Strategies for Equations that Arise in Geometric (Clifford) Algebra
Solution Strategies for Equations that Arise in Geometric (Cliff ord) AlgebraJames Smith
 
Morphological.pdf
Morphological.pdfMorphological.pdf
Morphological.pdfpawankamal3
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial IntelligenceManoj Harsule
 
Morphology gonzalez-woods
Morphology gonzalez-woodsMorphology gonzalez-woods
Morphology gonzalez-woodsSonam Maurya
 
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).pptDediTriLaksono1
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebramdaglis
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptxMitKumar2
 
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...YogeshNeelappa2
 
Masters Thesis Defense
Masters Thesis DefenseMasters Thesis Defense
Masters Thesis Defensessj4mathgenius
 
Set theory and relation
Set theory and relationSet theory and relation
Set theory and relationankush_kumar
 

Semelhante a Image segmentation 3 morphology (20)

Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
Math task 3
Math task 3Math task 3
Math task 3
 
Admission for mba
Admission for mbaAdmission for mba
Admission for mba
 
Solution Strategies for Equations that Arise in Geometric (Cliff ord) Algebra
Solution Strategies for Equations that Arise in Geometric (Clifford) AlgebraSolution Strategies for Equations that Arise in Geometric (Clifford) Algebra
Solution Strategies for Equations that Arise in Geometric (Cliff ord) Algebra
 
Morphological.pdf
Morphological.pdfMorphological.pdf
Morphological.pdf
 
Introduction to Artificial Intelligence
Introduction to Artificial IntelligenceIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence
 
Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
Morphology gonzalez-woods
Morphology gonzalez-woodsMorphology gonzalez-woods
Morphology gonzalez-woods
 
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
00_1 - Slide Pelengkap (dari Buku Neuro Fuzzy and Soft Computing).ppt
 
Linear Algebra Assignment help
Linear Algebra Assignment helpLinear Algebra Assignment help
Linear Algebra Assignment help
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptx
 
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
 
Maths Assignment Help
Maths Assignment HelpMaths Assignment Help
Maths Assignment Help
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
Masters Thesis Defense
Masters Thesis DefenseMasters Thesis Defense
Masters Thesis Defense
 
Chapter 9 newer
Chapter 9   newerChapter 9   newer
Chapter 9 newer
 
Set theory and relation
Set theory and relationSet theory and relation
Set theory and relation
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 

Mais de Rumah Belajar

04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detectionRumah Belajar
 
06 object measurement
06 object measurement06 object measurement
06 object measurementRumah Belajar
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanRumah Belajar
 
Bab 10 spring arif hary
Bab 10 spring  arif hary Bab 10 spring  arif hary
Bab 10 spring arif hary Rumah Belajar
 
Bab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahBab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahRumah Belajar
 
Bab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasBab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasRumah Belajar
 
Bab 08 screws, fasteners and connection syarif
Bab 08 screws, fasteners and connection  syarif Bab 08 screws, fasteners and connection  syarif
Bab 08 screws, fasteners and connection syarif Rumah Belajar
 
Bab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyBab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyRumah Belajar
 
Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Rumah Belajar
 
Bab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiBab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiRumah Belajar
 
Bab 03 load analysis
Bab 03 load analysisBab 03 load analysis
Bab 03 load analysisRumah Belajar
 
Bab 02 material dan proses
Bab 02 material dan prosesBab 02 material dan proses
Bab 02 material dan prosesRumah Belajar
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanRumah Belajar
 
Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Rumah Belajar
 
Mikrokontroler pertemuan 7
Mikrokontroler pertemuan 7Mikrokontroler pertemuan 7
Mikrokontroler pertemuan 7Rumah Belajar
 
Mikrokontroler pertemuan 4
Mikrokontroler pertemuan 4Mikrokontroler pertemuan 4
Mikrokontroler pertemuan 4Rumah Belajar
 
Mikrokontroler pertemuan 2
Mikrokontroler pertemuan 2Mikrokontroler pertemuan 2
Mikrokontroler pertemuan 2Rumah Belajar
 
Mikrokontroler pertemuan 1
Mikrokontroler pertemuan 1Mikrokontroler pertemuan 1
Mikrokontroler pertemuan 1Rumah Belajar
 
Mikrokontroler pertemuan 6
Mikrokontroler pertemuan 6Mikrokontroler pertemuan 6
Mikrokontroler pertemuan 6Rumah Belajar
 

Mais de Rumah Belajar (20)

03 image transform
03 image transform03 image transform
03 image transform
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detection
 
06 object measurement
06 object measurement06 object measurement
06 object measurement
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasan
 
Bab 10 spring arif hary
Bab 10 spring  arif hary Bab 10 spring  arif hary
Bab 10 spring arif hary
 
Bab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahBab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelah
 
Bab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasBab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan las
 
Bab 08 screws, fasteners and connection syarif
Bab 08 screws, fasteners and connection  syarif Bab 08 screws, fasteners and connection  syarif
Bab 08 screws, fasteners and connection syarif
 
Bab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyBab 07 poros dan aksesoriny
Bab 07 poros dan aksesoriny
 
Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1
 
Bab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiBab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksi
 
Bab 03 load analysis
Bab 03 load analysisBab 03 load analysis
Bab 03 load analysis
 
Bab 02 material dan proses
Bab 02 material dan prosesBab 02 material dan proses
Bab 02 material dan proses
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasan
 
Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8
 
Mikrokontroler pertemuan 7
Mikrokontroler pertemuan 7Mikrokontroler pertemuan 7
Mikrokontroler pertemuan 7
 
Mikrokontroler pertemuan 4
Mikrokontroler pertemuan 4Mikrokontroler pertemuan 4
Mikrokontroler pertemuan 4
 
Mikrokontroler pertemuan 2
Mikrokontroler pertemuan 2Mikrokontroler pertemuan 2
Mikrokontroler pertemuan 2
 
Mikrokontroler pertemuan 1
Mikrokontroler pertemuan 1Mikrokontroler pertemuan 1
Mikrokontroler pertemuan 1
 
Mikrokontroler pertemuan 6
Mikrokontroler pertemuan 6Mikrokontroler pertemuan 6
Mikrokontroler pertemuan 6
 

Último

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Último (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Image segmentation 3 morphology

  • 2. Download di http://rumah-belajar.org 2
  • 3. Mathematical Morphology  Mathematical morphology is a powerful methodology which was initiated in the late 1960s by G.Matheron and J.Serra at the Fontainebleau School of Mines in France.  nowadays it offers many theoretic and algorithmic tools inspiring the development of research in the fields of signal processing, image processing, machine vision, and pattern recognition. 3
  • 4. Morphological Operations -1 The four most basic operations in mathematical morphology are dilation, erosion, opening and Closing: 4
  • 5. Morphological Image Processing  Boolean algebra  Dilation and erosion  Opening and closing  Hit-or-miss  Basic algorithms  Extension to gray-scale 5
  • 6. Examples of Boolean Algebra  Switching algebra  S = {0, 1}  Finite Boolean algebras  Example: S = {(0, 0), (0, 1), (1, 0), (1, 1)}  (a1, a2)’ = (a’1, a’2)  (0, 1) (1, 0) = (0, 0)  Set unions/intersections  Union is like  Intersection is like  Empty set is like 0  There is no 1 (universal set) 6
  • 7. Review: Boolean Algebra  A Boolean algebra is a set with at least two elements, three operations (and , or , not ‘) and two special elements (0, 1) that have the following properties.  A B is an element of the set. This function is defined for all elements A and B in the set. It is symmetric (A B = B A)  A B has the same properties  A’ is defined for all elements in the set.  A A’=0, A A’=1  The operations and + are distributive.  A (B C)=(A B) (A C)  A (B C)=(A B) (A C)  0 and 1 are identities, in the following sense  0 A=A  1 A=A 7
  • 8. Some Basic Definitions  Let A and B be sets with components a=(a1,a2) and b=(b1,b2), respectively.  The translation of A by x=(x1,x2) is A + x = {c | c = a + x, for a A}  The reflection of A is Ar = {x | x = -a for a A}  The complement of A is Ac = {x | x A}  The union of A and B is A B = {x | x A or x B }  The intersection of A and B is A B = {x | x A and x B } 8
  • 9. Some Basic Definitions  The difference of A and B is. A – B = A Bc = {x | x A and x B}  A and B are said to be disjoint or mutually exclusive if they have no common elements.  If every element of a set A is also an element of another set B, then A is said to be a subset of B. 9
  • 10. Additional Operations  Elements of set: points  Points are integers (1-D discrete space)  Points are 2-D vectors with integer components (2-D discrete space)  Operations  Addition (vector addition)  Reflection (multiply by -1)  Integer multiplication  A set of points can be translated or reflected  S+x = x+S (new set consists of all points of S, translated by x)  S^ is the set reflected through the origin 10
  • 12. Continuous and Discrete Morphology  There are morphology theories of continuous and discrete spaces  Example of continuous space  Real line  Example of discrete space  Integers  We will talk about the morphology of discrete spaces 12
  • 13. Morphology A binary image containing two object sets A and B  B = {(0,0), (0,1), (1,0)}  A = {(5,0), (3,1), (4,1), (5,1), (3,2), (4,2), (5,2)} 13
  • 14. Basic Morphological Operations  Dilation  A+B = {x| x = y+z, y in A, z in B}  Equivalent definition  {x, (x+B^) A is not empty}  Erosion  A-B = {x| x+B is a subset of A} 14
  • 15. Some Basic Definitions (Dilation)  Dilation A B = {x | (B + x) A }  Dilation expands a region. 15
  • 18. Some Basic Definitions (Erosion)  Erosion A B = {x | (B + x) A}  Erosion shrinks a region. 18
  • 20. Some Basic Definitions (opening)  Opening is erosion followed by dilation: A B = (A B) B  Opening smoothes regions, removes spurs, breaks narrow lines. 20
  • 21. Morphological Opening A oB @(A B) B A opened by B 21
  • 22. Some Basic Definitions (closing)  Closing is dilation followed by erosion: A B = (A B) B  Closing fills narrow gaps and holes in a region. 22
  • 23. Morphological Closing A • B @(A B) B A closed by B 23
  • 24. Example 24
  • 25. Combination of Opening and Closing 25
  • 26. Hit-or-Miss  Given: points on plane  Template: Set of one points (foreground) and set of zero points (background)  Example foreground: B1=D, B2=D  Find: Points x for which B1+x are 1, B2+x are 0  Solution: 26
  • 27. Exp: 27
  • 28. Boundary Extraction (A) A (A B)' 28
  • 29. Region Filling Xk (Xk 1 B) A' •Start with point in region A. Keep expanding by dilation, using points in region A only. 29
  • 30. Extraction of Connected Component Xk (Xk 1 B) A  Start with point on object. Keep adding points 30
  • 31. Skeleton  Morphological skeleton Start with structuring element, B Generate a sequence of elements Bk=kB, B0=0 n A k 0 Sk Bk Construction Sk (A Bk ) ((A Bk ) B)' Connected skeleton 31
  • 35. Some Morphological Algorithms  Boundary of a set, A, can be found by A - (A B) B 35
  • 36. Some Morphological Algorithms  A region can be filled iteratively by Xk+1 = (Xk B) Ac , where k = 0,1,… and X0 is a point inside the region. 36
  • 38. Morphological Operations BWMORPH Perform morphological operations on binary image. BW2 = BWMORPH(BW1,OPERATION) applies a specific morphological operation to the binary image BW1. BW2 = BWMORPH(BW1,OPERATION,N) applies the operation N times. N can be Inf, in which case the operation is repeated until the image no longer changes. OPERATION is a string that can have one of these values: 'skel' With N = Inf, remove pixels on the boundaries of objects without allowing objects to break apart 'spur' Remove end points of lines without removing small objects completely. 'fill' Fill isolated interior pixels (0's surrounded by 1's) ... 38
  • 39. Morphological Operations BW1 = imread('circbw.tif'); BW2 = bwmorph(BW1,'skel',Inf); imshow(BW1); figure, imshow(BW2); 39
  • 40. Morphological Operations BW1 = imread('circbw.tif'); BW2 = bwperim(BW1); imshow(BW1); figure, imshow(BW2) 40
  • 41. Morphological Operations Pixel Connectivity Connectivity defines which pixels are connected to other pixels. A set of pixels in a binary image that form a connected group is called an object or a connected component. 4-connected 8-connected 41
  • 42. Morphological Operations BW = [0 0 0 0 0 0 0 0; 0 1 1 0 0 1 1 1; 0 1 1 0 0 0 1 1; X = bwlabel(BW,4); 0 1 1 0 0 0 0 0; RGB = label2rgb(X, @jet, 'k'); 0 0 0 1 1 0 0 0; imshow(RGB,'notruesize') 0 0 0 1 1 0 0 0; 0 0 0 1 1 0 0 0; 0 0 0 0 0 0 0 0]; X = bwlabel(BW,4) X = 0 0 0 0 0 0 0 0 0 1 1 0 0 3 3 3 0 1 1 0 0 0 3 3 0 1 1 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 2 2 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 42
  • 43. Some Morphological Algorithms Application example: Using connected components to detect foreign objects in packaged food. There are four objects with significant size! 43
  • 44. Some Morphological Algorithms  Thinning: Thin regions iteratively; retain connections and endpoints.  Skeletons: Reduces regions to lines of one pixel thick; preserves shape.  Convex hull: Follows outline of a region except for concavities.  Pruning: Removes small branches. 44
  • 45. Summary 45
  • 46. Summary 46
  • 47. Summary 47
  • 48. Summary 48
  • 49. Extensions to Gray-Scale Images Dilation 49
  • 50. Extensions to Gray-Scale Images Dilation Take the maximum within the window. 50
  • 51. Extensions to Gray-Scale Images Erosion 51
  • 52. Extensions to Gray-Scale Images  Dilation:  Makes image brighter  Reduces or eliminates dark details  Erosion:  Makes image darker  Reduces or eliminates bright details 52
  • 54. Extensions to Gray-Scale Images Opening: Narrow bright areas are reduced. Closing: Narrow dark areas are reduced. 54
  • 59. Morphological Reconstruction (exp.algo)  Algorithm for binary reconstruction: 1. M = V o K , where K is any SE. 2. T = M, 3. M= M Ki , where i=4 or i=8, 4. M = M∩ V, [Take only those pixels from M that are also in V .] 5. if M T then go to 2, 6. else stop; Original (V) Opened (M) Reconstructed (T) 60
  • 60. Application in 2D Image Processing Character Extraction-1 Character Extraction From Cover Image (Source) 61
  • 61. Application in 2D Image Processing Character Extraction-2 Character Extraction From Cover Image (Results) 62
  • 62. Application in 2D Image Processing Character Extraction-3 Morning Noon Afternoon Evening 63
  • 63. Application in 2D Image Processing Character Extraction-4 Morning Noon Afternoon Evening 64
  • 64. Application in 3D Image Processing Organs Extraction-1 slice20 slice25 slice30 slice25 slice30 65 slice20
  • 65. Application in 3D Image Processing Organs Extraction-2 Top View Back View 66
  • 66. Application in 3D Image Processing Organs Extraction-3 67
  • 67. Application in 3D Image Processing Organs Extraction-4 Segmented heart beating cycle 68
  • 68. Application in 3D Image Processing Organs Extraction-5 Kidney with Bones Kidney with Vessels 69
  • 69. Brain View snapshot-3 --Registration tool kit Features: 1. Cut plane in 3D 2. Work in 2 data sets 3. 2D and 3D view 4. Registration methods: • LandMark • ThinPlateSpline • GridTransform • MutualInformation 70
  • 70. Brain View snapshot-4 --Segmenation tool kit Features: 1. Cut plane in 3D 2. Work in 2 data sets 3. 2D and 3D view 4. Segmenation methods: • Morphology • Snake • Level Set • Watershed 71
  • 71. Research Plan-1  Medical Image Analysis --- Segmentation and Registration  More efforts address on Ultrasound Image (2D, 3D) Segmented baby face from US 2D Segmentation using GDM 72 Real time US, MR integration for IGS
  • 72. 73
  • 73. Image Comparison Techniques • Image Subtraction the simplest and most direct approach to PCB inspection problem. The PCB is compared to an image of an ideal part. The subtraction can be done by logical XOR operation between the two images . • Feature Matching an improved form of image subtraction, in which the extracted features from the object and those defined by the model are compared. • Phase Only Method 74
  • 74. Example PCB and Mask 75
  • 75. Result short spur dirt open mousebite pinhole 76
  • 76. Question 77