Adaptive Histogram Equalization for 3D images- long run-time


(Courtney Ambrozic) #1

Hello,

I’m running the AdaptiveHistogramEqualizationImageFilter() on a 3D image that is 512x512x197. Currently, the run-time for this histogram equalization is about three hours. Does anyone have an idea as to why it is taking this long and/or any recommendations on how to decrease this run-time?

Thanks in advance!


(Matt McCormick) #2

Hello Courtney,

Welcome to ITK! :sunflower:

The size of the local window has a large impact on the AdaptiveHistogramEqualizationImageFilter run time – try reducing this.


(Dženan Zukić) #3

Also make sure you are running a Release build, and not a Debug build.


(Courtney Ambrozic) #4

Hi Matt,

Thank you for your reply! Can the local window be controlled by the SetRadius() function?


(Matt McCormick) #5

Yes, exactly :-).