Connected object labeling

This project is about label connected objects and then use moments or orientation to find interesting objects.
First one is to find the two tumors in the picture of the lung (on the right).


Second one is to find out directions of motion of the bats: