This is a project with complete C++ code that helps you using haar-like feature to training things you intrested like hands or faces.This project requires opencv 2.1 libs and VS2008.
matlab环境下的基于多维矩阵的haar分解,有详细说明。function coef=mywavedec2(x,N,'haar') function coef=mywavedec2(x,N,'haar') function coef=mywavedec2(x,N,'haar') function coef=mywavedec2(x,N,'haar')