                    README FILE FOR CHAPTER-5 PROGRAMS
                    ----------------------------------

1.  2dtile.c <-- curupip.h <--pipdef.h
        This program generates & edit the phase-map based on continuity and 
    tiling concept.
    
    User input   
        Image file name (without extention)
        ourput image file name
        (window selection)
        choice of scan direction
    file needed : *.p01 &.p02 (two image file)
                  (Recommanded file dskw.p01 & dskw.p02)
    
    Output file : Image file having phasemap.


Image required for the following two programs
---------------------------------------------
a.  dskplt12.p01, dskplt12.p02, dskplt12.p03 - Each file has four images,
                                               load 1.5P
b.  dskplt08.p01, dskplt08.p02, dskplt08.p03 - Each file has four images,
                                               load P
        These are disk (dia 60mm) images in which the first six are corresponding 
    to circular polariscope arrangement and the next six are corresponding to 
    plane polariscope arrangment, with a load factor of 1.5 between the two.

2.  2dplane2.c <-- curupip.h <--pipdef.h 
        This program dumps the plane polariscope thetas in image based on 
    phase map image generated by 2dtile.c

    User input   
        Image file name (without extention)
        output image file name
        enter the fringe order tolerance
        enter the isoclinic fringe tolerance
        (window selection)
    
    file needed : *.phs (phase map image generated by 2dtile.c)
                  *.p02 & *.p03 (image file of plane polariscope arrangment)
    Output      : image file having plane polariscope thetas.
    
    note : 1. Run 2dtile for the first set of images and name the output file as *.phs
           2. Run 2dtile for the second set of images and name the output file as *.phs

3.  oring.c <-- curupip.h <--pipdef.h 
        This program reads the two different image files of plane polariscope
    theta geneted by 2dplane2.c and makes a logical 'OR' operation
    to get continuous theta.
    
    User input   
        first Image file name 
        second Image file name 
        output image file name
    
    file needed : two image file generated by 2dplane2.c having plane polari-
                  scope theta corresponding to two diffenent loads
    Output      : image file having superimposed theta values.

    Note : Run 2dplane2 twice initially. Use same window size for
           both the cases.

4.  eigen.c
        This program calculates the principle stress and its associated
        direction from sigmax, sigmay, and towxy unambiguously. 
