Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUSRE40384 E1
Publication typeGrant
Application numberUS 10/769,728
Publication dateJun 17, 2008
Filing dateJan 30, 2004
Priority dateJun 14, 1989
Publication number10769728, 769728, US RE40384 E1, US RE40384E1, US-E1-RE40384, USRE40384 E1, USRE40384E1
InventorsWilliam Opincar, Wylie McDonald, Paul Bennett
Original AssigneeAmerican Imaging Services, Inc.
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Apparatus and method for manipulating scanned documents in a computer aided design system
US RE40384 E1
Abstract
An apparatus and method for manipulating scanned documents using computer aided design (CAD) commands includes a link program which receives the CAD commands and displays all or selected portions of a raster-based image, which is created by scanning a hard copy document. The link program will display the portion of the raster image which fits within a predetermined CAD window and will scale the raster image up or down as necessary to fit within the display window. The raster image is displayed on a computer screen and provides a useful reference for an operator to create a CAD image which is a duplicate of the raster image by tracing directly over the raster image or, alternatively, to implement desired changes in the raster image using CAD commands. An edit program merges the CAD image and the original raster image to create a new, updated raster image, which includes all CAD-generated changes made by the operator. The updated raster image can be reproduced in hard copy form by a raster plotter.
Images(10)
Previous page
Next page
Claims(114)
1. In an electronic data processing system, apparatus for manipulating a scanned document, comprising, in combination:
first means for electronically displaying a first image representing the scanned document, said first image being a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape;
second means for electronically displaying in response to user input commands, simultaneously with the display of said raster first image, a second image, said second image being a vector-based image comprised of a plurality of vectors having respective defined starting and ending points having predetermined positions relative to said picture elements of said raster first image and representing user-generated alterations to the first shape of said at least one graphic element, and said second image being displayed in a window having coordinates referenced to a vector origin, wherein said first image is maintained in registration with said second image using said coordinates; and
merging means for merging said first and second images to provide an edited raster image wherein said at least one graphic element has a second shape differing from said first shape in accordance with at least one of said plurality of vectors displayed responsive to the user input commands.
2. Apparatus according to claim 1 further including means for producing a hard copy of the edited raster first image.
3. Apparatus according to claim 1 further including manipulating means, responsive to a user input command indicating that only a selected portion of the scanned document is to be displayed, for manipulating said raster first image to display only a portion of the scanned document.
4. Apparatus according to claim 3 wherein each of said picture elements of said raster first image is in either an on state or an off state, said first means comprising first color means for displaying each element which is in an on state in a first color associated therewith and for displaying each element which is in an off state in a second color associated therewith, which is different from the first color.
5. Apparatus according to claim 4 wherein said manipulating means comprises means for determining a location and boundaries of a rectangular window representing the selected portion of the scanned document which is to be displayed, means for identifying the picture elements of the raster first image which fall within the boundaries of the display window and means for adjusting a scale of the raster first image, if necessary, to conform to the display window.
6. Apparatus according to claim 4 wherein said second means includes second color means for displaying each of said plurality of vectors of said vector-based second image in a predetermined color associated therewith.
7. Apparatus according to claim 6 wherein said merging means comprises:
first identifying means for identifying a first set of picture elements in the on state which are overlaid by corresponding vectors of the vector-based image having the second color associated therewith and for changing said first set of picture elements from the on state to the off state;
second identifying means for identifying a second set of picture elements in the off state which are overlaid by corresponding vectors of the vector-based second image having a color other than the second color associated therewith and for changing said second set of picture elements from the off state to the on state; and
means for generating an edited raster image according to the changes in said first and second sets of picture elements.
8. Apparatus according to claim 1, wherein said second means comprises a computer aided design system (CAD), and said merging means comprises:
editing means responsive to CAD user input commands of said second image for modifying said first image in accordance therewith.
9. Apparatus according to claim 8, further comprising a raster data base for storing raster data representing said first image,
said editing means responding to said CAD user input commands by accessing and editing raster data in said raster data base.
10. Apparatus according to claim 9 further comprising means for driving a display in accordance with raster data from said raster data base.
11. Apparatus according to claim 9, wherein said editing means comprises means for modifying said raster data base by storing therein edited raster data.
12. Apparatus according to claim 8, wherein said electronic data processing system includes an operating system having an interrupt vector table, further comprising:
driver identification means for identification of existence of a display driver interrupt address in the vector table,
relocation means for relocating a CAD generated display driver interrupt from said display driver interrupt address to a clear location, and
remapping means for remapping a link program means to said display driver interrupt address.
13. Apparatus according to claim 1, further including manipulating means responsive to user input CAD commands for simultaneously manipulating a hybrid image including both said first, raster, image and said second, vector-based, image.
14. In an electronic data processing system, a method of manipulating a scanned document, comprising the steps of:
electronically displaying a first image representing the scanned document, said first image being a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape;
electronically displaying in response to user input commands, simultaneously with the display of said raster first image, a second image, said second image being a vector-based image comprised of a plurality of vectors having respective defined staring and ending points having predetermined positions relative to said picture elements and representing user-generated alterations to the first shape of said at least one graphic elements, said second image being displayed in a window having coordinates referenced to a vector origin, wherein said first image is maintained in registration with said second image using said coordinates; and
merging said first and second images to provide an edited raster image wherein said at least one graphic element has a second shape differing from said first shape by at least one of said plurality of vectors displayed responsive to the user input commands.
15. The method according to claim 14 further including the step of responding to a user input command indicating that only a selected portion of the scanned document is to be displayed by manipulating the raster first image so that only the selected portion of the document is displayed.
16. The method according to claim 14 wherein each of said plurality of picture elements of said raster first image is in either an on or an off state,
said step of electronically displaying said raster first image including the further steps of displaying each element which is in an on state in a first color associated therewith and displaying each element which is in an off state in a second color associated therewith, said second color being different from the first color.
17. The method according to claim 16 wherein the step of manipulating the raster first image to display only the selected portion of the scanned document comprises the following sub-steps:
determining a location and boundaries of a substantially rectangular window representing the selected portion of the scanned document which is to be displayed;
identifying the picture elements of the raster first image which fall within the boundaries of the display window to determine the portion of the raster first image which is to be displayed; and
adjusting a scale of the portion of the raster first image which is to be displayed, if necessary, to conform to the display window.
18. The method according to claim 16 wherein said step of electronically displaying said vector-based second image comprises the step of displaying each of the vectors of said vector-based second image in a predetermined color associated therewith.
19. The method according to claim 18 wherein the step of merging the raster first image and the vector-based second image comprises the following sub-steps:
identifying a first set of picture elements in the on state which are overlaid by corresponding vectors of the vector-based second image having the second color associated therewith and changing said first set of picture elements from the on state of the off state;
identifying a second set of picture elements in the off state which are overlaid by corresponding vectors having a color other than the second color associated therewith and changing said second set of picture elements from the off state to the on state; and
generating an edited raster image in accordance with the changes in said first and second sets of picture elements.
20. In an electronic data processing system which is responsive to user input commands, apparatus for manipulating a scanned document, comprising:
first means for generating a first digital coded image of the scanned document, said first digital coded image being a raster image comprised of a plurality of discrete picture elements each of which has a defined position relative to at predetermined reference position for defining at least one graphic element having a first shape;
display means for electronically displaying the raster image;
second means for generating a second digital coded image in response to the user input commands simultaneous with the display of said raster image, said second digital coded image being a vector-based image comprised of a plurality of vectors having respective defined starting and ending points relative to the predetermined reference position such that said vectors register with predetermined locations in said raster image and define alterations to the first shape of said at least one graphic element, said second digital coded image being displayed in a window having coordinates referenced to a vector origin, wherein said raster image is maintained in registration with said vector-based image using said coordinates; and
merging means for electronically merging said raster and vector-based images to provide an edited raster image wherein said at least one graphic element has a second shape differing from said first shape in accordance with at least one of said plurality of vectors displayed responsive to the user input commands.
21. Apparatus according to claim 20 further including manipulating means, responsive to a user input command indicating that only a selected portion of the scanned document is to be displayed, for manipulating the raster image to display only the selected portion of the scanned document.
22. Apparatus according to claim 21 wherein said manipulating means comprises:
means for determining location and boundaries of a rectangular window representing the selected portion of the scanned document which is to be displayed;
means for identifying particular ones of the picture elements which fall within the boundaries of the display window; and
means for adjusting a scale of the raster image to conform to the display window.
23. Apparatus according to claim 20 wherein each of said picture elements of said raster image is in either an on state or an off state, further comprising:
means for associating a first color with each picture element which is in an on state and for associating a second color with each picture element which is in an off state, said second color being different from the first color.
24. Apparatus according to claim 23, further comprising means for associating a respective predetermined color with wherein each of said vectors.
25. Apparatus according to claim 23 wherein said second means operates to generate said vector-based image to include a plurality of vectors representing a predetermined shape at a particular position with respect to the predetermined reference position.
26. Apparatus for manipulating a scanned document in a computer aided design system responsive to user input commands, comprising:
first means for electronically displaying a first image representing the scanned document, said first image representing at least one graphic element having a first shape, said first image being displayed in foreground and background colors, said background color being different from said foreground color; and
second means for electronically displaying a second image simultaneously with the display of said first image, said second image being generated in response to user input commands and representing alterations to the first shape of said at least one graphic element, said second means displaying said second image such that said second image registers with predetermined locations of said first image and overlays at least a portion of said first image, and such that said second image is displayed in at least two colors, one of which is said background color, said second image being displayed in a window having coordinates referenced to a vector origin said first image is maintained in registration with said second image using said coordinates;
said first and second means operating in cooperation to effect a visual erasure of a first portion of said graphic element of said first image when said first portion of said first image is displayed in said foreground color and is overlaid by a portion of said second image in said background color, and
said first and second means operating in cooperation to effect a visual addition to a second portion of said first graphic element of said first image displayed in said background color where a portion of said second image having the other of said at least two colors overlays the second portion of said first image displayed in said background color.
27. Apparatus according to claim 26 wherein said first image is a raster image comprised of a plurality of picture elements, each of which is either in an on or an off state, said first means displaying each element which is in an on state in said first color and displaying each element which is an off state in said second color, each of said picture elements having a defined position with respect to a predetermined reference position, said second image being a vector-based image comprised of a plurality of vectors, said second means displaying each of said vectors in a predetermined color, and including
identifying means for identifying a first set of picture elements comprising said first portion of said first image and for changing said first set of picture elements from an on state to an off state and means for identifying a second set of picture elements comprising said second portion of said first image and for changing the second set of picture elements from an off state to an on state.
28. Apparatus according to claim 27 wherein said other of said two colors of said second image represents the foreground color of the raster image.
29. Apparatus according to claim 26 further including means for storing in the system the edited first image having the altered first shape and for generating a hard copy of the edited first image.
30. Apparatus for manipulating a scanned document in a computer aided design system which uses computer aided design user input commands for producing a design drawing on a computer screen display, said apparatus comprising:
means for determining the location and boundaries in real world units of a rectangular window representing a selected portion of the scanned document which is to be displayed;
means for identifying picture elements of a first image representing at least a portion of the scanned document which fall within the boundaries of said window;
means for adjusting a scale of said first, image, as necessary, to conform to said window;
first means for electronically displaying said first image as a raster image including a plurality of discrete picture elements defining at least one geometric object having a first shape and for displaying said first image in foreground and background colors, said foreground color being different from said background color;
second means for electronically displaying a second image simultaneous with the display of said first image, said second means generating said second image in response to user input commands and representing alterations tied the shade of said first shape of said at least one geometric object,;
said second means displaying said second image in registration with predetermined locations of said first image, and to overlay at least a portion of said first image, said second means displaying said second image in at least two colors, one of which is said background color, said second image being displayed in a window having coordinates referenced to a vector origin, wherein said first image is maintained in registration with said second image using said coordinates;
said first and second means operating in cooperation so that when first portions of said first image displayed in said foreground color are overlaid by portions of said second image displayed in said background color, said first portions visually appear to have been erased, and so that at positions where portions of said second image displayed in the other color of said at least two colors of said second image overlay second portions of said first image displayed in said background color additions are provided to said second portions, thus altering said first shape to provide a second shape for said at least one graphic element; and
means for merging said first image and said second image to provide a resulting edited raster image incorporating said second shape of said at least one graphic element of said second image.
31. Apparatus according to claim 30, wherein said means for merging comprises:
editing means responsive to CAD user input commands of said second image for modifying said first image in accordance therewith.
32. Apparatus according to claim 31, further comprising a raster data base for storing raster data representing said first image,
said editing means responding to said CAD user input commands by accessing and editing raster data in said raster data base.
33. Apparatus according to claim 32 further comprising means for driving the computer screen display in accordance with raster data from said raster data base.
34. Apparatus according to claim 32, wherein said editing means comprises means for modifying said raster data base by storing therein edited raster data.
35. Apparatus according to claim 31, wherein said CAD system includes an operating system having an interrupt vector table, further comprising:
driver identification means for identification of existence of a display driver interrupt address in the vector table,
relocation means for relocating a CAD generated display driver interrupt from said display driver interrupt address to a clear location, and
remapping means for remapping a link program means to said display driver interrupt address.
36. Apparatus according to claim 35, further comprising intercepting means for intercepting a display driver interrupt generated by said CAD system in response to a user input command, and
service means for servicing said interrupt by accessing and editing raster data in a raster data base and by driving the computer screen display in accordance with the edited data from raster data base.
37. In a computer aided design (CAD) system utilizing computer aided design user input commands to produce and modify a vector-based image, the improvement comprising:
raster data base means for storing raster data representing a plurality of discrete picture elements defining at least one geometric object having a first shape, and;
edit program means, responsive to vector-based CAD user input commands to generate or modify said vector-based image, for modifying said raster data representing said plurality of discrete picture elements in accordance with said vector-based CAD user input commands;
wherein each of said plurality of discrete picture elements has at least one associated coordinate location referenced to a vector origin; and
wherein each of the plurality of discrete picture elements are maintained in registration with said vector based image using said at least one associated coordinate location.
38. Apparatus according to claim 37 further comprising means for storing data modified by said edit program means in said raster data base.
39. Apparatus according to claim 38 further comprising display driving means for driving a display in accordance with said data modified by said editing means.
40. Apparatus according to claim 39 wherein said display driving means comprises means for displaying a raster image including picture elements representing only the raster data as modified by said edit program means in accordance with said vector-based CAD user input commands.
41. Apparatus according to claim 39 wherein said display driving means comprises means for displaying a composite image and causing said composite image to include both picture elements representing raster data and vector elements representing vector-based data.
42. Apparatus according to claim 37 wherein said edit program means comprises means comprises:
driver identification means for identification of existence of a display driver driven by the CAD system,
relocation means for relocating a display driver identified by said driver identification means from a driver address to a clear location therefor, and
remapping means for remapping the edit program means to said driver address.
43. Apparatus according to claim 8, wherein said first display means intercepts a display command generated by said second means and determines whether the display command affects said first image and, if the display command affects said first image, said first display means responds to said display command.
44. Apparatus according to claim 8, wherein said first display means communicates with said second display means via an interprocess communication path.
45. Apparatus according to claim 1 wherein said first means determines a zoom ratio between said first image and said second image.
46. Apparatus according to claim 1 wherein said first means uses a raster scale to determine the zoom ratio.
47. Apparatus according to claim 1 wherein said first means determines which discrete picture elements of said first image are to be displayed within the window in which said second image is displayed.
48. Apparatus according to claim 1 wherein said first means maintains the first image in registration with the second image such that changes to the location, size or orientation of a displayed portion of the second image will result in corresponding changes to a displayed portion of the first image.
49. The apparatus according to claim 1 wherein said second means includes a layer means for displaying each of said plurality of vectors in one or more layers.
50. The apparatus according to claim 49 wherein said edited raster image has a second shape differing from said first shape in accordance with at least one of said plurality of vectors displayed in at least one of said layers.
51. The method according to claim 14 wherein the step of electronically displaying said vector-based image comprises the step of displaying each of the vectors of said vector-based image in a layer and wherein there is at least one layer.
52. The method according to claim 51 wherein said edited raster image has a second shape differing from said first shape by at least one of said layers.
53. The method of claim 14, wherein said second image adds information to the first image.
54. The method of claim 14, wherein said second image replaces information of the first image.
55. The method of claim 14, wherein registration of each discrete picture element with said second image is maintained.
56. The improvement of claim 37, wherein each of the coordinate locations are referenced to the origin in real world units.
57. The improvement of claim 37, wherein said vector-based image adds information to the raster data.
58. The improvement of claim 37, wherein said vector-based image replaces information of the raster data.
59. In an electronic data processing system, apparatus for manipulating a scanned document, comprising, in combination:
first means for electronically displaying a first image representing the scanned document, said first image being a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape;
second means for electronically displaying in response to user input commands, simultaneously with the display of said raster first image, a second image, said second image being a vector-based image comprised of a plurality of vectors having respective defined starting and ending points having predetermined positions relative to said picture elements of said raster first image and representing user-generated alterations to the first shape of said at least one graphic element;
merging means for merging said first and second images to provide an edited raster image wherein said at least one graphic element has a second shape differing from said first shape in accordance with at least one of said plurality of vectors displayed responsive to the user input commands;
wherein said second means comprises a computer aided design system (CAD), and said merging means includes;
editing means responsive to CAD user input commands of said second image for modifying said first image in accordance therewith; and
wherein said electronic data processing system includes an operating system having an interrupt vector table, further comprising:
driver identification means for identification of existence of a display driver interrupt address in the vector table,
relocation means for relocating a CAD generated display driver interrupt from said display driver interrupt address to a clear location, and
remapping means for remapping a link program means to said display driver interrupt address.
60. Apparatus for manipulating a scanned document in a computer aided design system which uses computer aided design user input commands for producing a design drawing on a computer screen display, said apparatus comprising:
means for determining the location and boundaries of a rectangular window representing a selected portion of the scanned document which is to be displayed;
means for identifying picture elements of a first image representing at least a portion of the scanned document which fall within the boundaries of said window;
means for adjusting a scale of said first, image, as necessary, to conform to said window;
first means for electronically displaying said first image as a raster image including a plurality of discrete picture elements defining at least one geometric object having a first shape and for displaying said first image in foreground and background colors, said foreground color being different from said background color;
second means for electronically displaying a second image simultaneous with the display of said first image, said second means generating said second image in response to user input commands and representing alterations tied the shade of said first shape of said at least one geometric object,
said second means displaying said second image in a window having coordinates referenced to a vector origin, wherein said first image is maintained in registration with said second image using said coordinates, and overlaying at least a portion of said first image, said second means displaying said second image in at least two colors, one of which is said background color;
said first and second means operating in cooperation so that when first portions of said first image displayed in said foreground color are overlaid by portions of said second image displayed in said background color, said first portions visually appear to have been erased, and so that at positions where portions of said second image displayed in the other color of said at least two colors of said second image overlay second portions of said first image displayed in said background color additions are provided to said second portion, thus altering said first shape to provided a second shape for said at least one graphic element; and
means for merging said first image and said second image to provide a resulting edited raster image incorporating said second shape of said at least one graphic element of said second image;
wherein said means for merging includes:
editing means responsive to CAD user input commands of said second image for modifying said first image in accordance therewith; and
wherein said CAD system includes an operating system having an interrupt vector table, further comprising:
driver identification means for identification of existence of a display driver interrupt address in the vector table,
relocation means for relocating a CAD generated display driver interrupt from said display driver interrupt address to a clear location, and
remapping means for remapping a link program means to said display driver interrupt address.
61. Apparatus for manipulating a scanned document in a computer aided design system which uses computer aided design user input commands for producing a design drawing on a computer screen display, said apparatus comprising:
means for determining the location and boundaries of a rectangular window representing a selected portion of the scanned document which is to be displayed;
means for identifying picture elements of a first image representing at least a portion of the scanned document which fall within the boundaries of said window;
means for adjusting a scale of said first, image, as necessary, to conform to said window;
first means for electronically displaying said first image as a raster image including a plurality of discrete picture elements defining at least one geometric object having a first shape and for displaying said first image in foreground and background colors, said foreground color being different from said background color;
second means for electronically displaying a second image simultaneous with the display of said first image, said second means generating said second image in response to user input commands and representing alterations tied the shape of said first shape of said at least one geometric object,
said second means displaying said second image in a window having coordinates referenced to a vector origin, wherein said first image is maintained in registration with said second image using said coordinates, and overlaying at least a portion of said first image, said second means displaying said second image in at least two colors, one of which is said background color;
said first and second means operating in cooperating so that when first portions of said first image displayed in said foreground color are overlaid by portions of said second image displayed in said background color, said first portions visually appear to have been erased, and so that at positions where portions of said second image displayed in the other color of said at least two colors of said second image overlay second portions of said first image displayed in said background color additions are provided to said second portions, thus altering said first shape to provide a second shape for said at least one graphic element; and
means for merging said first image and said second image to provide a resulting edited raster image incorporating said second shape of said at least one graphic element of said second image;
wherein said means for merging includes:
editing means responsive to CAD user input commands of said second image for modifying said first image in accordance therewith; and
wherein said CAD system includes an operating system having an interrupt vector table, further comprising:
driver identification means for identification of existence of a display driver interrupt address in the vector table,
relocation means for relocating a CAD generated display driver interrupt from said display driver interrupt address to a clear location, and
remapping means for remapping a link program means to said display driver interrupt address; and
wherein said apparatus further comprises intercepting means for intercepting a display driver interrupt generated by said CAD system in response to a user input command, and
service means for serving said interrupt by accessing and editing raster data in a raster data base and by driving the computer screen display in accordance with the edited data from raster data base.
62. The apparatus of claim 26, 30, 60, or 61, wherein said second image adds information to the first image.
63. The apparatus of claim 26, 30, 60, or 61, wherein said second image replaces information of the first image.
64. The apparatus of claim 26, 30, 60, or 61, wherein registration of each discrete picture element with said second image is maintained.
65. In a computer aided design (CAD) system utilizing computer aided design user input commands to produce and modify a vector-based image, the improvement comprising:
raster data base means for storing raster data representing a plurality of discrete picture elements defining at least one geometric object having a first shape, and
edit program means, responsive to vector-based CAD user input commands to generate or modify said vector-based image, which is displayed in a window having coordinates referenced to a vector origin, for modifying said raster data representing said plurality of discrete picture elements in accordance with said vector-based CAD user input commands, wherein each of said plurality of discrete picture elements are in registration with said vector-based image using said coordinates:
wherein said edit program means includes:
driver identification means for identification of existence of a display driver driven by the CAD system,
relocation means for relocating a display driver identified by said driver identification means from a driver address to a clear location therefore, and
remapping means for remapping the edit program means to said driver address.
66. The system of claim 1, 20, or 65, wherein the coordinates are referenced to the origin in real world units.
67. The system of claim 1, 20, or 65, wherein said second image adds information to the first image.
68. The system of claim 1, 20, or 65, wherein said second image replaces information of the first image.
69. The system of claim 1, 20, or 65, wherein registration of each discrete picture element with said second image is maintained.
70. An apparatus for manipulating a scanned document in an electronic data processing system comprising:
a scanner for scanning a document to produce a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape;
a computer aided design system for generating a vector-based image in response to user input commands, said vector-based image comprising a plurality of vectors representing user-generated alterations to the first shape of said raster image;
a first computer program for simultaneously displaying the vector-based image and the raster image;
a second computer program for merging the vector-based image with the raster image to generate an edited raster image having a second shape differing from the first shape in accordance with at least one of said plurality of vectors; and
wherein the vector-based image and the raster image are displayed in a window having coordinates referenced to a vector origin, and wherein the vector-based image is maintained in registration with the raster image using said coordinates.
71. The apparatus for manipulating a scanned document according to claim 70 wherein said coordinates represent real world units and wherein said first computer program determines the real world coordinates of the display window.
72. The apparatus for manipulating a scanned document according to claim 70 wherein said first program determines settings for display of said raster image.
73. The apparatus for manipulating a scanned document according to claim 72 wherein said first computer program displays a text representing said raster settings in response to a status command from said computer aided design system.
74. The apparatus for manipulating a scanned document according to claim 70 wherein said second computer program creates a new raster file representing said edited raster image.
75. The apparatus for manipulating a scanned document according to claim 70 wherein said first computer program assigns coordinates referenced to an origin to each discrete picture element of said raster image.
76. The apparatus for manipulating a scanned document according to claim 75 wherein said coordinates for said raster image correspond to said coordinates for said vector-based image thereby maintaining the vector-based image and raster image in registration.
77. The apparatus for manipulating a scanned document according to claim 70 wherein said first computer program determines a zoom ratio between the vector-based image and the raster image.
78. The apparatus for manipulating a scanned document according to claim 70 wherein each of said plurality of discrete picture elements and each of said plurality of vectors are displayed in a foreground color or a background color and wherein said second computer program generates an edited raster image having a second shape defined by
each of said plurality of discrete picture elements that are displayed in a foreground color and not overlaid by one of the plurality of vectors displayed in a background color; and
each of said plurality of vectors displayed in a foreground color.
79. The apparatus for manipulating a scanned document according to claim 70 further comprising an output device for printing.
80. The apparatus for manipulating a scanned document according to claim 79 wherein said output device is a plotter.
81. The apparatus for manipulating a scanned document according to claim 70 wherein said vectors are generated in one or more layers and wherein the edited raster image has a second shape differing from the first shape in accordance with at least one of said layer.
82. An apparatus for manipulating a scanned document in an electronic data processing system comprising:
a scanner for scanning a document to produce a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape;
a computer aided design system for generating a vector-based image in response to user input commands, said vector-based image comprising a plurality of vectors representing user-generated alterations to the first shape of said raster image;
a computer and monitor for storing said raster image, receiving user input commands to generate said vector-based image, storing said vector-based image, and displaying said images;
a first computer program for displaying the raster image overlaid by the vector-based image on said monitor;
a second computer program for merging the vector-based image with the raster image to generate an edited raster image having a second shape differing from the first shape in accordance with at least one of said plurality of vectors; and
wherein the vector-based image and the raster image are displayed in a window having coordinates referenced to a vector origin, wherein the vector-based image is maintained in registration with the raster image using said coordinates.
83. The apparatus for manipulating a scanned document according to claim 82 wherein said coordinates represent real world units and wherein said first computer program determines the real world coordinates of the display window.
84. The apparatus for manipulating a scanned document according to claim 86 wherein said first computer program and said second computer program are parts of said computer aided design system.
85. The apparatus for manipulating a scanned document according to claim 82 wherein said first computer program and said second computer program are parts of a third computer program.
86. The apparatus for manipulating a scanned document according to claim 82 wherein said second computer program creates a new raster file representing said edited raster image.
87. The apparatus for manipulating a scanned document according to claim 82 wherein said first computer program assigns coordinates referenced to an origin to each discrete picture elements of said raster image.
88. The apparatus for manipulating a scanned document according to claim 82 wherein each of said plurality of discrete picture elements and each of said plurality of vectors are displayed in a foreground color or a background color and wherein said second computer program generates an edited raster image having a second shape defined by
each of said plurality of discrete picture elements that are displayed in a foreground color and not overlaid by one of the plurality of vectors displayed in a background color; and
each of said plurality of vectors displayed in a foreground color.
89. The apparatus for manipulating a scanned document according to claim 88 wherein said second computer program creates a new raster file comprising discrete picture elements representing said second shape.
90. The apparatus for manipulating a scanned document according to claim 82 further comprising a plotter.
91. An apparatus for manipulating a scanned document in an electronic data processing system comprising:
a scanner for scanning a document to produce a raster image comprised of a plurality of discrete picture elements defining at least one graphic element having a first shape and wherein each of said plurality of discrete picture elements is displayed in a foreground color or a background color and wherein said foreground color is different from said background color;
a computer aided design system for generating a vector-based image in response to user input commands, said vector-based image comprising a plurality of vectors representing user-generated alterations to the first shape of said raster image and wherein each of said plurality of vectors is displayed in a foreground color or a background color and wherein said foreground color is different from said background color;
a first computer program for simultaneously displaying the raster image with the vector-based image;
a second computer program for merging the vector-based image with the raster image to generate an edited raster image having a second shape differing from the first shape wherein said second shape is defined by each of said plurality of vectors displayed in a foreground color and each of said plurality of discrete picture elements that are displayed in a foreground color and not overlaid by one of the plurality of vectors displayed in a background color; and
wherein the vector-based image and the raster image are displayed in a window having coordinates referenced to a vector origin and wherein the vector-based image is maintained in registration with the raster image using said coordinates.
92. An apparatus for manipulating a scanned document in an electronic data processing system comprising:
a scanner for scanning a document to produce a raster image comprised of a plurality of discrete picture elements defining a first shape and wherein each of said plurality of discrete picture elements is displayed in a foreground color or a background color and wherein said foreground color is different from said background color;
a computer aided design system for generating a vector-based image in response to user input commands, said vector-based image comprising a plurality of vectors defining a second shape and wherein each of said plurality of vectors is displayed in a foreground color or a background color and wherein said foreground color is different from said background color;
wherein the vector-based image and the raster image are displayed in a window having coordinates referenced to a vector origin;
a first computer program for simultaneously displaying the raster image with the vector-based image and for maintaining said vector-based image in registration with said raster image using said coordinates;
a second computer program for merging the vector-based image with the raster image to generate an edited raster image having a third shape;
wherein said third shape comprises at least a portion of the first shape of said raster image and at least a portion of the second shape of said vector-based image.
93. The apparatus for manipulating a scanned document according to claim 92 wherein said third shape is defined by each of said plurality of vectors of said second shape displayed in a foreground color and each of said plurality of discrete picture elements of said first shape that are displayed in a foreground color and not overlaid by one of the plurality of vectors of said second shape displayed in a background color.
94. The apparatus for manipulating a scanned document according to claim 92 wherein said first computer program determines the boundaries of the window for displaying the vector-based image and the raster image and adjusts a scale of the raster image to fit the window.
95. The apparatus for manipulating a scanned document according to claim 92 further comprising a raster database for storing raster data.
96. The apparatus for manipulating a scanned document according to claim 92 wherein said second computer program edits raster data stored in the raster database and converts the vectors from the vector-based image into discrete picture elements.
97. The apparatus for manipulating a scanned document according to claim 92 wherein said vectors are contained in one or more layers and wherein third shape is defined by at least one of said layers.
98. An apparatus for editing a raster image comprising:
a raster database for storing raster data;
a computer aided design system adapted to generate vector-based images in response to user input commands;
an editing system that displays an edited raster image, the edited raster image including:
at least one raster image formed from the raster data, the raster image being referenced to a predetermined vector origin; and
at least one vector-based image, the vector-based image being reference to the predetermined vector origin, the vector based image representing alterations to the raster image, and the vector-based image being maintained in registration with the raster image.
99. The apparatus for editing a raster image according to claim 98 wherein said raster data comprises a plurality of digitally coded discrete picture elements defining a first shape.
100. The apparatus for editing a raster image according to claim 98 wherein said edited raster image comprises a second shape that is different from a first shape.
101. The apparatus for editing a raster image according to claim 98 wherein said computer program generates a raster file for storing said edited raster image.
102. The apparatus of claim 26, 30, 60, 61, 70, 82, 91, 92, or 98, wherein the coordinates are referenced to the origin in real world units.
103. The apparatus of claim 70, 82, 91, 92, or 98, wherein said vector-based image adds information to the raster image.
104. The apparatus of claim 70, 82, 91, 92, or 98, wherein said vector-based image replaces information of the raster image.
105. The apparatus of claim 98, wherein said vector-based image adds information to the first raster image.
106. The apparatus of claim 98, wherein said second image replaces information of the first raster image.
107. The apparatus of claim 98, wherein registration of each discrete picture element with said vector-based image is maintained.
108. A method for manipulating a scanned document in an electronic data processing system comprising:
providing a first raster image comprised of a first set of discrete picture elements defining a first shape;
electronically displaying said first raster image;
electronically displaying a vector-based image in response to user input commands, wherein said vector based image representes user generated alterations to said raster image;
wherein the vector-based image and the first raster image are displayed in a window having coordinates referenced to a vector origin;
electronically maintaining said vector-based in registration with said raster image using said coordinates;
merging said vector-based image with said first raster image to generate a new raster file.
109. The method for manipulating a scanned document according to claim 108 wherein said providing step comprises:
scanning a document; and
storing an original raster file comprising said first set of discrete picture elements.
110. The method for manipulating a scanned document according to claim 108 wherein each of said first set of discrete picture elements are displayed in a foreground color or a background color.
111. The method for manipulating a scanned document according to claim 110 wherein said new raster file comprises a second set of discrete picture elements and wherein at least one picture element of said second set, that corresponds by a coordinate location to at least one picture element of said first set displayed in a foreground color, is displayed in a background color to erase a portion of said first raster image.
112. The method for manipulating a scanned document according to claim 108 wherein said electronically displaying a vector-based image step comprises displaying said vectors in one or more layers.
113. The method for manipulating a scanned document according to claim 112 wherein said new raster file contains alterations to said raster image based on one or more of said layers.
114. The method of claim 14 or 108, wherein the coordinates are referenced to the origin in real world units.
Description

