Talk:Thresholding (image processing)
Appearance
I believe the improved threshold should be: (||G2||*m1+||G1||*m2)/(||G2||+||G1||).
Shoul image thresholding redirect to this page? Albert Cruz 22:34, 1 July 2008 (UTC) Pikez33
Weighted average doesn't make sense
I removed the following:
- Another approach is to calculate the new threshold in step four using the weighted average of and : Tâ = (||||* + ||||*)/(||||+||||), where |||| is the number of pixels in . This approach often gives a more accurate result.
because it appears to do nothing more than calculate the mean value of all the pixels, independent of the threshold value. The mean of pixels times the number of pixels is the sum of pixels. Same goes for . The union of and is the whole image, so the sum of those products is the sum of all the pixels in the image and |||| + || is the number of pixels in the image. Ergo, their quotient is the mean of all the pixels in the image.