| Version 1.9 Build 1556
|
|
Next: gopher.fromms - Function
Up: gopher - Tool
Previous: gopher - Constructor
gopher.fromimage - Function
|
Package |
display |
|
Module |
widgets |
|
Tool |
gopher |
Get various types of information from an image
Synopsis
fromimage(file, what)
Description
This function allows interactive selection of various types of
information from an image. This information is returned.
The types of information returned are:
- region
- An image region is returned from a display of an image.
To set the region, you must first select the type of region (box or
polygon) by pressing the appropriate button on the left hand side
of the viewer, and second, use the mouse to drag out the region,
and third, double-click inside the region to complete the selection.
- position
- An image position is returned from a display of an image.
To set the position, you must first enable to position selection by
pressing the cross hairs icon on the left hand side of the viewer,
second, move the cursor to the point of interest, then third,
double-click inside the cross hairs.
- statistics
- Open the Statistics frame, select a region as above,
and the statistics will be calculated and returned.
Arguments
file |
|
Image file name |
|
|
Allowed: |
String |
what |
|
Thing to return |
|
|
Allowed: |
String |
|
|
Default: |
'region'|'position'|'statistics' |