It’s my first time to use ceres to optimize my project, i know it not very well. wenn I follow example to write my project, it is not compilable. here is my code and my error (black one)and the code what i found in Gitlab(white one).
u,v is pixel coordinated,. Datatyp of m_Mask is vector(Cv::Mat). I want to get the mask value, (1 or 0) and gray value(int) by u,v pixel. Can I write my code like this , what means Here .ptr(0)? Looking for your replay. Thank you! :)
enter image description here enter image description here enter image description here
Best regard