Several functions are provided for Histogram Processing. They include: PDF, CDF, and Histogram Equalization. For further details, please refer to: "Gonzales & Woods, DIP, 2nd. ed."
how are these any different that inbuit functions? there is already a histogram equalization function as well as adaptive histogram. code needs to be vectorized, get rid of loops and use LU or SVD decomp. doesn't handle uint16.