Lesson 9. Symbol Recognition in Automatic Vectorization

Brief description: During this lesson you will learn how to train WiseImage to recognize raster symbols when vectorizing.

For detailed information on these subject see Raster symbols section of the Quick Start guide.

Choose Open from the File menu, and then open the Symbols.dwg file from the Lesson_9 folder.

Our task is to recognize units of the electric scheme when vectorizing - replacing them with the corresponding vector blocks.

You need to train the program to recognize raster symbols.

Training to recognize symbols

To recognise a raster symbol, you need to create a corresponding vector template. In this example we are going to use the existing vector blocks contained within the document as vector templates.

  • Select the first vector block.
  • Run the Train Symbol command from the rConvert menu.
  • Press the Create Symbol from selection button - the selected vector symbol will appear in the Train Symbol dialog.
  • IMPORTANT! Specify the connection lines for the symbol using the Select connection lines button . (Connection lines are the lines of variable length, with which a symbol is connected to other objects).
  • Press the Save As button of the Train Symbol dialog.
  • Save the template with the name elec_1.
    INFORMATION: By default templates are stored in the Shapes folder, located in the program directory. You can create your own subfolders to save new symbols in, e.g. for this exercise, create a subfolder called Training.
  • Choose Create in the AutoCAD command line (do not close the Train Symbol dialog).
  • Select the next vector symbol.
  • Press Enter to complete the selection - the second selected block will appear in the Train Symbol dialog.
  • Repeat this procedure for all symbols contained in the document with the names - elec_2, elec_3, elec_4, elec_5, elec_6, and elec_7.
  • Close the Train Symbol dialog.

Tuning vectorization parameters

Choose Conversion Options from the rConvert menu. Note that the vectorization parameters are already stored in the Symbols.dwg document file. So, in this example we are only going to tune the symbol recognition.

To turn on symbol recognition, do the following:

  • In the Recognition tab of the R2V Conversion Options dialog select the Symbols checkbox.
  • Open the Symbols tab of the R2V Conversion Options dialog.
  • Select the checkbox for the newly created group of symbols Training, or for each individual symbol whose raster representation is present on the image.
  • Set Strategy - Standart or Smart.
  • Set the Accuracy slider to the Low position.
  • Select Fixed Scale, and set the scale equal to 1.
  • In the Orientation field, specify Horizontal and Vertical.
  • Press OK.

Running vectorization

To run vectorization, choose Raster To  Vector from the rConvert menu.

Original raster drawing
Result of vectorization with symbol recognition

 [ welcome ]   [ hybrid graphics ]   [ quick start ]   [ tutorial ]   [ reference ]   [ about ] 
 
 [ Welcome ]  [ WiseImage for Windows ]   [ WiseImage for AutoCAD ] 


 
top