SlideShare une entreprise Scribd logo
1  sur  23
Shape Context

           Rocío Cabrera u1908272
           Vanya Valindria u1908259




06/05/12                              1
Introduction
            Can you guess what number it is?




 05/06/12                                      2
Objectives


       “Have descriptors that can be computed in
       one image and used to find corresponding
       points, if visible, in another image.”

       “Given a query model image, to develop an
       algorithm capable of retrieving similar-
       shaped images from an extensive database”


 05/06/12                                          3
Process Stages




      Solve the           Use the
                                                         Evaluate the
                    correspondences      Compute the
  correspondence
          .
  problem between
   the two shapes
                             .
                     to estimate an
                         aligning
                        transform
                                      distance between
                                       the two shapes        ?
                                                         distance and
                                                         classify the
                                                            shape




05/06/12                                                                4
SHAPE CONTEXT
   “A novel approach to measuring similarities between shapes and
   exploit it for object classification/recognition”




05/06/12                                                            5
Shape Context Computation
   Step 1.
   Obtain from ShapeP and ShapeQ n-samples uniformly spaced taken from
   their edge elements




05/06/12                                                                 6
Shape Context Computation
   Step 2.
   Compute the Euclidean distance (r) and the angle (θ) from each point in
   the set to all the other n-1 points.
   Normalize r by the median distance (λ) and measure the angle relative to
   the positive x-axis.




05/06/12                                                                      7
Shape Context Computation




    Step 3.
    Compute the log of the r vector.
    Discretize the distance and angle measurements

05/06/12                                             8
Shape Context Computation
   Step 4.
   For each origin point, capture number of points that lie a given θ,R bin.




  Each shape context is a log-polar histogram of the coordinates of the n-1
  points measured from the origin reference point.


05/06/12                                                                       9
Shape Context Computation
     Shape context of the sample points in ShapeP and
      ShapeQ.




05/06/12                                             10
Matching Shape Contexts
     How can we assign the sample points of ShapeP to
      correspond to those of ShapeQ?

     Determining shape correspondences such that:

           l   Corresponding points have very similar descriptors

           l   The correspondences are unique




05/06/12                                                            11
Matching Shape Contexts
     Define matching cost function

              Shape context
                   Distance between the two normalized histograms




              Local appearance
                   Dissimilarity of the tangent angles




05/06/12                                                             12
Matching Shape Contexts




05/06/12                  13
Modeling Transformation
      Given a set of correspondences, estimate a
       transformation that maps the model into the target

               Euclidean transformation

               Affine model

               Thin Plate Spline (TPS)




 05/06/12                                               14
Classification/Recognition
      This enables a measure of shape similarity
               The dissimilarity between two shapes can be computed
                as the sum of matching errors between corresponding
                points, together with a term measuring the magnitude
                of the aligning transform


      Given a dissimilarity measure, a k-NN technique can
       be used for object classification/recognition




 05/06/12                                                          15
Method Evaluation
Advantages                        Drawbacks
   Incorporates invariance to:      Sensitive local distortion or
                                      blurred edges
          Translation
                                     Problems      in    cluttered
          Scale                      background
          Rotation

          Occlusions




05/06/12                                                         16
Applications

      Digit recognition

      Silhouette similarity-
       based retrieval

      3 D object recognition

      Trademark retrieval



 05/06/12                       17
Database for Digit Recognition

   MNIST datasets of
    handwritten digits:

   60,000 training and
    10,000 test digits

Links:
http://yann.lecun.com/exdb/mnist/




 05/06/12                           18
Database for Silhouette
      MPEG-7 shape silhouette
       database (Core Experiment
       CE-Shape-1 part B)

      1400 images: 70 shapes
       categories and 20 images per
       category

     Links:
   http://mpeg.chiariglione.org/standards/mpeg-7/mpeg-7.htm




 05/06/12                                                     19
Database for 3-D object recognition

           COIL-20 database

           20 common household
            objects; turned every 5˚ for
            a total of 72 views per
            object

      Links:
    http://www1.cs.columbia.edu/CAVE/software/softlib/coil-20.php




 05/06/12                                                           20
