This is a static copy of a profile report

Home

imuitools\private\imageDisplayParseInputs>findImageType (1 call, 0.000 sec)
Generated 15-Mar-2007 12:02:01 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\images\imuitools\private\imageDisplayParseInputs.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
imu...ls\private\imageDisplayParseInputsM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
417
imgtype = 'truecolor';
10.000 s100.0%
416
if (ndims(img) == 3) 
10 s0%
415
if (isempty(map))
10 s0%
Other lines & overhead  0 s0%
Totals  0.000 s100% 
Children (called functions)
No children
M-Lint results
Line numberMessage
418Use ISLOGICAL instead of comparing the class to 'logical'.
Coverage results
[ Show coverage for parent directory ]
Total lines in file14
Non-code lines (comments, blank lines)3
Code lines (lines that can run)11
Code lines that did run3
Code lines that did not run8
Coverage (did run/can run)27.27 %
Function listing
   time   calls  line
413 function imgtype = findImageType(img,map)
414
1 415 if (isempty(map))
1 416 if (ndims(img) == 3)
< 0.01 1 417 imgtype = 'truecolor';
418 elseif strcmp(class(img),'logical')
419 imgtype = 'binary';
420 else
421 imgtype = 'intensity';
422 end
423 else
424 imgtype = 'indexed';
425 end
426