Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
value | in | Absolute pixel coordinate | |
Allowed: | Numeric vector | ||
Default: | Reference pixel | ||
format | in | What type of formatting ? | |
Allowed: | String from combination of 'n' (numeric), 'q' (quantity), 'm' (measure), 's' (string) | ||
Default: | 'n' |
This function converts between absolute pixel coordinate (1-rel) and world (physical coordinate).
This function is just a wrapper for the Coordsys tool function toworld so see the documentation there for a description of the arguments and more examples.
- im := image('hcn') - w := cs.toworld([10,10], 'n') - w := cs.toworld([10,10], 'nmq')Convert to a vector of floats and then to a record holding a vector of floats, a vector of quantities and a subrecord of measures.