changed generateSuperpixel application to support multiple parameter settings