src/PET/AlgorithmDualScaling.jl

changeset 26
ccd22bbbb02f
parent 13
dc6339756e35
equal deleted inserted replaced
25:c9b06736a477 26:ccd22bbbb02f
20 using Images, CoordinateTransformations, Rotations, OffsetArrays 20 using Images, CoordinateTransformations, Rotations, OffsetArrays
21 using ImageCore, Interpolations 21 using ImageCore, Interpolations
22 22
23 using ..OpticalFlow: ImageSize, 23 using ..OpticalFlow: ImageSize,
24 Image, 24 Image,
25 petpdflow! 25 petpdflow!,
26 DualScaling
26 27
27 ######################### 28 #########################
28 # Iterate initialisation 29 # Iterate initialisation
29 ######################### 30 #########################
30 31
122 123
123 ################### 124 ###################
124 # Prediction steps 125 # Prediction steps
125 ################### 126 ###################
126 127
127 petpdflow!(x, Δx, y, v_known, theta_known, true) 128 petpdflow!(x, Δx, y, Δy, v_known, theta_known, DualScaling())
128 129
129 if params.L_experiment 130 if params.L_experiment
130 @. oldx = x 131 @. oldx = x
131 end 132 end
132 133

mercurial