May 22nd, 2014, 12:30 pm
Hi GuysI have a graph image (JPEG) which I'm reading into a matrix of rgb components. However the graph points (in red) comes in various shades of red pixels around the real value. (Example - in one column, instead of 1 red pixel, I see around 20 pixels of different shades of red). Could anyone point me to some filtering methods that I can use to group these pixels in either red or white (maybe fourier method?) If I can transform the image to 1shade of black, white and red, it would be easy to pick the data points from the image.I'm doing this in R using readJPEG function. I dont mind implementing the method if there is no library that already does it.Thx