Presentation is loading. Please wait.

Presentation is loading. Please wait.

Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.

Similar presentations


Presentation on theme: "Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial."— Presentation transcript:

1 Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial automation and inspection l Mobile robots, toys, user interfaces l Location recognition l Digital camera panoramas l 3D scene modeling, augmented reality

2 Cordelia Schmid & Roger Mohr (97) n Apply Harris corner detector n Use rotational invariants at corner points l However, not scale invariant. Sensitive to viewpoint and illumination change.

3 Invariant Local Features n Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging parameters SIFT Features

4 Advantages of invariant local features n Locality: features are local, so robust to occlusion and clutter (no prior segmentation) n Distinctiveness: individual features can be matched to a large database of objects n Quantity: many features can be generated for even small objects n Efficiency: close to real-time performance n Extensibility: can easily be extended to wide range of differing feature types, with each adding robustness

5 Build Scale-Space Pyramid n All scales must be examined to identify scale-invariant features n An efficient function is to compute the Difference of Gaussian (DOG) pyramid (Burt & Adelson, 1983)

6 Scale space processed one octave at a time

7 Key point localization n Detect maxima and minima of difference-of-Gaussian in scale space

8 Select canonical orientation n Create histogram of local gradient directions computed at selected scale n Assign canonical orientation at peak of smoothed histogram n Each key specifies stable 2D coordinates (x, y, scale, orientation)

9 Example of keypoint detection Threshold on value at DOG peak and on ratio of principle curvatures (Harris approach) (a) 233x189 image (b) 832 DOG extrema (c) 729 left after peak value threshold (d) 536 left after testing ratio of principle curvatures

10 SIFT vector formation n Thresholded image gradients are sampled over 16x16 array of locations in scale space n Create array of orientation histograms n 8 orientations x 4x4 histogram array = 128 dimensions

11 Nearest-neighbor matching to feature database n Hypotheses are generated by approximate nearest neighbor matching of each feature to vectors in the database l We use best-bin-first (Beis & Lowe, 97) modification to k-d tree algorithm l Use heap data structure to identify bins in order by their distance from query point n Result: Can give speedup by factor of 1000 while finding nearest neighbor (of interest) 95% of the time

12 Detecting 0.1% inliers among 99.9% outliers n We need to recognize clusters of just 3 consistent features among 3000 feature match hypotheses n LMS or RANSAC would be hopeless! n Generalized Hough transform l Vote for each potential match according to model ID and pose l Insert into multiple bins to allow for error in similarity approximation l Check collisions

13 Probability of correct match n Compare distance of nearest neighbor to second nearest neighbor (from different object) n Threshold of 0.8 provides excellent separation

14 Model verification 1. Examine all clusters with at least 3 features 2. Perform least-squares affine fit to model. 3. Discard outliers and perform top-down check for additional features. 4. Evaluate probability that match is correct  Use Bayesian model, with probability that features would arise by chance if object was not present (Lowe, CVPR 01)

15 Solution for affine parameters n Affine transform of [x,y] to [u,v]: n Rewrite to solve for transform parameters:

16 3D Object Recognition n Extract outlines with background subtraction

17 3D Object Recognition n Only 3 keys are needed for recognition, so extra keys provide robustness n Affine model is no longer as accurate

18 Recognition under occlusion

19 Test of illumination invariance n Same image under differing illumination 273 keys verified in final match

20 Location recognition

21 Show PhotoTourism video

22 Sony Aibo (Evolution Robotics) SIFT usage: Recognize charging station Communicate with visual cards


Download ppt "Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial."

Similar presentations


Ads by Google