![]() |
||||
|
|
|
|||
Converting from scans to CAD vectors and other raster image issues. If we don't answer your question below Tell us your needs Please feel free to print this out and read it at your leisure.
|
||
|
What's the difference between raster and vector files? |
||
|
|
A raster image is roughly
equivalent to a newspaper photograph. If you look closely you see
that it is made up of lots of small dots. The density of these
dots is referred to by resolution, measured in dots per inch
(stated as 'dpi'). Raster files are stored in many file formats.
TIFF is a common example. Vectors are used to describe specific objects defining their size,
position and geometry. The image seen on screen in a CAD
application is only a visual representation of the vector file.
The vector information in a CAD file is mathematical. It is not
stored as an image. So, for example, a vector line is an absolute line connecting two
or more points; a vector curve is described by source coordinates,
a polynomial equation and end point coordinates. Vector information is stored in many different file formats, one
of which is DXF. The primary function of the DXF file is to permit
CAD vector information to be exchanged between different CAD
applications. |
|
|
Do scans work in a CAD program? |
||
|
Scanners produce raster images,
not the vectors used in CAD programs. When CAD software allows
import of a raster, it will display it as a raster (i.e. dot
based) image within the CAD document. |
||
|
How can I use my desktop scanner to create CAD files? |
||
|
Paper to CAD (raster to vector)
software such as TracTrix take your scans, convert them to vectors
and output them as a DWG, DXF, IGES, HPGL or other vector file
format. In the case of TracTrix this can be done within AutoCAD
itself or outside of AutoCAD. |
||
|
What's the difference between pixels and dots per inch? Is a dot a pixel? |
||
|
A pixel is a minute circular
point of light about 10 or 12 thousandths of an inch in diameter
(sometimes stated as 10 or 12 'mils') created on a monitor screen.
A dot is a sample taken by a scanner for representation in a
raster image. A 300 dots per inch (dpi) scan takes snapshots of
dots which are about 3 mils across (3,33333....mils to be exact). To
represent a 300 dpi scan on screen at a 1:1 scale your computer
typically has to consolidate groups of 16 dots (each 3.33... mils
diameter) into a single pixel (10 - 12 mils diameter) This
means that the raster image you see on screen is only an
approximation of the underlying digital 'dpi' information from
your scan. And your scan itself is an approximation. Sometimes the
screen appearance can be disconcerting. |
||
|
Why can't I just edit my raster files and not have to bother taking them to vector? |
||
|
Raster files are excellent for
visual purposes, for Web posting and distribution, for archiving
and for security in release control (see Trix
RasterServer) - after
all they are a picture of the original image just like a print.
TracTrix does provide raster editing tools so you can edit and
clean up your scans. But raster editing can be tedious if there
are considerable modifications to be done - especially if you are
used to the power of a CAD package. And all CAD software
uses vector objects instead of rasters. The primary benefits are
ability to precisely describe, create, scale and manipulate
individual objects. |
||
|
In image resolution, what's the difference between 400 dpi true and 400 dpi interpolated? |
||
|
True resolution is the number of
dots per inch of reflected light captured by the scanner head. The
scanner head is physically limited in the number of dots which it
can capture. Interpolation software (usually built in to the scanner, but also
available in raster manipulation programs) can make a good guess
at what lies between the dots recorded by the scanner. |
||
|
Is there an international standard for vectorization? |
||
|
No. But conversion of paper to
CAD and indexed raster images may provide you and your
organization with an excellent opportunity to begin implementing
ISO 9000 quality standards. |
||
|
I've too many drawings to vectorize in-house. How should I choose a conversion bureau? |
||
|
There is a pretty clear
relationship between price and quality in bureau conversion. We
recommend starting with a pilot project comprising two stages. In
the first stage establish that the bureau can deliver to your
required quality for a small sample of drawings, say five or ten. |
||
|
If I have a small or hand-held scanner, can I scan a big drawing in pieces and 'stitch' them together afterwards? |
||
|
If you have access to a large
format scanner use it instead of stitching small images together.
TracTrix can convert very large drawings (E/A0 and above).
Many areas have copy shops or similar reproduction shops where a
large document can be scanned to disk without editing at very
reasonable prices. For instance a busy 'A0' size drawing scanned at 300 dpi
monochrome (black and white) can be stored on a 3 1/2"
diskette or emailed to you from your scanning bureau. The raster
file on disk can then be vectorized in TracTrix at your
convenience. Do be sure that your bureaus understands the level of
quality and resolution you require before they scan the drawings.
Vector output is only as good as the raster input. Advice on how
to scan for best results is included in TracTrix manuals. |
||
|
What should I be aware of before I start converting images to CAD? |
||
|
Vectorizing packages do not add
information to your original drawing. We tend to think of drawings
as being super accurate. This is not true.
An
image on paper is imperfect, inaccurate and imprecise.
This may seem like a heresy to all who (like us) have slaved over
drawing boards. Think about what we do when we 'read' a drawing: |
||
|
What are my options when considering how to get from paper to CAD? |
||
|
There are several methods that
will help you take a paper drawing or print into CAD. You could
simply redraw from scratch in a CAD program, you could create a
vector file from the drawing on a digitizing tablet, you could
scan the drawing, open it in a 'Head-up' digitizing program on
your monitor and digitize to vectors with a mouse much like the
digitizing tablet or you can use an automatic raster-to-vector
program like TracTrix. |
||
|
So what's the process involved in translating paper to CAD? |
||
|
It always requires two stages.
In the first you scan and convert a raster image of the original
drawing to CAD vectors . In the second, you check that the CAD
representation created by vectorizing meets your need for accuracy
and purpose. |
||
|
What else should I be aware of when considering paper to CAD conversion? |
||
|
Manipulating large image files
is best done with plenty of RAM. For example, a 300 dpi scan of an
A3 size drawing will create an uncompressed file that is
nearly 17 Megabytes. RAM therefore is an important consideration
when converting and manipulating image files. At least 32 or even
better 64 meg of RAM is recommended for paper to CAD conversion. |
||
|
How about drawings that have been reduced to a smaller size? |
||
|
When large drawings are reduced
to a smaller size (using the 'reduce' function on a scanner or
copier) lines and details tend to bleed together into
indiscernible blobs of pixels. Parallel lines that are close
together blend into one line. Small holes in the original drawing
close up to a solid black object. TracTrix cannot 'read' through
these solid black objects to figure out what they are. Therefore
we do not recommend reduced size drawings as a starting point for
automatic raster-to-vector conversion. |
||
|
What is the difference between accuracy and precision in vectorizing |
||
|
Repeating the point above:
Scanning paper to create a raster image does not improve the
quality in any way. As a matter of fact the scan is a less perfect
than the original. Vectorizing software of any type can only
vectorize that which it can 'see', the pixels in the raster image.
The resultant vectors are no more perfect than the raster. |
||
|
Does high resolution (dpi) assure vector accuracy? |
||
|
TracTrix follows either the
centerline on lines or the outline of images. It achieves this by
looking for pixels. In centerline tracking, TracTrix looks for the
chosen line width by looking at pixel quantities across line and
seeks the mean center of the line. Having more pixels from a
higher resolution will not necessarily create a "better"
mean centerline. |
||
|
Horizontal and vertical vector lines on screen do not appear to be straight, but they were in the original drawing. Why? |
||
|
What you see on screen is only a
visual display of the actual stored CAD file and does not
represent what the file will create on a plotter or printer. The
vector points, also seen on screen, more accurately depict the
vectors as they will be plotted. What you are seeing is the result
of a slightly askew scan. |
||
|
How come some vector files are bigger than raster files of the same image? |
||
|
The raster image size is based
upon the resolution (dpi) and the physical size of the image. The
vector file size is based upon the number of vector entities
required to represent the raster file. The relationship between
the two varies with the content of the drawings, the entity types
in the vector file, the raster format used and whether there is
compression in the raster format. |
||
|
My drawings are already in CAD. How do I publish them electronically around my company? |
||
|
After more than a decade of
building engineering document management systems it is clear to us
that raster file formats are the most secure, tamper-proof,
durable and easiest method for publishing and archiving CAD
designs. For some of the reasons take a look at our
RasterServer page. |
||
|
How can I publish engineering drawings on the Internet? |
||
|
The simplest method is to
rasterize completed CAD designs from DWG or DXF to a raster format
that can be viewed by a Web Browser. These formats are PNG, JPEG
or GIF. These can be published using the regular IMG tag in HTML.
TracTrix
and
Trix
RasterServer produce the
PNG format for this purpose. The user needs nothing more than a
recent Web Browsing software. |
||
|
What is the typical TracTrix Paper to CAD conversion process? |
||
|
Scan your original into TracTrix.
Select the description which fits your type of drawing from
pre-defined types (e.g. architectural, contour, illustration,
logo, mechanical). Select the portion of the drawing to convert.
TracTrix then automatically processes the raster lines into
vectors. Compare the vectors with the underlying original raster
image and make any post-processing changes using TracTrix'
built-in vector editing tools. Export the result in the vector
format of your choice. |
||
|
Speed/Expectations |
||
|
TracTrix typically can
convert a busy E-sized drawing in about 2 minutes on a Pentium
400MHz machine. |
||
|
Will TracTrix give me a DWG file? |
||
|
Yes. |
||
|
Do I have to use TracTrix to drive my scanner, or will any image file work? |
||
|
TracTrix can start with a raster
image file from many different sources. Your, or your vendor's or
your bureau's scanner(s) will produce a raster image file which
TracTrix can work with. Digital cameras, scans from aperture cards
and film are all raster files that TracTrix can convert. TracTrix
also includes a TWAIN driver and large format scanner drivers to
directly scan images into TracTrix. |
||
|
What raster and vector formats does TracTrix work with? |
||
|
Depending on version of TracTrix
used, TracTrix can import |
||
|
How do I convert CAD files to non-CAD files for archiving or distribution? |
||
|
TracTrix can
individually convert DWG, DXF and HPGL CAD files to
high-resolution raster files. For batch conversion consider
Trix
RasterServer. |
||
|
Is TracTrix a scanner? |
||
|
TracTrix is software. It does
not include hardware. TracTrix can either drive or use the raster
output from practically every scanner available. If you do not
have a scanner you will need to acquire one to run TracTrix
(unless you plan to use a bureau for your scanning). Plan to
purchase a scanner which generates at least 300 dots per inch
resolution and if a small format scanner preferably one that
supports the TWAIN interface. TracTrix also drives several large
format scanners including, Contex, Ideal, Vemco, CalComp, Océ and
WideCom. You should also look for a scanner which also scans and
outputs in colour so that you can take advantage of TracTrix
vectorization from coloured originals. |
||
|
I have an old scanner. Will it work with TracTrix? |
||
|
If your scanner can create a
monochrome (also called bi-tonal or black and white - i.e. no
shades of gray) TIFF, CALS or one of many other monochrome image
file formats you can use TracTrix. |
||
|
Is there any way I can use TracTrix without a scanner? |
||
|
The short answer is that
TracTrix requires the type of image that scanners create. A more
complete answer is that you do not need to own or acquire a
scanner in order to use TracTrix. |
||
|
What will I save by using TracTrix? |
||
|
Exact savings depend upon the
quality of the original drawing and the type of image being
brought into CAD. Some users report costs savings as high as 80%
against conventional methods such as complete redraws, tablet
digitizing and heads-up digitizing. And for some images, such as
contours, automatic vectorization by TracTrix saves even more. |
||
|
What will I gain by using TracTrix? |
||
|
This question is a bit different
from 'What will I save..? TracTrix has opened new methods to the
'time to market' issues so important to today's manufacturers.
Many companies employ TracTrix to shorten
time to manufacture by allowing
sketches and other irregular drawings to be rapidly taken into CAD
format for use in numerically controlled milling machines,
machining centers, laser, water jet and plasma arc cutters. |
||
|
What does TracTrix do with text, symbols - Optical Character Recognition (OCR) ? |
||
|
From our experience, text on
engineering drawings, especially numerals and angled text, is very
difficult to capture adequately with conventional OCR technology. |
||
|
Can I just vectorize what I want and not the whole drawing? |
||
|
Yes. TracTrix allows
"windowing" around that portion you wish to vectorize. |
||
|
Does TracTrix despeckle or eliminate "noise"? |
||
|
Despeckling or noise elimination
means eliminating small groups of pixels which create visual
'dirt' or visual clutter in a raster image. TracTrix settings
allow the user to define the minimum size of object to be
vectorized. In this way 'dirt' is ignored and not vectorized. |
||
|
Does TracTrix do orthogonal adjustment? |
||
|
Squaring up corners is referred
to as orthogonal adjustment. TracTrix provides this facility. It
also allows you to adjust the whole of or parts of a vector image
to be absolutely vertical or horizontal. |
||
|
Does TracTrix recognize circles? |
||
|
TracTrix recognizes circles as
well as arcs, lines, polylines and Bezier curves. |
||
|
How far can TracTrix zoom in? |
||
|
It can zoom enough so that the
user can see down to the single pixel level. |
||
|
Can TracTrix show a vector over a raster? |
||
|
Yes, this is a facility in
TracTrix and is a useful way to check that the vectors represent
the raster image. |
||
|
Can TracTrix show dimensions in metrics and/or inches? |
||
|
Yes, either one, it's users
choice each time it's used. |
||
|
Can TracTrix be set to jump a gap in a line? |
||
|
Incomplete or broken lines can
be edited, in the raster with our raster editing tools or as
vectors, into complete or single lines within TracTrix or as
vectors in your CAD software. |
||
|
How many layers can TracTrix put vectors on? |
||
|
TracTrix can create and place
vectors on a near unlimited number of layers. This is achieved by
identifying in advance the different raster line widths to be
vectorized then each set of line widths is placed on different
layers after vectorization. |
||
|
Can I use TracTrix without a CAD package? |
||
|
TracTrix installs on your
CPU as a standalone conversion tool that does not require a CAD
package and as an object ARX application that runs within AutoCAD.
No separate license is required. TracTrix Desktop 2 is a
standalone package. Most users do have a CAD package into which
the resultant TracTrix vectors are taken either before or after
editing in TracTrix. Some NC users take their cutting input files
directly from TracTrix. |
||
|
How does TracTrix raster-to-vector conversion work? |
||
|
An algorithm in TracTrix is
designed to seek the pixels in the raster image and 'follow' them
according to the parameters set by the operator. These include
following the edge line of pixels in the 'Outline' following mode
or following the centerline of the selected line width of pixels
in the 'Centerline' following mode. |
||
|
Definitions |
||
|
DXF Hybrid file ISO 9000 Line
following Splines,
B-splines,
NURBS and Bezier curves A Bezier curve represents an equation of an order one less than the number of points being considered. A NURBS (Non uniform rational B-spline) is a B-spline curve or surface defined by a series of weighted control points and one or more knot vectors. TWAIN |
||