|
Ran
|
Jobs
3
|
Files
65
|
Run time
42s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/fepegar/torchio/commit/<a class=hub.com/fepegar/torchio/commit/aaae0560a45ac2477c8c7e5bea627320e17143d6">aaae0560a<a href="https://github.com/fepegar/torchio/commit/aaae0560a45ac2477c8c7e5bea627320e17143d6">">Optimize cropping in samplers (#214) * Remove unused attribute * 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/aaae0560a45ac2477c8c7e5bea627320e17143d6">. Fixes #212. * Set proper affine when cropping patches
2408 of 2740 relevant lines covered (87.88%)
2.64 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 934.1 | 0 |
87.93 |
Travis Job 934.1 | |
| 2 | 934.2 | 0 |
87.89 |
Travis Job 934.2 | |
| 3 | 934.3 | 0 |
87.89 |
Travis Job 934.3 |