Ask Your Question
2

CLAHE on 16bit images?

asked Jun 10 '13

Nils gravatar image

hi, is it somehow possible to use the opencv implementation of the CLAHE-algorithm on 16-bit Images? Thanks for your answer.

Preview: (hide)

3 answers

Sort by » oldest newest most voted
3

answered Aug 4 '14

csnate gravatar image

updated Aug 12 '14

Hi, I know this is a bit old, but I found this answer when trying to use 16-bit images with OpenCV's CLAHE and wanted to answer for others looking for this. I actually modified the algorithm to accept any integral type.

EDIT: Mainline OpenCV's CLAHE now supports 16-bit images.

Preview: (hide)

Comments

Thank you for your effort! Please consider to make a pull request to enable this feature to the whole community.

Guanta gravatar imageGuanta (Aug 5 '14)edit
1

There is already a pull request for this functionality. Passed by it some time ago :) More info here

StevenPuttemans gravatar imageStevenPuttemans (Aug 5 '14)edit
2

@StevenPuttermans - That was me :) I am still in the process of fixing some bugs with it. But hopefully within the next week or so I'll be done.

csnate gravatar imagecsnate (Aug 6 '14)edit

Thank you for the pull request! It will help people alot!

StevenPuttemans gravatar imageStevenPuttemans (Aug 6 '14)edit
2

Mainline OpenCV supports 16-bit images as of today.

csnate gravatar imagecsnate (Aug 12 '14)edit

is it available in python bindings as well ?

etiennebr gravatar imageetiennebr (Oct 7 '14)edit
1

To answer my last comment: yes, it's available for python.

etiennebr gravatar imageetiennebr (May 12 '15)edit
1

answered Jun 10 '13

Vladislav Vinogradov gravatar image

Current implementation supports only 8-bit grayscale images. Code modification is required for 16 bit input.

Preview: (hide)

Comments

has anybody modify the code for 16 bit images?

ashish donvir gravatar imageashish donvir (Jan 17 '14)edit
0

answered Oct 24 '16

pvt.peter gravatar image
Preview: (hide)

Question Tools

1 follower

Stats

Asked: Jun 10 '13

Seen: 1,960 times

Last updated: Oct 24 '16