imagej / imagej/ImageJ

Automatic threshold command failing on bi-level images

Open
#192 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
786
Forks
267
PR merge metrics
No merged PRs in 30d

Description

Several of the built-in automatic thresholding modes (`Image -> Adjust -> Threshold...`) do not work on bi-level images, as they probably should (IJ 1.53v). These are
* Default (which is?)
* Intermodes
* IsoData
* Li
* Minimum
* Renyi Entropy
* Triangle
* Yen

The attached example is a binary image with gray values 17 and 18 only:

![keplerBin_017_018](https://user-images.githubusercontent.com/3172121/209428866-86f863ef-f5bf-497f-a559-8da4ee6939e7.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. First reproduce the failure through Image - > Adjust - > Threshold... using the attached bi-level image with gray values 17 and 18, then locate the implementations of the listed automatic thresholding modes. Done means the affected modes, including Default, Intermodes, IsoData, Li, Minimum, Renyi Entropy, Triangle, and Yen, work on this image and have verified behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.