4 ms·
It really wouldn't. Take the average of the puzzle, if it's 75% grey in a wide distribution then move it a bit, repeat until there's some huge change in the his
by nwh 13y ago
It really wouldn't. Take the average of the puzzle, if it's 75% grey in a wide distribution then move it a bit, repeat until there's some huge change in the histogram. Easier to solve than most I've seen.
- redthrowaway 13y agoPixels are OR'd, so you'd want 75% grey, not 50% (assuming each of the component images is an even distribution of white and black pixels). Otherwise, yeah.
- nwh 13y agoGood point, I've edited the parent to correct it.
- epsylon 13y agoCounting the average size of black-colored connected components would work as well.