adapted to new extract_seed_points interface
code cleanup
adapted to new 3D plane to 2D projection interface