function createSURFFile(SURFEnhanced, SURFProg, pgmName, SURFName, SURFExt) % createSURFFile(SURFEnhanced, SURFProg, pgmName, SURFName, SURFExt) % Creates a SURF file from an input image. % Create SURF file with lower-than-default threshold if SURFEnhanced command = sprintf('%s -thres 900 -i %s -o %s %s', SURFProg, pgmName, SURFName, SURFExt); % Create SURF file with default threshold else command = sprintf('%s -i %s -o %s %s', SURFProg, pgmName, SURFName, SURFExt); end system(command);