This is a static copy of a profile reportHome
imuitools\private\imageDisplayParseInputs>getCDataMapping (1 call, 0.000 sec)
Generated 15-Mar-2007 12:02:02 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 |
222 | cdatamapping = 'direct'; | 1 | 0.000 s | 100.0% |  |
236 | case 'indexed' | 1 | 0 s | 0% |  |
233 | case {'intensity','binary'} | 1 | 0 s | 0% |  |
232 | switch image_type | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 22 |
Non-code lines (comments, blank lines) | 15 |
Code lines (lines that can run) | 7 |
Code lines that did run | 4 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 57.14 % |
Function listing
time calls line
220 function [cdatamapping] = getCDataMapping(image_type)
221
< 0.01 1 222 cdatamapping = 'direct';
223
224 % cdatamapping is not relevant for RGB images, but we set it to something so
225 % we can call IMAGE with one set of arguments no matter what image type.
226
227 % May want to treat binary images as 'direct'-indexed images for display
228 % in HG which requires no map.
229 %
230 % For now, they are treated as 'scaled'-indexed images for display in HG.
231
1 232 switch image_type
1 233 case {'intensity','binary'}
234 cdatamapping = 'scaled';
235
1 236 case 'indexed'
237 cdatamapping = 'direct';
238
239 end
240
241 %---------------------------------
Other subfunctions in this file are not included in this listing.