示例#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();
        }
 public PickerAppService(IPickerService pickerService, IMapper mapper)
 {
     _pickerService = pickerService;
     _mapper        = mapper;
 }
示例#6
0
 public DisparityViewModel()
 {
     disparityService = DependencyService.Get <IDisparityService>();
     pickerService    = DependencyService.Get <IPickerService>();
 }