Class JDialogKMeans

All Implemented Interfaces:
AlgorithmInterface, ScriptableActionInterface, DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogKMeans extends JDialogScriptableBase implements AlgorithmInterface
See Also:
  • Field Details

    • RANDOM_INIT

      private static final int RANDOM_INIT
      See Also:
    • BRADLEY_FAYYAD_INIT

      private static final int BRADLEY_FAYYAD_INIT
      See Also:
    • HIERARCHICAL_GROUPING_INIT

      private static final int HIERARCHICAL_GROUPING_INIT
      See Also:
    • MAXMIN_INIT

      private static final int MAXMIN_INIT
      See Also:
    • K_MEANS

      private static final int K_MEANS
      See Also:
    • GLOBAL_K_MEANS

      private static final int GLOBAL_K_MEANS
      See Also:
    • FAST_GLOBAL_K_MEANS

      private static final int FAST_GLOBAL_K_MEANS
      See Also:
    • EUCLIDEAN_SQUARED

      private static final int EUCLIDEAN_SQUARED
      See Also:
    • CITY_BLOCK

      private static final int CITY_BLOCK
      See Also:
    • MAHALANOBIS_SQUARED

      private static final int MAHALANOBIS_SQUARED
      See Also:
    • S_METRIC

      private static final int S_METRIC
      See Also:
    • SPHERES_DIFFERENT_SIZES

      private static final int SPHERES_DIFFERENT_SIZES
      See Also:
    • image

      private ModelImage image
      source image.
    • resultImage

      private ModelImage resultImage
      result image
    • alg

      private AlgorithmKMeans alg
      handle to algorithm
    • isMultifile

      private boolean isMultifile
      boolean isMultifile
    • nDims

      private int nDims
    • extents

      private int[] extents
    • scale

      private double[] scale
    • directoryPoints

      private String directoryPoints
    • fileNamePoints

      private String fileNamePoints
    • filePoints

      private File filePoints
    • br

      private BufferedReader br
    • nPoints

      private int nPoints
    • groupNum

      private int[] groupNum
    • pos

      private double[][] pos
    • weight

      private double[] weight
    • centroidPos

      private double[][] centroidPos
    • textImage

      private JTextField textImage
    • buttonImage

      private JButton buttonImage
    • textPointsFile

      private JTextField textPointsFile
    • buttonPointsFile

      private JButton buttonPointsFile
    • textClusters

      private JTextField textClusters
    • numberClusters

      private int numberClusters
    • havePoints

      private boolean havePoints
    • resultsFileName

      private String resultsFileName
    • bwImageGroup

      private ButtonGroup bwImageGroup
    • clusterImage

      private JRadioButton clusterImage
    • segmentedImage

      private JRadioButton segmentedImage
    • colorSpaceGroup

      private ButtonGroup colorSpaceGroup
    • RGBSpace

      private JRadioButton RGBSpace
    • CIELABSpace

      private JRadioButton CIELABSpace
    • bwSegmentedImage

      private boolean bwSegmentedImage
    • showSegmentedImage

      private boolean showSegmentedImage
    • doubleBuffer

      private double[] doubleBuffer
    • algorithmGroup

      private ButtonGroup algorithmGroup
    • kMeansAlgo

      private JRadioButton kMeansAlgo
    • globalAlgo

      private JRadioButton globalAlgo
    • fastGlobalAlgo

      private JRadioButton fastGlobalAlgo
    • algoSelection

      private int algoSelection
    • initGroup

      private ButtonGroup initGroup
    • randomInit

      private JRadioButton randomInit
    • BradleyInit

      private JRadioButton BradleyInit
    • hierarchicalInit

      private JRadioButton hierarchicalInit
    • maxMinInit

      private JRadioButton maxMinInit
    • initSelection

      private int initSelection
    • redBuffer

      private float[] redBuffer
    • greenBuffer

      private float[] greenBuffer
    • blueBuffer

      private float[] blueBuffer
    • scaleMax

      private double scaleMax
    • colorHistogramBox

      private JCheckBox colorHistogramBox
    • useColorHistogram

      private boolean useColorHistogram
    • initLabel

      private JLabel initLabel
    • distanceMeasure

      private int distanceMeasure
    • distanceGroup

      private ButtonGroup distanceGroup
    • euclideanSquared

      private JRadioButton euclideanSquared
    • cityBlock

      private JRadioButton cityBlock
    • mahalanobis

      private JRadioButton mahalanobis
    • SButton

      private JRadioButton SButton
    • differentSpheresButton

      private JRadioButton differentSpheresButton
    • unitVarianceCheckBox

      private JCheckBox unitVarianceCheckBox
    • scaleVariablesToUnitVariance

      private boolean scaleVariablesToUnitVariance
    • resultsFileNameLabel

      private JLabel resultsFileNameLabel
    • resultsFileNameText

      private JTextField resultsFileNameText
    • axesRatioLabel

      private JLabel axesRatioLabel
    • axesRatioText

      private JTextField axesRatioText
    • axesRatio

      private double[] axesRatio
    • imageList

      private JComboBox imageList
    • followBatchBox

      private JCheckBox followBatchBox
    • followBatchWithIncremental

      private boolean followBatchWithIncremental
    • colorSegmentInRGB

      private boolean colorSegmentInRGB
  • Constructor Details

    • JDialogKMeans

      public JDialogKMeans()
  • Method Details