This application is a continuation of application Ser. No. 07/782,876 filed Oct. 17, 1991, now abandoned, which is a continuation of Ser. No. 07/366,665 filed Jun. 14, 1989, now abandoned.

FIELD OF THE INVENTION

This invention relates to computer aided design systems and in particular to an apparatus and method for manipulating scanned documents in an existing computer aided design system.

BACKGROUND OF THE INVENTION

Computer aided design (CAD) packages are commonly used to create and edit drawings and other graphic displays on a computer screen or other cathode ray tube (CRT) display. CAD systems are particularly well-suited for producing engineering design drawings by allowing the user to enter a series of commands to produce certain standard elements of the drawing, such as circles, squares and lines, at selected locations on screen to effect a particular design. A locator device such as a pointer, cursor, “mouse” or cross-hair, is used to select the position on the screen at which a particular element is to be drawn. Changes to the drawing can be made directly on screen. The display scale can be changed to zoom in on selected portions of the drawing.

DESCRIPTION OF THE PRIOR ART

According to prior practice, drawings may be created “from scratch” using the CAD system or, alternatively, a hard copy drawing may be reproduced on screen by entering the proper sequence of drawing commands into the CAD system. Reproduction of a hard copy drawing on screen using the CAD system is a tedious, time consuming process, which requires the operator to match up the various features of the hard copy drawing with their respective locations on screen and to enter the proper commands into the CAD system to create the image.

