Some points
1. You present this as a hard problem, yet most other paint programs have found a solution to this. It is not as hard as you seem to think it is.
2. This has nothing to do with neighboring pixels. For each pixel you get the RGB values and check that max(max(abs(R-R0), abs(G-G0)),abs(B-B0)) < T.
3. The above check is reasonably fast on a modern computer.
4. Every comparison on every computer is true-false. Your statement is nonsense.
1. You present this as a hard problem, yet most other paint programs have found a solution to this. It is not as hard as you seem to think it is.
2. This has nothing to do with neighboring pixels. For each pixel you get the RGB values and check that max(max(abs(R-R0), abs(G-G0)),abs(B-B0)) < T.
3. The above check is reasonably fast on a modern computer.
4. Every comparison on every computer is true-false. Your statement is nonsense.
Originally posted by Sam_Zen
View Post
Comment