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 Trends
- 1. Dolphins 25.9K posts
- 2. Josh Allen 6,757 posts
- 3. Mike McDaniel 2,749 posts
- 4. Matt Gay 2,505 posts
- 5. Mariota 4,385 posts
- 6. Achane 5,127 posts
- 7. #RaiseHail 5,337 posts
- 8. Tee Higgins N/A
- 9. #PhinsUp 4,272 posts
- 10. Zac Taylor N/A
- 11. #BillsMafia 4,321 posts
- 12. #HereWeGo 1,565 posts
- 13. Spain 77.1K posts
- 14. Jack Sawyer N/A
- 15. Madrid 156K posts
- 16. Jameis 5,202 posts
- 17. Bryce Young 1,175 posts
- 18. Jack Jones 1,375 posts
- 19. Addison 6,041 posts
- 20. Waddle 4,484 posts
Loading...
Something went wrong.
Something went wrong.