Automatic image analysis for space debris measurement