hist matching refactoring
hist matching rewrited, color triangle added