Opencv ptr()'s overload 9 and 10

opencv version and exact error msg, please :wink:

(apart from that, yes, i can repeat it on master(4.5.2-pre))