Пример #1
0
        public CornerHarrisViewModel()
        {
            harrisService = DependencyService.Get <ICornerHarrisService>();
            pickerService = DependencyService.Get <IPickerService>();

            Borders = (HarrisBorderType[])Enum.GetValues(typeof(HarrisBorderType));
        }
Пример #2
0
        public FeatureMatchViewModel()
        {
            matchService  = DependencyService.Get <IFeatureMatchService>();
            pickerService = DependencyService.Get <IPickerService>();

            DetectTypes = (FeatureDetectType[])Enum.GetValues(typeof(FeatureDetectType));
            MatchTypes  = (FeatureMatchType[])Enum.GetValues(typeof(FeatureMatchType));
        }
Пример #3
0
        public ContourViewModel()
        {
            contourService = DependencyService.Get <IContourService>();
            pickerService  = DependencyService.Get <IPickerService>();

            Methods = (ContourMethodType[])Enum.GetValues(typeof(ContourMethodType));
            Retrs   = (ContourRetrType[])Enum.GetValues(typeof(ContourRetrType));
        }
Пример #4
0
        public FeatureDetectionViewModel()
        {
            detectService = DependencyService.Get <IFeatureDetectService>();
            pickerService = DependencyService.Get <IPickerService>();

            Algorithms = new ObservableRangeCollection <AlgorithmModel>();

            InitAlgorithms();
        }
Пример #5
0
 public PickerAppService(IPickerService pickerService, IMapper mapper)
 {
     _pickerService = pickerService;
     _mapper        = mapper;
 }
Пример #6
0
 public DisparityViewModel()
 {
     disparityService = DependencyService.Get <IDisparityService>();
     pickerService    = DependencyService.Get <IPickerService>();
 }