No products are associated with this question.
Did you show us your image? Did you explain what was special about those two points? Is ginput(2) not good enough? Why not? We can help with code but, until they release that long awaited mind reading toolbox, you have to do your part:
please mail me the code and your requirement clearly. I shall help you provided if the concept is less.
EDIT [24 Mar 2012, 12:36 GMT - OK] removed email address.