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. Josh Allen 7,374 posts
- 2. Dolphins 27K posts
- 3. Malik Willis 1,711 posts
- 4. Bengals 10.6K posts
- 5. Mike McDaniel 2,829 posts
- 6. Mariota 4,465 posts
- 7. Matt Gay 2,582 posts
- 8. #GoPackGo 2,579 posts
- 9. #BillsMafia 4,681 posts
- 10. Achane 5,193 posts
- 11. #HereWeGo 1,814 posts
- 12. Tee Higgins 1,074 posts
- 13. James Pierre N/A
- 14. #RaiseHail 5,424 posts
- 15. Bryce Young 1,545 posts
- 16. Zac Taylor N/A
- 17. #PhinsUp 4,368 posts
- 18. Baker 14.8K posts
- 19. Commanders 29.9K posts
- 20. Deonte Banks N/A
Loading...
Something went wrong.
Something went wrong.