www.pudn.com > gsnake.rar > README
This directory contains the test and demonstration programs for the GSNAKE API.
Generally, the programs take the following switches :
-M Magnification factor, default 1
-I Contour initialisation method by mouse
[ c - click ] [ d - drag ] [ a - auto ]
-m GSNAKE contour mode
[ o - opened snake] [ c - closed snake ]
-N Number of snaxels in a contour
-n Number of contours to be localised
-L Number of Gaussian pyramid levels to be generated,
default 2
-l Gaussian pyramid level to be accessed
-S Stratified search segment spacing
-H Numbers of the search segment
-D Desired snaxel spacing of an expanded snake
-E External energy input type
[ i - intensity ]
[ m - edge magnitude ]
[ e - edge magnitude and direction ]
-C Resolution of fine correlation
[ x - x direction ] [ y - y direction ]
-r Rotation, angle in degree
-t Translation
[ x - x direction ] [ y - y direction ]
-s Scaling
[ x - x direction ] [ y - y direction ]
-d dilation
[ x - x direction ] [ y - y direction ]
-P Percentage values for histogram specification,
[ l - low value, default 0.9 ]
[ h - high value, default 0.95 ]
-V Pixel values for histogram specification
[ l - low value, default 0.2 ]
[ h - high value, default 0.9 ]
-e Exponential value for the transformation function
of histogram specification, default 1.0
-T Image template for correlation
-U Starting point of a line or center of circle
[ x - column coordinate ] [ y - row coordinate ]
-V Ending point of a line
[ x - column coordinate ] [ y - row coordinate ]
-R Radius of a circle
[ x - column coordinate ] [ y - row coordinate ]
-O Ouput image/contour file
-F Input image/contour file
If no switches are given, the default value will be used in the program. The image can be in SUN raster or BIN format. The command line is as below :
Usage : command [option] or
command [option] or
command [option]
refers to the image file, while refers to the standard GSNAKE contour file. The following gives a brief description of the programs :
Program Explanation
======= ===========
OOima1 Performs correlation between image and template. The resulting
image will be shown on an X window and written to an output file.
Usage : OOima1 -T [ -M -O