fix: tout est nickel

This commit is contained in:
Damien Guillotin 2022-04-06 22:01:02 +02:00
parent 280eec61a7
commit 74365d944c
2 changed files with 4 additions and 3 deletions

View file

@ -212,7 +212,8 @@ R = abs(R);
R = min(R, [], 2);
R = R';
viscircles([V_(1:10:end,2) V_(1:10:end,1)], R(1:10:end));
vx_vy = [vy(1,:) vy(2,:); vx(1,:) vx(2,:)]';
viscircles(vx_vy(1:1:end,:), R(1:1:end));
% Filtrage naif
% truc = find(R < 20);
@ -236,7 +237,7 @@ vy(:, mod(c - 1, length(vy)) + 1) = [];
R = [R(1:length(R)/2); R(length(R)/2+1:end)];
R(:, mod(c - 1, length(R)) + 1) = [];
R = R(:);
R = [R(1,:) R(2,:)];
% subplot(2,2,4);
nexttile;
@ -244,7 +245,7 @@ imshow(bw_img);
hold on
plot(vy, vx, 'b');
vx_vy = [vy(1,:) vy(2,:); vx(1,:) vx(2,:)]';
viscircles(vx_vy(1:10:end,:), R(1:10:end));
viscircles(vx_vy(1:1:end,:), R(1:1:end));
%%

Binary file not shown.