function [m]=puntiseconda()
rgb_img= imread('seconda.bmp');
%  rawimg = .2989*rgb_img(:,:,1)+.5870*rgb_img(:,:,2)+.1140*rgb_img(:,:,3);
%  tic;
%  [accum, circen, cirrad] = CircularHough_Grd(rawimg, [1 30]); %cerca i cerchi di raggio 1 fino a 30
%  toc;
%  %%%%%con6punti
%  rgb_imgcroc=croce(rgb_img,10,round(circen(1,1)),round(circen(1,2)),255,0,0);
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(2,1)),round(circen(2,2)),255,0,0);
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(3,1)),round(circen(3,2)),255,0,0);
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(4,1)),round(circen(4,2)),255,0,0);
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(5,1)),round(circen(5,2)),255,0,0);
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(6,1)),round(circen(6,2)),255,0,0);
%   %%%%%con10punti
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(7,1)),round(circen(7,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(8,1)),round(circen(8,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(9,1)),round(circen(9,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(10,1)),round(circen(10,2)),255,0,0);
% %%%%%%%con14punti
%   rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(11,1)),round(circen(11,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(12,1)),round(circen(12,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(13,1)),round(circen(13,2)),255,0,0);
% rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(14,1)),round(circen(14,2)),255,0,0);
% %rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(15,1)),round(circen(15,2)),255,0,0);
% %rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(16,1)),round(circen(16,2)),255,0,0);
% %rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(17,1)),round(circen(17,2)),255,0,0);
% %rgb_imgcroc=croce(rgb_imgcroc,10,round(circen(18,1)),round(circen(18,2)),255,0,0);
% imshow(rgb_imgcroc)

imshow(rgb_img) % da cancellare


figure(1)
pause(5)
[u,v] = ginput(14) %14 punti


u_1=u(1)
v_1=v(1)
u_2=u(2)
v_2=v(2)
u_3=u(3)
v_3=v(3)
u_4=u(4)
v_4=v(4)
u_5=u(5)
v_5=v(5)
u_6=u(6)
v_6=v(6)  %6 punti
u_7=u(7)
v_7=v(7)
u_8=u(8)
v_8=v(8)
u_9=u(9)
v_9=v(9)
u_10=u(10)
v_10=v(10) %10 punti
u_11=u(11)
v_11=v(11)
u_12=u(12)
v_12=v(12)
u_13=u(13)
v_13=v(13)
u_14=u(14)
v_14=v(14)%14 punti

% i punti vengono dunque accoppiati in questo modo


X_1=1
Y_1=0
Z_1=0
X_2=3
Y_2=0
Z_2=0
X_3=1
Y_3=0
Z_3=1
X_4=3
Y_4=0
Z_4=1
X_5=1
Y_5=1
Z_5=0
X_6=3
Y_6=1
Z_6=0
%%%%%fino qui per 6 punti
X_7=1
Y_7=0
Z_7=2
X_8=3
Y_8=0
Z_8=2
X_9=1
Y_9=2
Z_9=0
X_10=3
Y_10=2
Z_10=0
%%%%%%%fino qui per 10 punti
X_11=1
Y_11=0
Z_11=3
X_12=3
Y_12=0
Z_12=3
X_13=1
Y_13=3
Z_13=0
X_14=3
Y_14=3
Z_14=0


%%%%%%%%%%%%%%% con 14 punti
m=[u_1 u_2 u_3 u_4 u_5 u_6 u_7 u_8 u_9 u_10 u_11 u_12 u_13 u_14;v_1 v_2 v_3 v_4 v_5 v_6 v_7 v_8 v_9 v_10 v_11 v_12 v_13 v_14]%14 punti
%m=[u_1 u_2 u_3 u_4 u_5 u_6 u_7 u_8 u_9 u_10 u_11 u_12 u_13 u_14 u_15 u_16 u_17 u_18 u_19 u_20 u_21 u_22 u_23;v_1 v_2 v_3 v_4 v_5 v_6 v_7 v_8 v_9 v_10 v_11 v_12 v_13 v_14 v_15 v_16 v_17 v_18 v_19 v_20 v_21 v_22 v_23]

