Ran
|
Jobs
3
|
Files
65
|
Run time
31s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/fepegar/torchio/commit/<a class=hub.com/fepegar/torchio/commit/0ec03605226b208eb8165d996f8a295f911300fc">0ec036052<a href="https://github.com/fepegar/torchio/commit/0ec03605226b208eb8165d996f8a295f911300fc">">Use slicing and clone() to crop images in samplers Using sitk.Crop is slow because sitk.GetImageFromArray is slow. Using copy.deepcopy(patch) is slow because it copies the whole array, not just the patch. The solution is to use slicing for cropping and patch.clone() for copying. Related to #175, #183, </a><a class="double-link" href="https://github.com/fepegar/torchio/commit/<a class="double-link" href="https://github.com/fepegar/torchio/commit/89acf631d3329c83ec91ac526ebe7ae7ae433cd6">89acf631d</a>">89acf631d</a><a href="https://github.com/fepegar/torchio/commit/0ec03605226b208eb8165d996f8a295f911300fc">. Fixes #212.
2405 of 2737 relevant lines covered (87.87%)
2.64 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 930.1 | 65 |
87.91 |
Travis Job 930.1 | |
2 | 930.2 | 65 |
87.87 |
Travis Job 930.2 | |
3 | 930.3 | 65 |
87.87 |
Travis Job 930.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|