It is also known in the art to scan a hard copy document to produce a raster image, which is stored in the system memory as a plurality of data bits corresponding to the number of picture elements (pixels) comprising the raster image. The raster image is then converted into a vector-based image which is compatible with the CAD system. The vector-based image can be displayed on screen, changed and otherwise manipulated using CAD commands.

One problem associated with the aforementioned technique of converting the raster image to a vector-based image is that the lengths of the pixels in the raster image are changed to equivalent horizontal vectors. As a result, resolution problems may occur, especially when the image is zoomed in to display small portions thereof, because the vector-image degrades into short horizontal or vertical lines on the screen.

Another technique involves converting groups of pixels into CAD commands corresponding to selected features of the drawings, such as circles, squares and lines, using artificial intelligence. One problem associated with this technique is that recognition errors often occur, which necessitate manual “clean-up” of the drawing by a skilled operator.

OBJECTS OF THE INVENTION

It is, therefore, the principal object of the present invention to provide an improved apparatus and method for manipulating scanned documents using computer aided design commands.

It is another object of the invention to provide an apparatus and method for facilitating the reproduction of hard copy documents with a computer aided design system.

It is still another object of the invention to provide an apparatus and method for facilitating the editing of documents on a computer screen using standard computer aided design commands.

It is yet another object of the invention to provide an apparatus and method for producing a raster image output from a standard computer aided design system.

SUMMARY OF THE INVENTION

These and other objects are accomplished in accordance with the present invention wherein apparatus and method for manipulating a scanned document in an electronic data processing system includes means for electronically displaying a first image representing the scanned document and for displaying a second image in response to user input commands superimposed on the first image. In one aspect of the invention the scanned document is represented by a first digital coded image, which includes a first plurality of image elements, each of which has a defined position relative to a predetermined reference position or predetermined origin. A second digital coded image representing the user input commands is also generated, which includes a second plurality of image elements, each of which has a defined position relative to the predetermined reference position. The first digital coded image is electronically displayed as the first image and the second digital coded image is electronically displayed as the second image superimposed on the first image. The first image is maintained substantially in registration with the second image.

In another embodiment means responsive to a command indicating that only a selected portion of the scanned document is to be displayed is provided for manipulating the first image to display only the selected portion of the scanned document. In yet another embodiment, the means for displaying only the selected portion of the first image includes means for determining the location and boundaries of a substantially rectangular window representing the selected portion of the scanned document which is to be displayed as the first image; means for identifying the particular ones of the first plurality of image elements which fall within the boundaries of the display window; and means for adjusting the scale of the first image to conform to the display window.

In the preferred embodiment the first image is a raster image and the first plurality of image elements are a corresponding plurality of picture elements, each of which is in either an on or an off state. Each element which is in an on state has a first color associated therewith and each element which is in an off state has a second color associated therewith, which is different from the first color. The second image is a vector image comprised of a plurality of vectors, certain ones of which have defined starting and ending positions with respect to the predetermined reference position and others of which represent corresponding predetermined shapes at respective positions with respect to the predetermined reference position. Each vector typically has a predetermined color associated therewith.

