Exemplo n.º 1
0
            public override object Clone()
            {
                ThresholdImageComputationSettings s = new ThresholdImageComputationSettings();

                s.Name             = Name;
                s.MinClusterSize   = MinClusterSize;
                s.MaxClusterSize   = MaxClusterSize;
                s.MinimumThreshold = MinimumThreshold;
                s.MaximumThreshold = MaximumThreshold;
                s.ThresholdSteps   = ThresholdSteps;
                s.XWaves           = XWaves;
                s.YWaves           = YWaves;
                s.XCells           = XCells;
                s.YCells           = YCells;
                s.CellWidth        = CellWidth;
                s.CellHeight       = CellHeight;
                return(s);
            }
Exemplo n.º 2
0
 private void btnDefaults_Click(object sender, EventArgs e)
 {
     S = new ThresholdImageComputationSettings();
     ShowSettings();
 }