#----------------------------------------------------------------------- # This is how you can write a comment in your input file. Note that # here I am showing all possible directives that may be specified. Some # would not be used at the same time (e.g., specifying gen_data_pts and # input_images). #----------------------------------------------------------------------- NUMCLUS 10 # initial number of clusters NUMBANDS 3 # number of bands, note that it is # necessary to have this appear before # 'input_images' directive SAMPRM 200 # minimum number of samples in a cluster LUMP 0.001 # lumping parameter # (clusters which are closer than this # distance to each other are merged) MAXPAIR 5 # maximum number of pairs to lump MAXITER 20 # maximum number of iterations rows 100 # number of image rows cols 100 # number of image columns # (size of image should be (rows x cols) # and the image is expected to be in # byte format (1 char per pixel)) input_images ch3 ch4 ch5 # name of the files each containing # one band/channel of the image. There # should be NUMBANDS filenames after # `input_images' directive. Specified # files need to be resided in the same # directory as the executable being run. output classified_image # name of the output file to write the # clustered image to. Pixels are assigned # values 1, 2, ..., (no. of clusters), # where points having the same number # are in the same cluster seed 10 # seed for the `rand' function for # selecting initial centers randomly gen_data_pts # if this directive is given it means # that the user is asking for # synthetically generated data, and thus # there won't be any need to specify # `input_images' and `output' directives. sample_seed 51 # seed used for `rand' function to sample # subset of data to work with SQUARED 1 # This is specified if/when you want to # run the Hyb version of the algorithm. # This metric is built in for Filtering # and Approximate Filtering version and # is used to Distinguish between Standard # and Hybrid version since they share the # same executable. epsilon 0.5 # This directive is defined for approximate # filtering version only and specifies the # epsilon value to be used.