This is a static copy of a profile report

Home

imresize>preprocessImage (82820 calls, 4.927 sec)
Generated 05-Nov-2014 07:53:41 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imresize.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imresizefunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
179
if isInputIndexed(params)
828202.133 s43.3%
182
elseif islogical(params.A)
828200.891 s18.1%
187
end
828200.391 s7.9%
185
else
828200.280 s5.7%
186
A = params.A;
828200.250 s5.1%
All other lines  0.981 s19.9%
Totals  4.927 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
imresize>isInputIndexedsubfunction828201.392 s28.3%
Self time (built-ins, overhead, etc.)  3.535 s71.7%
Totals  4.927 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)5
Code lines (lines that can run)7
Code lines that did run5
Code lines that did not run2
Coverage (did run/can run)71.43 %
Function listing
   time   calls  line
176 function A = preprocessImage(params)
177 % Convert indexed image to RGB. Convert binary image to uint8.
178
2.13 82820 179 if isInputIndexed(params)
180 A = ind2rgb8(params.A, params.map);
181
0.89 82820 182 elseif islogical(params.A)
183 A = im2uint8(params.A);
184
0.28 82820 185 else
0.25 82820 186 A = params.A;
0.39 82820 187 end

Other subfunctions in this file are not included in this listing.