Functions to convert color spaces and thresholding
Function to calculate the histogram of an image
Function to calculate the concentration histogram