25:c9b06736a477 | 26:ccd22bbbb02f |
---|---|
14 import AlgTools.Iterate | 14 import AlgTools.Iterate |
15 using ImageTools.Gradient | 15 using ImageTools.Gradient |
16 | 16 |
17 using ..OpticalFlow: ImageSize, | 17 using ..OpticalFlow: ImageSize, |
18 Image, | 18 Image, |
19 pdflow! | 19 pdflow!, |
20 DualScaling | |
20 | 21 |
21 ######################### | 22 ######################### |
22 # Iterate initialisation | 23 # Iterate initialisation |
23 ######################### | 24 ######################### |
24 | 25 |
88 if init_data | 89 if init_data |
89 x .= b | 90 x .= b |
90 init_data = false | 91 init_data = false |
91 end | 92 end |
92 | 93 |
93 pdflow!(x, y, v_known) | 94 pdflow!(x, Δx, y, Δy, v_known, DualScaling()) |
94 | 95 |
95 ############ | 96 ############ |
96 # PDPS step | 97 # PDPS step |
97 ############ | 98 ############ |
98 | 99 |