changed LBP & calcHist( Mat * img, Mat * mask=NULL ) to be a private member