I need to know specifically what the line for m, n in matches
does to be able to implement it in C. matches
is a matrix, but what values does m
and n
take and how do they move?
This is python code...
for m, n in matches:
if m.distance < 0.75*n.distance:
good.append([m])
NOTE In C++ matches
is a std::vector<DMatch>
and is an OpenCV program.
Thanks!