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:


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

Kind regards,