This is a static copy of a profile reportHome
images/private/morphop>useIPP3x3 (12322 calls, 0.611 sec)
Generated 05-Nov-2014 07:53:24 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/private/morphop.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 |
281 | if ~isempty(se) && str... | 12322 | 0.150 s | 24.6% |  |
280 | TF = false; | 12322 | 0.100 s | 16.4% |  |
283 | else | 12322 | 0.060 s | 9.8% |  |
284 | return; | 12322 | 0.040 s | 6.6% |  |
All other lines | | | 0.260 s | 42.6% |  |
Totals | | | 0.611 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
288 | STRMATCH will be removed in a future release. Use STRNCMP instead. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 9 |
Code lines that did run | 4 |
Code lines that did not run | 5 |
Coverage (did run/can run) | 44.44 % |
Function listing
time calls line
278 function TF = useIPP3x3(class_A,se,is2DInput,strelIsSingle,strelIsAll2D)
279
0.10 12322 280 TF = false;
0.15 12322 281 if ~isempty(se) && strelIsSingle
282 nhood = getnhood(se);
0.06 12322 283 else
0.04 12322 284 return;
285 end
286
287 is3x3nhood = isequal(nhood,ones(3));
288 supportedType = ~isempty(strmatch(class_A,{'single','uint8','uint16'}));
289 TF = is3x3nhood && is2DInput && supportedType && strelIsAll2D && ippl();
Other subfunctions in this file are not included in this listing.