Ask Your Question

Revision history [back]

how to calculate euclidean distance in image pixels from a specific point in OpenCV C++?

I have Calculated YCbCr value of hand in OpenCV. Now i wish to find Euclidean Distance from the above calculated values, in such a way: D={(Cb(i,j),Cr(i,j)),(Cbmin,Crmin)} Both Cbmin and Crmin have been calculated. Anyone can help please?