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

vanvalenlab / caliban / 269
63%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2020 05:45PM UTC
Jobs 3
Files 7
Run time 18s
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
269

push

travis-ci-com

GitHub
Browser/refactor/adjust variable scope (#176)

* refactor adjust.js into a class

- constructed with rawWidth and rawHeight, removes need to pass in each time
- creates and uses its own canvas/context for image manipulation
- image adjustment steps now call adjust object methods

* image adjustment methods work in-place, don't need to return image data

* rescope rawLoaded and segLoaded to be ImageAdjuster attributes

* initialize adjuster with rgb attribute

* move Image objects into adjuster class to store processed images

cleans up adjuster processing methods by accessing adjuster attributes
instead of needing to feed in Images as arguments

* move most Image onload bindings into adjuster class

* rename channel_max to channelMax

* move brightness and contrast into adjuster

- initialize adjuster with number of channels in file (to store each
  channel's image modifications separately)
- move variables over to be attributes of adjuster object
- add methods for changing brightness/contrast (update image if needed)

* rename adjuster current_contrast to contrast

to match "brightness" attribute

* no more need for arguments to adjuster contrastRaw

method can now access everything it needs via attributes

* add brightness/contrast reset method to adjuster

* move display_invert to adjuster (and rename to displayInvert)

* parameterize globalAlpha used for drawing semi-transparent labels

* explicitly pass in seg_array to image adjustment methods

* use getters for brightness and contrast adjustment limits

* small fix to brightness adjustment method

- only apply adjustment once, not twice
- reorder min/max limits to match contrast adjustment method

* use invertMap instead of single invert value

329 of 1082 relevant lines covered (30.41%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 269.1 28 Jul 2020 05:46PM UTC 0
30.41
Travis Job 269.1
2 269.2 28 Jul 2020 05:45PM UTC 0
30.41
Travis Job 269.2
3 269.3 28 Jul 2020 05:46PM UTC 0
31.36
Travis Job 269.3
Source Files on build 269
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #269
  • ba39e608 on github
  • Prev Build on master (#265)
  • Next Build on master (#276)
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