In another aspect of the invention, the second image represents changes which the user desires to implement in the first image and means are provided for editing the first image to incorporate the second image. In one embodiment the first image is displayed in first and second colors, the second color being different from the first color. The second image is displayed in at least one color. The first image is edited so that a first portion thereof which is displayed in the first color and is overlaid by a corresponding first portion of the second image, which is displayed in the second color, is erased and a second portion of the second image, which overlays a corresponding second portion of the first image and is displayed in a color other than the second color, is incorporated into the first image to change the second portion of the first image. A third portion of the first image which is not overlaid by any portion of the second image remains unchanged.

In the preferred embodiment, the first image is a raster image, which includes a plurality of picture elements, each of which is either in an on or an off state. Each element which is in an on state is displayed in the first color and each element which is in an off state is displayed in the second color. Each of the picture elements has a defined position with respect to a predetermined reference position. The second image is a vector image, which includes a plurality of vectors, each of which is displayed in a predetermined color. The editing means includes means for identifying a first set of picture elements comprising the first portion of the first image and for changing said first set of picture elements from an on state to an off state and for identifying a second set of picture elements comprising the second portion of the first image and changing the second set of picture elements from an off state to an on state. The first color preferably represents the foreground color of the raster image and the second color represents the background color of the raster image.

BRIEF DESCRIPTION OF THE DRAWINGS

