imagej / ImageJ

Public domain software for processing and analyzing scientific images
http://imagej.org
Other
577 stars 227 forks source link

Update ContrastEnhancer.java with public set methods for equalize and saturated fields. #244

Closed acardona closed 8 months ago

acardona commented 8 months ago

These changes enable other programs to use the ContrastEnhancer without the UI.

For example TrakEM2, which all these years has accessed these methods via reflection. Updating the API will ease the transition to Java 21.

ctrueden commented 8 months ago

Looks like there is a new problem with the CI build, unrelated to these changes. I will try to figure it out, but in the meantime, it shouldn't stop @rasband from incorporating these changes in his usual way.

ctrueden commented 8 months ago

For the record, the commit integrating the work from this PR is 3b6281575d9db70ee33ad73a31193f561c45a6d4.