I am doing image processing in my project so I need to calculate the intensity of each pixel.
If it is greater than a threshold then keep it as it is, otherwise remove that pixel.
I am doing image processing in my project so I need to calculate the
Share
You may convert RGB to HSB and use brightness. But I think its slow method.
Maybe something like this: