How to extract vertex points after using feature edge filter?

Hi all,

After using feature edge filter, my 2d example dataset becomes the following which looks good:


However, if only just want to keep the points at the featured edge vertices(remove the extras) like this:

image

What could I do to achieve this? I appreciate for any help!

Kind regards,
Ray