I have the following function in a piece of code that I am completely converting to the C++ interface.
cvGet2D( distribution, y, x )
This piece of code has as return element a CvScalar. However, I want the output to be a Scalar type. Is there any way to do this decently? Using any other C++ function?