Thanks, i will take a look at those sites, opencv is soo annoying because of the unhandled exception i error keep on getting or the unavailability of constructors for some functions to perform conversions soo anoying, i prefer matlab.
and you only can use vec3b others like vector<float> = RGB(3) don't work.
yeah sure post the code, but you don't have to post it now when done.
i have been able to generate mask from the tennis site. didn't know creating a matrix for a mask was this tricky.
so how do i apply it to the image so that i only get the image without a background (transparent).
do i create a matrix like the mask but create 3 channel as size as original image and do something where i copy only the pixels which are 255 to the new matrix image.