• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fepegar / torchio / 934
88%

Build:
DEFAULT BRANCH: master
Ran 01 Jul 2020 11:20AM UTC
Jobs 3
Files 65
Run time 42s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
934

push

travis-ci

web-flow
<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">&quot;&gt;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

Jobs
ID Job ID Ran Files Coverage
1 934.1 01 Jul 2020 11:21AM UTC 0
87.93
Travis Job 934.1
2 934.2 01 Jul 2020 11:20AM UTC 0
87.89
Travis Job 934.2
3 934.3 01 Jul 2020 11:20AM UTC 0
87.89
Travis Job 934.3
Source Files on build 934
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #934
  • aaae0560 on github
  • Prev Build on master (#929)
  • Next Build on master (#935)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc