Beispiel #1
0
        public void LoadDataset(SegmenterImageStackLoadDescription segmenterImageStackLoadDescription)
        {
            var volumeDescriptions = SegmenterImageStackLoader.LoadDataset(segmenterImageStackLoadDescription);

            var neuralProcessDescriptions = new ObservableDictionary <int, NeuralProcessDescription>
            {
                { Constants.DEFAULT_NEURAL_PROCESS.Id, Constants.DEFAULT_NEURAL_PROCESS }
            };

            var datasetDescription = new DatasetDescription
            {
                NeuralProcessDescriptions = neuralProcessDescriptions,
                VolumeDescriptions        = volumeDescriptions
            };

            LoadDataset(datasetDescription);
        }
Beispiel #2
0
        public void LoadDataset(SegmenterImageStackLoadDescription segmenterImageStackLoadDescription, BreadcrumbXmlLoadDescription breadcrumbXmlLoadDescription)
        {
            var volumeDescriptions = SegmenterImageStackLoader.LoadDataset(segmenterImageStackLoadDescription);

            var breadcrumbXmlLoader       = new BreadcrumbXmlLoader();
            var neuralProcessDescriptions = breadcrumbXmlLoader.LoadDataset(breadcrumbXmlLoadDescription);

            neuralProcessDescriptions.Add(Constants.DEFAULT_NEURAL_PROCESS.Id, Constants.DEFAULT_NEURAL_PROCESS);

            var datasetDescription = new DatasetDescription
            {
                NeuralProcessDescriptions = neuralProcessDescriptions,
                VolumeDescriptions        = volumeDescriptions
            };

            LoadDataset(datasetDescription);
        }