*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
				EXAMPLE SESSION
	PLEASE READ THE INSTALLATION INSTRUCTIONS IN THE FILE INSTALL
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

%-> set path=($path MyTopDir/ORT/Bins)
(repalce MyTopDir by where you untarred the S/W)

%-> rehash

%-> cd MyTopDir/ORT/Data

%-> make decode (if you got the distribution as a set of sharfiles)

%-> RW_ChainPixels -h 
USAGE :
 RW_ChainPixels [-h] [-r NoOfRows] < Edge Image > ASCIIChainListFile
 -r NoOfRows for Raw (ie byte array) Edge Image

DEFAULTS :
 PGM format Edge Image
 Edge Image MUST be square, with edge pixels set to non-zero
 values and background set to 0. Max. dimensions is 512x512

%-> RW_ChainPixels < Blocks.canny.pgm > Blocks.str
%-> RW_ChainPixels < Fractal.pgm > Fractal.str

%-> FEX -h
USAGE :
 FEX [-h] < Chain-File > OutFile

WHERE :
 InFile
  Contains a list of strings in the format produced by the
  program RW_ChainPixels

 OutFile:
  Will contains ASCII list of FEX line segments and circular arcs

%-> FEX < Blocks.str > Blocks.fex
Number of LineSegments = 71
Number of CircularArcs = 9

%-> FEX < Fractal.str > Fractal.fex
Number of LineSegments = 558
Number of CircularArcs = 0

%-> LPEG -h
USAGE :
    LPEG [-pgjrck] [-w p0 ] [-l p1] [-t p2] [-q p3] < InFile > OutFile

OPTION:
-p Paral. only              -r Paral./Colin. only
-c Junctions/Colin. only    -j Junctions only
-g Consider Collinear lines as real lines when forming junctions
-w Max(Width/Height) for Overlap. = Min(Width/Height) for NonOverlap. Parallel

WHERE:
 p0: inf >  Max(Width/Height) >  0.0           default: 2.0
 p1:        MinLineLength     >= 0.0 (pixels)  default: 8.0
 p2: 0.1 >= MinDeltaTheta     >= 0.0 (radians) default: 0.06
 p3: 1.0 >= MinQuality        >= 0.0           default: 0.8

 InFile :
  Should contain an ASCII list of line segments in the format
  produced by the FEX program.

 OutFile :
  Contains an ASCII list of line segments and groupings.
  The output maybe used directly for the program DisplayPEG.

%-> LPEG < Blocks.fex > Blocks.lpeg
 Number of Parallel OV pairs =  16
 Number of Parallel NOV pairs =  15
 Number of Collinear pairs =  4
 Number of L junctions =  6
 Number of V junctions =  24
 Number of T junctions =  1
 Number of Lambda junctions =  2

%-> IPEG -h
USAGE :
    IPEG [-htcpw] < InFile > OutFile

OPTION:
-t Triplets only
-c Corners  only
-p Polygons only
-w Whistle as you work (for polygons only)
WHERE:
 InFile :
  Should contain ASCII lists of line segments grouped by LPEG
 OutFile :
  Contains separate ASCII lists for the following:

         Triplets of connected segments
         Y and T-Lambda Corners
         N-Sided Closed Polygons (N>=3)

%-> IPEG < Blocks.lpeg > Blocks.ipeg
  Number of Triplets = 22
  Number of Y Corners = 2
  Number of TLambda Corners = 2
  Number of Closed Polygons = 1

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 NOTE YOU CAN ALSO USE LPEG AND IPEG OUTPUT AS INPUT TO ORTToImage  
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

%-> ORTToImage -h
USAGE :
    ORTToImage [-hLCrblcm] < InFile > OutFile

OPTION:
-L Line segments only(default all)
-C Arc segments only (default all)
-r for raw image
-b <Background intensity> (max 255, default 255)
-l <Intensity Thickness EndpointIntensity> for Lines (default 0 1 128)
-c <Intensity Thickness EndpointIntensity> for Arcs (default 0 2 128)
-m <Minimum length of segment> (default 5.0)

WHERE:
     InFile should contain ASCII lists of line segments produced by FEX
     OutFile will contain PGM formatted image

%-> ORTToImage < Fractal.fex > Fractal.fex.pgm
%-> ORTToImage < Blocks.fex  > Blocks.fex.pgm   (OR)
%-> ORTToImage < Blocks.lpeg > Blocks.lpeg.pgm  (OR)
%-> ORTToImage < Blocks.ipeg > Blocks.ipeg.pgm

 The results of FEX are now converted to an image
 which you can display with any displayer which 
 supports PGM format.

%-> DisplayLPEG &  

 Now load Blocks.fex or Blocks.lpeg, or Blocks.ipeg
 Choose a feature from the menu (it will be highlighted)
 and press the Next button.
