This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
26 | end | 1427 | 0.030 s | 37.5% |  |
30 | return | 1427 | 0.010 s | 12.5% |  |
19 | if num_ifds > 0 | 1427 | 0.010 s | 12.5% |  |
23 | if isfield ( info(1), 'GPSInfo... | 1427 | 0 s | 0% |  |
20 | if isfield ( info(1), 'Digital... | 1427 | 0 s | 0% |  |
All other lines | | | 0.030 s | 37.5% |  |
Totals | | | 0.080 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 30 |
Non-code lines (comments, blank lines) | 20 |
Code lines (lines that can run) | 10 |
Code lines that did run | 6 |
Code lines that did not run | 4 |
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.