home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / os2 / kveq_os2.arj / KVEC_OS2.ZIP / KVEC.TXT < prev    next >
Encoding:
Text File  |  1998-05-05  |  83.1 KB  |  1,505 lines

  1. ******************************************************************************
  2. *                    K V E C   D O C U M E N T A T I O N                     *
  3. *                                                                            *
  4. *    +++ KK-Software +++ KK-Software +++ KK-Software +++ KK-Software +++     *
  5. *----------------------------------------------------------------------------*
  6. *  Dipl.-Phys. Karl-Heinz Kuhl, Joseph-Haas-Str. 7d,  92637 Weiden,  Germany *
  7. *----------------------------------------------------------------------------*
  8. *         Voice           FAX/BBS                    E-Mail                  *
  9. *    +49 961 6340837   +49 961 61455        kkuhl@compuserve.com             *
  10. ******************************************************************************
  11.  
  12.  
  13.  
  14.  
  15. --------!-ABOUT_KVEC------------------------
  16. What is KVEC?
  17.  
  18. KVEC is a shareware program that allows you to convert raster graphics to
  19. vector graphics. You can freely use it for a trial period of 30 days. After
  20. this period you must register it if you want to continue to use it.
  21. The (unregistered) shareware version can be freely distributed
  22. and copied. 
  23. KVEC is designed for 32 bit operating systems and is very exacting with 
  24. respect to memory demands. Vectorizing is a critical process and often leads
  25. to a trade off between memory demands and performance.
  26. It is crucial for the performance that your computer has enough
  27. RAM and that you have a floating point coprocessor. A minimum of 16 MByte RAM 
  28. is recommended. KVEC works fine on a Pentium 100 MHz with 32 MByte. The result
  29. on a 40 MHz PC with 386 CPU and 8 MB RAM without coprocessor is frustrating: 
  30. The computing time is about 300 times as high as on the Pentium. 
  31. The computing time on a Pentium 100 MHz is in the order of magnitude of
  32. seconds up to minutes, depending on the size and the colour-depth of the
  33. input file.
  34.  
  35. The selection of values for the switch parameters requires some caution.
  36. Noisy pictures (typical for scanned colour pictures) or pictures with a lot of
  37. very small details should be evaluated with larger 'grit values' and smaller 
  38. 'quantize values' (explained below).
  39. The output formats DXF and HPGL are not suited for vectorization of coloured
  40. photos or coloured scanned pictures (unless you have lots of GigaBytes left
  41. on your harddisk ;-) the output size would be immense.
  42.  
  43. Vector representations of images have several advantages in contrast to
  44. rastered block representations: operations like rotation, stretching, morphing
  45. and warping can much easier be performed and one does not have to care about
  46. aliasing and other unwanted effects. The application fields of a good 
  47. vectorizer reach from motion estimating in video sequences up to effective
  48. image compression.
  49.  
  50. Please feel free to contact the author if you have problems with KVEC
  51. or if you find some bugs. KVEC is designed to run on several operating systems
  52. (which have different hardware and graphical environments), therefore this 
  53. first release of KVEC is a graphic-independend commandline version. 
  54.  
  55. The syntax is quite simple:
  56.  
  57.      KVEC (Inputfile) (Outputfile) [optional switches]
  58.      for example:
  59.      KVEC test.bmp test.dxf -format dxf
  60.  
  61. Inputfile is the name of a raster graphic file (Tiff, BMP, PCX, TGA, SGI, 
  62. IMG, PNM, JPEG, GIF or FAX).
  63. If the name of the input-file is 'null' KVEC will create a 'white noise'
  64. random test image. The properties of this test image depend on the parameter
  65. settings for the '-random' switch.
  66. Outputfile is the name of the desired vector graphic file.
  67. Please note that the name of the output file must be specified with the
  68. filename extension. You cannot omit it.
  69.  
  70. Note:
  71. KVEC version 1.62 or higher also accepts WMF or ART as input format.
  72. If the input-file has already a vector-format (WMF or ART), most of the
  73. switches will be disregarded. In this case KVEC only performs a format-
  74. conversion from one vector format to another vector format.
  75.  
  76. KVEC version 1.92 or higher also accepts BMP or TIFF as output format.
  77. If the input-file has already a raster-format, most of the
  78. switches will be disregarded. In this case KVEC only performs a format-
  79. conversion from one raster format to another raster format.
  80.  
  81. Currently supported vector formats are:
  82.       - Windows Metafile, Postscript, AutoCad DXF, HPGL, LogoArt ART,
  83.         Adobe Illustrator Format
  84.  
  85. The switches are optional. If you don't specify any switches, the program
  86. chooses a set of parameters which are optimized with respect to the kind of
  87. graphic data. Switches may be abbreviated.
  88. The filenames must be specified before the optional switches.
  89. Some switches however don't require filenames and can be specified immediately 
  90. after KVEC. From these switches only one can be specified in each case:
  91.  
  92. --------!-ehelp-E---------------------------
  93. KVEC -ehelp <topic> Displays help information in English language
  94.  
  95. --------!-ghelp-E---------------------------
  96. KVEC -ghelp <topic> Displays help information in German language
  97.  
  98. --------!-info-E----------------------------
  99. KVEC -info:        Displays some useful information about KVEC on the screen.
  100.  
  101. --------!-printform-E-----------------------
  102. KVEC -printform:   Automatically generates a registration form. This form can
  103.                    be sent to the author by E-Mail, Fax, or postal mail in 
  104.                    order to get a registration key. The registration key is
  105.                    a max. 5 digit number, which allows the user to register
  106.                    the software and get access to extended features of KVEC.
  107.                    You will be prompted to select a language. The registration
  108.                    form will then be generated in your preferred language.
  109.                    The registration form consists of plain ASCII text.
  110.                    If you print it out from a text processing program, be
  111.                    sure that you choose a monospaced font and not a
  112.                    proportional font.
  113.                   
  114. --------!-register-E------------------------
  115. KVEC -register:    As soon as you get a registration key you can use this
  116.                    switch to register the program. You will be prompted to
  117.                    enter your name, the serial-number, and your registration 
  118.                    key. Please type all characters exactly as printed in the 
  119.                    registration confirmation you receive from the author. If
  120.                    you have entered the information correctly, a message
  121.                    appears which thanks you for your registration. The
  122.                    received registration key is valid for updates and future
  123.                    releases of KVEC.
  124.  
  125. --------!-readpar-E-------------------------
  126. KVEC -readpar:     KVEC reads filenames and additional parameters from a
  127.                    parameter file (KVEC.PAR) rather than the commandline.
  128.                    Please note, that the parameter file must reside in the
  129.                    actual working directory. The parameter file KVEC.PAR
  130.                    is an ASCI file and can be edited with any text editor.
  131.                    Comments in the parameter file must be marked by a
  132.                    #-character and may appear anywhere behind a parameter
  133.                    or at the beginning of a line.
  134.  
  135. --------!-write-E---------------------------
  136. KVEC -writepar:    Generates a KVEC parameter file. The user will be prompted
  137.                    to enter filenames and additional parameters.         
  138.                    The name of the parameter file is always 'KVEC.PAR'    
  139.                    and will reside in the actual directory.             
  140.                    You can add comments behind the parameters you are
  141.                    promped to input (see above). Parameters always begin with
  142.                    a leading '-'character. After the parameter file has been
  143.                    written, the program should be restarted using the
  144.                    '-readpar' option.
  145.  
  146. The other switches must follow the input and output filenames:
  147.  
  148. --------!-bezier-E--------------------------
  149. -bezier:           The output will consist of bezier-curves instead of
  150.                    straight lines. This allows you to zoom the image without
  151.                    getting edges (for Postscript and LogoArt output only).
  152.                    For the other output formats the bezier algorithm will
  153.                    be simulated and approximated by polylines.
  154.  
  155. --------!-black-E---------------------------
  156. -black:            Output color for vectorization is always black
  157.  
  158. --------!-centerline-E----------------------
  159. -centerline mixed: The effect of this parameter depends on the value of the
  160.                    parameter -lwidth. (If used together with -centerline,
  161.                    the meaning of the parameter -lwidth is modified).
  162.                    Before vectorizing, all detected objects were checked for
  163.                    its maximal thickness. All objects with a maximal
  164.                    thickness less than -lwidth were treated as line objects;
  165.                    all other objects were vectorized in the normal way.
  166.                    The vectorization of line objects does not result in
  167.                    border lines around the objects. It produces single lines
  168.                    which are located along the centerlines of the objects.
  169.                    The final linewidth of this generated single lines will
  170.                    be adopted so that the area of the line object is about
  171.                    the same as the area of the original object.
  172.                    (this has no effect, if the output format cannot handle
  173.                    variable linewidths). This is the DEFAULT.
  174.  
  175. -centerline lines: The same as 'centerline mixed' except that only line
  176.                    objects will be generated. All other objects will be
  177.                    discarded.
  178.  
  179. --------!-dimension-E-----------------------
  180. -dimension N:      Specifies the maximum extension (in x- or y-direction)
  181.                    of the generated output image. Default: 1000 pixels.
  182.                    IMPORTANT: This parameter will only be evaluated, if
  183.                    the input file is of vector type.
  184.  
  185. --------!-dxfopt-E--------------------------
  186. -dxfopt type 2dim: Generates 2-dimensional coordinates (if the output format
  187.                    is DXF. (Default)
  188. -dxfopt type 3dim: Generates 3-dimensional coordinates (if the output format
  189.                    is DXF. 
  190.  
  191. --------!-fill-E----------------------------
  192. The fill parameters specify how the generated polylines/polygons will be
  193. interpreted:
  194.  
  195. -fill solid:       Polygons are always closed (i.e. the last point of a
  196.                    vector is identical with the first point). The Polygons
  197.                    are filled with individual colors (DEFAULT). The sort
  198.                    parameter should not be 'min' in this case because the 
  199.                    larger Polygons would cover and hide the smaller ones.
  200.  
  201. -fill line:        Output consists of polylines with individual colors. The
  202.                    polylines are not closed. This is the preferable fill
  203.                    parameter if the outputfile is generated for a pen-plotter.
  204.                    The plotter pen will never plot more than one color one
  205.                    upon another. The layout will depend on the sort order 
  206.                    specified with the 'sort' switch. With the switches 
  207.                    'reduce' and 'smooth' you can once more refine the layout
  208.                    of the output.
  209.                     
  210. -fill contour:     The same as '-fill solid', however the interiors of the 
  211.                    polygons remain 'hollow'. Lines with different colour
  212.                    can cover each other. The layout will depend on the
  213.                    sort order specified with the 'sort' switch.
  214.  
  215. --------!-font-E----------------------------
  216. -font:             KVEC generates (before vectorization) an optimized set
  217.                    of parameters, which is suited for vectorization of
  218.                    dark colored text on a clear background. All objects
  219.                    get a unique 'dark' color.
  220.  
  221. --------!-format-E--------------------------
  222. The format parameters specify the output format:
  223.  
  224. -format wmf:       Output format is Windows Metafile format, *.WMF                
  225. -format amf:       Output format is ALDUS WMF Metafile (default), *.WMF
  226. -format emf:       Output format is Enhanced Windows Metafile format, *.EMF
  227. -format ps:        Output format is Postscript level 2, *.PS             
  228. -format eps:       Output format is Encapsulated Postscript level 2, *.EPS                
  229. -format dxf:       Output format is AutoCad DXF, *.DXF              
  230. -format hpgl:      Output format is HPGL, *.HPG or *.PLT             
  231. -format art:       Output format is ART LogoArt (OS/2-graphics program), *.ART
  232. -format ai:        Output format is Adobe Illustrator, *.AI
  233. -format bmp:       Output format is Windows Bitmap, *.BMP
  234. -format tiff:      Output format is Tiff, *.TIF
  235.  
  236. --------!-gapfill-E-------------------------
  237. -gapfill N:        This parameter controls whether the vectorizer can 'jump'
  238.                    over gaps while tracing an object. The value N must be
  239.                    specified in 10ths of a pixel. Allowed values: 0 - 30.
  240.  
  241. --------!-grit-E----------------------------
  242. -grit N:           Polylines or polygons which belong to a bounded area with
  243.                    a number of pixels fewer than N will be filtered out (i.e.
  244.                    small details are 'erased'). The default value depends on
  245.                    the dimensions and the colour depth of the picture. The
  246.                    use of a grit value > 0 increases the computing time
  247.                    and increases also considerably the demand of memory.
  248.                    If you have to deal economically with memory you should
  249.                    try a grit value of 0 and decrease the quantization value.
  250.  
  251. --------!-hatch-E---------------------------
  252. The hatching parameters will only be evaluated if the output format is
  253. DXF or HPGL.
  254.  
  255. -hatch1 density N: The max. number of horizontal hatch lines will be limited
  256.                    to N (use 0 in order to turn off hatching)
  257. -hatch2 density N: The max. number of vertical hatch lines will be limited
  258.                    to N (use 0 in order to turn off hatching)
  259. -hatch1 angle N:   hatch angle for horizontal hatch lines (Default: 40 deg.)
  260. -hatch2 angle N:   hatch angle for vertical hatch lines (Default: 40 deg.)
  261.  
  262. --------!-justify-E-------------------------
  263. The justify parameters will only be evaluated if input and output formats
  264. are both raster type. The color depth of the input file must be 1 bit.
  265. The main application for these options is justifying and cleaning
  266. binary (B/W) scanned images in order to embed them into documents.
  267. The default justify parameters are optimized for justifying and cleaning
  268. DIN A4 images (300 dpi) containing text.
  269. Carbon copies often have dirty black margins or are slightly distorted
  270. by an small angle because the source got out of place while copying.
  271. KVEC can automatically correct these errors, if you choose a proper set
  272. of justify parameters.
  273.  
  274. -justify type off:   No justification will be performed (default).
  275. -justify type rotate: Justification will be performed only by rotation     
  276. -justify type all:   Justification will be performed by rotation and cleaning
  277.                      (cutting off) the dirty margins.
  278. -justify phimax N:   maximal allowed rotation angle. This is the max.
  279.                      distortion angle which can be corrected. Please note
  280.                      that the computional time increases linear with the
  281.                      size of phimax. Default: 5.0 degrees
  282. -justify parameter N1 N2 N3:
  283.                      These values control the operation of the internal
  284.                      algorithms (detecting large rectangular blocks from 
  285.                      which the rotation angle is deducted)
  286.                      N1: 'thicking' factor. Each pixel will be enlarged by
  287.                          this factor in order to make block structures
  288.                          more detectable. Default: 16
  289.                      N2: min. filter value. Regions with a coherent no. of
  290.                          pixels less than N2 will be eliminated before the
  291.                          internal block detection algorithm starts.
  292.                          Default: 50
  293.                      N3  max. filter value. Regions with a coherent no. of
  294.                          pixels greater than N2 will be eliminated before the
  295.                          internal block detection algorithm starts.
  296.                          Default: 400
  297.                      Note: The default parameter values are optimized for a
  298.                      DIN A4 image (300 dpi resol.) containing an average text.
  299.                      (the average size of charcters lies within the range
  300.                      50 up to 400 pixels for a character).
  301.                      This will ensure that only those parts of the image
  302.                      which contain text information are relevant for the
  303.                      computation of the rotation angle.
  304.  
  305.                      For other types of B/W images (electronic circuits or
  306.                      plans) other values for N1, N2 and N3 may work better.
  307.  
  308. --------!-lwidth-E--------------------------
  309. -lwidth:           Specifies the line width of the generated output vectors
  310.                    in 10ths of a pixel.
  311.                    Allowed values: 0-1000. Default value: 0.
  312.                    Note that this parameter has a different meaning if
  313.                    used together with the option -centerline.
  314.                    In this case the default value for the lwidth is 100.
  315.  
  316. --------!-maxpoints-E-----------------------
  317. -maxpoints:        Specifies the max. no. of points which are allowed for
  318.                    the generated polylines or polygons. This is useful if
  319.                    KVEC produces vectors with more than 32767 points and
  320.                    you use the WMF output format (WMF does not support
  321.                    polylines with more than 32767 points)
  322.  
  323. --------!-mode-E----------------------------
  324. -mode iso:         Select isotropic mode. This mode preserves the the X/Y ratio
  325.                    of the picture. (A circle will also be a circle in the
  326.                    output picture). This is the default setting.
  327.                    (PostScript and AI only)
  328.  
  329. -mode aniso:       Select anisotropic mode. The picture will be scaled to fit
  330.                    the whole papersize according to the selected paperformat.
  331.                    (PostScript and AI only)
  332.  
  333. --------!-overlapp-E------------------------
  334. -overlap:          If this switch is specified, Polygons will slightly 
  335.                    overlap, actually one pixel. (DEFAULT: no overlap).
  336.                    If vector images show strange coloured gaps after they 
  337.                    have been rotated (especially along border lines between 
  338.                    adjacent Polygons) you should set this switch.
  339.  
  340. --------!-paper-E---------------------------
  341. -paper (format):   Select papersize. Currently this option is only valid
  342.                    for the PostScript format. The format-string must be
  343.                    one of the following:
  344.  
  345.                    'LETTER'             (Letter 8 1/2 x 11 in)
  346.                    'TABLOID'            (Tabloid 11 x 17 in) 
  347.                    'LEDGER'             (Ledger 17 x 11 in)
  348.                    'LEGAL'              (Legal 8 1/2 x 14 in)
  349.                    'STATEMENT'          (Statement 5 1/2 x 8 1/2 in)
  350.                    'EXECUTIVE'          (Executive 7 1/4 x 10 1/2 in)
  351.                    'A3'                 (A3 297 x 420 mm)
  352.                    'A4'                 (A4 210 x 297 mm)
  353.                    'A5'                 (A5 148 x 210 mm)
  354.                    'B4'                 (B4 (JIS) 250 x 354)
  355.                    'B5'                 (B5 (JIS) 182 x 257 mm)
  356.                    'FOLIO'              (Folio 8 1/2 x 13 in)
  357.                    'QUARTO'             (Quarto 215 x 275 mm)
  358.                    '10X14'              (10x14 in)
  359.                    'NOTE'               (Note 8 1/2 x 11 in)
  360.                    'ENV_9'              (Envelope #9 3 7/8 x 8 7/8)
  361.                    'ENV_10'             (Envelope #10 4 1/8 x 9 1/2)
  362.                    'ENV_11'             (Envelope #11 4 1/2 x 10 3/8)
  363.                    'ENV_12'             (Envelope #12 4 \276 x 11)
  364.                    'ENV_14'             (Envelope #14 5 x 11 1/2)
  365.                    'ENV_DL'             (Envelope DL 110 x 220 mm)
  366.                    'ENV_C5'             (Envelope C5 162 x 229 mm)
  367.                    'ENV_C3'             (Envelope C3  324 x 458 mm)
  368.                    'ENV_C4'             (Envelope C4  229 x 324 mm)
  369.                    'ENV_C6'             (Envelope C6  114 x 162 mm)
  370.                    'ENV_B4'             (Envelope B4  250 x 353 mm)
  371.                    'ENV_B5'             (Envelope B5  176 x 250 mm)
  372.                    'ENV_B6'             (Envelope B6  176 x 125 mm)
  373.                    'ENV_ITALY'          (Envelope 110 x 230 mm)
  374.                    'ENV_MONARCH'        (Envelope Monarch 3.875 x 7.5 in)
  375.                    'ENV_PERSONAL'       (6 3/4 Envelope 3 5/8 x 6 1/2 in)
  376.                    'FANFOLD_US'         (US Std Fanfold 14 7/8 x 11 in)
  377.                    'FANFOLD_STD_GERMAN' (German Std Fanfold 8 1/2 x 12 in)
  378.                    'FANFOLD_LGL_GERMAN' (German Legal Fanfold 8 1/2 x 13 in)
  379.                    'ISO_B4'             (B4 (ISO) 250 x 353 mm)
  380.                    'JAPANESE_POSTCARD'  (Japanese Postcard 100 x 148 mm)
  381.                    '9X11'               (9 x 11 in)
  382.                    '10X11'              (10 x 11 in)
  383.                    '15X11'              (15 x 11 in)
  384.                    'ENV_INVITE'         (Envelope Invite 220 x 220 mm)
  385.                    'A_PLUS'             (SuperA/SuperA/A4 227 x 356 mm)
  386.                    'B_PLUS'             (SuperB/SuperB/A3 305 x 487 mm)
  387.                    'A2'                 (A2 420 x 594 mm)
  388.                    'A1'                 (A1 594 x 840 mm)
  389.                    'A0'                 (A0 840 * 1188 mm)
  390.  
  391. --------!-quantize-E------------------------
  392. -quantize N:       The input file will be quantized down to N colors before
  393.                    vectorization, if it contains more than N colours.
  394.                    (Default: 32 colours).
  395.                    For DXF and HPGL the default is 8 colors.
  396.  
  397. --------!-reduce-E--------------------------
  398. The reduce parameters specify whether all those points of a vector laying on a 
  399. straight line may be replaced (= reduced) by two points (the start and the end 
  400. point of the straight line). This reduces the size of the outputfile. 
  401. Because straight lines can lie horizontally, vertically, or diagonally,
  402. we have:
  403.  
  404. -reduce orthogonal:straight horizontal and vertical line-segments will be
  405.                    reduced. This is the default value.
  406. -reduce all:       All straight lines will be reduced (diagonal lines too).
  407.                    Occasionally, small gaps may appear in the layout.
  408. -reduce off:       lines will not be reduced. The only case in which you may
  409.                    want this setting is when you want the velocity of a
  410.                    plotter pen to slow down for long straight lines.
  411.  
  412. --------!-resolution-E----------------------
  413. The resolution parameters have some influence on the internal evaluation:
  414.  
  415. -resolution low:   very small details may get lost (default)
  416. -resolution high:  all details will be retained (needs more memory)
  417.  
  418. --------!-scale-E---------------------------
  419. The scaling parameters will obly be evaluated if the output format is
  420. DXF or HPGL.
  421.  
  422. -scale hpgl N:     The output HPGL image will be scaled by a factor of N
  423. -scale dxf N:      The output DXF image will be scaled by a factor of N
  424.  
  425. --------!-sort-E----------------------------
  426. The sort parameters specify the sequence order in which the vectors appear in
  427. the outputfile:
  428.  
  429. -sort nosort:      Vectors will not be sorted. Contours with different colours
  430.                    may cover each other but the interior areas of each
  431.                    vector cannot be covered by those of another vector.
  432.  
  433. -sort max:         This parameter depends on the filltype: For filltype
  434.                    'solid' the Polygons are sorted by the size of the bounded 
  435.                    area. For filltype line and color they are sorted by
  436.                    the length of the vectors (sortorder is from maximimum to
  437.                    minimum). This is the default value.
  438.  
  439. -sort min:         The same as sort 'max' but sortorder is from minimum to
  440.                    maximum. This makes no sense together with '-fill solid'.
  441.  
  442. -sort local:       The generated output order preserves the local topology,
  443.                    i.e. objects are drawn in the order in which they are
  444.                    nested. The sort order in a group of nested objects is
  445.                    from max to min. The sort order for groups is the same.
  446.                    Needs more computing time.
  447.  
  448. -sort color:       Polygons/polylines are sorted by color. You may want this
  449.                    setting for HPGL output.
  450.  
  451. --------!-subsampling-E---------------------
  452. -subsampling:      The output vectors are subsampled by a factor of 2. This
  453.                    will reduce the size of the output file and will also
  454.                    result in smoothing the vectors. 
  455.  
  456. --------!-sysmalloc-E-----------------------
  457. -sysmalloc on:     (Default) Uses the memory-allocation routines from the
  458.                    operating system
  459. -sysmalloc off:    KVEC uses its own memory allocation routines. Some
  460.                    operating systems have slow allocation routines. Try this
  461.                    switch if the performance of KVEC decreases.
  462.  
  463. --------!-tcolor-E--------------------------
  464. The transparency parameters will only be evaluated if the output format is
  465. a format which can handle filled objects.
  466. The transparency color will be suppressed in the generated output image.
  467. Some formats cannot handle subpolygons. For these formats the transparency
  468. option will not work correctly in some cases.
  469. Default: Transparency option is turned off.
  470.  
  471. -tcolor auto:      Autodedect transparency color
  472. -tcolor color R G B: User-defined transparency color (RGB values)
  473.  
  474. --------!-text-E----------------------------
  475. -text on/off:      Generate or suppress output of text in the output file.
  476.                    This applies only to formats which support text objects.
  477.                    Default: -text on
  478.  
  479. --------!-tiff-E----------------------------
  480. The Tiff-parameters will only be evaluated if the output format is the
  481. Tiff-file format and control the generation of the Tiff-file:
  482.  
  483. -tiff byteorder I:   byte-order in the Tiff file will be 'INTEL' (DEFAULT)
  484. -tiff byteorder M:   byte-order in the Tiff file will be 'MOTOROLA'
  485. -tiff compress none: no compression will be performed (DEFAULT)
  486. -tiff compress huffman: 'Huffman-compression' will be used (bilevel images)
  487. -tiff compress fax3: Fax group3 compression will be used (bilevel images)
  488. -tiff compress fax4: Fax group4 compression will be used (bilevel images)
  489. -tiff compress lzw:  LZW compression will be used 
  490. -tiff compress packbits: 'packbits-compression' will be used  
  491. -tiff predictor:   The Tiff-predictor field is set to 2 (for LZW compression)
  492.                    DEFAULT: predictor field not set.
  493. -tiff photo white:   Photometric interpretation: 'MINISWHITE'
  494.                      Tiff file will be of type 'bilevel' or 'grayscale'
  495.                      (tiff class 'B' or 'G')
  496. -tiff photo black:   Photometric interpretation: 'MINISBLACK'
  497.                      Tiff file will be of type 'bilevel' or 'grayscale'
  498.                      (tiff class 'B' or 'G')
  499. -tiff photo rgb:     Tiff file will have 3 color components (RGB)
  500.                      (tiff class 'R') (DEFAULT setting)
  501. -tiff photo pal:     Tiff file will have a color palette
  502.                      (tiff class 'P')
  503. -tiff photo ycbcr:   Tiff file will have luminance and chrominance components 
  504.                      (tiff class 'Y')
  505. -tiff stripsize N:   Tiff file will have a stripsize of N Bytes 
  506.                      Default: 32000 Bytes.
  507.  
  508. --------!-trim-E----------------------------
  509. -trim:             Trim picture. (Only WMF output format)
  510.  
  511. --------!-vblack-E--------------------------
  512. -vblack:           Only the colors with the 'darkest' RGB-values will be
  513.                    vectorized (picks the 'black' lines out of the picture).
  514.                    All other objects were treated as having one unique
  515.                    'white color'. The regions consisting of this 'white'
  516.                    color will also be vectorized. Thus, white areas inside
  517.                    of black areas will be shown correctly.
  518.                    Note that a lower -quantize value results in the
  519.                    generation of more 'black' lines. If the quantize
  520.                    value is too high, the program will not catch all all
  521.                    dark regions.
  522.  
  523. --------!-voblack-E-------------------------
  524. -voblack:          The same as -vblack, except that 'white' areas will not
  525.                    be processed. Thus, white areas inside of black areas
  526.                    might dissapear if the 'black' object is of type
  527.                    'filled polygon'.
  528.  
  529. The following switches are only available for registered users:
  530.  
  531. The Debug switches specify the level of the debug-output. The debug-output
  532. with informations about the status of the vectorization process is displayed
  533. on the screen. (High level means more detailed debug output).
  534.  
  535. --------!-debug-E---------------------------
  536. -debug N:          Generate debug-output level N (1-8) (default: No debug)
  537. -debug all:        Generate very detailed debug-output
  538.  
  539. --------!-delta-E---------------------------
  540. -delta N:          This is the maximal allowed colour difference between the
  541.                    rough and the detail layer. The detail layer contains
  542.                    a vector representation of these areas which have a colour
  543.                    difference to the first layer greater than delta.
  544.  
  545. --------!-errbez-E--------------------------
  546. -errbez N:         Use the value N for the Bezier error-parameter.
  547.                    Allowed values: 1 - 20. Greater values for errbez will
  548.                    allow more differences between the original and the
  549.                    output picture and will reduce the size of the output.
  550.            The default value is 3.
  551.  
  552. --------!-group-E---------------------------
  553. -group:            Generates recursively nested groups of objects
  554.                    This parameter applies for the LogoArt format only.
  555.  
  556. --------!-lossless-E------------------------
  557. -lossless:         Generates a lossless image. May need enormous memory.
  558.                    This is a synonym for:
  559.                    -resolution high -grit 0 -reduce orth. and no quantization
  560.  
  561. --------!-process-E-------------------------
  562. -process <list>    KVEC has built in some image processing features which
  563.                    are hardly to be found in other graphic programs.
  564.                    You can specify a list of instructions after the
  565.                    'process' keyword. These instructions must be entered
  566.                    as strings or as ordinal numbers and must be seperated by
  567.                    one of the following characters: ',',':','.','-'.
  568.                    The 'string-keywords may be abbreviated.
  569.                    The instructions were performed as soon as the image is
  570.                    read from disk (or automatically generated by using the
  571.                    '-random' switch). Here a few examples:
  572.  
  573. (Apply Gauss Highpass filter)
  574. KVEC x.bmp y.tif -for tif -proc fft_bm,gausshighpass,ifft_bm
  575. KVEC x.bmp y.tif -for tif -proc 14,39,15
  576.  
  577. (Spectrum)
  578. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,log_bm,norm_by,center_or
  579. KVEC x.bmp y.tif -for tif -proc 11,14,12,8,33
  580.  
  581. (Spectral power density)
  582. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,abs_bm,log_bm,norm_rby,center_or
  583. KVEC x.bmp y.tif -for tif -proc 11,14,7,12,9,33
  584.  
  585. (Autocorrelation function)
  586. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,abs_bm,ifft_bm,log_bm,norm_by,center_or
  587. KVEC x.bmp y.tif -for tif -proc 11,14,7,15,12,8,33
  588.  
  589. (1.st Derivative)
  590. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,derive1,ifft_bm,abs_bm,norm_by
  591. KVEC x.bmp y.tif -for tif -proc 11,14,34,15,7,8
  592.  
  593. (1.st Integral)
  594. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,integral1,ifft_bm,abs_bm,norm_by
  595. KVEC x.bmp y.tif -for tif -proc 11,14,35,15,7,8
  596.  
  597. (Try to reconstruct the original image from a bitmap which contains a logarithmic
  598. spectrum)
  599. KVEC x.bmp y.tif -for tif -proc center_or,norm_fl,exp_bm,ifft_bm,abs_bm,log_bm,norm_by
  600. KVEC x.bmp y.tif -for tif -proc 33,11,13,15,7,12,8
  601.  
  602. (Random - test image (24 bit color) having a  1/(F*F) spectrum
  603. KVEC null y.tif -for tif -proc norm_fl,fft_bm,spect_2_f,ifft_bm,norm_by,random 24 2
  604. KVEC null y.tif -for tif -proc 11,14,23,15,8, random 24 2
  605.  
  606.  
  607.  
  608.                    The (first) instruction 'byte2complex' and the (last)
  609.                    instruction 'complex2byte' need not to be specified, 
  610.                    KVEC executes them by default.
  611.                    Example 2 (Spectrum):
  612.                    This instructs KVEC to perform a fourier transformation
  613.                    with the image, apply the log() function to it, normalize
  614.                    the values to the range [0..255], put the origin of the
  615.                    image into the center (which is the better choice for
  616.                    frequency representations). After this KVEC continues
  617.                    in evaluating the other switches.
  618.  
  619.                    PLEASE NOTE THAT THE BITMAP MUST BE CONVERTED TO A COMPLEX
  620.                    BITMAP. THIS MAY RESULT IN ENORMOUS MEMORY DEMANDS!
  621.                    Here an example: If we have a 500 * 500 bitmap with a
  622.                    colordepth of 4 bit (palette bitmap), the bitmap occupies
  623.                    500*500*1/2 * sizeof(BYTE) =  125 KByte. The converted
  624.                    complex bitmap occupies
  625.                    500*500*(3 colorplanes)*sizeof(COMPLEX) = 6 MByte.
  626.                    Here are the keywords and the ordinal numbers (some of
  627.                    the functions may not yet be implemented).
  628.                    Please type the keywords lowercase in the commandline.
  629.                    instruction: ordinal number:
  630.                    =========================================================
  631.                    NOOP            0 no operation
  632.                    BYTE2COMPLEX    1 makes complex image of bitmap
  633.                    COMPLEX2BYTE    2 makes a bitmap of a complex image
  634.                    BYTE2REAL       3 fills real part of complex image 
  635.                    REAL2BYTE       4 makes a bitmap of the real-part image
  636.                    BYTE2IMAGINARY  5 fills imaginary part of complex image
  637.                    IMAGINARY2BYTE  6 makes a bitmap of the imaginary-part
  638.                    ABS_BM_COMPLEX  7 build absolute values Abs(z)
  639.                    NORM_BYTE       8 normalize all values  to [0...255]
  640.                    NORM_RBYTE      9 normalize real values to [0...255]
  641.                    NORM_IBYTE      10 normalize imaginary values to [0...255]
  642.                    NORM_FLOAT      11 normalize all values to [-1.0,1.0]
  643.                    LOG_BM_COMPLEX  12 applies the Logarithm function
  644.                    EXP_BM_COMPLEX  13 applies the Exponential function
  645.                    FFT_BM_COMPLEX  14 performs a Fourier Transformation
  646.                    IFFT_BM_COMPLEX 15 performs a inverse Fourier Transform.
  647.                    SUPPRESS_DC     16 supresses the DC part of the spectrum
  648.                    SET_ZERO        17 set a complex image to 0
  649.                    SET_IM_ZERO     18 set real part of complex image to 0
  650.                    SET_RE_ZERO     19 set imaginary part of complex image to 0
  651.                    MAKE_RAND_PHASE 20 build a random phase of all points
  652.                    SPECT_LIN       21 give spectrum a decreasing linear shape
  653.                    SPECT_1_F       22 give spectrum a 1/f shape
  654.                    SPECT_2_F       23 give spectrum a 1/f*f shape
  655.                    SPECT_RE_EVEN   24 force even symmetry for real spectrum
  656.                    SPECT_RE_ODD    25 force odd symmetry for real spectrum
  657.                    SPECT_IM_EVEN   26 force even symmetry for imaginary spectr.
  658.                    SPECT_IM_ODD    27 force odd symmetry for imaginary spectr.
  659.                    CAR2POL         28 convert image to polar representation
  660.                    POL2CAR         29 convert image to cartesian representation
  661.                    LOWPASS         30 Low Pass filter (rectangle)
  662.                    HIGHPASS        31 High Pass filter (rectangle)
  663.                    ROTATE          32 Rotate
  664.                    CENTER_ORIGIN   33 move origin into center of the image
  665.                    DERIVE1         34 Build first derivative  of the image
  666.                    INTEGRAL1       35 Build first integral    of the image
  667.                    DERIVE2         36 Build second derivative  of the image
  668.                    INTEGRAL2       37 Build second integral    of the image
  669.                    GAUSSLOWPASS    38 Low Pass filter (Gauss)
  670.                    GAUSSHIGHPASS   39 High Pass filter (Gauss)
  671.  
  672.  
  673. --------!-progressive-E---------------------
  674. KVEC offers you the possibility of building a 'progressive' image.
  675. The term 'progressive' means that the image is build up from two successive
  676. layers (one 'rough' picture without details and one refined picture which
  677. contains only details). The two layers follow in this order as the image is 
  678. build up. This kind of image representation is very robust against all kinds
  679. of transformations and local deformations.  The difference of the two layers
  680. with respect to colour quantization and resolution of details is expressed 
  681. by the gritfactor and the colorfactor:
  682.  
  683.  
  684. -progressive gritfactor N:   Generates a progressive image with 2 Layers
  685.                              The first layer has a grit-value multiplied by N
  686. -progressive colorfactor N:  Generates a progressive image with 2 Layers
  687.                              The first layer has a quantize-value divided by N
  688.  
  689. --------!-random-E--------------------------
  690. -random N1 N2:     Generates a random test image for input. The name of the
  691.                    input file should be 'null' in this case. The parameter
  692.                    N1 specifies the color depth of the test image. Allowed
  693.                    values: 1,4,8,24.
  694.                    N2 specifies the type of the image. Allowed values:
  695.                    0 or 1 (BW or gray), 2 (colored image)
  696.  
  697. --------!-smooth-E--------------------------
  698. -smooth on:        Smooth polylines: the program will try to smoothen the
  699.                    polylines and Polygons. This is involving some loss of
  700.                    information.
  701.                    Default: Depends on the output format.
  702.                    Using the 'smooth on' with the WMF or EMF-Format will
  703.                    increase the resolution of the outputfile by a factor
  704.                    of 4.
  705.                    
  706. -smooth off:       Turns smoothing off
  707.  
  708. --------!-subimage-E------------------------
  709. -subimage N:       Use subimage No. N in inputfile (Tiff or FAX Formate)
  710.  
  711. --------!-vcolor-E--------------------------
  712. -vcolor R G B:     This switch can be be used to pick out regions of the
  713.                    image which have the specified color. 
  714.                    The color representation is RGB (Red Green Blue) with
  715.                    values from 0 up to 255.
  716.                    Only these regions that match this colour will be
  717.                    vectorized.
  718.  
  719.  
  720. The newest version of KVEC and the current price list is always available in 
  721. the following mailbox:  (+49 961 61455) V34
  722.                         (+49 961 6340838) ISDN
  723. or from http://ourworld.compuserve.com/homepages/kkuhl
  724.  
  725.  
  726. ===============================================================================
  727.  
  728.  
  729. ******************************************************************************
  730. *                    K V E C   D O K U M E N T A T I O N                     *
  731. *                                                                            *
  732. *    +++ KK-Software +++ KK-Software +++ KK-Software +++ KK-Software +++     *
  733. *----------------------------------------------------------------------------*
  734. *Dipl.-Phys. Karl-Heinz Kuhl, Joseph-Haas-Str. 7d, 92637 Weiden, Deutschland *
  735. *----------------------------------------------------------------------------*
  736. *    Tel. 10-12 Uhr       FAX/BBS                    E-Mail                  *
  737. *    +49 961 6340837   +49 961 61455            kkuhl@compuserve.com         *
  738. ******************************************************************************
  739.  
  740.  
  741.  
  742.  
  743. --------!-ABOUT_KVEC-G----------------------
  744. Was ist KVEC?
  745.  
  746. KVEC ist ein Shareware-Programm, mit dem Sie Raster-Graphiken in Vektor-
  747. Graphiken konvertieren koennen. Sie koennen es ohne Einschraenkungen fuer
  748. einen Zeitraum von 30 Tagen benutzen. Nach Ablauf dieser Zeit sollten Sie
  749. das Programm registrieren lassen, falls Sie es weiterhin benutzen moechten.
  750. Die (unregistrierte) Shareware Version darf frei weitergegeben und kopiert
  751. werden.
  752.  
  753. KVEC ist ein Programm, das nur auf 32 Bit Betriebssystemen laeuft, und das
  754. hohe Anforderungen an den Speicherbedarf stellt. Vektorisierung ist ein
  755. rechenaufwendiger, komplizierter Prozess und fuehrt oft zu einem Abwaegen
  756. zwischen Rechenzeit und Speicherbedarf.
  757. Es ist entscheidend fuer die Performance, dass Ihr Computer mit genuegend
  758. RAM-Speicher ausgestattet ist und dass er ueber einen Arithmetik-Koprozessor
  759. verfuegt. Ein Minimum von 16 MByte RAM wird empfohlen. KVEC laeuft sehr gut
  760. auf einem Pentium 100 Mhz mit 32 Mbyte RAM. Das Ergebnis auf einem 40 Mhz PC
  761. mit 8 Mbyte RAM ohne Koprozessor ist frustrierend: Die Rechenzeit ist hier
  762. etwa 300 mal so hoch wie auf dem Pentium.
  763. Die Rechenzeit auf einem Pentium 100 MHz liegt im Sekunden- bis Minuten-
  764. bereich je nach der Groesse und der Farbtiefe der Input-Datei.
  765. Die Auswahl der Werte fuer die (optionalen) Programmparameter erfordert
  766. einige Vorsicht. 'Verrauschte' Bilder (typisch fuer gescannte Farbbilder)
  767. oder Bilder mit sehr vielen sehr kleinen Details sollten mit groesseren
  768. 'grit' Werten und kleineren 'quantize' Werten (Erklaerung s. unten) 
  769. ausgewertet werden.
  770.  
  771. Die Ausgabeformate DXF und HPGL sind nicht fuer die Vektorisierung von 
  772. farbigen Photos oder gescannten Farbbildern geeignet (ausser Sie haben viele 
  773. GBytes Speicher auf Ihrer Festplatte uebrig ;-)  die Groesse der Ausgabe-
  774. Datei waere riesig.
  775.  
  776. Vektordarstellungen von Bildern haben gegenueber Rastergrafiken mehrere 
  777. Vorteile: Operationen, wie z.B. Rotation, Dehnen, Morphing und Warping sind
  778. viel leichter durchzufuehren und unerwuenschte Effekte wie z. B. Aliasing
  779. tauchen bei Vektor-Bildern erst gar nicht auf. Die Anwendungsgebiete eines
  780. guten Vektorisierers reichen von der Bewegungsschaetzung in Video-Sequenzen
  781. bis hin zur effektiven Bildkompression.
  782.  
  783. Bitte wenden Sie sich an den Autor, wenn Sie Probleme mit dem Programm haben,
  784. oder wenn Sie Fehler finden.
  785. KVEC wurde so konzipiert, dass es auf mehreren Betriebssystemen (die 
  786. unterschiedliche Hardware und graphische Oberflaechen besitzen) laeuft.
  787. Diese erste 'Release' ist deshalb eine (graphik-unabhaengige)
  788. Kommandozeilen-Version.
  789.  
  790. Die Syntax ist sehr einfach:
  791.  
  792.      KVEC (Inputdatei) (Outputdatei) [optionale Parameter]
  793.      Zum Beispiel:
  794.      KVEC test.bmp test.dxf -format dxf
  795.  
  796. Inputdatei ist der Name der Rastergraphik-Datei (Tiff, BMP, PCX, TGA, SGI, 
  797. IMG, PNM, JPEG, GIF oder FAX).
  798. Falls der Name der Input-Datei 'null' lautet, erzeugt KVEC automatisch ein
  799. Testbild mit 'weissem Rauschen'. Die Eigenschaften dieses Testbildes haengen
  800. von den Einstellungen des Parameters 'random' ab.
  801.  
  802. Outputdatei ist der Name der gewuenschten Vektorgraphik-Datei.
  803. Bitte beachten Sie, dass der Dateiname auch das entsprechende File-Suffix
  804. (z.B. WMF) enthalten muss.
  805.  
  806. Wichtig:
  807. KVEC ab Vers. 1.62 liest auch WMF und ART als Input-Format.
  808. Wenn die Input-Datei bereits ein Vektor-Format hat (WMF oder ART), dann
  809. haben die meisten Eingabeparameter keine Wirkung. In diesem Fall fuehrt
  810. KVEC nur eine Formatumwandlung vom einen Vektorformat ins andere durch.
  811.  
  812. KVEC ab Vers. 1.92 schreibt auch BMP oder TIFF als Ausgabe-Format.
  813. Wenn die Input-Datei bereits ein Raster-Format hat, dann haben die meisten
  814. Eingabeparameter in diesem Fall keine Wirkung. 
  815. KVEC fuehrt dann nur eine Formatumwandlung vom einen Raster-Format ins andere
  816. durch.
  817.  
  818. Z. Zeit werden folgende Vektor-Formate unterstuetzt: 
  819.     - Windows Metafile, Postscript, AutoCad DXF, HPGL, ART,
  820.       Editable Adobe Illustrator Format.
  821.  
  822. Die Parameter sind optional. Wenn Sie keine Parameter angeben, waehlt das
  823. Programm automatisch einen Satz von Parametern aus, der optimal an die
  824. Eigenschaften der Input-Datei angepasst ist. Die Schluesselwoerter fuer die
  825. Parameter koennen abgekuerzt werden.
  826. Die Dateinamen muessen in der Kommandozeile vor den optionalen Parametern
  827. erscheinen. Einige Parameter koennen jedoch ohne Dateinamen direkt hinter 
  828. KVEC angegeben werden. Von diesen Parametern darf jeweils nur einer angegeben 
  829. werden:
  830.  
  831. --------!-ehelp-G---------------------------
  832. KVEC -ehelp <thema> Zeigt Hilfe zum Parameter <thema> an (in Enlisch) 
  833.  
  834. --------!-ghelp-G---------------------------
  835. KVEC -ghelp <thema> Zeigt Hilfe zum Parameter <thema> an (in Deutsch)
  836.  
  837. --------!-info-G----------------------------
  838. KVEC -info:        Gibt ein paar nuetzliche Informationen auf dem Bildschirm
  839.                    aus.        
  840.  
  841. --------!-printform-G-----------------------
  842. KVEC -printform:   Erzeugt automatisch ein Registrierungsformular. Dieses
  843.                    Formular koennen Sie per FAX, E-Mail oder Briefpost an
  844.                    den Programm-Autor senden, um einen Registrierungs-
  845.                    schluessel zu erhalten. Der Registrierungsschluessel ist
  846.                    eine max. 5-stellige Zahl, die dem Benutzer erlaubt, die
  847.                    Software zu registrieren und den Zugriff auf die
  848.                    erweiterten Funktionen von KVEC freigibt.
  849.                    Sie koennen eine Sprache auswaehlen. Das Registrierungs-
  850.                    formular wird dann in einer Sprache Ihrer Wahl erzeugt.
  851.                    Das Registrierungsformular besteht aus reinem ASCII Text.
  852.                    Wenn Sie es aus einem Textverarbeitungsprogramm heraus
  853.                    ausdrucken moechten, achten Sie bitte darauf, dass Sie
  854.                    einen Zeichensatz mit gleichmaessigem Zeichenabstand, und
  855.                    keine Proportionalschrift ausgewaehlt haben.
  856.  
  857.  
  858. --------!-register-G------------------------
  859. KVEC -register:    Sobald Sie einen Registrierungsschluessel erhalten haben
  860.                    koennen Sie mit dieser Option das Programm registrieren
  861.                    lassen. Das Programm fragt Sie nach Ihrem Namen, der
  862.                    Seriennummer und nach Ihrem Registrierungsschluessel. Bitte 
  863.                    geben Sie alle Buchstaben und Ziffern genau so ein, wie Sie 
  864.                    auf der Registrierungsbestaetigung, die Sie vom Autor 
  865.                    erhalten haben, abgedruckt sind. Wenn Sie die Informationen 
  866.                    richtig eingegeben haben, wird eine Meldung erscheinen, die 
  867.                    sich fuer die Registrierung bedankt. Ihr Registrierungs-
  868.                    schluessel ist fuer alle 'Bugfixes' und Updates von KVEC 
  869.                    gueltig.
  870.  
  871. --------!-readpar-G-------------------------
  872. KVEC -readpar:     KVEC liest die Dateinamen und zusaetzliche Parameter
  873.                    aus einer Parameter-Datei ein (statt von der Kommando-
  874.                    Zeile). Bitte beachten Sie, dass die Parameter-Datei im
  875.                    aktuellen Verzeichnis stehen muss. Die Datei ist vom Typ
  876.                    ASCI und kann mit jedem Texteditor bearbeitet werden.
  877.                    Kommentare in der Parameter-Datei muessen mit einem
  878.                    #-Zeichen beginnen und koennen ueberall nach einem
  879.                    Parameter oder am Beginn einer Zeile erscheinen.
  880.  
  881. --------!-writepar-G------------------------
  882. KVEC -writepar:    Erzeugt eine KVEC Parameter-Datei. Der Benutzer wird
  883.                    aufgefordert, Dateinamen und zusaetzliche Parameter
  884.                    einzugeben. Der Name der Datei lautet immer 'KVEC.PAR'
  885.                    und die Datei wird immer ins aktuelle Verzeichnis
  886.                    geschrieben. Sie koennen Kommentare an die
  887.                    eingegebenen Parameter anhaengen (siehe oben). Parameter
  888.                    muessen immer mit einem '-'Zeichen beginnen.
  889.                    Nach dem die Parameterdatei erzeugt wurde, muss das
  890.                    Programm erneut mit der Option '-readpar' gestartet
  891.                    werden.
  892.  
  893. Die anderen Parameter muessen nach dem Dateinamen angegeben werden:
  894.  
  895. --------!-bezier-G--------------------------
  896. -bezier:           Erzeugt in der Output-Datei Bezierkurven statt Geraden.
  897.                    Vektorbilder aus Bezierkurven koennen beliebig ver-
  898.                    groessert werden, ohne dass Ecken oder Kanten auftauchen.
  899.                    (Nur fuer Postscript- und LogoArt-Ausgabeformat).
  900.                    Fuer die anderen Ausgabe-Formate wird der Bezier-
  901.                    algorithmus simuliert und durch Polygone angenaehert.
  902.                    
  903. --------!-black-G---------------------------
  904. -black:            Ausgabe-Farbe fuer Vektor-Bilder ist immer schwarz
  905.  
  906. --------!-centerline-G----------------------
  907. -centerline mixed: Die Wirkung dieses Parameters haengt vom Wert des Para-
  908.                    meters -lwidth ab: (in Verbindung mit -centerline hat der
  909.                    Parameter -lwidth eine etwas andere Bedeutung)
  910.                    Vor der Vektorisierung werden alle gefundenen Objekte
  911.                    auf Ihre maximale Dicke hin untersucht. Alle Objekte
  912.                    mit einer Dicke kleiner als -lwidth werden als Linien-
  913.                    objekte behandelt; alle anderen Objekte werden normal
  914.                    vektorisiert.
  915.                    Die Vektorisierung von Linienobjekten ergibt keine
  916.                    Randlinien, die das Objekt umschliessen, sondern einzelne
  917.                    Linien, die entlang einer Mittellinie durch das Objekt
  918.                    gehen. Die tatsaechliche Liniendicke dieser aus der
  919.                    Vektorisierung hervorgegangenen Linie wird so gewaehlt,
  920.                    dass die Flaeche des Linienobjekts etwa mit der Flaeche
  921.                    des urspruenglichen Objekts uebereinstimmt.
  922.                    (Manche Ausgabe-Formate unterstuetzen leider keine variable
  923.                    Liniendicke). Das ist der Default-Wert.
  924.  
  925. -centerline lines: Wie bei 'centerline mixed', jedoch werden nur Linien-
  926.                    objekte erzeugt. Alle anderen Objekte werden verworfen.
  927.  
  928. --------!-dimension-G-----------------------
  929. -dimension  N:     Gibt die maximale Ausdehnung (in X- oder y- Richtung)
  930.                    des erzeugten (Raster)-Bildes an. Default: 1000 Pixel.
  931.                    WICHTIG: Dieser Parameter wird nur dann ausgewertet, falls
  932.                    die Input-Datei vom Typ 'Vektor' ist.
  933.  
  934. --------!-dxfopt-G--------------------------
  935. -dxfopt type 2dim: Erzeugt 2-dimensionale Koordinaten (falls als Ausgabe-  
  936.                    format das DXF-Format gewaehlt wurde (Default).
  937. -dxfopt type 3dim: Erzeugt 3-dimensionale Koordinaten (falls als Ausgabe-   
  938.                    format das DXF-Format gewaehlt wurde.
  939.  
  940. --------!-fill-G----------------------------
  941. Die 'Fuell'-Paremeter geben an, wie die erzeugten Polylines/Polygone 
  942. interpretiert werden sollen:
  943.  
  944. -fill solid:       Polygone sind stets geschlossen, d.h. der letzte Punkt eines
  945.                    Polygones ist identisch mit dem ersten. Die Flaecheninhalte
  946.                    der Polygone werden mit individuellen Farben gefuellt.
  947.                    (Das ist die Default-Fuelleinstellung). Der 'sort'
  948.                    Parameter sollte in diesem Fall nicht 'min' sein, da die
  949.                    groesseren Polygone die kleineren ueberdecken und
  950.                    verstecken wuerden.
  951.  
  952. -fill line:        Es werden Polylines mit individuellen Farben erzeugt. Die
  953.                    Polylines sind nicht geschlossen. Dies ist die bevorzugte
  954.                    Einstellung wenn die Output-Datei fuer einen Plotter
  955.                    bestimmt ist. Der Plotter-Stift wird keine Farben ueber-
  956.                    einander zeichnen. Das 'Layout' haengt vom Sortierparameter
  957.                    'sort' ab. Mit den Parametern 'reduce' und 'smooth' koennen
  958.                    Sie nochmals das Ergebnis der Vektorisierung verfeinern.       
  959.  
  960. -fill contour:     Wie bei '-fill solid', jedoch wird das Innere der Polygone
  961.                    nicht gefuellt. Linien mit unterschiedlicher Farbe koennen
  962.                    sich evtl. ueberdecken. Das 'Layout' haengt vom Sortier-
  963.                    parameter 'sort' ab.
  964.  
  965. --------!-font-G----------------------------
  966. -font:             Die Angabe dieses Parameters bewirkt, dass KVEC einen
  967.                    optimierten Parametersatz erzeugt, der speziell fuer
  968.                    die Vektorisierung von dunklem Text auf hellem Hinter-
  969.                    grund optimiert ist. Allen Objekten wird eine einzige
  970.                    'dunkle' Farbe zugeordnet.
  971.  
  972. --------!-format-G--------------------------
  973. Die Format-Parameter geben das gewuenschte Output-Format an:
  974.  
  975. -format wmf:       Outputformat ist Windows Metafile Format, *.WMF               
  976. -format amf:       Outputformat ist ALDUS WMF Metafile (Default), *.WMF                 
  977. -format emf:       Outputformat ist Enhanced Windows Metafile Format, *.EMF              
  978. -format ps:        Outputformat ist Postscript Level 2, *.PS
  979. -format eps:       Outputformat ist Encapsulated Postscript Level 2, *.EPS               
  980. -format dxf:       Outputformat ist AutoCad DXF, *.DXF              
  981. -format hpgl:      Outputformat ist HPGL (nur Linien), *.HPG oder *.PLT              
  982. -format art:       Outputformat ist ART LogoArt (OS/2-Graphikprogramm), *.ART              
  983. -format ai:        Outputformat ist Adobe Illustrator Format *.AI
  984. -format bmp:       Outputformat ist Windows Bitmap, *.BMP
  985. -format tiff:      Outputformat ist Tiff, *.TIF
  986.  
  987. --------!-gapfill-G-------------------------
  988. -gapfill N:        Diese Parameter steuert, ob der Vektorisierer waehrend
  989.                    der Vektorisierung eines Objekts ueber Luecken
  990.                    'hinwegspringen' kann. Der Wert N muss in Zehntel eines
  991.                    Pixels angegeben werden. Erlaubte Werte: 0 bis 30.
  992.  
  993. --------!-grit-G----------------------------
  994. -grit N:           Mit diesem Parameter kann man angeben, ob kleine Details
  995.                    bei der Vektorisierung erfasst werden sollen, oder nicht.
  996.                    Polygone oder Polylines die eine Flaeche mit weniger als
  997.                    N Pixels umfassen, werden 'weggefiltert'. Der Defaultwert
  998.                    fuer 'grit' haengt von den Dimensionen und der Farbtiefe
  999.                    des Bildes ab. Bei -grit 0 findet keine Filterung statt.
  1000.                    Die Benutzung eines Wertes N > 0 vergroessert die Rechen-
  1001.                    zeit und vergroessert auch erheblich den RAM Speicherbedarf.
  1002.                    Wenn Sie sparsam mit Speicher umgehen muessen sollten Sie
  1003.                    fuer -grit den Wert 0 und fuer -quantize einen kleineren
  1004.                    Wert waehlen.
  1005.  
  1006. --------!-hatch-G---------------------------
  1007. Die Schraffierungs-Parameter werden nur ausgewertet falls das Ausgabe-Format
  1008. DXF oder HPGL ist.
  1009.  
  1010. -hatch1 density N: Die max. Anzahl von horizontalen Schraffierungslinien wird
  1011.                    auf N begrenzt (der Wert 0 schaltet Schraffierung aus)
  1012. -hatch2 density N: Die max. Anzahl von vertikalen Schraffierungslinien wird
  1013.                    auf N begrenzt (der Wert 0 schaltet Schraffierung aus)
  1014. -hatch1 angle N:   Winkel fuer horizontale Schraffierungs-Linien
  1015.                    (Default: 40 Grad)
  1016. -hatch2 angle N:   Winkel fuer vertikale Schraffierungs-Linien
  1017.                    (Default: 40 Grad)
  1018.  
  1019. --------!-justify-G-------------------------
  1020. Die 'justify'-Parameter werden nur ausgewertet, falls das Input- und das
  1021. Output-Format beide vom Typ 'Raster' sind (keine Vektor-Formate). Die Farb-
  1022. tiefe der Input Datei muss 1 Bit betragen (S/W Bild). Die Hauptanwendung
  1023. fuer diese Option wird das Justieren (Zurechtruecken) und Saeubern von
  1024. 'gescannten' S/W Bildern sein, um sie fuer die Einbettung in Dokumente
  1025. vorzubereiten. Die Defaultwerte fuer die 'justify' Parameter sind optimiert
  1026. fuer 300 dpi DIN A4 Bilder, die Text enthalten.
  1027. Kopien haben oft schmutzige schwarze Raender oder sind leicht verdreht, da
  1028. die Vorlage beim Kopieren etwas verrutscht wurde. KVEC kann diese Effekte
  1029. automatisch wieder korrigieren, wenn ein geeigneter Satz von Justierungs-
  1030. Parametern verwendet wird.
  1031.  
  1032. -justify type off:   Keine Bereinigung oder Justierung (Default).
  1033. -justify type rotate: Justierung wird durchgefuehrt (Nur Drehung)     
  1034. -justify type all:   Justierung wird durchgefuehrt (Drehung und Saeuberung
  1035.                      der 'schmutzigen' Raender durch Abschneiden).
  1036. -justify phimax N:   Maximal erlaubter Drehwinkel. Dies ist der max. Ver-
  1037.                      drehungswinkel, der korrigiert werden kann. Achtung:
  1038.                      Die Rechenzeit waechst linear mit der Groesse dieses
  1039.                      Winkels. Default: 5.0 Grad.
  1040. -justify parameter N1 N2 N3:
  1041.                      Diese Werte steuern die Wirkung der internen Algorithmen.
  1042.                      (Detektierung von grossen rechteckigen Bloecken, von denen
  1043.                      widerum der Rotationswinkel abgeleitet wird).
  1044.                      N1: 'Verdickungs'-Faktor. Jedes Pixel wird um diesen Faktor
  1045.                          vergroessert, um enthaltene Block-Strukturen leichter
  1046.                          detektierbar zu machen. Default: 16
  1047.                      N2: min. Filterwert. Zusammenhaengende Gebiete mit einer
  1048.                          Anzahl von Pixeln kleiner als N2 werden entfernt bevor
  1049.                          der interne 'Block-Detektierungsalgorithmus' startet.
  1050.                          Default: 50
  1051.                      N3  max. Filterwert. Zusammenhaengende Gebiete mit einer
  1052.                          Anzahl von Pixeln groesser als N3 werden entfernt bevor
  1053.                          der interne 'Block-Detektierungsalgorithmus' startet.
  1054.                          Default: 400
  1055.                      Bemerkung: Die Defaultwerte wurden fuer DIN A4 Bilder 
  1056.                      (300 dpi), die einen Durchschnittstext enthalten, opti-
  1057.                      miert. Die durchschn. Anzahl von Pixeln liegt im Bereich
  1058.                      von 50 bis zu 400 Pixel pro Buchstaben).
  1059.                      Dies stellt sicher, dass nur die Teile des Bildes, die
  1060.                      Text-Information enthalten, fuer die Bestimmung des
  1061.                      Drehwinkels relevant sind.         
  1062.  
  1063.                      Fuer andere Arten von S/W Bildern (z.B. elektronische
  1064.                      Schaltplaene) koennen andere Parameterwerte evtl. zu
  1065.                      besseren Ergebnissen fuehren.
  1066.  
  1067.  
  1068. --------!-lwidth-G--------------------------
  1069. -lwidth:           Gibt die Dicke der Linien der erzeugten Ausgabevektoren an
  1070.                    (in Zehntel eines Pixels).
  1071.                    Erlaubte Werte: 0-1000. Defaultwert: 0.
  1072.                    Bitte beachten Sie die veraenderte Bedeutung dieses
  1073.                    Parameters, falls er zusammen mit der Option
  1074.                    -centerline gebraucht wird. In diesem Fall ist der
  1075.                    Defaultwert 100.
  1076.  
  1077. --------!-maxpoints-G-----------------------
  1078. -maxpoints:        Gibt die max. erlaubte Anzahl von Punkten fuer die   
  1079.                    erzeugten Polylines und Polygone an. Das ist nuetzlich
  1080.                    wenn KVEC Vektoren mit einer Laenge von mehr als 32767
  1081.                    Punkten erzeugt und als Ausgabe-Format WMF gewaehlt wurde.
  1082.  
  1083. --------!-mode-G----------------------------
  1084. -mode iso:         Isotroper Modus. Dieser Modus bewahrt das Y/X-Verhaeltnis
  1085.                    des Bildes. (Ein Kreis wird auch im Ausgabebild ein Kreis 
  1086.                    bleiben). Das ist die Default-Einstellung.
  1087.                    (Nur fuer Postscript)
  1088.  
  1089. -mode aniso:       Anisotroper Modus. Das Bild wird so skaliert, dass es die
  1090.                    Papierflaeche vollstaendig ausfuellt.
  1091.                    (Nur fuer Postscript)
  1092.  
  1093. --------!-overlapp-G------------------------
  1094. -overlapp:         Bei der Angabe dieses Parameters ueberlappen sich die
  1095.                    erzeugten Vektoren geringfuegig (um genau ein Pixel).
  1096.                    Der Defaultwert ist 'keine Ueberlappung'.
  1097.                    Falls Vektorgraphiken, nachdem sie gedreht worden sind,
  1098.                    schwarze oder andersfarbige Luecken aufweisen sollten,
  1099.                    (besonders entlang den Grenzlinien benachbarter Polygone)
  1100.                    dann sollten Sie diesen Parameter angeben.
  1101.  
  1102. --------!-paper-G---------------------------
  1103. -paper (format):   Auswahl einer Papier-Groesse. Z. Zt. ist diese Option nur
  1104.                    fuer das Postscript-Format gueltig. Die Format-Bezeichnung
  1105.                    muss eine der folgenden sein:
  1106.  
  1107.                    'LETTER'             (Letter 8 1/2 x 11 in)
  1108.                    'TABLOID'            (Tabloid 11 x 17 in) 
  1109.                    'LEDGER'             (Ledger 17 x 11 in)
  1110.                    'LEGAL'              (Legal 8 1/2 x 14 in)
  1111.                    'STATEMENT'          (Statement 5 1/2 x 8 1/2 in)
  1112.                    'EXECUTIVE'          (Executive 7 1/4 x 10 1/2 in)
  1113.                    'A3'                 (A3 297 x 420 mm)
  1114.                    'A4'                 (A4 210 x 297 mm)
  1115.                    'A5'                 (A5 148 x 210 mm)
  1116.                    'B4'                 (B4 (JIS) 250 x 354)
  1117.                    'B5'                 (B5 (JIS) 182 x 257 mm)
  1118.                    'FOLIO'              (Folio 8 1/2 x 13 in)
  1119.                    'QUARTO'             (Quarto 215 x 275 mm)
  1120.                    '10X14'              (10x14 in)
  1121.                    'NOTE'               (Note 8 1/2 x 11 in)
  1122.                    'ENV_9'              (Envelope #9 3 7/8 x 8 7/8)
  1123.                    'ENV_10'             (Envelope #10 4 1/8 x 9 1/2)
  1124.                    'ENV_11'             (Envelope #11 4 1/2 x 10 3/8)
  1125.                    'ENV_12'             (Envelope #12 4 \276 x 11)
  1126.                    'ENV_14'             (Envelope #14 5 x 11 1/2)
  1127.                    'ENV_DL'             (Envelope DL 110 x 220 mm)
  1128.                    'ENV_C5'             (Envelope C5 162 x 229 mm)
  1129.                    'ENV_C3'             (Envelope C3  324 x 458 mm)
  1130.                    'ENV_C4'             (Envelope C4  229 x 324 mm)
  1131.                    'ENV_C6'             (Envelope C6  114 x 162 mm)
  1132.                    'ENV_B4'             (Envelope B4  250 x 353 mm)
  1133.                    'ENV_B5'             (Envelope B5  176 x 250 mm)
  1134.                    'ENV_B6'             (Envelope B6  176 x 125 mm)
  1135.                    'ENV_ITALY'          (Envelope 110 x 230 mm)
  1136.                    'ENV_MONARCH'        (Envelope Monarch 3.875 x 7.5 in)
  1137.                    'ENV_PERSONAL'       (6 3/4 Envelope 3 5/8 x 6 1/2 in)
  1138.                    'FANFOLD_US'         (US Std Fanfold 14 7/8 x 11 in)
  1139.                    'FANFOLD_STD_GERMAN' (German Std Fanfold 8 1/2 x 12 in)
  1140.                    'FANFOLD_LGL_GERMAN' (German Legal Fanfold 8 1/2 x 13 in)
  1141.                    'ISO_B4'             (B4 (ISO) 250 x 353 mm)
  1142.                    'JAPANESE_POSTCARD'  (Japanese Postcard 100 x 148 mm)
  1143.                    '9X11'               (9 x 11 in)
  1144.                    '10X11'              (10 x 11 in)
  1145.                    '15X11'              (15 x 11 in)
  1146.                    'ENV_INVITE'         (Envelope Invite 220 x 220 mm)
  1147.                    'A_PLUS'             (SuperA/SuperA/A4 227 x 356 mm)
  1148.                    'B_PLUS'             (SuperB/SuperB/A3 305 x 487 mm)
  1149.                    'A2'                 (A2 420 x 594 mm)
  1150.                    'A1'                 (A1 594 x 840 mm)
  1151.                    'A0'                 (A0 840 * 1188 mm)
  1152.  
  1153. --------!-quantize-G------------------------
  1154. -quantize N:       Die Inputdatei wird vor Beginn der Vektorisierung auf 
  1155.                    N Farben quantisiert (falls diese mehr als N Farben
  1156.                    enthalten sollte). Der Defaultwert ist 32 Farben.
  1157.                    Fuer DXF und HPGL Format gilt der Defaultwert 8 Farben.
  1158.  
  1159. --------!-reduce-G--------------------------
  1160. Die 'reduce'-Parameter geben an, ob alle die Punkte eines Vektors, die auf
  1161. einer Geraden liegen, durch zwei Punkte (den Start- und den Endpunkt des
  1162. Geradenabschnittes) ersetzt (= reduziert) werden. Das verringert die Groesse
  1163. der Ausgabedatei. Da Geraden horizontal, vertikal oder schraeg liegen koennen, 
  1164. haben wir folgende Moeglichkeiten:
  1165.  
  1166. -reduce orthogonal:gerade horizontale und vertikale Vektorabschnitte werden
  1167.                    reduziert. Das ist der Default-Wert.
  1168. -reduce all:       Alle geraden Abschnitte (auch die schraeg liegenden)
  1169.                    werden reduziert. Bei dieser Parameterwahl koennen
  1170.                    gelegentlich kleine Luecken im Layout erscheinen.
  1171. -reduce off:       Vektoren werden, auch wenn sie Geradenabschnitte enthalten,
  1172.                    nicht reduziert. Der einzige Fall, in dem man evtl. diese
  1173.                    Einstellung waehlen wird, ist, wenn man die Geschwindigkeit
  1174.                    eines Plotterstiftes entlang langer Geradenabschnitte herab-
  1175.                    setzen moechte.
  1176.  
  1177. --------!-resolution-G----------------------
  1178. Die 'resolution'-Parameter haben Einfluss auf die interne Auswertung:
  1179.  
  1180. -resolution low:   Sehr kleine Details koennen verloren gehen (Default)
  1181. -resolution high:  Alle Details koennen erfasst werden (braucht mehr Speicher)
  1182.  
  1183. --------!-scale-G---------------------------
  1184. Die Skalierungs-Parameter werden nur ausgewertet falls das Ausgabe-Format
  1185. DXF oder HPGL ist.
  1186.  
  1187. -scale hpgl N:     Das ausgegebene HPGL-Bild wird um einen Faktor N skaliert.
  1188. -scale dxf N:      Das ausgegebene DXF-Bild wird um einen Faktor N skaliert.
  1189.  
  1190. --------!-sort-G----------------------------
  1191. Die Sortier-Parameter geben an, in welcher Reihenfolge die Vektoren in der
  1192. Output-Datei erscheinen:
  1193.  
  1194. -sort nosort:      Vektoren werden nicht sortiert. Konturen oder Linien
  1195.                    mit unterschiedlichen Farben koennen sich ueberdecken,
  1196.                    die inneren Gebiete der Vektoren jedoch nicht. 
  1197.  
  1198. -sort max:         Dieser Parameter haengt von der Einstellung des Parameters
  1199.                    'fill' ab: Beim Fuelltyp 'solid' werden die Polygone
  1200.                    nach der Groesse der umschlossenen Flaeche sortiert. Beim
  1201.                    Typ 'line' oder 'contour' wird nach der Laenge der Vektoren
  1202.                    sortiert. Die Sortierreihenfolge ist vom Maximum zum 
  1203.                    Minimum. Das ist die Default-Einstellung.
  1204.  
  1205. -sort min:         Wie bei '-sort min', jedoch ist die Sortierreihenfolge
  1206.                    vom Minimum zum Maximum. Diese Einstellung ergibt nur einen
  1207.                    Sinn, wenn der Fuelltyp nicht auf 'solid' eingestellt ist.
  1208.  
  1209. -sort local:       Die erzeugte Sortierreihenfolge erhaelt nimmt Ruecksicht
  1210.                    auf die lokalen topologischen Gegebenheiten.
  1211.                    D.h. Objekte werden in der Reihenfolge gezeichnet, wie sie
  1212.                    in einander verschachtelt sind. Die Sortierreihenfolge
  1213.                    innerhalb einer Gruppe von in sich verschachtelten Objekten
  1214.                    ist vom Maximum zum Minimum.
  1215.                    Benoetigt mehr Rechenzeit.
  1216.  
  1217. -sort color:       Polygone/Polylines werden nach ihrer Farbe sortiert.
  1218.                    Diese Einstellung ist nuetzlich fuer das HPGL-Format.
  1219.  
  1220. --------!-subsampling-G---------------------
  1221. -subsampling:      Die erzeugten Ouput-Vektoren werden mit einem Faktor 2
  1222.                    'unter-abgetastet'. Dadurch wird die Groesse der Output-
  1223.                    Datei reduziert. Dies fuehrt ausserdem zu einer Glaettung
  1224.                    der Vektoren. 
  1225.  
  1226. --------!-sysmalloc-G-----------------------
  1227. -sysmalloc on:     (Default) KVEC benutzt die Speicher-Allokierungsroutinen
  1228.                    des Betriebssystems.
  1229.  
  1230. -sysmalloc off:    KVEC verwendet eigene Routinen zur Verwaltung des
  1231.                    Speichers. Falls die Performance von KVEC bei bestimmten
  1232.                    Bilderen abnimmt, sollte dieser Switch ausprobiert werden.
  1233.  
  1234. --------!-tcolor-G--------------------------
  1235. Die Transparenz Parameter werden nur ausgewertet, falls das Ausgabe-Format
  1236. gefuellte Flaechen behandeln kann.
  1237. Die Transparenz-Farbe wird im ausgegebenen Vektor-Bild unterdrueckt.
  1238. Einige Formate unterstuetzen keine Sub-Polygone. Fuer diese Formate kann
  1239. die Transparenz Option in einigen Faellen nicht richtig arbeiten.
  1240. Default: Transparenz-Option ist ausgeschaltet.
  1241.  
  1242. -tcolor auto:      Automatische Bestimmung der Transparenz Farbe
  1243. -tcolor color R G B: Benutzer-definierte Transparenz-Farbe (RGB Werte)
  1244.  
  1245.                                                                      
  1246. --------!-text-G----------------------------
  1247. -text on/off:      Erzeugung / Unterdrueckung von Text-Objekten in der Ausgabe-
  1248.                    Datei. Das betrifft nur die Formate, die Textobjekte
  1249.                    unterstuetzen: Default: -text on
  1250.  
  1251.  
  1252. --------!-tiff-G----------------------------
  1253. Die Tiff-Parameter werden nur ausgewertet falls als Ausgabe-Format das
  1254. Tiff Format gewaehlt wurde. Sie steuern die Erzeugung des Tiff-Files.
  1255.  
  1256. -tiff byteorder I:   byte-order im Tiff-File wird 'INTEL' (DEFAULT)
  1257. -tiff byteorder M:   byte-order im Tiff-File wird 'MOTOROLA'
  1258. -tiff compress none: Es wird keine Kompression durchgefuehrt (DEFAULT)
  1259. -tiff compress huffman: 'Huffman-Komprimierung'  (Schwarz-Weiss Bilder)
  1260. -tiff compress fax3: Fax Gruppe 3 Komprimierung  (Schwarz-Weiss Bilder)
  1261. -tiff compress fax4: Fax Gruppe 4 Komprimierung  (Schwarz-Weiss Bilder)
  1262. -tiff compress lzw:  LZW Komprimierung (vor allem fuer RGB-Bilder) 
  1263. -tiff compress packbits: 'packbits-Komprimierung'   
  1264. -tiff predictor:   Das Tiff-Predictor Feld wird auf 2 gesetzt (fuer LZW
  1265.                    Komprimierung) DEFAULT: Kein Predictor
  1266. -tiff photo white:   Photometrische Interpretation: 'MINISWHITE'
  1267.                      Das Tiff-File wird vom Typ 'S/W' oder 'Grauskala'
  1268.                      (Tiff Klasse 'B' oder 'G')
  1269. -tiff photo black:   Photometrische Interpretation: 'MINISBLACK'
  1270.                      Das Tiff-File wird vom Typ 'S/W' oder 'Grauskala'
  1271.                      (Tiff Klasse 'B' oder 'G')
  1272. -tiff photo rgb:     Das Tiff-File bekommt 3 Farb-Komponenten (RGB)
  1273.                      (Tiff Klasse 'R') (DEFAULT)
  1274. -tiff photo pal:     Das Tiff-File bekommt eine Farb-Palette.
  1275.                      (Tiff Klasse 'P')
  1276. -tiff photo ycbcr:   Das Tiff-File bekommt Luminanz und Chrominanz Komponenten 
  1277.                      (Tiff Klasse 'Y')
  1278. -tiff stripsize N:   Der 'Stripsize-Wert' des Tiff-Files hat eine Groesse von
  1279.                      N Bytes (DEFAULT: 32000).
  1280.  
  1281. --------!-trim-G----------------------------
  1282. -trim:             Bild optimieren. (Nur WMF Ausgabe Format)
  1283.  
  1284. --------!-vblack-G--------------------------
  1285. -vblack:           Es wird nur die Farbe mit den 'schwaerzesten' RGB-Werten
  1286.                    vektorisiert (holt die 'schwarzen Linien' aus dem Bild).
  1287.                    Alle Objekte mit einer anderen Farbe werden als 'helle'
  1288.                    Objekte behandelt. Alle Regionen die aus dieser 'hellen'
  1289.                    Farbe bestehen, werden ebenfalls vektorisiert.
  1290.                    Helle Gebiete, die innerhalb von schwarzen Gebieten
  1291.                    liegen werden richtig dargestellt. Man beachte, dass ein
  1292.                    kleinerer 'quantize' Wert mehr dunkle Linien erfasst.
  1293.                    Wenn der 'quantize' Wert zu groos ist, werden evtl.
  1294.                    nicht alle dunklen Linien erfasst.
  1295.  
  1296.  --------!-voblack-G-------------------------
  1297. voblack:          Wie bei vblack, jedoch werden alle 'hellen' Objekte
  1298.                    ignoriert. Helle Gebiete, die innerhalb von 'schwarzen'
  1299.                    Gebieten liegen werden evtl. nicht dargestellt, falls das
  1300.                    'schwarze' Gebiet vom Typ eines gefuellten Polygons ist.
  1301.  
  1302.  
  1303. Auf die folgenden Parameter haben nur registrierte Benutzer Zugriff:
  1304.  
  1305. Die Debug-Parameter geben den Grad (d.h. die Ausfuehrlichkeit) des 
  1306. Debug-Outputs an. Debug-Output bedeutet, dass ein Protokoll ueber den Fort-
  1307. schritt der Vektorisierung auf dem Bildschirm ausgegeben wird. 
  1308. (Grosses N bedeutet ausfuehrliches Protokoll, kleines N ein sparsames Protokoll.
  1309.  
  1310. --------!-debug-G---------------------------
  1311. -debug N:          Erzeugt Protokoll-Ausgabe level N (1-8) 
  1312.                    (Default: Debug ausgeschaltet)
  1313. -debug all:        Erzeugt sehr ausfuehrliches Protokoll
  1314.  
  1315. --------!-delta-G---------------------------
  1316. -delta N:          Das ist die maximal erlaubte Farbabweichung zwischen der
  1317.                    ersten Ebene (dem 'rohen' Bild und der zweiten Ebene (dem 
  1318.                    'Detail'-Bild). Die 'Detail-Ebene enthaelt eine Vektor-
  1319.                    darstellung nur jener Gebiete, die eine Farbabweichung
  1320.                    von mehr als N Einheiten zur 1.ten Ebene aufweisen.
  1321.  
  1322. --------!-errbez-G--------------------------
  1323. -errbez N:         Gibt den Wert N fuer den Bezier Error-Parameter an.
  1324.                    Erlaubte Werte sind: 1 - 20. Groessere Werte fuer errbez
  1325.                    fuehren zu groesseren Differenzen zwischen dem Original-
  1326.                    und dem Vektor-Bild, reduzieren jedoch die Groesse der
  1327.            Ausgabe-Datei. Der Default-Wert betraegt 3.
  1328.  
  1329. --------!-group-G---------------------------
  1330. -group:            Erzeugt rekursiv verschachtelte Gruppen von Objekten.
  1331.                    Dieser Parameter gilt nur fuer Das LogoArt-Format.
  1332.  
  1333. --------!-lossless-G------------------------
  1334. -lossless:         Die Vektorisierung soll ohne Informationsverlust erfolgen.
  1335.                    Die Angabe dieser Option kann enorme Speicheranforderungen
  1336.                    zur Folge haben.
  1337.                    Diese Option ist identisch mit der Einstellung:
  1338.                    -resolution high -grit 0 -reduce orth. -quantize (Unendlich)
  1339.  
  1340. --------!-process-G-------------------------
  1341. -process <list>:   KVEC hat einige Bildverarbeitungs Features eingebaut, die
  1342.                    kaum in anderen Bildverarbeitungs-Programmen gefunden  
  1343.                    werden. Sie koennen eine Liste von Befehlen nach dem
  1344.                    'process' keyword angeben. Diese Befehle muessen entweder
  1345.                    als Zeichenketten oder als Funktionsnummern angegeben
  1346.                    werden und muessen voneinander durch eines der folgenden 
  1347.                    Zeichen getrennt werdens: ',',':','.','-'.
  1348.                    Die Zeichenketten koennen abgekuerzt werden.
  1349.                    Die Befehle werden ausgefuehrt, sobald das Bild eingelesen
  1350.                    (oder automatisch durch den 'random' Switch erzeugt)
  1351.                    wurde. Hier einige Beispiele:
  1352.  
  1353. (Bsp. 1: Gauss Hochpass-Filter)
  1354. KVEC x.bmp y.tif -for tif -proc fft_bm,gausshighpass,ifft_bm
  1355. KVEC x.bmp y.tif -for tif -proc 14,39,15
  1356.  
  1357. (Bsp. 2: Spektrum)
  1358. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,log_bm,norm_by,center_or
  1359. KVEC x.bmp y.tif -for tif -proc 11,14,12,8,33
  1360.  
  1361. (Bsp. 3: Spektrale Leistungsdichte)
  1362. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,abs_bm,log_bm,norm_rby,center_or
  1363. KVEC x.bmp y.tif -for tif -proc 11,14,7,12,9,33
  1364.  
  1365. (Bsp. 4: Autokorrelationsfunktion)
  1366. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,abs_bm,ifft_bm,log_bm,norm_by,center_or
  1367. KVEC x.bmp y.tif -for tif -proc 11,14,7,15,12,8,33
  1368.  
  1369. (Bsp. 5: 1.te Ableitung)
  1370. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,derive1,ifft_bm,abs_bm,norm_by
  1371. KVEC x.bmp y.tif -for tif -proc 11,14,34,15,7,8
  1372.  
  1373. (Bsp. 6: 1.tes Integral)
  1374. KVEC x.bmp y.tif -for tif -proc norm_fl,fft_bm,integral1,ifft_bm,abs_bm,norm_by
  1375. KVEC x.bmp y.tif -for tif -proc 11,14,35,15,7,8
  1376.  
  1377. (Bsp. 7: Versuch einer Rekonstruktion des Originalbildes aus einer Bitmap, die
  1378. ein logarithm. Spektrum enthaelt)
  1379. KVEC x.bmp y.tif -for tif -proc center_or,norm_fl,exp_bm,ifft_bm,abs_bm,log_bm,norm_by
  1380. KVEC x.bmp y.tif -for tif -proc 33,11,13,15,7,12,8
  1381.  
  1382. (Bsp. 8: Zufalls-Testbild (24 Bit Farbe) mit 1/(F*F) Spektrum)
  1383. KVEC null y.tif -for tif -proc norm_fl,fft_bm,spect_2_f,ifft_bm,norm_by,random 24 2
  1384. KVEC null y.tif -for tif -proc 11,14,23,15,8
  1385.  
  1386.  
  1387.  
  1388.                    Die (erste) Anweisung 'byte2complex' und die (letzte) An-
  1389.                    weisung 'complex2byte' brauchen nicht angegeben zu werden,
  1390.                    da sie von KVEC automatisch ausgefuehrt werden.
  1391.                    Bsp. 2:
  1392.                    Dies weist KVEC an, eine Fourier-Transformation des Bildes
  1393.                    auszufuehren, die Logarithmus Funktion anzuwenden, die 
  1394.                    Werte auf den Bereich [0..255] zu normieren und den Bild-   
  1395.                    Ursprung in die Mitte des Bildes zu legen (was fuer    
  1396.                    Frequenz-Darstellungen sehr viel besser geeignet ist).
  1397.                    Danach faehrt KVEC mit der Auswertung der anderen Parameter
  1398.                    fort.                            
  1399.  
  1400.                    BITTE BEACHTEN SIE, DASS DIE BITMAP IN EINE KOMPLEXE
  1401.                    BITMAP UMGEWANDELT WERDEN MUSS. DAS KANN ZU RIESIGEN
  1402.                    SPEICHERANFORDERUNGEN FUEHREN!
  1403.                    
  1404.                    Hier ein Beispiel: Eine 500 * 500 Bitmap mit einer
  1405.                    Farbtiefe von 4 Bit (Paletten Bitmap) belegt einen Speicher 
  1406.                    von 500*500*1/2 *sizeof(BYTE) = 125 KByte. Die konvertierte
  1407.                    komplexe Bitmap belegt
  1408.                    500*500*(3 Farbebenen)*sizeof(COMPLEX) = 6 MByte!
  1409.  
  1410.                    Hier ist die Befehlsliste und die entsprechenden Funktions
  1411.                    Nummern (manche Funktionen koennen evtl. noch nicht
  1412.                    implementiert sein).
  1413.                    Bitte geben Sie die Zeichenketten in Kleinbuchstaben ein.
  1414.                    Befehl:         Funktionsnummer:
  1415.                    =========================================================
  1416.                    NOOP            0 Keine Operation
  1417.                    BYTE2COMPLEX    1 Erzeugt komplexes Bild einer Bitmap
  1418.                    COMPLEX2BYTE    2 Erzeugt Bitmap aus komplexem Bild
  1419.                    BYTE2REAL       3 Fuellt Real-Anteil eines komplexen Bildes 
  1420.                    REAL2BYTE       4 Erzeugt Bitmap aus dem Real-Anteil   
  1421.                    BYTE2IMAGINARY  5 Fuellt Imaginaer-Anteil 
  1422.                    IMAGINARY2BYTE  6 Erzeugt Bitmap aus dem Real-Anteil
  1423.                    ABS_BM_COMPLEX  7 Bildet die Absolut-Betraege Abs(z)
  1424.                    NORM_BYTE       8 Normiert alle Werte auf [0...255]
  1425.                    NORM_RBYTE      9 Normierte reelle Werte auf [0...255]
  1426.                    NORM_IBYTE      10 Normiert imaginaere Werte auf [0...255]
  1427.                    NORM_FLOAT      11 Normiert alle Werte auf [-1.0,1.0]
  1428.                    LOG_BM_COMPLEX  12 Wendet die  Logarithmus Funktion an
  1429.                    EXP_BM_COMPLEX  13 Wendet die  Exponential Funktion an
  1430.                    FFT_BM_COMPLEX  14 Fuehrt eine Fourier Transformation aus
  1431.                    IFFT_BM_COMPLEX 15 Fuehrt inverse Fourier Transform aus.
  1432.                    SUPPRESS_DC     16 Unterdrueckt den DC Anteil im Spektrum
  1433.                    SET_ZERO        17 Setzt alle Werte auf 0
  1434.                    SET_IM_ZERO     18 Setzt alle reellen Werte auf 0
  1435.                    SET_RE_ZERO     19 Setzt alle imaginaeren Werte auf 0
  1436.                    MAKE_RAND_PHASE 20 Erzeugt eine Fufalls-Phase f. alle Werte
  1437.                    SPECT_LIN       21 gibt dem Spektrum eine lineare Form
  1438.                    SPECT_1_F       22 Formt das Spektrum nach 1/f
  1439.                    SPECT_2_F       23 Formt das Spektrum nach 1/f*f
  1440.                    SPECT_RE_EVEN   24 Erzwingt gerade Symmetrie f. rell. Spek.
  1441.                    SPECT_RE_ODD    25 Erzwingt gerade Symmetrie f. imag. Spek.
  1442.                    SPECT_IM_EVEN   26 Erzwingt unger. Symmetrie f. rell. Spek.
  1443.                    SPECT_IM_ODD    27 Erzwingt unger. Symmetrie f. imag. Spek.
  1444.                    CAR2POL         28 Konvertiert in Polarkorrdinaten
  1445.                    POL2CAR         29 Konvertiert in kartesische Koordinaten
  1446.                    LOWPASS         30 Low Pass Filter
  1447.                    HIGHPASS        31 High Pass Filter
  1448.                    ROTATE          32 Rotation
  1449.                    CENTER_ORIGIN   33 Legt den Bildursprung in die Bildmitte
  1450.                    DERIVE1         34 Berchnet die erste Ableitung
  1451.                    INTEGRAL1       35 Berechnet das erste Integral              
  1452.                    DERIVE2         34 Berchnet die zweite Ableitung
  1453.                    INTEGRAL2       35 Berechnet das zweite Integral              
  1454.  
  1455. --------!-progressive-G---------------------
  1456. KVEC bietet die Moeglichkeit, einen progressiven Bildaufbau zu erzeugen.
  1457. Der Ausdruck 'progressiv' bedeutet, dass das Bild aus zwei aufeinander 
  1458. folgenden Ebenen (einem 'groben' Bild ohne Details und einem 'feinem' Bild,
  1459. das nur Datails enthaelt) aufgebaut wird. Die beiden Ebenen folgen in dieser 
  1460. Reihenfolge beim Zeichnen. Diese Art des Bildaufbaues ist sehr robust gegen
  1461. alle Arten von Rotationen, Dehnungen oder lokalen Deformationen. Die Unter-
  1462. schiede dieser beiden Ebenen in Bezug auf Farbquantisierung und dem 'grit'-
  1463. Wert werden durch den 'colorfactor' und dem 'gritfactor' ausgedrueckt.
  1464.  
  1465. -progressive gritfactor N:   Erzeugt ein progressives Bild aus zwei Ebenen
  1466.                              Die erste Ebene hat einen mit N multiplizierten
  1467.                              'grit'-Wert
  1468. -progressive colorfactor N:  Erzeugt ein progressives Bild aus zwei Ebenen
  1469.                              Die erste Ebene hat einen durch N dividierten
  1470.                              'quantize'-Wert
  1471.  
  1472. --------!-random-G--------------------------
  1473. -random N1 N2:     Erzeugt ein Zufalls-Testbild als Input. Der Name der   
  1474.                    Input Datei sollte in diesem Fall 'null' sein. Parameter
  1475.                    N1 gibt die Farbtiefe des Testbildes an. Gueltige Werte:
  1476.                    1,4,8,24.
  1477.                    N2 gibt den Type des Bildes an. Erlaubte Werte:
  1478.                    0 or 1 (SW oder Grau), 2 (farbiges Bild)
  1479.  
  1480. --------!-smooth-G--------------------------
  1481. -smooth on:        Glaettung von Polylines und Polygonen. Das Programm
  1482.                    versucht, Vektoren zu glaetten. Diese Einstellung ist mit
  1483.                    einem gewissen Bild-Informationsverlust verbunden.
  1484.                    Default: haengt vom Ausgabe-Format ab.
  1485.                    Wird 'smooth on' beim Format WMF oder EMF verwendet, so
  1486.                    erhoeht sich die Aufloesung um den Faktor 4.
  1487. -smooth off:       Schaltet die Glaettungsfunktion aus
  1488.  
  1489. --------!-subimage-G------------------------
  1490. -subimage N:       Waehlt das Bild Nr. N in einer Graphik-Datei aus, die mehr
  1491.                    als ein Bild enthaelt (Tiff, OS/2 Bitmaps oder FAX Formate)
  1492.  
  1493. --------!-vcolor-G--------------------------
  1494. -vcolor R G B:     Diese Option kann benutzt werden, um aus einem Bild
  1495.                    bestimmte Bereiche, naemlich die mit den RGB-
  1496.                    Farbkomponenten R,G,B, 'herauszuholen'. Die Vektor-
  1497.                    Outputdatei wird nur Bereiche mit dieser Farbe enthalten.
  1498.                    Die Werte fuer R,G,B koennen zwischen 0 und 255 liegen.
  1499.  
  1500.  
  1501. Die neueste Version von KVEC und eine aktuelle Preisliste ist stets verfuegbar
  1502. in folgender Mailbox:   (+49 961 61455)   V34
  1503.                         (+49 961 6340838) ISDN
  1504. oder aus http://ourworld.compuserve.com/homepages/kkuhl
  1505.