; PIX2XY ;--------------------------------------------------------------- ;! Specifies a pixel in an image ;# ADVERB IMAGING COORDINATES TV ;----------------------------------------------------------------------- ;; Copyright (C) 1995, 2020 ;; Associated Universities, Inc. Washington DC, USA. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2 of ;; the License, or (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public ;; License along with this program; if not, write to the Free ;; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, ;; MA 02139, USA. ;; ;; Correspondence concerning AIPS should be addressed as follows: ;; Internet email: aipsmail@nrao.edu. ;; Postal address: AIPS Project Office ;; National Radio Astronomy Observatory ;; 520 Edgemont Road ;; Charlottesville, VA 22903-2475 USA ;----------------------------------------------------------------------- ;--------------------------------------------------------------- PIX2XY LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC ---------------------------------------------------------------- PIX2XY Type: Adverb (Real*2) Use: Specifies a pixel position in an image. The first number gives the column number and the second number gives the row number. The (1,1) pixel location is the bottom left corner of the image. Fractional pixel values can be used. Null value: 0 Null value usually means at reference pixel Verbs: IMDIST....Determines spherical distance between two pixels. PIX2XY is the pixel position in the second image. IMSTAT....Returns statistics of a sub-image. PIX2XY is the pixel coordinates of the minimum image value found. TVILINE...Verb to draw a straight line on an image on the TV. PIX2XY is the pixel position of the end point. TVSTAT....Find the mean and RMS in a blotch region on the TV. PIX2XY is the pixel coordinates of the minimum image value found. Procedures: TVDIST....Determines spherical distance between two pixels on TV screen. PIX2XY is the pixel position selected in the second image. Tasks: PASTE.....Pastes a selected subimage of one image into another. PIX2XY is the alignment pixel in the second image. ----------------------------------------------------------------