Im trying out the drawing functions, but having difficulty getting the colour I want. The circle appears, on some values, but not others, for color, but only ever shows up as black. What am I doing wrong? I have read the the documentation for the circle function.
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main(int argc, char ** argv){
Mat md0, md1, md2, md3;
md0 = Mat::zeros(100,200,CV_32F);
md1 = Mat::ones(100,200,CV_32F);
pyrUp(md1,md2);
//drawing function
Point2f p(77, 100);
circle( md2, p,50,0xFFFF00,2,8,0);
imshow("Double Ones", md2);
waitKey(0);
return 0;
}