%Ben Graf  &  Michael Victory
%created: 12/9/99
%updated: 
%filename: home/mvictory/elec301/cropit.m

% Given the starting point (upper left corner), cropit crops a picture down
% to the maximum size a single card can occupy (this occurs when the card is
% at the critical angle of approximately 35 degrees)

function foolish=cropit(bigpic,x)

val1=x(2);
val2=x(1);
litpic=imcrop(bigpic,[val1 val2 320 320]);
foolish=litpic;



