summaryrefslogtreecommitdiff
path: root/macros/checkCCE.sci
blob: a6396e9d7d23aaa1fcf94495eb709df596187360 (plain)
1
2
3
4
5
6
7
8
9
10
11
function checkCCE(varargin)
    errors = varargin(1)
    
    if ~isfield(errors, 'IntrinsicsErrors' ) | ~isfield(errors, 'ExtrinsicsErrors') then
        error(msprintf("A CameraCalibrationErrors Struct expected."))        
    end
    
    checkCIE(errors.IntrinsicsErrors);
    checkCEE(errors.ExtrinsicsErrors);
endfunction