Esempio n. 1
0
        private void SetCurrentImage()
        {
            var overlays = Convert.ToBoolean(((ComboBoxItem)OverlaysComboBox.SelectedItem).Content.ToString());
            var anon     = Convert.ToBoolean(((ComboBoxItem)AnnonymizeComboBox.SelectedItem).Content.ToString());

            _imgSource = ImageHelper.GenerateImageSource(_dataSets[_currentFrameNo], overlays, anon);

            DicomImage.Source   = _imgSource.CloneCurrentValue();
            ImageCountText.Text = string.Format("{0} / {1} Images", _currentFrameNo + 1, _numberofFrames);
            _imgSource          = null;
        }