This is a static copy of a profile report

Home

imreconstruct>ParseInputs (13839 calls, 3.244 sec)
Generated 05-Nov-2014 07:52:44 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imreconstruct.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imreconstructfunction13839
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
95
iptcheckconn(varargin{3},mfile...
138391.692 s52.2%
86
validateattributes(varargin{1}...
138390.360 s11.1%
85
iptchecknargin(2,3,nargin,mfil...
138390.310 s9.6%
88
validateattributes(varargin{2}...
138390.300 s9.3%
83
Conn = [];
138390.140 s4.3%
All other lines  0.441 s13.6%
Totals  3.244 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
iptcheckconnfunction138391.502 s46.3%
iptchecknarginfunction138390.110 s3.4%
Self time (built-ins, overhead, etc.)  1.632 s50.3%
Totals  3.244 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)7
Code lines (lines that can run)10
Code lines that did run10
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
81 function [Marker,Mask,Conn] = ParseInputs(varargin)
82
0.14 13839 83 Conn = [];
84
0.31 13839 85 iptchecknargin(2,3,nargin,mfilename);
0.36 13839 86 validateattributes(varargin{1},{'numeric','logical'},{'real','nonsparse'},...
87 mfilename, 'MARKER', 1);
0.30 13839 88 validateattributes(varargin{2},{'numeric','logical'},{'real','nonsparse'},...
89 mfilename, 'MASK', 2);
90
0.06 13839 91 Marker = varargin{1};
0.05 13839 92 Mask = varargin{2};
93
0.02 13839 94 if nargin==3
1.69 13839 95 iptcheckconn(varargin{3},mfilename,'CONN',3);
0.05 13839 96 Conn = varargin{3};
0.06 13839 97 end