opencv:L1距离,L2距离,颜色失真(color distortion),汉明距离(hamming distance),LUT
#pragmaonce#include//!computestheL1distancebetweentwointegervaluestemplatestaticinlinetypenamestd::enable_if::value,size_t>::typeL1dist(Ta,Tb){return(size_t)abs((int)a-b);}//!computestheL1distancebetw