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 Tendances
- 1. Eagles 174K posts
- 2. Goff 19K posts
- 3. Lions 80.7K posts
- 4. Dan Campbell 9,571 posts
- 5. Jalen 32.6K posts
- 6. #ITWelcomeToDerry 8,750 posts
- 7. Gibbs 7,570 posts
- 8. Kevin Patullo 5,850 posts
- 9. GM CT 21K posts
- 10. House Republicans 28K posts
- 11. #OnePride 5,193 posts
- 12. #BaddiesUSA 11.4K posts
- 13. Vic Fangio 3,094 posts
- 14. AJ Brown 8,050 posts
- 15. Shedeur 56.8K posts
- 16. Tom Cruise 16.4K posts
- 17. Gabriel 67.1K posts
- 18. Collinsworth 2,934 posts
- 19. Sanders 55.1K posts
- 20. Adoree Jackson 2,637 posts
Loading...
Something went wrong.
Something went wrong.