This is a static copy of a profile reportHome
region_seg>mask2phi (404 calls, 35.860 sec)
Generated 05-Nov-2014 07:52:51 using cpu time.
subfunction in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/preprocessing/3D/ashariff/region_seg.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
region_seg | function | 404 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
205 | phi=bwdist(init_a)-bwdist(1-in... | 404 | 35.860 s | 100.0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 35.860 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
bwdist | function | 808 | 33.697 s | 94.0% |  |
im2double | function | 404 | 0.040 s | 0.1% |  |
Self time (built-ins, overhead, etc.) | | | 2.123 s | 5.9% |  |
Totals | | | 35.860 s | 100% | |
Code Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 2 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 1 |
Code lines that did run | 1 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
204 function phi = mask2phi(init_a)
35.86 404 205 phi=bwdist(init_a)-bwdist(1-init_a)+im2double(init_a)-.5;
Other subfunctions in this file are not included in this listing.