This is a static copy of a profile reportHome
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)
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 417 | imgtype = 'truecolor'; | 1 | 0.000 s | 100.0% |  |
| 416 | if (ndims(img) == 3) | 1 | 0 s | 0% |  |
| 415 | if (isempty(map)) | 1 | 0 s | 0% |  |
| Other lines & overhead | | | 0 s | 0% |  |
| Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenM-Lint results
| Line number | Message |
| 418 | Use ISLOGICAL instead of comparing the class to 'logical'. |
Coverage results
[ Show coverage for parent directory ]
| Total lines in file | 14 |
| Non-code lines (comments, blank lines) | 3 |
| Code lines (lines that can run) | 11 |
| Code lines that did run | 3 |
| Code lines that did not run | 8 |
| 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