clear all;close all;clc

addpath ../voc-release5
addpath ../voc-release5/bin
addpath ../voc-release5/vis
startup

left_img=imread('images/left/000007.png');
disp_img=imread('images/disparity/000007.png');


disp_img=repmat(disp_img,[1 1 3]);

left_feat = features(double(left_img),10);
disp_feat = features(double(disp_img),10);

visualizeHOG(left_feat)
axis tight;
set(gca, 'LooseInset', get(gca,'TightInset'))

figure
visualizeHOG(disp_feat)

axis tight;
set(gca, 'LooseInset', get(gca,'TightInset'))