Database for Trademark retrieval



     300 different real-
      world trademark




 05/06/12                          21
MATLAB DEMO


05/06/12         22
Conclusions

     The shape context method is simple to implement
      yet it is a rich shape descriptor

     The methodology makes it invariant to translation,
      scale and rotation

     Useful tool for shape matching and recognition




05/06/12                                               23

Contenu connexe

Tendances

Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
Ashish Kumar
 
Wavelet based image fusion
Wavelet based image fusionWavelet based image fusion
Wavelet based image fusion
Umed Paliwal
 

Tendances (20)

Image Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A surveyImage Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A survey
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Scale Invariant Feature Transform
Scale Invariant Feature TransformScale Invariant Feature Transform
Scale Invariant Feature Transform
 
Segmentation Techniques -II
Segmentation Techniques -IISegmentation Techniques -II
Segmentation Techniques -II
 
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic SegmentationSemantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
Semantic Segmentation - Fully Convolutional Networks for Semantic Segmentation
 
Psuedo color
Psuedo colorPsuedo color
Psuedo color
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Background subtraction
Background subtractionBackground subtraction
Background subtraction
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Wavelet based image fusion
Wavelet based image fusionWavelet based image fusion
Wavelet based image fusion
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face Recognition
 
Computer Vision Structure from motion
Computer Vision Structure from motionComputer Vision Structure from motion
Computer Vision Structure from motion
 
Line Detection in Computer Vision
Line Detection in Computer VisionLine Detection in Computer Vision
Line Detection in Computer Vision
 
[DL輪読会]BANMo: Building Animatable 3D Neural Models from Many Casual Videos
[DL輪読会]BANMo: Building Animatable 3D Neural Models from Many Casual Videos[DL輪読会]BANMo: Building Animatable 3D Neural Models from Many Casual Videos
[DL輪読会]BANMo: Building Animatable 3D Neural Models from Many Casual Videos
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Hog and sift
Hog and siftHog and sift
Hog and sift
 
Cvpr 2021 manydepth
Cvpr 2021 manydepthCvpr 2021 manydepth
Cvpr 2021 manydepth
 
CV_Chap 3 Features Detection
CV_Chap 3 Features DetectionCV_Chap 3 Features Detection
CV_Chap 3 Features Detection
 

En vedette

Shape Matching And Object Recognition Using Shape Contexts
Shape Matching And Object Recognition Using Shape ContextsShape Matching And Object Recognition Using Shape Contexts
Shape Matching And Object Recognition Using Shape Contexts
nlnngu
 
Shape matching and object recognition using shape context belongie pami02
Shape matching and object recognition using shape context belongie pami02Shape matching and object recognition using shape context belongie pami02
Shape matching and object recognition using shape context belongie pami02
irisshicat
 
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
Contextless Object Recognition with Shape-enriched SIFT and Bags of FeaturesContextless Object Recognition with Shape-enriched SIFT and Bags of Features
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
Universitat Politècnica de Catalunya
 
Video object tracking with classification and recognition of objects
Video object tracking with classification and recognition of objectsVideo object tracking with classification and recognition of objects
Video object tracking with classification and recognition of objects
Manish Khare
 
Presentation Object Recognition And Tracking Project
Presentation Object Recognition And Tracking ProjectPresentation Object Recognition And Tracking Project
Presentation Object Recognition And Tracking Project
Prathamesh Joshi
 
Vehicle Number Plate Recognition System
Vehicle Number Plate Recognition SystemVehicle Number Plate Recognition System
Vehicle Number Plate Recognition System
prashantdahake
 

En vedette (17)

Shape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape ContextsShape Matching and Object Recognition Using Shape Contexts
Shape Matching and Object Recognition Using Shape Contexts
 
Shape Matching And Object Recognition Using Shape Contexts
Shape Matching And Object Recognition Using Shape ContextsShape Matching And Object Recognition Using Shape Contexts
Shape Matching And Object Recognition Using Shape Contexts
 
