Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | regionmanager |
region | in | The region | |
Allowed: | Region tool |
This function returns T if the region is a pixel region. For any other Glish variable it returns F.
- im := image('hcn') - cs := im.coordsys() - r1 := drm.box() # A pixel region - r2 := drm.wbox(csys=cs) # A world region - drm.ispixelregion(r1) T - drm.ispixelregion(r2) F - x := [20,30] - drm.ispixelregion(x) F