export extract_coordinates() for more pixel types