adapthisteq
8 次查看(过去 30 天)
显示 更早的评论
Hi, I am using Matlab built in function "adapthisteq" which apparently implements the CLAHE algorithm. However, I am a bit confused regarding the size of the tiles in the parameters and its influence. When I use tiles {8x8} the algorithm runs faster than that of {256x256}. Normally, when we divide the image into smaller tiles we end up with large number of processed windows which slows down the underlying algorithm like for example the "blockproc" function. It looks like the "adapthisteq" is actually implementing an {8x8} tile size when the user enters {256x256} that is because:
- The final result has a semi-visible grid of roughly the size of {8x8}
- The output on images resembles more to {8x8} implementation of CLAHE in other languages Java, C++.
I hope to hear from you soon.
Cheers. Cheddad
回答(1 个)
Teja Muppirala
2011-3-28
The 'numtiles' argument in ADAPTHISTEQ refers to the number of tiles to break the entire image into, and not the actual pixel size of each tile itself. For example, if your image size was 800 x 800, then when you say
adapthisteq(I,[8 8])
you are block processing on 100 pixels by 100 pixels sized blocks. Similarly,
adapthisteq(I,[100 100])
would operate on 8 pixels by 8 pixels sized blocks at a time. This takes much longer, since now you have to do 10000 blocks.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!