Exercise S9: Using Bitonal Filters and Editing Tools

In this exercise you use bitonal filters to improve raster line work and use raster editing tools to remove unwanted spots from an image.

In this exercise, you improve existing line work by applying a line thickening filter to a portion of the drawing. You also use the raster Remove tool to remove unwanted raster pixels from the drawing.

Related Exercise

Before doing this exercise, ensure that AutoCAD Raster Design toolset options are set as described in the exercise Exercise A1: Setting AutoCAD Raster Design Toolset Options.

Exercise

  1. In the ..\Program Files\Autodesk\ApplicationPlugins\RasterDesign2024.Bundle\Contents\Tutorials\Tutorial2 folder, open the drawing file Scanned_06.dwg.

    Clean up jagged line work

  2. On the ribbon, click View tab Named Views panel View Manager . Then expand the Model Views node and select the view named TU-pad, click Set Current, and click OK.

    Some of the raster lines are very thin. Some lines, such as the dimension lines, have gaps due to poor scanning quality.

  3. On the ribbon, click Raster Tools tab Edit panel Process Image drop-down menu Bitonal Filters . Then (as noted on the command line) press Enter to select the whole image.
  4. In the Bitonal Filters dialog box, select Thicken for the filter type, and enter 2 for the number of passes. Verify that all directions are checked, then click OK.

    After you thicken the lines twice, some closely spaced parallel lines have merged into a single line.

    Undo the Bitonal Filter Thicken command

  5. Enter u to undo the Thicken command.
  6. On the ribbon, click Raster Tools tab Edit panel Process Image drop-down menu Bitonal Filters . Then press Enter to select the whole image.
  7. Again select Thicken for the filter type, but select 1 for the number of passes, then click OK.

    With one pass, the gaps in dimension lines are repaired, but the closely spaced lines remain separate. Some experimentation and iteration is often necessary to achieve optimum results with filters.

  8. On the ribbon, click View tab Named Views panel View Manager . Then expand the Model Views node and select the view named TU_extents, click Set Current, and click OK.

    AutoCAD Raster Design toolset has applied the thickening filter to the entire image.

  9. Use PAN and ZOOM to examine the line work in the image.

    Remove spots

  10. On the ribbon, click View tab Named Views panel View Manager . Then expand the Model Views node and select the view named TU_spots, click Set Current, and click OK.

    This area of the image contains spots (scanning artifacts) from small holes in the original drawing.

  11. On the ribbon, click Raster Tools tab Edit panel Remove drop-down menu Circular Region .
  12. Click the middle of a spot for the center point, then click a second point to mark the radius of the circular area to be removed.
  13. Press Enter to repeat the command and draw a circle to remove another artifact.
  14. Close the drawing without saving changes.