An image histogram is a chart that shows the distribution of intensities in an indexed or grayscale image. In this video, I have shown how to plot a histogram of 3 channels of RGB image. Also how to color them.
I don't know if there is any possible method for that. But i don't think we can convert to rgb using histogram, because the array only contains the number of times a value appeared in the image. But it didn't keep track of the pixels where that value was. we can't place them sequentially. But we can convert gray image to rgb using some function where we give equal values in red,green & blue channels. The result isn't perfect but it's close.
@@ece_projects hm ok.. The histogram I wanna use just to select the range if color. For example: 0-50 turn it to blue. 50-130 white.. 130-160 red.... is that possible?