Skip to content

Commit

Permalink
update ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnLIU15 committed Dec 4, 2022
1 parent de38fba commit ab7b402
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ref/
.vscode
*.asv
*.asv
*.mat
8 changes: 4 additions & 4 deletions configs/fig7_8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ base:
- "fig8"
tol: 1e-4
max_iter: 1000
r0: 10
r0: 20
SVT_power: 0.5
delta_2k : 0.1
delta_2k : 0.29
clip_type : 0 # 0 -> no 1 -> uint8 2 -> 0~1
outer_iter : 100
outer_tol : 1e-3
Expand All @@ -24,5 +24,5 @@ lambda : 1e-2
kappa : 1e-3
beta : 1
beta_max : 1e10
min_R : 5
max_R : 5
min_R : 10
max_R : 10
Binary file modified output/fig7/fig7.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/fig7/fig7.pdf
Binary file not shown.
Binary file modified output/fig8/fig8.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/fig8/fig8.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/getFig7_8.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[row, col] = size(mask);
if row ~= m || col~=n
tmp_mask = mask;
mask = zeros(size(rgb_fig(:,:,1)));
mask = ones(size(rgb_fig(:,:,1)));
begin = round(([m,n] - [row, col])/2);
mask(begin(1)+1:begin(1)+row, begin(2)+1:begin(2)+col) = tmp_mask;
end
Expand Down Expand Up @@ -50,7 +50,7 @@
end
%% baseline config
obs_p = sum(mask,'all')/m/n;
max_iter = args.base.max_iter; tol = args.base.tol;r0 = args.min_R;
max_iter = args.base.max_iter; tol = args.base.tol;r0 = args.base.r0;
%% SVT
tau = (m*n)^args.base.SVT_power;
step = 1.2 * obs_p;
Expand Down

0 comments on commit ab7b402

Please sign in to comment.