Skip to content

Commit ee83aff

Browse files
committed
use general greedy instead of greedy2d
1 parent 4670b57 commit ee83aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities/manually_refine_components.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
[INT_x,INT_y] = meshgrid(int_x,int_y);
7777
coor = sub2ind([options.d1,options.d2],INT_x(:),INT_y(:));
7878
Y_res = Ypatch - A(coor,:)*C;
79-
[atemp, ctemp, ~, ~, newcenter, ~] = greedyROI2d(reshape(Y_res,2*sx+1,2*sx+1,T), 1, options);
79+
[atemp, ctemp, ~, ~, newcenter, ~] = greedyROI(reshape(Y_res,2*sx+1,2*sx+1,T), 1, options);
8080
%[atemp, ctemp] = initialize_components(reshape(Y_res,2*sx+1,2*sx+1,T), 1,sx,options); % initialize
8181
% find contour
8282
a_srt = sort(atemp,'descend');

0 commit comments

Comments
 (0)