function plates() % PLATES Isolates a directory of plates % More info. % Get a list of all the images to isolate their plates images = dir( 'images\*.JPG' ); % Loop over the images actually isolating them for k = 1:1:size( images, 1 ) newImg = isolateplate( imread( strcat( 'images\', images( k ).name ) ) ); % figure, imshow( newImg ); end