Skip to content

Add contrast enhancement, CLAHE, noise and top hat - #22

Merged
curlh merged 2 commits into
feature/selection-toolsfrom
feature/contrast-tools
Oct 16, 2026
Merged

curlh merged 2 commits into
feature/selection-toolsfrom
feature/contrast-tools

Conversation

@curlh

@curlh curlh commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

Adds the contrast and noise commands of ImageJ.

Process > Enhance Contrast sets the display range from a percentage of saturated pixels, using the histogram of the image or of the whole stack. With Normalize it makes a new image stretched over the full range instead, and with Equalize histogram it makes an equalized one. Process > Enhance Local Contrast (CLAHE) brings out local detail with a block size, a number of bins and a maximum slope. Process > Noise has Add Noise (Gaussian) and Add Salt and Pepper. Process > Filters gets Top Hat for bright or dark detail, and Image > Adjust gets Apply Display Range, which writes the display range of the image into its data.

Based on the selection tools branch (#21).

@curlh
curlh added this pull request to stack #23 October 16, 2026 09:50
@curlh
curlh merged commit e36cd58 into main Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant