User:Nrp/Weekly updates/20080705: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(thursday)
Line 7: Line 7:
== Wednesday ==
== Wednesday ==
* Finished the connected components function and tested it. It still needs more testing, and I have to come up with a way of tracking the number of pixels in each connected component without needing another pass of the array. Then I can plug it into pygame.mask
* Finished the connected components function and tested it. It still needs more testing, and I have to come up with a way of tracking the number of pixels in each connected component without needing another pass of the array. Then I can plug it into pygame.mask
== Thursday ==
* By some miracle, changing the function to get the largest connected component actually worked on the first try. Now its just a matter of integrating it with masks and seeing if it'll run at a usable speed on the XO.

Revision as of 00:02, 4 July 2008

Saturday

  • Researched connected components extraction

Monday

  • Continued connected components research

Tuesday

  • Started writing a connected components function using decision trees and array based union-find. As far as I can tell, this is the current state of the art in connected component algorithms.

Wednesday

  • Finished the connected components function and tested it. It still needs more testing, and I have to come up with a way of tracking the number of pixels in each connected component without needing another pass of the array. Then I can plug it into pygame.mask

Thursday

  • By some miracle, changing the function to get the largest connected component actually worked on the first try. Now its just a matter of integrating it with masks and seeing if it'll run at a usable speed on the XO.