This is a static copy of a profile report

Home

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)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
222
cdatamapping = 'direct'; 
10.000 s100.0%
236
case 'indexed'
10 s0%
233
case {'intensity','binary'}
10 s0%
232
switch image_type
10 s0%
Other lines & overhead  0 s0%
Totals  0.000 s100% 
Children (called functions)
No children
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in file22
Non-code lines (comments, blank lines)15
Code lines (lines that can run)7
Code lines that did run4
Code lines that did not run3
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.