A histogram matching is a standard method of how to adjust color space from one image to another. For gray-scale images it is straight forward, but how to deal with color images? So far I found it done the same way per color channel independently like skimage - https://scikit-image.org/docs/dev/auto_examples/transform/plot_histogram_matching.html
I am not very convinced that the color information can be treated independently per channel at least not for all color spaces; for example RGB, personally some smoother color space would be better like CIE lab?
A model case would be having two color images, one would be only green other only red... the histogram matching independently per color channel does not make much sense, right?