2020-02-13 08:08:15 -0600 | received badge | ● Famous Question (source) |
2017-12-13 08:15:59 -0600 | received badge | ● Notable Question (source) |
2016-09-26 09:24:55 -0600 | received badge | ● Popular Question (source) |
2015-02-23 03:40:17 -0600 | commented answer | OpenCV 3.0 CLAHE with 16bit images Yes, I should file in a BUG. I reimplemented the algorithm copying it from Graphics Gems IV and ImageJ, they use a different approach, but it would be nice if I could use OpenCV. If I can in the future I will try to have a look at the OpenCV code which it's a little bit less straightforward having to deal also with OpenCL. Thanks! |
2015-02-23 03:36:48 -0600 | commented question | OpenCV 3.0 CLAHE with 16bit images :), that's the kind of image we use, for mammographies it's also more than double that size! If you want I can resize it. |
2015-02-22 04:06:21 -0600 | commented answer | OpenCV 3.0 CLAHE with 16bit images No, the commit only enables CLAHE processing of CV_16UC1 images, but doesn't solve the problem I'm having. |
2015-02-22 04:01:56 -0600 | commented question | OpenCV 3.0 CLAHE with 16bit images I'm sorry I didn't answer before. You can find a 16 bit png image at the following link: Thank you |
2015-02-11 09:50:27 -0600 | received badge | ● Student (source) |
2015-02-11 08:54:27 -0600 | asked a question | OpenCV 3.0 CLAHE with 16bit images Hello,
I'm trying to use the openCV CLAHE implementation on 16 bits medical images and the results are not what I expected, it looks like the algorithm overlflows, resulting in a very dark image. If I convert the original image to CV_8U using cv::Mat:: convertTo() with an alpha value = 1.0 / (1 << (BitsStored - 8)), this is because images are really 10 or 12 bit unsigned int images, the result is correct and what I expect, see the examples below. Original image 8 bits CLAHE 16 bits CLAHE The code is very simpe Below is the code I use to convert from DICOM to cv::Mat:, it uses a dicom toolkit written by me: Thank you very much, Gianluca Ghelli |