Segmentation by velocity now uses a proportion of the frame size for filtering out small objects.  Removed img parameter which isn't needed.