Skip to content

Commit

Permalink
use general greedy instead of greedy2d
Browse files Browse the repository at this point in the history
  • Loading branch information
epnev committed Feb 24, 2016
1 parent 4670b57 commit ee83aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/manually_refine_components.m
Expand Up @@ -76,7 +76,7 @@
[INT_x,INT_y] = meshgrid(int_x,int_y);
coor = sub2ind([options.d1,options.d2],INT_x(:),INT_y(:));
Y_res = Ypatch - A(coor,:)*C;
[atemp, ctemp, ~, ~, newcenter, ~] = greedyROI2d(reshape(Y_res,2*sx+1,2*sx+1,T), 1, options);
[atemp, ctemp, ~, ~, newcenter, ~] = greedyROI(reshape(Y_res,2*sx+1,2*sx+1,T), 1, options);
%[atemp, ctemp] = initialize_components(reshape(Y_res,2*sx+1,2*sx+1,T), 1,sx,options); % initialize
% find contour
a_srt = sort(atemp,'descend');
Expand Down

0 comments on commit ee83aff

Please sign in to comment.