Project-MONAI / Project-MONAI/MONAI

CLAHE Transform

Open
#9,049 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

Is your feature request related to a problem? Please describe.
I was wondering if I could attempt to implement a CLAHE transform into the MONAI library or if one is being worked. Contrast Limited Adaptive Histogram Equalization is widely used in medical 2D imaging, especially Ophthalmology. While other libraries do have implementations and is possible to do via Lambda transformation, perhaps a tried and tested transform could be developed for MONAI

Describe the solution you'd like
I imagine it would fall under an Intensity Transform and follow the pattern set there. Both Vanilla and Dictionary

Describe alternatives you've considered
It is entirely possible to do this as a lambda transform but with more and more people utilizing MONAI, it would be a gentler introduction for a common transform.

Additional context
My First issue/feature request--I am actually planning to do the coding, but have no contributed much to open source, so probably lots of questions (I did try to RTFM)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading MONAI's existing Intensity Transform implementations and the patterns for Vanilla and Dictionary transforms. The issue does not name specific files or tests, so locate those entry points first. Done means a CLAHE transform is available in both requested forms and is covered for medical 2D imaging use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
computer-vision
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.