Further objects and advantages of the invention will be apparent from the Detailed Description and Claims when read in conjunction with the accompanying drawings wherein:

FIG. 1 is a functional block diagram of a typical computer aided design system;

FIGS. 2A and 2B are functional block diagrams illustrating the apparatus and method for manipulating scanned documents using computer aided design commands, according to the present invention;

FIGS. 3A-3E are flow diagrams, illustrating the sequence of operation of the apparatus and method for manipulating scanned documents using computer aided design commands, according to the present invention;

FIGS. 4A-4D are respective perspective views illustrating changes made to a scanned drawing using computer aided design commands and the resulting raster image with the computer aided design changes implemented therein, according to the present invention;

FIG. 5 is a flow diagram illustrating the operation by which the raster image is edited to include the computer aided design changes.

FIGS. 6A and 6B are block diagrams of an alternate embodiment of the apparatus and method for manipulating scanned documents using computer aided design commands, according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In the description which follows like parts are marked throughout the specification and drawings, respectively. The drawings are not necessarily to scale and in some instances proportions have been exaggerated in order to more clearly depict certain features of the invention. Referring to FIG. 1, a conventional computer aided design (CAD) system 10 receives user inputs via an input/output (I/O) device 12 (which may include a key board) and translates the inputs into selected commands to control a software-implemented display driver 14, which in turn controls a hardware display device 16. The CAD commands are used to produce a design drawing or the like on a computer screen display. The user manipulates a locator device, such as a pointer, cursor, or “mouse”, to select the location on the screen at which a particular drawing feature is to be displayed.

For example, the user can control CAD system 10 to produce a circle, square, line or other standard drawing feature, at a particular position on the display by positioning the locator device at the selected position on the display and entering the appropriate command. CAD system 10 will respond to the user input by controlling display driver 14 and display device 16 to produce the selected drawing feature at the selected location on the screen display. The user inputs corresponding to the desired drawing features are stored in a vector database 18 where the design features are represented by a plurality of discrete vectors, selected ones of which have starting and ending point coordinates with reference to a predetermined origin or vector origin.

Other ones of the vectors may represent a predetermined geometric shape, such as a circle, at a predetermined position relative to a defined reference position. Using CAD system 10, a user can construct detailed design drawings and edit the drawings as necessary directly on screen. The drawing is stored in digital code form in vector database 18 and can be printed out in hard copy form on an output device, such as a plotter. The display color, origin point and scale can be selected by the user.

Referring to FIG. 2A, in accordance with the present invention, a link program is interposed between CAD system 10 and display driver 14 to intercept CAD commands and interpret such commands to manipulate a scanned document in response thereto. The scanned document is stored in memory in digital code form, which represents a raster image of the document. The link program includes a resident link program 20, which interprets the CAD commands, and a transient link program 22, which retrieves the raster image from a raster database 24. The raster image is entered into raster database 24 by optically scanning a hard copy raster image 26 using a conventional scanning device 28, such as an optical image reader.

Resident link program 20 serves as a terminate and stay resident (TSR) program to monitor the CAD commands flowing between CAD system 10 and display driver 14. Upon intercepting a “CLEAR SCREEN” or similar command, resident link program 20 loads transient link program 22, which performs the actual manipulation of the displayed raster image in accordance with the CAD commands. Transient link program 22 also determines the origin and coordinates of the predetermined CAD window by communicating with CAD system 10. The size and location coordinates of the window determine whether all or a particular portion of the raster image is to be displayed.

The raster image is different from the vector-based image in that the raster image is stored in the system memory by a predetermined bit map corresponding to the number of picture elements (pixels) which can be displayed by display device 16. Each screen display typically has associated therewith a predetermined number of pixels along a horizontal axis and a predetermined number of pixels along a vertical axis. The number of pixels along the vertical axis may be different from the number of pixels along the horizontal axis. Each screen pixel is assigned a particular location in memory and has a particular code associated therewith, which may include that the corresponding caster pixel is “off” and therefore appears in the background color (e.g., white) or that the corresponding pixel is “on” and therefore appears in the foreground color (e.g., black) of the display. Each pixel represents a predetermined position or “dot” on the display and is typically rectangular shaped.

It is important that the raster image be maintained in the proper registration on the display screen with the CAD image which is created on the display screen by the user. The CAD inputs are stored in vector database 18 and are also reproduced on the screen display, superimposed on top of the raster image. In this manner, the changes which the user desires to make in the raster image are shown on top of the raster image on the screen. The changes are implemented using standard CAD commands.

What appears on the screen represents a composite image with both raster and vector elements shown. The vector elements represent the CAD generated changes. Alternatively, the user may reproduce the raster image as a CAD image by simply tracing over the raster image using the proper sequence of CAD commands, thereby producing a vector-based image and eliminating the need for the raster image. The operation of resident link program 20 and transient link program 22 is shown in greater detail in FIGS. 3A-3E.

Referring to FIG. 2B, an edit program 30 is used to merge the CAD system inputs, which are stored in vector database 18, with the original raster image, which is stored in raster database 24, in accordance with another aspect of the invention. Edit program 30 will generate a new raster database 32 in which an updated raster image is stored, which represents the original raster image as edited by the CAD commands. The new raster data may be compressed using a conventional utilities program, as indicated at 34. The raster data, which may be either compressed or decompressed, is transmitted to a plot program 38, which controls a raster plotter 40. Raster plotter 40 is used to generate a hard copy of the updated raster image. The new raster data may be decompressed, as indicated at 42, and stored in raster database 24 for further processing. The operation of edit program 30 will be described in greater detail below, with reference to FIG. 5.

Referring to FIG. 3A, the resident link program is initialized in a conventional DOS operating system, such as PC/DOS or MS/DOS. The DOS operating system includes an interrupt vector table, a particular location of which is dedicated to a display driver. If there is no valid display driver interrupt address present, an error message will be generated and the program operation is terminated. If a valid display driver interrupt address is present in the interrupt vector table, the resident link program will be mapped to this address and the display driver interrupt command will be remapped to a clear location in the interrupt vector table. As a result of this operation, the resident link program will assume the location in the interrupt vector table previously occupied by the display driver which is used by the CAD system to effect changes to the screen display.

Initial display parameters, such as the location of the origin of the display and the display scale and color, are transmitted by the resident link program to the display driver. The resident link program then starts the execution of the CAD system and waits for a display driver interrupt command from the CAD system.

