https://ruclips.ru/en/watch/juAUdqOoPiw/histogram-matching-explained-and-implemented-in-matlab