shape recognition and retrieval based on edit distance and dynamic programming
DESCRIPTION
Presentation on 2nd seminar, KUETTRANSCRIPT
![Page 1: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/1.jpg)
Shape Recognition and Retrieval Based on Edit Distance and
Dynamic Programming
PAN Hongfei ( 潘鸿飞 ), LIANG Dong ( 梁 栋 ), TANG Jun ( 唐 俊 ), WANG Nian ( 王 年 ), LI Wei ( 李 薇 )
Presented byKaidul Islam
0907016
1
![Page 2: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/2.jpg)
Glimpse of this Paper
A shape recognition and retrieval algorithm How the algorithm approaches:- Extracting skeletal features(Medial axis
transform)- Transforming features into string of symbols- Similarity measurement(Edit Distance)- Shape identification(Dynamic programming) Analyzing public datasets for comparison with
other approaches.
2
![Page 3: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/3.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work3
![Page 4: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/4.jpg)
Shape Skeleton(1/2)
• Skeleton feature satisfy distance and curvature criteria– every point on the skeleton should be
equidistant from two different boundary point– distance between the skeleton point and the
boundary point should be less than the maximum distance between the center of gravity of the contour and the boundary points.
4
![Page 5: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/5.jpg)
Shape Skeleton(2/2)
5
![Page 6: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/6.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work6
![Page 7: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/7.jpg)
Transformation from a skeleton to strings
7
![Page 8: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/8.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work8
![Page 9: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/9.jpg)
Edit Distance!
• Edit distance is a way of quantifying how dissimilar two strings are.
• Determine minimum number of operations to turn one string to another.
• Operation include –
- insertion
- Deletion
- Substitution9
![Page 10: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/10.jpg)
Edit Distance(2/2)
10
![Page 11: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/11.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work11
![Page 12: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/12.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0
M 1
A 2
T 3
H 4
S 512
![Page 13: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/13.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0
M 1
A 2
T 3
H 4
S 513
![Page 14: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/14.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1
M 1
A 2
T 3
H 4
S 514
![Page 15: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/15.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2
M 1
A 2
T 3
H 4
S 515
![Page 16: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/16.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1
A 2 2
T 3 3
H 4 4
S 5 516
![Page 17: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/17.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1
A 2 2
T 3 3
H 4 4
S 5 517
![Page 18: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/18.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1 2
A 2 2
T 3 3
H 4 4
S 5 518
![Page 19: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/19.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1 2 3 4
A 2 2 1 2 3 4
T 3 3
H 4 4
S 5 519
![Page 20: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/20.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1 2 3 4
A 2 2 1 2 3 4
T 3 3 2 2 2 3
H 4 4
S 5 520
![Page 21: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/21.jpg)
The tabulation , D(i, j) Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1 2 3 4
A 2 2 1 2 3 4
T 3 3 2 2 2 3
H 4 4 3 3 3 3
S 5 5 4 4 4 321
![Page 22: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/22.jpg)
The traceback Seq2(j) A R T S
Seq1(i) 0 1 2 3 4
0 0 1 2 3 4
M 1 1 1 2 3 4
A 2 2 1 2 3 4
T 3 3 2 2 2 3
H 4 4 3 3 3 3
S 5 5 4 4 4 322
![Page 23: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/23.jpg)
Similarity Cost by Dynamic Programming
23
![Page 24: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/24.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work24
![Page 25: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/25.jpg)
Matching Analysis(1/2)Shape sets from the MPEG-7 Shape Silhouette
Database
25
![Page 26: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/26.jpg)
Matching Analysis(2/2)Comparison of results for various values of k
26
![Page 27: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/27.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work27
![Page 28: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/28.jpg)
Comparisons(1/3)
Sample shape sets from the MPEG-7 Shape Silhouette Database(1)
Sample shape sets from Plant Species Database(2)
28
![Page 29: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/29.jpg)
Comparisons(2/3)
Retrieval rates for Silhouette Database(1)
Retrieval rates for Silhouette Database(2)
29
![Page 30: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/30.jpg)
Comparisons(3/3)
30
![Page 31: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/31.jpg)
Comparisons(3/3)
31
![Page 32: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/32.jpg)
Structure Shape Representation
- Shape skeleton - Skeleton feature representation
Computation of Similarity between Strings Shape matching Dynamic Programming Test and Analysis
- Matching Analysis - Comparisons
Future Work32
![Page 33: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/33.jpg)
Future Work
• Improve the algorithm
• Introducing other features –
- Texture
- Movement
33
![Page 34: Shape Recognition and Retrieval Based on Edit Distance and Dynamic Programming](https://reader035.vdocument.in/reader035/viewer/2022062709/559282291a28ab39678b466f/html5/thumbnails/34.jpg)
34