Shape matching and object recognition using shape context belongie pami02
Shape matching and object recognition using shape context belongie pami02Shape matching and object recognition using shape context belongie pami02
Shape matching and object recognition using shape context belongie pami02
 
2.51 tổ chức lớp viết báo khoa học y khoa đăng trên tạp chí quốc tế (4)
2.51 tổ chức lớp viết báo khoa học y khoa đăng trên tạp chí quốc tế (4)2.51 tổ chức lớp viết báo khoa học y khoa đăng trên tạp chí quốc tế (4)
2.51 tổ chức lớp viết báo khoa học y khoa đăng trên tạp chí quốc tế (4)
 
Recovering 3D human body configurations using shape contexts
Recovering 3D human body configurations using shape contextsRecovering 3D human body configurations using shape contexts
Recovering 3D human body configurations using shape contexts
 
Bottle-in-Hangers
Bottle-in-HangersBottle-in-Hangers
Bottle-in-Hangers
 
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
Contextless Object Recognition with Shape-enriched SIFT and Bags of FeaturesContextless Object Recognition with Shape-enriched SIFT and Bags of Features
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
 
Video object tracking with classification and recognition of objects
Video object tracking with classification and recognition of objectsVideo object tracking with classification and recognition of objects
Video object tracking with classification and recognition of objects
 
Articulated human pose estimation by deep learning
Articulated human pose estimation by deep learningArticulated human pose estimation by deep learning
Articulated human pose estimation by deep learning
 
Presentation Object Recognition And Tracking Project
Presentation Object Recognition And Tracking ProjectPresentation Object Recognition And Tracking Project
Presentation Object Recognition And Tracking Project
 
