I have an application where I need to replace a range of red values with a single red value in an HSL image. I need to replace the values from (1,255,82)-(14,255,127) with (1,255,82). I imagine this could be done with color thresholding the image but I'm not sure how without losing the other colors or getting an invalid image error.
Chris