Oct-13-2018, 07:28 AM
Hello,
doesn't your end image look pretty much like the one that's expected? It does to me, after a quick glance...
Anyway, if you want to keep only the "very red" pixels red, and convert those with no or very small amount of red to grayscale, you can set a threshold for red channel and convert only pixels, which have red channel value below the threshold.
doesn't your end image look pretty much like the one that's expected? It does to me, after a quick glance...
Anyway, if you want to keep only the "very red" pixels red, and convert those with no or very small amount of red to grayscale, you can set a threshold for red channel and convert only pixels, which have red channel value below the threshold.