%%

%%% GRAPHICAL RESULTS

close all;
clear all;
clc


%%% For plane_model_road_segmentation

in=dlmread('image_data_input');
w=dlmread('wide');
s=dlmread('short');

time_step=1.0;

w=transp(w);
s=transp(s);


w=w*time_step;
s=s*time_step;

time=1:time_step:107;

plot(time,in,'b','LineWidth',3);
hold on;
plot(time,w,'r','LineWidth',3);

size=25;


h_leg=legend('Imagens obtidas','Nuvem de pontos');
set(h_leg,'interpreter','latex');
x_l_handle=xlabel('Tempo (s)','interpreter','latex','FontSize',size,'FontWeight','b');
y_l_handle=ylabel('Frequ\^{e}ncia (Hz)','interpreter','latex','FontSize',size,'FontWeight','b');

set(gca,'FontSize',size,'FontWeight','b');

%%  Média de pontos

M_image=mean(in)

M_cloud=mean(fc)
