I am testing the linear grey level method stated in enter link description here.Now it is clear that this method have a major problem: If there are already pixels of values 0 or 1, there won't be any changes in the image.
As a solution, I apply a threshold to my image to put for example pixels with values above threshold 1 to threshold1 and pixels with values below threshold 2 to thresold 2.
Now this seems to be an unatural way to deal with this problem.Are there more methods to bypass the maximum and minimum issue?
