How to select x,y a coordinates from two points in image?

I have two points in an image, these two points like as min and max values. I want to fix coordinates of these two points

Answers (1)

You can use the function max, together with ind2sub.

1 Comment

i want to select x-y coordinates for max and min values in the image, if i know the direction of image and i have (0,0)as origin point not that

Sign in to comment.

Products

Asked:

on 9 May 2016

Commented:

on 10 May 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!