src/PredictPDPS.jl

changeset 45
21909e22f875
parent 36
e4a8f662a1ac
child 46
c67ba8ef595e
equal deleted inserted replaced
44:7fb55885d85f 45:21909e22f875
90 ) 90 )
91 91
92 const square = imgen_square((200, 300)) 92 const square = imgen_square((200, 300))
93 const lighthouse = imgen_shake("lighthouse", (200, 300)) 93 const lighthouse = imgen_shake("lighthouse", (200, 300))
94 94
95 const p_known₀_denoising = default_params ⬿ (
96 noise_level = 0.5,
97 shake_noise_level = 0.025,
98 shake = 2.0,
99 α = 1.0,
100 ρ̃₀ = 1.0,
101 σ̃₀ = 1.0,
102 δ = 0.9,
103 σ₀ = 1.0,
104 τ₀ = 0.01,
105 #stable_interval = Set(0),
106 stable_interval = union(Set(2500:5000),Set(8700:10000)),
107 )
108
109 const p_known₀ = default_params ⬿ ( 95 const p_known₀ = default_params ⬿ (
110 noise_level = 0.5, 96 noise_level = 0.5,
111 shake_noise_level = 0.05, 97 shake_noise_level = 0.05,
112 shake = 2, 98 shake = 2,
113 α = 0.15, 99 α = 0.15,
115 σ̃₀ = 1, 101 σ̃₀ = 1,
116 δ = 0.9, 102 δ = 0.9,
117 σ₀ = 1, 103 σ₀ = 1,
118 τ₀ = 0.01, 104 τ₀ = 0.01,
119 ) 105 )
106
107 # Experiments for 2019 paper
120 108
121 const p_unknown₀ = default_params ⬿ ( 109 const p_unknown₀ = default_params ⬿ (
122 noise_level = 0.3, 110 noise_level = 0.3,
123 shake_noise_level = 0.05, 111 shake_noise_level = 0.05,
124 shake = 2, 112 shake = 2,
133 timestep = 0.5, 121 timestep = 0.5,
134 displacement_count = 100, 122 displacement_count = 100,
135 τ₀ = 0.01, 123 τ₀ = 0.01,
136 ) 124 )
137 125
138
139 # Experiments for 2019 paper
140
141 const experiments_pdps_known = ( 126 const experiments_pdps_known = (
142 Experiment(AlgorithmProximal, DisplacementConstant, lighthouse, 127 Experiment(AlgorithmProximal, DisplacementConstant, lighthouse,
143 p_known₀_denoising ⬿ (phantom_ρ = 0,)), 128 p_known₀_denoising ⬿ (phantom_ρ = 0,)),
144 Experiment(AlgorithmProximal, DisplacementConstant, lighthouse, 129 Experiment(AlgorithmProximal, DisplacementConstant, lighthouse,
145 p_known₀ ⬿ (phantom_ρ = 100,)), 130 p_known₀ ⬿ (phantom_ρ = 100,)),
166 experiments_pdps_unknown_multi, 151 experiments_pdps_unknown_multi,
167 experiments_fb_known 152 experiments_fb_known
168 )) 153 ))
169 154
170 # Image stabilisation experiments for 2024 paper. PET experiments are in PET/PET.jl 155 # Image stabilisation experiments for 2024 paper. PET experiments are in PET/PET.jl
156
157 const p_known₀_denoising = default_params ⬿ (
158 noise_level = 0.5,
159 shake_noise_level = 0.025,
160 shake = 2.0,
161 α = 0.25,
162 ρ̃₀ = 1.0,
163 σ̃₀ = 1.0,
164 δ = 0.9,
165 σ₀ = 1.0,
166 τ₀ = 0.01,
167 #stable_interval = Set(0),
168 stable_interval = union(Set(2500:5000),Set(8700:10000)),
169 )
171 170
172 const denoising_experiments_pdps_known = ( 171 const denoising_experiments_pdps_known = (
173 Experiment(AlgorithmNew, DisplacementConstant, lighthouse, 172 Experiment(AlgorithmNew, DisplacementConstant, lighthouse,
174 p_known₀_denoising ⬿ (predictor=DualScaling(),)), 173 p_known₀_denoising ⬿ (predictor=DualScaling(),)),
175 Experiment(AlgorithmNew, DisplacementConstant, lighthouse, 174 Experiment(AlgorithmNew, DisplacementConstant, lighthouse,

mercurial