I start top left un-processed pixel, move right until I hit another color, move horizontal bar down until other color, mark all as processed
1
0
0
0
0
interesting. Why not index everything in a table and do what I did? More or less same result in like 8 LOC
1
0
1
0
0
The down expansion reduces the rect count by a lot (I'm processing the completed pixel map btw, not as I go along)
1
0
0
0
0
oh. I do it as I go so that I can generate faster and with less ram. your method sounds like a compression algorithm
2
0
1
0
0
United States الاتجاهات
- 1. #UFC322 195K posts
- 2. Islam 305K posts
- 3. #LingTaoHeungAnniversary 620K posts
- 4. LING BA TAO HEUNG 621K posts
- 5. Morales 39.3K posts
- 6. #byucpl N/A
- 7. Valentina 16.8K posts
- 8. Ilia 8,759 posts
- 9. Prates 37.8K posts
- 10. Sark 6,388 posts
- 11. #INDvsSA 17.6K posts
- 12. Khabib 15.4K posts
- 13. Dagestan 4,208 posts
- 14. Georgia 90.1K posts
- 15. Dillon Danis 15.9K posts
- 16. Topuria 6,931 posts
- 17. #ONE173 15.1K posts
- 18. Shevchenko 13.6K posts
- 19. Weili 8,871 posts
- 20. Kirby 18.9K posts
Loading...
Something went wrong.
Something went wrong.