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

vanvalenlab / caliban / 269 / 2
63%
master: 63%

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

28 Jul 2020 05:45PM UTC coverage: 30.407%. Remained the same
269.2

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.3 hits per line

Source Files on job 269.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 35
  • Travis Job 269.2
  • ba39e608 on github
  • Prev Job for on master (#265.1)
  • Next Job for on master (#276.1)
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