1 | initial version |
You would have to re-write the CLAHE functions to accept that. Specifically the CLAHE_CalcLut_Body. Right now it uses the same number of pixels as the range. If you are willing to do factors of 2, (128, 64, 32, ect.) then you can just modify the shift parameter. For arbitrary numbers you just need a re-write.