Nist Special Database 6

Structured Forms Database Users' Guide Appendices

D. L. Dimmick and M. D. Garris

National Institute of Standards and Technology

Advanced Systems Division

Image Recognition Group

September 16, 1992

 

Users' Guide Appendices


 

Contents

Appendix A: Labeled Form Faces

Appendix B: Manual Pages for Supplied Software

Appendix C: Entry Field Description Tables


 

Appendix A: Labeled Form Faces 13

Form 1040

Form 2106

Form 2441

Form 4562

Form 6251

Form 1040 Schedules A and B

Form 1040 Schedule C

Form 1040 Schedule D

Form 1040 Schedule E

Form 1040 Schedule F

Form 1040 Schedule SE

Back to Contents


 

Appendix B: Manual Pages for Supplied Software

 

DUMPIHDR(1)                            USER COMMANDS                              DUMPIHDR(1)

NAME
      dumpihdr takes an NIST IHead image file and prints its header content to stdout

SYNOPSIS
      dumpihdr ihdrftle

DESCRIPTION
      Dumpihdr opens an NIST IHead rasterfile and formats and prints its header contents to stdout.

OPTIONS
      ihdrftle any NIST IHead image file name

EXAMPLES
      dumpihdr foo.pct

FILES
      ihead.h                NIST's raster header include file

SEE ALSO
      ihdr2sun(l)

DIAGNOSTICS
      Dumpihdr exits with a status of -1 if opening ihdrfile fails.

BUGS
     

Sun Release 4.1             Last change: 15 March 1990              

Back to Contents


 

IHDR2SUN(1)                              USER COMMANDS                              IHDR2SUN(1)

  NAME
      ihdr2sun - takes an NIST IHead binary raster file and converts it to a Sun rasterfile

SYNOPSIS
      ibdr2sun
ihdrfile

DESCRIPTION
      Ibdr2sun converts an NIST IHead binary raster file to a Sun rasterfile.
     The Sun image file created will have the root name of ihdrfile with the extension .ras appended.

OPTIONS
      ihdrfile any IHead binary image

EXAMPLES
      ibdr2sun r0000_00.pct

FILES
      rasterfile.h       Sun's raster header include file

      ibead.h      NIST's raster header include file

SEE ALSO
      rasterfile(5)

DIAGNOSTICS
      Ibdr2sun exits with a status of -1 if opening ihdrfile fails.

BUGS

 

Sun Release 4.1                                     Last change: 15 March 1990                                                       I


SUNALIGN(1)                                             USER COMMANDS                              SUNALIGN(1)

NAME
      sunalign - takes a sun rasterfile and word aligns its scanlines

SYNOPSIS
      sunalign sunrasterfile

DESCRIPTION

Sunalign takes the file sunrasterfile and determines if the stored scan lines in the file require word alignment. If so, the command overwrites the image data making scan lines word aligned. This command is useful when taking clipped images from the HP Scan Jet and importing them into Frame Maker.
OPTIONS
      sunrasterfile
            any sun rasterfile image

EXAMPLES
       sunalign foo.ras

FlLES
      / usrl include/ rasterfile.h
            sun's raster header include file

SEE ALSO
      rasterfile(5)

DIAGNOSTICS
      Sunalign exits with a status of -1 if opening sunrasterfile fails.

BUGS

Sun Release 4.1 Last change:                         08 March 1990


GRP4DECOMP(3)                                             C LIBRARY FUNCTIONS                              GRP4DECOMP(3)

NAME

grp4decomp - takes an CCITT Group 4 Compressed input buffer and returns an output buffer of uncompressed data

SYNOPSIS

           grp4decomp(indata, inbytes, width, height, outdata, outbytes)
           unsigned char *indata, *outdata;
           int inbytes, width, height, *outbytes;

DESCRIPTION

grp4decomp() takes the input buffer indata of length inbytes and decompresses it returning the uncompressed data in the output buffer outdata with length outbytes. This procedure was developed by the CALS Test Network and adapted for use by NIST. The source is found under src in the file g4decomp.c.

indata - the compressed data input buffer

inbytes - the length of the input data in bytes

width - the pixel width of the image from which the input data came

height - the pixel height of the image from which the input data came

outdata - the output beffer in which the uncompressed data is to be returned

outbytes - a pointer to the length in bytes of the uncompressed output data

SEE ALSO
           readihdrfile(3)

BUGS
           NOTE: Grp4decomp
will only work with binary image data.

 

Sun Release 4.1                      Last Change: 15 March 1990


 

READIHDRFILE (3)                                C LIBRARY FUNCTIONS                              READIHDRFILE (3)

NAME
      readihdrfile - loads into memory an IHead structure and corresponding binary image data from a file

SYNOPSIS
      #include <ihead.h>
      readihdrfile(file, head, data, width, height)
      char *file;
      IHead **head;
      unsigned char **data;
      int *width, *height;

DESCRIPTION

readihdrfile0 opens a file name file and allocates and loads into memory an IHead structure and its corresponding binary image data. If the image data is compressed, readihdrfile win uncompress the data before returning the data buffer. This routine also returns several integers convened from their corresponding ASCII entries found in the header. The source is found under src in the file loadhsf.c.

file       - the name of the file to be read from

head    - a pointer to where an IHead structure is to be allocated and loaded

data     - a pointer to where the array of binary raster image data is to be allocated and loaded

width       - integer pointer containing the image's pixel width upon return

height     - integer pointer containing the image's pixel height upon return

SEE ALSO
      g4decomp(3)

DIAGNOSTICS
      readihdrfile() exits with -1 when opening file fails or the image contains multiple bit planes.

BUGS

Sun Release 4.1                                         Last change: 15 March 1990


Back to Contents


 

Appendix C: Entry Field Description Tables

Form 1040_1

Form 1040_2

Form 2106_1

Form 2106_2

Form 2441

Form 4562_1

Form 4562_2

Form 6251

Form 1040 Schedule A

Form 1040 Schedule B

Form 1040 Schedule C_1

Form 1040 Schedule C_2

Form 1040 Schedule D_1

Form 1040 Schedule D_2

Form 1040 Schedule E_1

Form 1040 Schedule E_2

Form 1040 Schedule F_1

Form 1040 Schedule F_2

Form 1040 Schedule SE_1

Form 1040 Schedule SE_2

Back to Contents

Back to beginning of Users' Guide