% converts p-vector to homographic matrix as used by Hartley

function H = reshaping_with_extra_one(p)

H=[p(1) p(2) p(3);...
   p(4) p(5) p(6);...
   p(7) p(8)   1];

