public override object Clone()
        {
            ImagingConfiguration c = new ImagingConfiguration();

            c.Name                          = Name;
            c.EmptyImage                    = EmptyImage;
            c.GreyTargetMedian              = GreyTargetMedian;
            c.ThresholdImage                = ThresholdImage;
            c.MaxSegmentsPerLine            = MaxSegmentsPerLine;
            c.MaxClusters                   = MaxClusters;
            c.ImageWidth                    = ImageWidth;
            c.ImageHeight                   = ImageHeight;
            c.Pixel2Micron                  = Pixel2Micron;
            c.ZCurvature                    = ZCurvature;
            c.DMagDX                        = DMagDX;
            c.DMagDY                        = DMagDY;
            c.DMagDZ                        = DMagDZ;
            c.XYCurvature                   = XYCurvature;
            c.CameraRotation                = CameraRotation;
            c.XSlant                        = XSlant;
            c.YSlant                        = YSlant;
            c.ClusterMatchPositionTolerance = ClusterMatchPositionTolerance;
            c.ClusterMatchMaxOffset         = ClusterMatchMaxOffset;
            c.MinClusterArea                = MinClusterArea;
            c.MinGrainVolume                = MinGrainVolume;
            c.MinClusterMatchCount          = MinClusterMatchCount;
            return(c);
        }
 public void Copy(ImagingConfiguration c)
 {
     Name               = c.Name;
     EmptyImage         = c.EmptyImage;
     GreyTargetMedian   = c.GreyTargetMedian;
     ThresholdImage     = c.ThresholdImage;
     MaxSegmentsPerLine = c.MaxSegmentsPerLine;
     MaxClusters        = c.MaxClusters;
     ImageWidth         = c.ImageWidth;
     ImageHeight        = c.ImageHeight;
     Pixel2Micron       = c.Pixel2Micron;
     DMagDX             = c.DMagDX;
     DMagDY             = c.DMagDY;
     DMagDZ             = c.DMagDZ;
     ZCurvature         = c.ZCurvature;
     XYCurvature        = c.XYCurvature;
     CameraRotation     = c.CameraRotation;
     XSlant             = c.XSlant;
     YSlant             = c.YSlant;
 }