void InitDepthEditor() {
            deptheditor.Init(videoInfo.Resolution, calibrationMarkers);

            var hmarkerCalibration = model.Markers.Item as synesis.HeightMarkerCalibration;
            if (hmarkerCalibration != null) {
                //1d
                Marker1DSpecific = System.Windows.Visibility.Visible;
                Marker2DSpecific = System.Windows.Visibility.Collapsed;

                markerMode = MarkerMode.M1D;
                deptheditor.SwitchTo1DMode();
                btn1D.IsChecked = true;
            } else { 
                //2d
                Marker1DSpecific = System.Windows.Visibility.Collapsed;
                Marker2DSpecific = System.Windows.Visibility.Visible;

                markerMode = MarkerMode.M2D;
                deptheditor.SwitchTo2DMode();
                btn2D.IsChecked = true;
            }
        }
        void SwitchTo2D() {
            Marker1DSpecific = System.Windows.Visibility.Collapsed;
            Marker2DSpecific = System.Windows.Visibility.Visible;

            markerMode = MarkerMode.M2D;
            CollapseInfoPanel();
            deptheditor.SwitchTo2DMode();
        }