[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation[Mmlab seminar 2016] deep learning for human pose estimation
[Mmlab seminar 2016] deep learning for human pose estimation
 
Human Pose Estimation by Deep Learning
Human Pose Estimation by Deep LearningHuman Pose Estimation by Deep Learning
Human Pose Estimation by Deep Learning
 
Introduction to pattern recognization
Introduction to pattern recognizationIntroduction to pattern recognization
Introduction to pattern recognization
 
Real Time Object Tracking
Real Time Object TrackingReal Time Object Tracking
Real Time Object Tracking
 
Object tracking
Object trackingObject tracking
Object tracking
 
Number plate recognition system using matlab.
Number plate recognition system using matlab.Number plate recognition system using matlab.
Number plate recognition system using matlab.
 
Vehicle Number Plate Recognition System
Vehicle Number Plate Recognition SystemVehicle Number Plate Recognition System
Vehicle Number Plate Recognition System
 

Similaire à Shape context

ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
ModelingOfUnsegmentedCloudPointData-RP-SanjayShuklaModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
Sanjay Shukla
 
Speeded-up and Compact Visual Codebook for Object Recognition
Speeded-up and Compact Visual Codebook for Object RecognitionSpeeded-up and Compact Visual Codebook for Object Recognition
Speeded-up and Compact Visual Codebook for Object Recognition
CSCJournals
 
Graph Theory Based Approach For Image Segmentation Using Wavelet Transform
Graph Theory Based Approach For Image Segmentation Using Wavelet TransformGraph Theory Based Approach For Image Segmentation Using Wavelet Transform
Graph Theory Based Approach For Image Segmentation Using Wavelet Transform
CSCJournals
 

Similaire à Shape context (20)

Large Scale Image Retrieval 2022.pdf
Large Scale Image Retrieval 2022.pdfLarge Scale Image Retrieval 2022.pdf
Large Scale Image Retrieval 2022.pdf
 
Www.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunalWww.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunal
 
Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...
Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...
Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...
 
ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
ModelingOfUnsegmentedCloudPointData-RP-SanjayShuklaModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
 
PointNet
PointNetPointNet
PointNet
 
Geometric Modeling
Geometric Modeling Geometric Modeling
Geometric Modeling
 
Speeded-up and Compact Visual Codebook for Object Recognition
Speeded-up and Compact Visual Codebook for Object RecognitionSpeeded-up and Compact Visual Codebook for Object Recognition
Speeded-up and Compact Visual Codebook for Object Recognition
 
IEEE Pattern analysis and machine intelligence 2016 Title and Abstract
IEEE Pattern analysis and machine intelligence 2016 Title and AbstractIEEE Pattern analysis and machine intelligence 2016 Title and Abstract
IEEE Pattern analysis and machine intelligence 2016 Title and Abstract
 
EFFECTIVE INTEREST REGION ESTIMATION MODEL TO REPRESENT CORNERS FOR IMAGE
EFFECTIVE INTEREST REGION ESTIMATION MODEL TO REPRESENT CORNERS FOR IMAGE EFFECTIVE INTEREST REGION ESTIMATION MODEL TO REPRESENT CORNERS FOR IMAGE
EFFECTIVE INTEREST REGION ESTIMATION MODEL TO REPRESENT CORNERS FOR IMAGE
 
A survey on graph kernels
A survey on graph kernelsA survey on graph kernels
A survey on graph kernels
 
MONOGENIC SCALE SPACE BASED REGION COVARIANCE MATRIX DESCRIPTOR FOR FACE RECO...
MONOGENIC SCALE SPACE BASED REGION COVARIANCE MATRIX DESCRIPTOR FOR FACE RECO...MONOGENIC SCALE SPACE BASED REGION COVARIANCE MATRIX DESCRIPTOR FOR FACE RECO...
MONOGENIC SCALE SPACE BASED REGION COVARIANCE MATRIX DESCRIPTOR FOR FACE RECO...
 
Deep Graph Contrastive Representation Learning.pptx
Deep Graph Contrastive Representation Learning.pptxDeep Graph Contrastive Representation Learning.pptx
Deep Graph Contrastive Representation Learning.pptx
 
Classification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization AlgorithmsClassification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization Algorithms
 
Classification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization AlgorithmsClassification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization Algorithms
 
Classification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization AlgorithmsClassification and Comparison of License Plates Localization Algorithms
Classification and Comparison of License Plates Localization Algorithms
 
Linearity of Feature Extraction Techniques for Medical Images by using Scale ...
Linearity of Feature Extraction Techniques for Medical Images by using Scale ...Linearity of Feature Extraction Techniques for Medical Images by using Scale ...
Linearity of Feature Extraction Techniques for Medical Images by using Scale ...
 
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTIONROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
 
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMSCLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
 
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMSCLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
CLASSIFICATION AND COMPARISON OF LICENSE PLATES LOCALIZATION ALGORITHMS
 
Graph Theory Based Approach For Image Segmentation Using Wavelet Transform
Graph Theory Based Approach For Image Segmentation Using Wavelet TransformGraph Theory Based Approach For Image Segmentation Using Wavelet Transform
Graph Theory Based Approach For Image Segmentation Using Wavelet Transform
 

Plus de Vanya Valindria

Plus de Vanya Valindria (11)

Supermarket obesrvation
Supermarket obesrvationSupermarket obesrvation
Supermarket obesrvation
 
Heart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI imagesHeart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI images
 
Myocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRIMyocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRI
 
Post-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRIPost-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRI
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysis
 
Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification
 
System-on-Chip Programmable Retina
System-on-Chip Programmable RetinaSystem-on-Chip Programmable Retina
System-on-Chip Programmable Retina
 
Shape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationShape from Distortion - 3D Digitization
Shape from Distortion - 3D Digitization
 
Interlaced and progressive Camera
Interlaced and progressive CameraInterlaced and progressive Camera
Interlaced and progressive Camera
 
Bagpipe as the Scotland National Instrument
Bagpipe as the Scotland National InstrumentBagpipe as the Scotland National Instrument
Bagpipe as the Scotland National Instrument
 
Indonesia - A Culture Overview
Indonesia - A Culture OverviewIndonesia - A Culture Overview
Indonesia - A Culture Overview
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Shape context

  • 1. Shape Context Rocío Cabrera u1908272 Vanya Valindria u1908259 06/05/12 1
  • 2. Introduction Can you guess what number it is? 05/06/12 2
  • 3. Objectives “Have descriptors that can be computed in one image and used to find corresponding points, if visible, in another image.” “Given a query model image, to develop an algorithm capable of retrieving similar- shaped images from an extensive database” 05/06/12 3
  • 4. Process Stages Solve the Use the Evaluate the correspondences Compute the correspondence . problem between the two shapes . to estimate an aligning transform distance between the two shapes ? distance and classify the shape 05/06/12 4
  • 5. SHAPE CONTEXT “A novel approach to measuring similarities between shapes and exploit it for object classification/recognition” 05/06/12 5
  • 6. Shape Context Computation Step 1. Obtain from ShapeP and ShapeQ n-samples uniformly spaced taken from their edge elements 05/06/12 6
  • 7. Shape Context Computation Step 2. Compute the Euclidean distance (r) and the angle (θ) from each point in the set to all the other n-1 points. Normalize r by the median distance (λ) and measure the angle relative to the positive x-axis. 05/06/12 7
  • 8. Shape Context Computation Step 3. Compute the log of the r vector. Discretize the distance and angle measurements 05/06/12 8
  • 9. Shape Context Computation Step 4. For each origin point, capture number of points that lie a given θ,R bin. Each shape context is a log-polar histogram of the coordinates of the n-1 points measured from the origin reference point. 05/06/12 9
  • 10. Shape Context Computation  Shape context of the sample points in ShapeP and ShapeQ. 05/06/12 10
  • 11. Matching Shape Contexts  How can we assign the sample points of ShapeP to correspond to those of ShapeQ?  Determining shape correspondences such that: l Corresponding points have very similar descriptors l The correspondences are unique 05/06/12 11
  • 12. Matching Shape Contexts  Define matching cost function  Shape context  Distance between the two normalized histograms  Local appearance  Dissimilarity of the tangent angles 05/06/12 12
  • 14. Modeling Transformation  Given a set of correspondences, estimate a transformation that maps the model into the target  Euclidean transformation  Affine model  Thin Plate Spline (TPS) 05/06/12 14
  • 15. Classification/Recognition  This enables a measure of shape similarity  The dissimilarity between two shapes can be computed as the sum of matching errors between corresponding points, together with a term measuring the magnitude of the aligning transform  Given a dissimilarity measure, a k-NN technique can be used for object classification/recognition 05/06/12 15
  • 16. Method Evaluation Advantages Drawbacks  Incorporates invariance to:  Sensitive local distortion or blurred edges  Translation  Problems in cluttered  Scale background  Rotation  Occlusions 05/06/12 16
  • 17. Applications  Digit recognition  Silhouette similarity- based retrieval  3 D object recognition  Trademark retrieval 05/06/12 17
  • 18. Database for Digit Recognition  MNIST datasets of handwritten digits:  60,000 training and 10,000 test digits Links: http://yann.lecun.com/exdb/mnist/ 05/06/12 18
  • 19. Database for Silhouette  MPEG-7 shape silhouette database (Core Experiment CE-Shape-1 part B)  1400 images: 70 shapes categories and 20 images per category  Links: http://mpeg.chiariglione.org/standards/mpeg-7/mpeg-7.htm 05/06/12 19
  • 20. Database for 3-D object recognition  COIL-20 database  20 common household objects; turned every 5˚ for a total of 72 views per object  Links: http://www1.cs.columbia.edu/CAVE/software/softlib/coil-20.php 05/06/12 20
  • 21. Database for Trademark retrieval  300 different real- world trademark 05/06/12 21
  • 23. Conclusions  The shape context method is simple to implement yet it is a rich shape descriptor  The methodology makes it invariant to translation, scale and rotation  Useful tool for shape matching and recognition 05/06/12 23