Text this: Bankline extraction in remote sensing images using principal curves