IRAF Help page for: IMPRNT


IMPRNT (Feb93)                   gongcor                  IMPRNT (Feb93)



NAME
    imprnt - Print image pixel values or image statistics.
    
    
USAGE
    imprnt input iopt i1f i2f i1l i2l i1inc i2inc lw1 lw2
    
    
PARAMETERS
    
    input
        List of input images
    
    iopt
        Print option:
        1[1,2]-print pixel values
                11-1P10E10.3 format
                12-20I5 format, clipped to +/- 9999
        20-print statistics
                number of non-zero pixels
                mean, rms, average absolute, maximum, minimum
        3[1-5]-print in table format, one value per window
                31-mean
                32-rms
                33-average absolute
                34-maximum
                35-minimum
    
    i1f,i2f,i1l,i2l
        Column (1) and row (2) indices of the centers of the  first  (f)
        and last (f) data windows to be printed.
    
    i1inc,i2inc
        Column  (1)  and  row  (2) increments between the centers of the
        data windows.
    
    lw1,lw2
        Column (1) and row (2) lengths of the windows to be printed.
    
    
IMAGE HEADER WORDS
    
    
DESCRIPTION
    
    IMPRNT prints pixel values and statistics from a data window(s).
    
    N1,N2,N3 are the dimensions of the pixel array, PA(N1,N2,N3).
    
    For each 2D image plane
    DO I3=1,N3
    |
    For each 2nd dimension data window center
    DO I2C=I2F,MIN(N2,I2L),I2INC
    | 
    For each 1st dimension data window center
    DO I1C=I1F,MIN(N1,I1L),I1INC 
    |
    |       For each pixel in the 2D data window
    |       DO I2=MAX(1,I2C-LW2/2),MIN(N2,I2C+LW2/2)
    |       DO I1=MAX(1,I1C-LW1/2),MIN(N1,I1C+LW1/2)
    |       |
    |       |       print PA(I1,I2,I3)
    |       |               or
    |       |       for the non-zero pixels compute and print the mean,
    |       |       rms, average absolute, minimum, and maximum
    |       |               or
    |       |       for the non-zero pixels compute and print
    |       |       in table format one of mean, rms, 
    |       |       average absolute, minimum, and maximum
    |       END DO
    END DO
    
    
EXAMPLES
    
    
TIME REQUIREMENTS
    
    
BUGS
    
    
SEE ALSO
    lmbsta
    imstat
    imhist
    listpixel

Data Product Code Guide | Back to GRASP Help Page