Up: Samplex Table of Contents Previous: How to get started Next: How to SAMPLEX

SAMPLEX Syntax and Menus

SAMPLEX accepts a number of arguments on the command line:
  • image name
  • color data base name
  • gamma correction
  • number of colors
  • Number of rows and columns
  • The command syntax is:
    samplex image data_base -g gamma_correction -c number_of_colors
    -col number_of_columns -row number_of_rows
    
    The following command:
    samplex image1 database1
    
    would bring the window:

    Figure 4: SAMPLEX window
    The menu bar contains 5 items:
  • Quit
    Notice: Author's name and address
    Quit: Quit SAMPLEX
  • Select
    Selection of color class number
  • Learn
    Build SPR: Build linear and quadratic Bayes classifier
    Build nSPR: Build BLC2 neural network classifier
  • Classify
    SPR Quadratic: Classify image with quadratic Bayes classifier
    SPR Linear: Classify image with linear Bayes classifier
    nSPR BLC2: Classify with BLC2 neural network classifier
  • Utils
    Clear Data: Start again
    Removed classified: Removes classified image
    Redraw sampled area: Redraws after window brought back in front
    Save classified: Pops up a saving menu for classified image
    Redraw original: Redraws original rgb pixels after learning
    Redraw learned: Redraws the classified sampled area

  • Up: Samplex Table of Contents Previous: How to get started Next: How to SAMPLEX