I have 2 grayscale images, A and B. I'm using imhistmatch for these images. Assume that the image we obtain after imhistmatch is C and A is our reference.
I firstly wonder whether imhistmatch function is doing a linear operation or not. How can I do reverse operation which convert C image to B image back?