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