About CV_SWAP macro
What exactly does the macro CV_SWAP
do? It seems like it's similar to cvCvtColor() but I can't find a reference to it at the official docs.
What exactly does the macro CV_SWAP
do? It seems like it's similar to cvCvtColor() but I can't find a reference to it at the official docs.
You would be surprised how well google can help you! As seen in this topic on stackoverflow, the CV_SWAP macro basically takes into 2 variables and a temp variable, swapping the inner values of both variables, using the temp.
It's not the same name, but probably you are correct. Nevertheless, the solution still applies here. People looking for the problem on this forum, will now find an answer easily.
Asked: 2013-07-04 19:36:07 -0600
Seen: 338 times
Last updated: Jul 05 '13