Hacker News new | ask | show | jobs
by ankitrohatgi 3997 days ago
Hey, I am the developer of this app. Thanks for the feedback on the color distance. Also, I wasn't aware of the Otsu method, but have thought of doing something very similar - I will give it a shot for sure. I have added an enhancement item in the issue tracker.
1 comments

On further thought this probably won't work very well: the histogram of colour distances will be multimodal, with one peak for each color in the image (and with the peak corresponding to the white background being far taller than the others). The Otsu method assumes there is just a foreground and background that need to be separated.

A clustering method like k-means might work, but I've had a quick play in Matlab and the results weren't great.

Thanks for trying it out. I am also working on a grid removal algorithm which will run into similar issues and so it's good to get some ideas. The naive color distance approach might not be the best for that scenario.