To use the Distance tool, follow this procedure.Display an image in the Image Tool.
Click the Distance tool button in the Image
Tool toolbar or select Distance Tool from the Tools menu. The Distance tool appears as a horizontal
line displayed over the image,.The Distance tool displays the distance between the two endpoints of
the line in a label superimposed over the line. The tools specifies the distance
in data units determined by the XData and YData properties,
which is pixels, by default
Using the mouse, you can move the Distance tool over the image or, by grabbing either one of its endpoints, resize the
To save the endpoint locations and distance information, right-click
the Distance tool and choose the Copy pixel info option
from the context menu. The Distance tool opens the Export to Workspace
dialog box. You can use this dialog box to specify the names of the variables
used to store this information
After you click OK,
the Distance tool creates the variables in the workspace,..