fix: tout est nickel
This commit is contained in:
parent
280eec61a7
commit
74365d944c
|
@ -212,7 +212,8 @@ R = abs(R);
|
||||||
R = min(R, [], 2);
|
R = min(R, [], 2);
|
||||||
R = R';
|
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
|
% Filtrage naif
|
||||||
% truc = find(R < 20);
|
% 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 = [R(1:length(R)/2); R(length(R)/2+1:end)];
|
||||||
R(:, mod(c - 1, length(R)) + 1) = [];
|
R(:, mod(c - 1, length(R)) + 1) = [];
|
||||||
R = R(:);
|
R = [R(1,:) R(2,:)];
|
||||||
|
|
||||||
% subplot(2,2,4);
|
% subplot(2,2,4);
|
||||||
nexttile;
|
nexttile;
|
||||||
|
@ -244,7 +245,7 @@ imshow(bw_img);
|
||||||
hold on
|
hold on
|
||||||
plot(vy, vx, 'b');
|
plot(vy, vx, 'b');
|
||||||
vx_vy = [vy(1,:) vy(2,:); vx(1,:) vx(2,:)]';
|
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));
|
||||||
|
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
BIN
donnees.mat
BIN
donnees.mat
Binary file not shown.
Loading…
Reference in a new issue