Image data filing system and method with image data modification facility

Abstract: An image data filing system capable of facilitating an easy and accurate modification on the image filed in the system, without demanding a cumbersome operation to an operator. In the system, the image is modified by specifying (31) an image to be modified among images filed in the system; displaying (32) the specified image to be modified; specifying (33) a region to be modified on the displayed image to be modified; obtaining (34) a hard copy of the specified region to be modified; making a modification (35) on the obtained hard copy of the specified region to be modified to obtain an modified image; and entering (34-40) the modified image obtained on the hard copy into the system.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image data modification in an image data filing system for administering image data in forms of coded data. Description of the Background Art An image data filing system for administering image data such as design drawings, documents, pictures, and maps in forms of coded data to be handled by a computer has come to be widely used in recent years. In such an image data filing system, it is necessary to accommodate modifications such as insertions and corrections, to be made on a particular portion of a particular image among a multiplicity of images filed in the system. Conventionally, this has been achieved in one of the following manners. A first manner is to make a modification on an original uncoded image, coding the modified image, and replacing the coded data before the modification with the coded data after the modification. However, in an image data filing system, the original image is normally not retained after the image had been coded and filed, so that this manner is scarcely used in a presently available image data filing system. A second manner is to make a modification on a displayed image by means of a pointing device such as a light pen. However, it has been difficult for an average operator to maneuver such a pointing device with sufficient skills. In a case of computer aided designing (CAD), an operator have to specify a position to make a modification by means of a cursor on the displayed image, and then perform an operation to enter the desired modification, which is a quite tedious procedure. A third technique is to annotate a hard-copy of the image and subsequently have the system perform the editing operations indicated by the annotation symbols. Such a system is for instance known from Systems and Computers in Japan, Vol. 17, No. 3, 1986, Y. Suenaga, "Some Techniques for Document and Image Preparation", p.p. 35-46. SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an image data filing system capable of facilitating an easy and accurate modification on the image filed in the system, without demanding a cumbersome operation to an operator. The invention is set out in Claims 1 and 6. Other features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of one embodiment of an image filing system according to the present invention. Fig. 2 is a flow chart for the operation of the image data filing system of Fig. 1. Fig. 3 is a perspective view of a CRT in the image filing system of Fig. 1 for explaining an operation on the displayed image. Fig. 4 is an illustration of a hard copy of a region to be modified obtained by the image data filing system of Fig. 1 before the modification is entered. Fig. 5 is an illustration of a hard copy of a region to be modified obtained by the image data filing system of Fig. 1 after the modification is entered. Fig. 6 is an illustration of a scanned image of a region to be modified obtained by the image data filing system of Fig. 1 before the alignment. Fig. 7 is an illustration of a scanned image of a region to be modified obtained by the image data filing system of Fig. 1 after the alignment. Fig. 8 is an illustration of a region to be modified obtained by the image data filing system of Fig. 1 without the modification. Fig. 9 is an illustration of a region to be modified before the modification is entered with subdivision indicated. Fig. 10 is an illustration of a region to be modified after the modification is entered with subdivision indicated. Fig. 11 is an illustration of picture elements comprising each subdivision of the region to be modified shown in Figs. 9 and 10. Fig. 12 is an illustration of an image filed in the image data filing system of Fig. 1 before the modification is entered. Fig. 13 is an illustration of an image filed in the image data filing system of Fig. 1 after the modification is entered. Fig. 14 is a block diagram of another embodiment of an image filing system according to the present invention. Fig. 15 is a flow chart for the operation of the image data filing system of Fig. 14. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to Fig. 1, there is shown one embodiment of an image filing system according to the present invention. In this embodiment, the image data filing system comprises a CPU 10 for controlling an operation of each element of the system; a magnetic disk memory 11 connected with the CPU 10 through a disk controller 12, for storing image data; an image scanner 13 connected with the CPU 10 through a scanner controller 14, for reading an image to be filed in the system; an image printer 15 connected with the CPU 10 through a printer interface 16, for printing an image filed in the system; an image memory 17 connected with the CPU 10 through a memory controller 18, for temporarily storing image data; a CRT 19 connected with the CPU 10 and the image memory 17 through a CRT controller 20, for displaying an image temporarily stored in the image memory 17; a keyboard 21 connected with the CPU 10 through a keyboard interface 22, for allowing an operator to enter commands; a mouse 23 connected with the CPU 10 through a mouse interface 24, for allowing an operator to specify a position on the CRT 19; and an information memory 30 for memorizing an information to be utilized in modifying the image in the image memory 17. The system also has a system bus L1 for connecting the disk controller 12, scanner interface 14, printer interface 16, memory controller 18, CRT controller 20, keyboard interface 22, mouse interface 24, and information memory 25 to the CPU 10; and an image bus L2 for connecting the disk controller 12, scanner interface 14, printer interface 16 and memory controller 18 in order to transmit image data. In this system, the images to be filed are read by the image scanner 32, and the images read by the scanner are stored in the magnetic disk memory 11 with distinct file names given by an operator through the keyboard 21. The images stored in the magnetic disk memory 11 can be printed out by the image printer 15, or displayed on the CRT 19 by temporarily storing the image in the image memory 17. In this embodiment, the modification of the image filed in the system can be accomplished according to a flow chart of Fig. 2, as follows. First, at the step 31, an operator specifies an image to be modified by entering the file name of this image from the keyboard 21. In response, at the step 32, the image filed with the entered file name is read out from the magnetic disk memory 11, loaded into a zeroth operational area of the image memory 17, and displayed on the CRT 19. Then, at the step 33, the operator specifies a region to be modified in the image displayed on the CRT 19 by using the mouse 23. Namely, as shown in Fig. 3, a region A on a display screen 190 of the CRT 19 is specified by pointing an upper left corner P which has a coordinate (Xs, Ys) on the display screen 190 and a lower right corner Q which has a coordinate (Xe, Ye) on the display screen 190, using the mouse 23. The coordinates (Xs, Ys) and (Xe, Ye) of the pointed corners P and Q are then memorized in the information memory 25. Next, at the step 34, the image inside the specified region A is printed out by the image printer 15, so as to obtain a hard copy (print out) 50 of the image inside the specified region A as shown in Fig. 4. Then, at the step 35, the operator makes a desired modification on this print out 50. For example, the operator may replace a box B inside the region A shown in Fig. 4 by a circle C, as shown in Fig. 5. When the desired modification is entered on the hard copy 50, next at the step 36, this hard copy 50 incorporating the modification is read by the image scanner 13 and stored in a first operational area of the image memory 17. Here, as indicated on Fig. 6, an upper left corner P′ of a perimeter 135 of the scanned image has a coordinate (Xs′, Ys′) in the first operational area 171, which is in general different from the coordinate (Xs, Ys) of the corner P of the region A on the display screen 190, while a lower right corner Q′ of the perimeter 135 of the scanned image has a coordinate (Xe′, Ye′) in the first operational area 171, which may be different from the coordinate (Xe, Ye) of the corner Q of the region A on the display screen 190. Next, at the step 37, the scanned image is aligned with the image before the modification by identifying the corners P and Q of the region A memorized in the information memory 25 and the corners P′ and Q′ of the perimeter 135 of the scanned image, in order to obtain an aligned image as shown in Fig. 7 in a second operational area 172 of the image memory 17. Such an alignment can be accomplished by any known method such as that utilizing the affine transformation. Then, at the step 38, modified portions inside the region A are determined by comparing the image inside the region A with and without the modification. This is accomplished as follows. Namely, the image inside the region A without the modification as shown in Fig. 8 is loaded into a third operational area 173 of the image memory 17. Then, each of the image inside the region A without the modification is subdivided into I×J subregions S(i, j) as shown in Fig. 9 in the third operational area of the image memory 17, while the image inside the region A with the modification is subdivided into I×J subregions T(i, j) as shown in Fig. 10 in the second operational area of the image memory 17. Then, as shown in Fig. 11, each one of the subregions S(i, j) and T(i, j) is regarded as being constructed by K×L picture elements E, each of which indicating a particular image density value, such as 0 or 1 in a case of a binary image. Finally, a similarity defined by an expression: is calculated, and those subregions T(i, j) for which this similarity η ij are greater than a prescribed threshold value is considered as the modified portions. Next, at the step 39, the image of the modified portions inside the region A is entered into the image without the modification shown in Fig. 12 which is stored on the zeroth operational area 170 of the image memory 17, so as to obtained the image incorporating the modification shown in Fig. 13 on the zeroth operational area 170 of the image memory 17. Finally, at the step 40, the obtained image incorporating the modification is stored in the magnetic disk memory 11 by replacing the image without the modification stored previously. Thus, according to this embodiment, the modification is made on the hard copy 50 obtained from the image filed in the system, and then the modification is entered in the image filed in the system by reading the hard copy 50 with the modification entered by the image scanner 13. Since it is much easier and more accurate for an average operator to work on the print out rather than on the display, this manner of the present embodiment facilitates an easy and accurate modification in the image data filing system. It is to be noted that the determination of the modified portions in the above embodiment is not necessarily incorporated, although this feature allows to minimize the amount of replacement of data so that an unnecessary deterioration of data in the unmodified region can be prevented. Referring now to Fig. 14, another embodiment of an image data filing system according to the present invention will be described. This embodiment concerns with a case in which the images are filed in the system in forms of coded image data, rather than in forms of image data as in the previous embodiment. In this embodiment, the image data filing system comprises a CPU 51 for controlling an operation of each element of the system, a memory device 52 for storing coded image data, an input unit 53 for entering a modified image to be entered into the image filed in the system, an image memory 54 for temporarily storing the modified image entered from the input unit 53, an image encoder 55 for encoding the image stored in the image memory 54, a CRT 56 for displaying the image stored in the memory device 52 or the image memory 54, and a mouse 23 for allowing an operator to specify a position on the CRT 56. These elements are interconnected through a system bus 58. In this embodiment, the modification of the image filed in the system can be accomplished according to a flow chart of Fig. 15, as follows. Here, it is assumed that the modified image to be entered is obtained by taking a hard copy of a region to be modified in a manner identical to that described above for the previous embodiment. First, at the step 61, the modified image specifying the modification to be made on the image stored in the memory device 52 is entered from the input unit 53 into the image memory 54. This is achieved for example by reading a hard copy on which a desired modification is made by means of an image scanner. Then, at the step 62, the modified image on the image memory 54 is encoded by the image encoder 55. Then, at the step 63, the original image stored in the memory device 52 is displayed on the CRT 56, and the operator specifies a modification region into which the modified image is to be entered by using the mouse 57. Then, at the step 64, in response to the modification region specified at the step 63, the original image is separated into the modification region, a modification region perimeter, and an unmodification region. Next, at the step 65, the encoded modified image obtained by the image encoder 55 is displayed on the CRT 56, and the operator specifies the modification region perimeter on this encoded modified image by using the mouse 57. Then, at the step 66, a size of the modified image is determined such that the modified image can be fitted into the modification region specified on the original image. This can be achieved by identifying corresponding features at the modification region perimeter on the original image and the modified image. Next, at the step 67, from the size of the modified image determined at the step 66, a rate of contraction (or magnification) of the modified image is determined, and whether the modified image is to be contracted more than a prescribed threshold rate is determined. Here, the prescribed threshold rate indicates a rate such that when an image is contracted at this rate, the figures in the image will have a lowest admissible resolution. If the rate of contraction is not more than the prescribed threshold rate, then, next at the step 70, the modified image in a size determined at the step 66 is entered into the modification region of the original image. On the other hand, if the rate of contraction is more than the prescribed threshold rate, then, at the step 68, whether there is a sufficient blank region in unmodification region of the original image to make a room for expanding the modification region such that the modified image contracted at the prescribed threshold rate can be fitted into the expanded modification region is determined. If such a blank region is available, then at the step 69, the figures in the unmodification region is displaced into this blank region so as to make a room for expanding the modification region such that the modified image contracted at the prescribed threshold rate can be fitted into the expanded modification region, and the modification region is expanded such that the modified image contracted at the prescribed threshold rate can be fitted into the expanded modification region. Then, at the step 70, the modified image contracted at the prescribed threshold rate is entered into the expanded modification region of the original image. On the other hand, if such a blank region is not available, then at the step 71, the operator is notified of the impossibility of entering this modification. Thus, according to this embodiment, even when the images are filed in forms of coded image data, an easy and accurate modification can be facilitated in the image data filing system. Reference signs in the claims are intended for better understanding and shall not limit the scope.

