1 classdef Calibration < handle
2 %CALIBRATION Rezim kalibrace.
8 properties (GetAccess = 'private', SetAccess = 'private')
9 Cam; % odkaz na objekt kamery
10 CamDr; % odkaz na objekt ridici jednotky
11 Detect; % odkaz na objekt detekce komara
12 Trans; % odkaz na objekt transformaci souradnic
13 Pred; % odkaz na objekt predikce pohybu komara
14 Regul; % odkaz na objekt regulatoru
17 methods (Access = private)
19 function [shot] = initComponents(obj)
24 shot = obj.Cam.getImg();
27 obj.Detect.initDetector(shot);
33 %% Konstruktor objektu rezimu kalibrace
34 function obj = Calibration(Camera, CamDriver, Detector, Transform)
36 obj.CamDr = CamDriver;
37 obj.Detect = Detector;
38 obj.Trans = Transform;
40 obj.Regul = Regulator;
44 function [shot] = start(obj)
45 [shot] = obj.initComponents();