Is it possible to apply equalizeHist method to a doubly-connected domain? I want to equalize not the whole image but to exclude certain areas from processing leaving them intact. To do that, I am thinking of using transparent “color”. I’d like to fill the excluded areas with transparent “color” before passing the image to OpenCV. Any ideas?