4 ms·
so can someone actually explain how this works?
by asdfqwer1234 15y ago
so can someone actually explain how this works?
- the-cakeboss 15y agoWhile I didn't look at how he did it, if I were to write something to do this, I would first locate each slice of the image. This could be accomplished using a rudimentary edge detection algorithm ( ie starting from the left, compare each column of pixels with the next, any large differences of course means an edge ). After that I might assign a weighted value to each edge of a slice, and then sort based upon those values.