Referring to FIG. 3B, a display driver interrupt command will be generated by the CAD system when the user wants to make changes to the screen display. Because the resident link program now services the display driver interrupt, the resident link program will intercept each CAD command and determine whether what particular command affects the raster image controlled by the link program. If the command does not affect the raster image, the intercepted command is sent directly to the display driver and the resident link program will wait for a subsequent display driver interrupt command.

If, on the other hand, the CAD command does affect the raster image, the resident link program will load the transient link program, which will respond to the CAD command, as shown in the remainder of FIG. 3B and in FIGS. 3C-3E. If the incoming command is not a “CLEAR SCREEN” command, which clears the entire graphics display, the transient link program will process the command in accordance with the sequence of steps set forth in FIG. 3C.

Referring to FIG. 3C, if the CAD command indicates “TERMINATE”, then no additional CAD commands will be forthcoming, at least for the present time. In that event the raster settings, such as the origin, scale and display color, will be saved for future processing and the link program execution will terminate. If the incoming command does not indicate that the CAD system is terminating, the transient link program will determine whether the incoming command is a “STATUS COMMAND”. If a “STATUS COMMAND” is indicated, the raster settings will be displayed on the screen in text for viewing by the operator and the program will branch back to the beginning of FIG. 3B and wait for another CAD command.

If a “STATUS COMMAND” is not indicated, the program will determine whether a “RASTER SETTINGS COMMAND” is being sent. If so, one or more of the raster settings, such as the color of the foreground or background of the raster display, the raster origin and the raster (i.e., ratio of pixel dots to raster image units) will be changed in accordance with the particular “RASTER SETTINGS COMMAND”. If a “RASTER SETTINGS COMMAND” is not indicated, the program will branch back to the beginning of FIG. 3B to wait for a subsequent CAD command.

Referring again to FIG. 3B, if a “CLEAR SCREEN” command is sent by the CAD system, the transient link program will determine the size and location of the CAD window by addressing the CAD system to determine the Cartesian coordinates (x, y) of two diametrically opposite corner points of the rectangular CAD window. For example, the transient link program will determine the x, y coordinates of the lower left corner point of the rectangular window and the x, y coordinates of the upper right corner point of the window. The x, y coordinates of the boundary points of the window are referenced to a predetermined CAD origin, which is established at a predetermined position on the display screen or off the display screen. The default position of both the raster origin and the CAD origin is at the lower left corner of the display screen. The coordinates are expressed in terms of “world” units (e.g., inches) relative to the origin along both the X and Y axes. The size and location of the window determines the particular portion, if any, of the image which will be displayed on the screen.

As illustrated in FIG. 3D, once the boundaries of the window are determined, the zoom ratios along both the X and Y axes are computed to determine the area of the raster expanded file which will be displayed. The zoom ratio along the X axis is the ratio of a first quantity, which represents the number of screen pixels along the horizontal (X) axis of the display divided by the distance in “world” units (e.g., inches) between the right and left boundaries of the window, to a second quantity, which represents the number of raster pixels per unit (i.e., the raster scale). Similarly, the zoom ratio along the Y axis is the ratio of a first quantity, which represents the number of screen pixels along the vertical (Y) axis of the display divided by the distance in “world” units between the top and bottom boundaries of the window, to a second quantity, which represents the raster scale.

Typically, the number of screen pixels along a particular axis and the raster scale are constant. Therefore, the corresponding zoom ratio will vary as the extent of the window varies along a particular axis. The raster expanded file is stored in the raster database and represents the entire raster image. Each pixel comprising the raster image is assigned discrete x, y coordinates in “world” units so that all pixels falling within the window boundaries will be displayed. In this manner, the raster image is always maintained in registration with the CAD image.

The portion of the raster image to be displayed is moved from a raster image buffer to a display image buffer, if the size and location of the window are unchanged. If the size and/or location of the window are changed, the raster image buffer must be changed to match the size and location of the new CAD window in accordance with the procedure set forth in FIG. 3E.

Referring to FIG. 3E, the zoom ratios are used to scale the section of the raster image being displayed either up or down to fit the display window. For example, if the zoom ratio along a particular axis is approximately 1:1, the section of the raster file to be displayed is copied directly to the raster image buffer. If the zoom ratio is less than 1:1, the number of screen pixels per unit is less than the number of raster pixels per unit and the section of the raster image to be displayed must be scaled up to fit the boundaries of the window, and the zoomed image is placed into the raster image buffer. If the zoom ratio is greater than 1:1, the number of screen pixels per unit is greater than the number of raster pixels per unit and the section of the raster image to be displayed is scaled down to fit the window and the zoomed image is placed in the raster image buffer.

With the raster image, or a selected portion thereof, displayed on the screen, the operator has a reference image which he can use to implement changes and/or additions to the raster image or trace directly over the raster image to produce a substantially identical CAD image. One skilled in the art will appreciate that being able to superimpose a CAD image directly over the raster image with standard CAD commands facilitates the production of a desired drawing design.

FIG. 4A illustrates a raster-based image 44, which may appear on a sheet of paper or other hard copy. The document can be scanned to load the raster image into the raster database, as previously described. FIG. 4B illustrates changes made in the raster image directly on screen using CAD commands. The dashed lines, as indicated at 46, represent the changes in the image made by the operator using the CAD system. The CAD image typically appears in at least two colors. One color is the same as the background color of the raster image so that when portions of the raster image displayed in the foreground color are overlaid by the CAD image in the background color, those portions of the raster image will visually appear to have been erased from the screen. The other color is different from the background color and is used to effect additions to the raster image at the positions where this other color overlays the portions of the raster image displayed in the background color. The raster image is always maintained in registration with the CAD image so that the CAD changes will appear at the proper positions on the original raster image.

As shown in FIG. 4C, the raster image can be removed from the screen so that only the CAD generated image appears. The image 47 shown in FIG. 4C represents the image stored in the vector database associated with the CAD system and also corresponds to the dashed lines in FIG. 4B. The edit program, described below, merges the CAD generated changes with the original raster image to create a new, updated raster image, as shown in FIG. 4D. The updated raster image can then be reproduced in hard copy form with a raster plotter or the like, as previously described. Attentively, the operator can create a CAD image, which is a duplicate of the raster image by tracing over the portion of the raster image which appears in the foreground color using a color other than the background color of the raster image.

Referring to FIG. 5, the edit program will create a raster file in memory in which the raster image is stored. If the entire raster image cannot fit within the available memory space, the raster image will be examined in individual sections. A plot file is also established, which contains the CAD generated changes to the raster image. The vectors representing the CAD image are converted to bit-map pixels or raster pixels in the plot file.

Each of the raster file pixels and the plot file pixels has defined coordinates relative to the predetermined origin. The edit program will examine all of the raster pixels to determine which pixels need to be turned “on” or “off”. If a particular raster pixel is overlaid by CAD system vectors which are drawn in the CAD system using a specific color (pen number) which matches the background color of the raster image, that particular pixel will be “erased” (i.e., turned “off”), as will all such other raster pixels overlaid by a CAD vector drawn in the background color of the raster image. Similarly, all raster pixels in the “off” state which are overlaid by CAD system vectors drawn in a color other than the background color of the raster image will be turned “on”. The reminder of the raster image which is not overlaid by any portion of the CAD image will remain unchanged. After these changes are effected, the new, updated raster image, which incorporates the CAD changes, will be stored for future use. Alternatively, CAD functions other than color (pen number) that are associated with the vectors, such as layer or level, can be used to indicate that portions of the raster are to be erased or added to, as the case may be.

Referring to FIGS. 6A and 6B, an alternate embodiment of the system and method for manipulating scanned documents using computer aided design commands, according to the present invention, is illustrated. The system is substantially the same as the system illustrated in FIGS. 2A and 2B, except that link program 48 is not interposed between CAD system 50 and the display driver as is the case in the system illustrated in FIG. 2A. Instead, link program 48, which includes both the resident and transient portions of the program, communicates via an interprocess communication path (e.g., pipe) with CAD system 50.

