Download presentation
Presentation is loading. Please wait.
Published byJeffrey Lane Modified over 8 years ago
1
1 4.7 TIME ALIGNMENT AND NORMALIZATION Linear time normalization:
2
2 4.7 TIME ALIGNMENT AND NORMALIZATION
3
3 m(k): a nonnegative (path) weighting factor M ϕ : a (path) normalizing factor
4
4 4.7 TIME ALIGNMENT AND NORMALIZATION
5
5 4.7.1 Dynamic Programming-Basic Considerations We are interested in obtaining the optimal sequence of moves and the associated minimum cost from any point i to any other point j in As many points as necessary. For every pair of points (i,j) We define to be a nonnegative cost that represents the cost of moving directly from the ith point to the jth point in one step. According to Bellman: An optimal policy has the property that, whatever the initial state and decisions are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decision
6
6 4.7.1 Dynamic Programming-Basic Considerations To determine the minimum cost path between points i and j, the following dynamic program is used:
7
7 4.7.1 Dynamic Programming-Basic Considerations A recursion allowing the optimal path search to be conducted incrementally
8
Example: Example: Shortest path from A to E in M=3 moves Shortest path from A to E in M=3 moves 8 A C E B 8 4 3 2 1 4 4 D
9
4 8 2 8 4 3 2 1 44 A BCD E ∞ AB C D E 2 4 ∞ 8 M=1M=2M=3
10
∞ 6 ∞ 8 4 3 2 1 4 4 A BCD E 3 AB C D E 2 4 ∞ 8 ∞ ∞ 3 6 M=1M=2M=3
11
∞ 5 ∞ 8 4 3 2 1 4 4 A BCD E ∞ AB C D E 2 4 ∞ 8 ∞ ∞ 3 6 M=1M=2M=3 ∞ ∞ ∞ 7
12
12 4.7.1 Dynamic Programming-Basic Considerations
13
13 4.7.1 Dynamic Programming-Basic Considerations 1- Initialization 2- Recursion
14
14 4.7.1 Dynamic Programming-Basic Considerations 3- Termination 4- Path backtracking
15
15 Time-Normalization Constraints Endpoint constraints Endpoint constraints Monotonicity constraints Monotonicity constraints Local continuity constraints Local continuity constraints Global path constraints Global path constraints Slope weighting Slope weighting
16
16 4.7.2.1 Endpoint Constraints
17
17 4.7.2.2 Monotonicity Conditions
18
18 4.7.2.3 Local Continuity Constraints We define a path P as a sequence of moves, each specified by a pair of coordinate increments,
19
19 4.7.2.3 Local Continuity Constraints For a path that begins at (1,1), which point we designate k=1, we normally set (as if the path originates from (0,0)) and have:
20
20 4.7.2.3 Local Continuity Constraints
21
21 4.7.2.4 Global Path Constraints For each type of local constraints, the allowable regions can be Defined using the following two parameters: Normally, Q max =1/Q min
22
22 Values of and for different types of paths 2ITAKURA 3VII VI 3V 2IV 2III 2II 0I TYPE
23
23 4.7.2.4 Global Path Constraints We can define the global path constraints as follows: The first equation specifies the range of the points in the (i x, i y ) plane that can be reached from the beginning point (1,1) via the allowable path according to the local constraints. The second equation specifies the range of points that have a legal path to the ending pint (T x, T y )
24
24 4.7.2.5 Slope Weighting
25
25 4.7.2.4 Global Path Constraints
26
26 4.7.2.5 Slope Weighting The weighting function can be designed to implement an optimal discriminant analysis for improved recognition accuracy. Set of four types of slope weighting proposed by Sakoe and Chiba
27
27 4.7.2.5 Slope Weighting
28
28 4.7.2.5 Slope Weighting Typically, for types (a) and (b) slope weightings, we arbitrarily set: The Accumulated distortion also requires an overall normalization. Customarily: For type (c) and (d) slope weighting,
29
29 4.7.3 Dynamic Time-Warping Solution Due to endpoint constraints, we can write:
30
30 4.7.3 Dynamic Time-Warping Solution Similarly, the minimum partial accumulated distortion along a path Connecting (1,1) and (i x, i y ) is:
31
31 4.7.3 Dynamic Time-Warping Solution
32
32 4.7.3 Dynamic Time-Warping Solution
33
33 4.7.3 Dynamic Time-Warping Solution
34
34 4.7.3 Dynamic Time-Warping Solution The ratio of grid allowable grid points to all grid points, when a k-to-1 time scale expansion and contraction is allowed:
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.