Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: maskmanager.mask - Function Up: maskmanager - Tool Previous: maskmanager.exprmask - Function


maskmanager.fromimage - Function



Package synthesis
Module map
Tool maskmanager


Create a mask data item by defining mask interactively from a viewer


Synopsis
fromimage(image, maskimage)


Arguments

image name of image to be used in viewer
Allowed: String
Default: ''
maskimage name of maskimage
Allowed: String
Default: ''


Returns
mask data item
or fail


Description

This function creates a mask data item from an interactive definition of mask regions on the viewer by the user. This function will bring the viewer with the reference image (calling interactivemask tool). The user should click on the left hand menu on the region button of choice (last 2 buttons on left hand menu), then draw the region of choice and double click inside. This box or polygon region can be dragged around by using the left mouse and double clicked any place where its to be selected. The user can click on the 'refresh' button to see what mask region has been defined. The user can 'add' or 'remove' regions till the 'Done with masking' button is pressed. If the maskimage is the name of an existing mask image then the user can update that mask.



Example
mymm:= maskmanager();
item3 := mymm.fromimage(image='3C273XC1.clean', maskimage='3C273XC1.clean.mask');

Create a mask data item item3 from regions interactively defined on a viewer.





next up previous contents index
Next: maskmanager.mask - Function Up: maskmanager - Tool Previous: maskmanager.exprmask - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15