I have an image containing the marks of some examination. I want to extract the red color components of the image only and removing the blue part and background effect. I have used the color threshold function but it showing an error of incompatible image.