Ask Your Question
2

CLAHE on 16bit images?

asked 2013-06-10 04:13:35 -0600

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.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2014-08-04 10:52:18 -0600

csnate gravatar image

updated 2014-08-12 06:46:41 -0600

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.

edit flag offensive delete link more

Comments

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

Guanta gravatar imageGuanta ( 2014-08-05 02:38:01 -0600 )edit
1

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

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-05 03:04:42 -0600 )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 ( 2014-08-06 07:40:58 -0600 )edit

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

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-06 07:49:33 -0600 )edit
2

Mainline OpenCV supports 16-bit images as of today.

csnate gravatar imagecsnate ( 2014-08-12 06:45:41 -0600 )edit

is it available in python bindings as well ?

etiennebr gravatar imageetiennebr ( 2014-10-07 09:26:40 -0600 )edit
1

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

etiennebr gravatar imageetiennebr ( 2015-05-12 10:31:32 -0600 )edit
1

answered 2013-06-10 04:31:01 -0600

Vladislav Vinogradov gravatar image

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

edit flag offensive delete link more

Comments

has anybody modify the code for 16 bit images?

ashish donvir gravatar imageashish donvir ( 2014-01-17 04:11:31 -0600 )edit
0

answered 2016-10-24 05:39:41 -0600

pvt.peter gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-10 04:13:35 -0600

Seen: 1,857 times

Last updated: Oct 24 '16