This is a static copy of a profile report

Home

imagesci/private/tifftagsprocess (1427 calls, 0.080 sec)
Generated 05-Nov-2014 07:52:36 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/imagesci/private/tifftagsprocess.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imagesci/private/imtifinfofunction1427
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
26
end
14270.030 s37.5%
30
return
14270.010 s12.5%
19
if num_ifds > 0 
14270.010 s12.5%
23
if isfield ( info(1), 'GPSInfo...
14270 s0%
20
if isfield ( info(1), 'Digital...
14270 s0%
All other lines  0.030 s37.5%
Totals  0.080 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function30
Non-code lines (comments, blank lines)20
Code lines (lines that can run)10
Code lines that did run6
Code lines that did not run4
Coverage (did run/can run)60.00 %
Function listing
   time   calls  line
1 function info = tifftagsprocess ( info )
2 % TIFFTAGSPROCESS Processes raw TIFF tags into human-readable form
3 %
4 % INFO = TIFFTAGSPROCESS(TAGS) processes the cell array TAGS into a
5 % structure with name/value pairs. There will be one structure for
6 % each image in the image file. If one of the tag elements
7 % indicates a sub IFD, then the resulting name/value pair will consist
8 % of another structure of name/value pairs.
9 %
10 % Unrecognized tags are placed into a field called 'UnknownTags'.
11 %
12 % See also TIFFTAGSREAD, IMFINFO
13
14 % Copyright 2008-2010 The MathWorks, Inc.
15 % $Revision: 1.1.8.10 $ $Date: 2011/05/17 02:28:11 $
16
17
1427 18 num_ifds = numel(info);
0.01 1427 19 if num_ifds > 0
1427 20 if isfield ( info(1), 'DigitalCamera' )
21 info(1).DigitalCamera = exiftagsprocess ( info(1).DigitalCamera );
22 end
1427 23 if isfield ( info(1), 'GPSInfo' )
24 info(1).GPSInfo = gpstagsprocess ( info(1).GPSInfo );
25 end
0.03 1427 26 end
27
28
29
0.01 1427 30 return

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