keras-team / keras-cv

Industry-strength Computer Vision workflows with Keras
Other
979 stars 320 forks source link

Add CLAHE preprocessing layer #359

Closed innat closed 1 year ago

innat commented 2 years ago

CLAHE is a variant of Adaptive histogram equalization (AHE) which takes care of over-amplification of the contrast. It's well-used in medical imaging practice.

image

(original image (left) - HE (middle) - CLAHE (right)) source.

innat commented 2 years ago

@isears Isaac made a PR about CLAHE on TensorFlow-Addons. It's not merged yet. I think we can move it to KerasCV. His implementation produced

105634900-e98c0280-5e25-11eb-8ce7-ed7d7b09f5ec (his o/p on the most right side).

LukeWood commented 2 years ago

Yep! medical imaging is in scope. Happy to take a PR for medical imaging related preprocessing layers.

isears commented 2 years ago

@innat It will be at least a month before I can work on porting my tensorflow-contrib PR to keras-cv. If you would like, you could use my code to open up your own PR.

innat commented 2 years ago

@isears thanks for the update. I'm screening some other components to send PR. So, I can move forward with clahe after that. In the meantime, if you start working on your implementation, please feel free to send PR. -)

LukeWood commented 1 year ago

The KerasCV team is attempting to narrow the scope of the package to improve the health of our repository. As such, we are no longer looking to accept anything not currently on the roadmap without explicit support from a team member:

Please see the roadmap for more details: https://github.com/keras-team/keras-cv/blob/master/.github/ROADMAP.md

innat commented 1 year ago

@LukeWood could you please reopen this ticket?