Automatic extraction of roads from aerial images based on scale space and snakes