Homec4science

Merge pull request #1 from tomka/prevent-threshold-overflow

Authored by dscho <johannes.schindelin@gmx.de> on Mar 14 2014, 19:39.

Description

Merge pull request #1 from tomka/prevent-threshold-overflow

Prevent potential overflow of channel specific thesholds

Note: this is a quick bug fix, but it introduces technical debt: the range check is repeated, violating the DRY principle (i.e. bloating the code and making bug fixes prone to cover only *part* of the copy-edited versions). However, subsequent pull requests can fix this.

Event Timeline

dscho <johannes.schindelin@gmx.de> committed R6269:0bee4e207271: Merge pull request #1 from tomka/prevent-threshold-overflow (authored by dscho <johannes.schindelin@gmx.de>).Mar 14 2014, 19:39

Merged Changes

CommitAuthorDetailsCommitted
5f6dd6d91250Tom Kazimiers
Make sure calculated thresholds fit into image data type 
Mar 14 2014