answered 2016-01-14 03:33:32 -0600
You should declare the translate vector T as:
const cv::Mat T = cv::Mat(3,1,CV_64F,_T);
This will prevent the assert to activate.