From 516018b6ba4a2b2ab095d9a98a10e0cbb6a4def5 Mon Sep 17 00:00:00 2001 From: Stephan Hilb <stephan@ecshi.net> Date: Mon, 9 May 2022 10:41:05 +0200 Subject: [PATCH] finish up inpaint_denoise experiment --- scripts/run_experiments.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/run_experiments.jl b/scripts/run_experiments.jl index 3c4c3e0..6c2d1be 100644 --- a/scripts/run_experiments.jl +++ b/scripts/run_experiments.jl @@ -1376,12 +1376,12 @@ function inpaint(ctx) #estimate_res!(st) marked_cells = Set(mark(st; theta = 0.5)) - # EXPERIMENTAL: mark according to projection error - g_err = compute_local_error(st.g, g_arr) - # st.est was written out above and used for marking and is no - # longer needed - st.est.data .= g_err.data - union!(marked_cells, Set(mark(st; theta = 0.5))) + ## EXPERIMENTAL: mark according to projection error + #g_err = compute_local_error(st.g, g_arr) + ## st.est was written out above and used for marking and is no + ## longer needed + #st.est.data .= g_err.data + #union!(marked_cells, Set(mark(st; theta = 0.5))) # manually mark all cell within inpainting domain, since the # estimator is not reliable there @@ -1435,7 +1435,7 @@ function experiment_inpaint_denoise(ctx) params = ( name = "test", - n_refine = 5, + n_refine = 0, g_arr, mask_arr, mesh, noise_sigma = 0.1, noise_p = 0.02, alpha1 = 0.2, alpha2 = 8., lambda = 1., #= beta see below =# -- GitLab