opencv - how to understand the C++ syntax of this code line? -



opencv - how to understand the C++ syntax of this code line? -

what's meaning of &i.operator iplimage(), seems unfamiliar in c++ syntax.

mat i; ptr<iplimage> pii = &i.operator iplimage();

i not user of opencv can give overview of code doing:

mat i; creates mat object given name of i.

let's cutting next line up: ptr<iplimage> pii seems smart pointer iplimage.

&i.operator iplimage() converts mat object of iplimage taking address.

c++ opencv

Comments