                README FILE FOR CHAPTER 4 PROGRAM
                ---------------------------------
Images required
--------------
1. disk.img  - whole image of disk of size 512*512
2. ring.img  - whole image of ring of size 512*512
3. idisk.img - bright & dark field image of size 256*256

1.  frnmul.c <-- curupip.h <-- pipdef.h
        This is the program for fringe multiplication by image subtraction 
    and by image division algorithms.
    
    User input : choice of algorithm
    file needed : idisk.img

2.  compare.c <-- thinpip.h, orthopip.h, trasepip.h, curupip.h <-- pipdef.h
        This program extracts the fringe skeletons using various various
    fringe thinning algorithms such as binary-based (Chen & Taylor),
    mask-based algorithm-I (Yatagai), mask-based algorithm-II (Umezaki)
    and Global Thinning.
    
    thinpip.h
        This header file contains the functions for binary-based and
        mask-based algorithms
    
    orthopip.h
        This header file contains the functions for Global Thinning algorithm.

    User input
        Image file name
        choice for Thinning algorithms
        (window selection)
        for Global Thinning and binary-based (Chen & Taylor)
            choice for thresholding algorithm (global or dynamic)
            for global thresholding
                enter the top threshold
                enter the bottom threshold
            for dynamic thresholding
                enter the top threshold
                enter the alpha
        for Global Thinning             
            scan choice of Thinning
            (row, column, orthogonal, orthodiagonal, hybrid)
    
    file needed : *.img

    Output   :  *.tim file (processing time for the algorithms)
                *.img file (Image file with skeleton)
                ( depending upon the choice of the thinning algorithm 
                  yatagai.tim, umezaki.tim, chan.tim, ramesh.tim 
                  yatagai.img, umezaki.img, chan.img, ramesh.img ) 

3.  annul.c <-- pipdef.h
    This program generates the test image ANNUL.

4.  plus1.c <-- pipdef.h
    This program generates the test image PLUS1.

5.  x3.c <-- pipdef.h
    This program generates the test image X3.

6.  tilepip.c <-- orthopip.h, trasepip.h, curupip.h <-- pipdef.h
        This program extracts the  fringe skeleton by tiling using Global 
    thinning algorithm.
    
    User input
        Image file name
        (window selection)
        choice for thresholding algorithm (global or dynamic)
        for global thresholding
            enter the top threshold
            enter the bottom threshold
        for dynamic thresholding
            enter the top threshold
            enter the alpha
        scan choice of thinning
        (row, column, orthogonal, orthodiagonal, hybrid)
    
    file needed : *.img

    Output   :  *.skn file (Image file with skeleton)

7.  tracepip.c <-- curupip.h <-- pipdef.h
        This program implements the fringe tracing algorithm.
    
    User input
        Image file name
        (window selection)
        select the point on the image using '1' and assign the fringe 
        order by pressing 'f' and fringe order value then press Esc.
    
    file needed : image file having fringe skeleton

    Output   :  frn.dat file 
                (contains pixel location and fringe order)