Claims: A method of modifying image data in an image data filing system, comprising the steps of: specifying(31) an image to be modified among images filed in the system; displaying(32) the specified image to be modified; CHARACTERIZED BY FURTHER COMPRISING THE STEPS OF: specifying(33) a region to be modified on the displayed image to be modified; obtaining(34) a hard copy of the specified region to be modified; making(35) a modification on the obtained hard copy of the specified region to be modified to obtain a modified image of the specified region; reading(36) the modified image from the hard copy; aligning(37) the modified image read from the hard copy with the region to be modified of the image to be modified; and replacing(38-40) the region to be modified of the image to be modified by the aligned modified image. The method of claim 1, wherein the replacing step(38-40) further comprises the steps of: subdividing(38) the region to be modified into a plurality of subregions; determining(38) modified portions within the modified image by calculating a similarity for each subregion of the region to be modified with and without the modification; and substituting(39, 40) the modified portions of the modified image into the region to be modified of the image to be modified. The method of claim 1, wherein the images are filed in the system in forms of coded image data. The method of claim 3, wherein at the reading, aligning and replacing steps (36-40), a size of the modified image obtained on the hard copy is changed such that the modified image can be fitted into the region to be modified of the image to be modified. The method of claim 4, wherein the region to be modified of the image to be modified is expanded by displacing figures in the image to be modified into blank regions of the image to be modified, when the modified image has to be contracted at more than a prescribed threshold rate in order to be fitted into the region to be modified. An image data filing system, comprising: means(11) for storing image data of images filed in the system; means (21) for specifying an image to be modified among images filed in the system; means (19) for displaying the specified image to be modified; CHARACTERIZED BY FURTHER COMPRISING: means (23) for specifying a region to by modified on the displayed image to be modified; means (15) for obtaining a hard copy of the specified region to be modified on which a modification is to be made in order to perform the modification and thus to obtain a modified image on said hard copy; means(13) for reading the modified image from the hard copy; means (10, 17) for aligning the modified image read from the hard copy with the region to be modified of the image to be modified; and means (10, 17) for replacing the region to be modified of the image to be modified by the aligned modified image. The system of claim 6, wherein the replacing means (10, 17) further comprises: means (10, 17) for subdividing the region to be modified into a plurality of subregions; means (10, 17) for determining modified portions within the modified image by calculating a similarity for each subregion of the region to be modified with and without the modification; and means (10, 17) for substituting the modified portions of the modified image into the region to be modified of the image to be modified. The system of claim 6, wherein the images are filed in the system in forms of coded image data. The system of claim 8, wherein the reading, aligning and replacing means(10, 13, 17) changes a size of the modified image obtained on the hard copy such that the modified image can be fitted into the region to be modified of the image to be modified. The system of claim 9, wherein the region to be modified of the image to be modified is expanded by displacing figures in the image to be modified into blank regions of the image to be modified, when the modified image has to be contracted at more than a prescribed threshold rate in order to be fitted into the region to be modified.

Inventors: HORI OSAMU, OKAZAKI AKIO - - NISHIHIKARIGA, SHIMOTSUJI SHIGEYOSHI, HORI, OSAMU, OKAZAKI, AKIO, 17-3-502 NISHIHIKARIGAOKA 891, SHIMOTSUJI, SHIGEYOSHI
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1990
Main classification: G06F15
IPC codes: G06T11, G06T1