Roi of a shared_ptr<mat> is not correct

thanks i will give it a try