Changeset 1120 for trunk/src/series
- Timestamp:
- Dec 15, 2022, 6:21:53 PM (2 years ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/stereo_civ.m
r1118 r1120 1 %' civ_series': PIV function activated by the general GUI series1 %'stereo_series': PIV function activated by the general GUI series 2 2 % --- call the sub-functions: 3 3 % civ: PIV function itself … … 41 41 Data=[]; 42 42 errormsg=''; 43 43 44 %% set the input elements needed on the GUI series when the action is selected in the menu ActionName or InputTable refreshed 44 45 if isstruct(Param) && isequal(Param.Action.RUN,0)% function activated from the GUI series but not RUN … … 49 50 path_series=fileparts(which('series')); 50 51 addpath(fullfile(path_series,'series')) 51 Data=stereo_input(Param);% introduce the civ parameters using the GUI civ_input52 Data=stereo_input(Param);% introduce the civ parameters using the GUI stereo_input 52 53 if isempty(Data) 53 54 Data=Param;% if civ_input has been cancelled, keep previous parameters … … 1309 1310 mtz=(XmlData{1}.GeometryCalib.Tx_Ty_Tz(1,3)+XmlData{2}.GeometryCalib.Tx_Ty_Tz(1,3))/2; 1310 1311 1311 Error=(sqrt(mfx^2+mfy^2)/(2*sqrt(2)*mtz)).*(((Dyb-Dya).*(-u)-(Dxb-Dxa).*(-v))./Den);1312 1312 %Error=(sqrt(mfx^2+mfy^2)/(2*sqrt(2)*mtz)).*(((Dyb-Dya).*(-u)-(Dxb-Dxa).*(-v))./sqrt(Den)); 1313 Error=(((Dyb-Dya).*(-u)-(Dxb-Dxa).*(-v))./sqrt(Den)); 1313 1314 z=((Dxb-Dxa).*(-u)+(Dyb-Dya).*(-v))./Den; 1314 1315
Note: See TracChangeset
for help on using the changeset viewer.