CAD system 50 sends all commands affecting link program 48 directly thereto, rather than having the link program intercept the commands from the CAD system, as in the system illustrated in FIG. 2A. The arrangement shown in FIGS. 6A and 6B is typically implemented in connection with a UNIX-based operating system, whereas the system illustrated in FIGS. 2A and 2B is typically implemented in a DOS-based operating system. Also, a display manager 52, which is a sophisticated version of a display driver, is used in the UNIX-based system to control display device 54.

One skilled in the art will appreciate that a raster image will provide better resolution than a vector-based image, particularly when the image is zoomed in to display small portions thereof. Furthermore, by maintaining the raster image in the background in registration with the CAD image, the operator can quickly and accurately produce a CAD image which duplicates the raster image by simply tracing over the raster image or, alternatively, make changes to the raster image using CAD commands. As a result, the system and method according to the present invention allow an operator to manipulate raster-based, scanned documents using standard compute aided design commands, which substantially reduces the time and expense associated with the production of design drawings and other graphic displays, both on screen and in hard copy form.

Various embodiments of the invention have now been described in detail. Since it is obvious that many changes in and additions to the above-described preferred embodiment may be made without departing from the nature, spirit and scope of the invention, the invention is not to be limited to said detail, except as set forth in the appended claims.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4811243 *Dec 23, 1985Mar 7, 1989Racine Marsh VComputer aided coordinate digitizing system
US4823281 *Dec 4, 1987Apr 18, 1989Ibm CorporationColor graphic processor for performing logical operations
US4843569 *Sep 22, 1987Jun 27, 1989Kabushiki Kaisha ToshibaData input apparatus for picture data base management system
US4849911 *Sep 25, 1986Jul 18, 1989Modern Body And Engineering Corp.Method for imputting data to a computer aided design system
US4905185 *Jul 14, 1987Feb 27, 1990Kabushiki Kaisha ToshibaApparatus for transferring block data in original form and editing the block data
US4914607 *Apr 8, 1987Apr 3, 1990Hitachi, Ltd.Multi-screen display control system and its method
US4933878 *Aug 25, 1989Jun 12, 1990Texas Instruments IncorporatedGraphics data processing apparatus having non-linear saturating operations on multibit color data
US5022085 *May 29, 1990Jun 4, 1991Eastman Kodak CompanyNeighborhood-based merging of image data
US5034901 *Oct 6, 1986Jul 23, 1991Mitsubishi Denki Kabushiki KaishaInteractive graphic recognition and data processing system
US5060171 *Jul 27, 1989Oct 22, 1991Clearpoint Research CorporationA system and method for superimposing images
US5067087 *Dec 13, 1988Nov 19, 1991Fanuc Ltd.Composite-figure definition method
US5125074 *Aug 10, 1989Jun 23, 1992Thomson-CsfProcess for eliminating hidden faces for synthesis of a three-dimensional wire image
Non-Patent Citations
Reference
1"Linking CAD to the Past!", handout at A.E.C. Trade Show, Spring 1988.
2American Imaging Services, Inc.'s Motion for New Trial/Motion to Alter or Amend Judgment, 7 pages (stamped Mar. 30, 1999).
3American Imaging Services, Inc.'s Unoposed Motion for Reconsideration, 3 pages (stamped Jun. 14, 1999).
4American Imaging's Surreply In Opposition to Motion for Summary Judgment.
5 *Arc News "Integration of Geographic Inf. Technologies" Winter 1989, vol. 11, No. 1.
6Cavanaugh, Tim, "Godgart cuts financial ties to old backer, launches new firm." Capital District Business Review, Feb. 15-21, 1988.
7Chassin, David P., "A Three Dimensional Reconstruction System for Architectural Perspective," thesis proposal for RPI School of Architecture, Nov. 13, 1986.
8Defendant Intergraph Corporation's Motion for Summary Judgment and Points and Authorities in Support Thereof (w/Exhibits).
9Defendant Intergraph Corporation's Motion for Summary Judgment of Invalidity Pursuant to 35 USC 102 and 103 (w/Exhibits).
10Defendant Intergraph Corporation's Reply Brief in Support of Motion for Summary Judgment (w/Exhibits).
11Defendant Intergraph Corporation's Reply to Plaintiff's Opposition to Defendant's Motion for Summary Judgment (w/Exhibit).
12 *ESRI "ARC/INFO Image Integrator", 1990.
13Godgart, Bob, "Tricking AutoCAD with CAD Overlay," Microcad News, Mar. 1988, p. 22.
14 *Goodman, The Complete Hypercard Handbook, 1987, pp. 70, 194-195, 221, 271.
15Intergraph Corp.'s Supplemental Motion for Summary Judgment (w/Exhibits).
16Intergraph's Opposition to Plaintiff's Motion for a New Trial, 7 pages (stamped Apr. 20, 1999).
17Intergraph's Reply Memorandum In SUpport of Motion for Summary Judgment and In Opposition to Motion to Strike.
18 *McIntosh, "HyperCard User's Guide", 1988, pp. 124-150.
19 *Medland et al., CAP/CAM in Practice, 1986, pp. 17-30, 72-74, 106.
20Memorandum and Opinion Regarding American Imaging's Motion for New Trial, 10 pages (stamped Jun. 9, 1999).
21Memorandum and Opinion, 36 pages (stamped Sep. 2, 2003).
22Memorandum and Opinion, 52 pages (stamped Mar. 17, 1999).
23Memorandum and Order, 22 pages (stamped Jun. 24, 2002).
24Order on Motion for Reconsideration, 1 page (stamped Jun. 21, 1999).
25Plaintiff American Imaging's Opposition to Motion for Summary Judgment.
26Plaintiff's Brief in Opposition to Defendant's Third Motion for Summary Judgment (w/Exhibits).
27Plaintiff's Response to Supplemental Motion for Summary Judgment.
28Plaintiff's Supplemental Brief Supporting claim Construction and Respnse to Motion for Summary Judgment (w/Exhibits).
29Points and Authorities in Support of Defendant Intergraph Corporation's Motion for Summary Judgment (w/Exhibits).
30Schnapp, Russell L., "SuperPaint" (manual for Silicon Beach Software), 1986.
31 *Shliterstein, "Experiments Using Interactive Color Raster Graphics for CAD", 19<SUP>th </SUP>Design Automation Conference, 1982; Bell Laboratories, pp. 445-452.
32 *Sippl, Computer Dictionary, 1986, pp. 393, 545.
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US7663644 *Nov 8, 2005Feb 16, 2010Autodesk, Inc.Automatic element substitution in vector-based illustrations
Classifications
U.S. Classification345/641, 345/629, 382/311, 345/619
International ClassificationG06T15/00
Legal Events
DateCodeEventDescription
May 14, 2013RRRequest for reexamination filed
Effective date: 20130402
Jul 10, 2012B1Reexamination certificate first reexamination
Free format text: THE PATENTABLIITY OF CLAIMS 14, 15, 53, 70, 71, 74-76, 81-87, 102, 108, 109, 112-114 IS CONFIRMED; CLAIMS 26-28 WERE PREVIOUSLY DISCLAIMED; CLAIMS 98-101 AND 103-107 ARE CANCELLED; CLAIMS 1-13, 16-25, 29-52, 54-69, 72, 73, 77-80, 88-97, 110 AND 111 WERE NOT REEXAMINED
Dec 27, 2011RRRequest for reexamination filed
Effective date: 20111102
Jul 12, 2011RRRequest for reexamination filed
Effective date: 20110520
Sep 28, 2010RRRequest for reexamination filed
Effective date: 20100629