Ignore:
Timestamp:
Dec 15, 2022, 6:21:53 PM (22 months ago)
Author:
sommeria
Message:

various corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/stereo_civ.m

    r1118 r1120  
    1 %'civ_series': PIV function activated by the general GUI series
     1%'stereo_series': PIV function activated by the general GUI series
    22% --- call the sub-functions:
    33%   civ: PIV function itself
     
    4141Data=[];
    4242errormsg='';
     43
    4344%% set the input elements needed on the GUI series when the action is selected in the menu ActionName or InputTable refreshed
    4445if isstruct(Param) && isequal(Param.Action.RUN,0)% function activated from the GUI series but not RUN
     
    4950    path_series=fileparts(which('series'));
    5051    addpath(fullfile(path_series,'series'))
    51     Data=stereo_input(Param);% introduce the civ parameters using the GUI civ_input
     52    Data=stereo_input(Param);% introduce the civ parameters using the GUI stereo_input
    5253    if isempty(Data)
    5354        Data=Param;% if  civ_input has been cancelled, keep previous parameters
     
    13091310mtz=(XmlData{1}.GeometryCalib.Tx_Ty_Tz(1,3)+XmlData{2}.GeometryCalib.Tx_Ty_Tz(1,3))/2;
    13101311
    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));
     1313Error=(((Dyb-Dya).*(-u)-(Dxb-Dxa).*(-v))./sqrt(Den));
    13131314z=((Dxb-Dxa).*(-u)+(Dyb-Dya).*(-v))./Den;
    13141315
Note: See TracChangeset for help on using the changeset viewer.