Hi to All, I am doing a project where I have to track a red ball using Hue channel,for that I did thresholding to filter red color from image.
Later I have to find the moment(x,y axis) of filtered red ball in binarized image(track the cenroid of the red ball).After search I found findcontour and moments methods are used to accomplish this. I dont know how exactly to do this.
I am using c language for programming.
Thanks in Advance