Lesson 9. Symbol Recognition in Automatic Vectorization

Brief description: During this lesson you will learn how to train WiseImage to recognize raster symbols, recognize symbols when vectorizing, and work with the WiseImage clipbook.

For detailed information on these subject see Working with raster symbols section of the Quick Start guide.

Choose Open from the File menu, and then open the Electr.cws 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 intend to use the units of the existing clipbook (electr.clb) as corresponding vector templates for the scheme units.

  • Choose Clipbook from the Tools menu.
  • Using the Open button, load the Clipbook of electric units - Electr.clb from the Lesson_9 folder.
  • Using the mouse, move the Clipbook items into the drawing. Note that these items are blocks.       
  • Select the first vector symbol.
  • Start the Train Symbol command from the Convert menu. The selected vector symbol appears in the Train Symbol dialog.
  • IMPORTANT! Select connection lines for the symbol with the Select connection lines button . (Connection lines are 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 symbol template with the name - elec_1.

INFORMATION: By default templates are saved in the Shapes folder, located in the program folder. You can create your own subfolders to save new symbols in, e.g. for this exercise, create a subfolder called Training.

  • Choose the next vector symbol.
  • Press the Create Symbol from selection button - the new symbol appears in the Train Symbol dialog.
  • Repeat this procedure for all symbols contained in the Clipbook with the names - elec_2, elec_3, elec_4, elec_5, elec_6 and elec_7 - so you train the program to recognize all these symbols.
  • Close the Train Symbol and Clipbook dialogs.       

Tuning vectorization parameters

Choose Conversion Options from the Convert menu.
Note that when loading the example, the vectorization parameters stored in the Electr.cws document file are loaded too. So, in this example we are only going to tune symbol recognition.

To turn on symbol recognition, do the following:

  • In the Recognition tab of the R2V Conversion Options dialog, select Symbols.
  • Open the Symbols tab.
  • Select the newly created group of symbols - Training, or each separate symbol presented in the scheme. 
  • Set Strategy - Standard or Smart
  • Set the Accuracy slider to the Low position. 
  • Select Fixed Scale and set scale equal to 1
  • In the Orientation field, specify Horizontal and Vertical.
  • Press OK.          

Running vectorization

To run vectorization, choose Raster 2 Vector from the Convert 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