PRINTER ON WHICH PICTURE RECOGNITION PROCESSOR FOR FORGERY PREVENTION IS MOUNTED, COMPUTER FOR PROVIDING PRINT SOURCE TO PRINTER, AND PRINT SYSTEM INCLUDING PRINTER AND COMPUTER

Abstract: In a computer (901), the function of controlling the operation of a picture recognition and processing device (201) for preventing forgery of a printer (902) is incorporated. With this function, a control signal (S1) for commanding the operation of the picture recognition and processing device is outputted to the printer if a command (C1) accepted from an application (102) is of a type to which a picture marked for preventing forgery belongs, and the control signal is not outputted if the command is of a type to which the picture is not marked for preventing forgery. In the printer, the function of actuating the picture recognition and processing device with respect to picture data (D1) provided from the computer only when the control signal is inputted from the computer is incorporated. Thus, in a print system using the computer and the printer on which the picture recognition and processing device for forgery prevention is mounted, the probability that even a picture irrelevant to the act of forgery will be erroneously recognized as a picture marked for preventing forgery is lowered, and the print output speed is improved as a whole.

Description: Technical Field The present invention relates to printers equipped with an image recognition unit for preventing counterfeiting, for example, of bank notes and securities, computers providing the printer with print sources, and print systems including the printer and the computer. More specifically, the present invention relates to a printer, a computer, and a print system including the printer and the computer which are reliable in preventing false recognition by an image recognition unit for counterfeiting prevention from hindering printing out even of ordinary images. Background Art Bank notes and securities have been counterfeited generally by using only color copy machines. Recently, similar counterfeiting has come to be possible even by using a combination of "color copy machine components" such as a color scanner, a personal computer, and a color printer. The inventor previously proposed a novel color printer with a high possibility of preventing crimes, equipped with an image recognition unit for preventing counterfeiting, for example, of bank notes and securities. The basic operation of the image recognition unit provided in the color printer is to receive image data immediately before being printed out, extract a feature pattern of the received image data, collate it with the feature pattern of an image as an object of counterfeiting prevention, determine, based on the collation result, whether the received image data corresponds to the image data, for example, of bank notes or securities which are objects of counterfeiting prevention, and prohibit normal printing out of the received image data when it is determined that the received image data corresponds to the image data as an object of counterfeiting prevention. Normal printing out is prohibited in various manners. There may be cases where printing out is not performed at all, where a color or a size is changed although printing out is performed, where a graphic pattern is covered with a certain color although printing out is performed, where a certain symbol or graphic pattern is overlapped although printing out is performed, and so on. According to such a color printer, normal printing out is prohibited by operation of the equipped image recognition unit even if the printer is used to counterfeit bank notes and securities, for example, in combination with a color scanner and a personal computer. Thus, counterfeiting is prevented beforehand. In the color printer equipped with such a conventional image recognition unit for counterfeiting prevention, however, all image data to be printed out have been determined as to whether they correspond to an image as an object of counterfeiting prevention by operating the image recognition unit regardless of how the image data to be printed out are formed. Therefore, even when an image produced by a personal computer using drawing software uncommonly includes a feature pattern to be recognized, it is falsely recognized as an image as an object of counterfeiting prevention, thus hindering normal printing out. Further, the image recognition unit is operated even for images, irrelevant to an image as an object of counterfeiting prevention when considering the image formation method, such as character fonts formed by word processing software and images formed only of geometric patterns made by CAD software. In those cases, the printing-out speed is unnecessarily lowered. Here, the inventor obtained following information. That is, although the elements of images printed out by such type of color printers include character fonts, graphic elements such as straight lines and circles, and bit map images, only color bit map images among them are concerned with bank notes and securities. As long as bank notes and securities are regarded as images as an object of counterfeiting prevention, for example, operation of the image recognition unit for counterfeiting prevention is not necessary unless image data to be printed out is a color bit map image. Fig. 9 is a block diagram illustrating how external image data is received and printed out in a conventional color printer. The above described color printer is not provided with a specified scanner. As shown in Fig. 9, external image information 3 ○ is therefore read through a general purpose I/F (interface) as a unique language (printer language) 2 ○ and then expanded in an internal frame memory. Even for image formation, image data is formed to an image by subtractive color mixture of inks, for example, and therefore it is converted to CMYK type color information. Since image formation is generally carried out for each color, there is often image data of only one color at a time. Thus, the color printer does not have an area to which full RGB color components of an image are collectively transferred as in a color copy machine. This is a serious problem with image recognition. Solutions to this problem have been proposed such as the method 1 of recognition for each color using a laser drive signal (1 ○ in Fig. 9), the method 2 of recognition using data (2 ○ in Fig. 9) input to a color conversion portion and a gradation processing portion, for example, and the method 3 of recognition using data (3 ○ in Fig. 9) when external image information is expanded in a frame memory. Recognizable color images can be obtained by these methods. However, the entire image to be formed is basically regarded as an object of recognition, which results not only in an increase in circuit size and cost and a reduction in the processing speed but in an increase in the possibility of false recognition due to recognition of an unnecessary region in the image. In the above described methods 1 and 2, there is not enough time from recognition to stopping output of a formed image. In the case of recognition for each color, it is difficult to define an image, which is prohibited from being output, in a necessary sufficient color range. In the above described method 3, a new problem emerges that the order of expansion is not uniform and collective recognition of the entire image is difficult. EP 0 609 975 A2 discloses a printing system including an image data source, a data exchange network and a printer. An input section of the printer receives and analyses a data stream sent on the data exchange network and activates printing only when the data stream includes a token of interest. In case the token corresponds to a bitmap, then the data are stored separately to collect the bitmap data until a complete image is stored. EP 0 751 663 A2 provides an image processing system comprising a network, a computer, a printer and a pattern detection unit for detecting counterfeits in image data. If the pattern detection unit detects a counterfeit the printing of the image data is interrupted or the image to be printed is modified. Independent of the type of image data, all image data are analyzed thereby lowering the printing speed of the system in each case that image data have to be printed. GB 2 275 387 A discloses that a detecting means is activated or not and the threshold value of a determining means is set depending on set data in a special-document discriminating apparatus. JP-A-05 284 349 and JP-A-07 143 335 both disclose a two-step analysis of data for counterfeit prevention, wherein in the first document a rough search is made for areas which should be analyzed in the second step in detail, and the latter document proposes to make a first rough data analysis and, in case of resemblance to a specific pattern, a second step analysis using higher resolution. Therefore, an object of the present invention is to provide a print control method, a print system, and a print control apparatus, which can reduce the probability of falsely recognizing an ordinary image irrelevant to counterfeiting to be an image as an object of counterfeiting prevention in an equipped image recognition unit for counterfeiting prevention and which can improve the printing-out speed as a whole. The invention is defined in claims 1, 6 and 7, respectively. Particular embodiments of the invention are set out in the dependent claims. Claim 1 defines a method of controlling printing, having a first examination step of examining whether received input data includes data which can correspond to data as an object of a prescribed examination, a second examination step of examining in detail data which can correspond to the data as an object of a prescribed examination to determine whether it is the object data when the first examination step detects that the data which can correspond to the data as an object of a prescribed examination is included, and a step of permitting data processing of the input data when the first examination step detects that the data which can correspond to the data as an object of a prescribed examination is not included or the second examination step detects that the data which can correspond to the data as an object of a prescribed examination is not the object data. Since the input data is examined at two stages in the above described input data processing method, it is possible to quickly detect whether data in the input data is the object data. The above described image recognition for counterfeiting prevention determines correspondence of image data to be printed out with an image as an object of counterfeiting prevention by using a technique such as pattern recognition, when the image data is determined to be an image as an object for counterfeiting prevention, generates an output informing that, and prohibits a normal print out result from being obtained from the printing out device. As described above, the normal print out result is prohibited in various manners. There may be cases where printing out is not performed at all, where a color or a size is changed although printing out is performed, where a graphic pattern is covered by a certain color although printing out is performed, where a certain symbol or graphic pattern is overlapped although printing out is performed. It is noted that the significance of the image recognition unit for counterfeiting prevention is to be similarly interpreted in the following claims as well. Further, the " function of expanding a command received from an application to image data and then sending it to the printer " means a function of, when commands received from application software, for example, for drawing, word processing and scanning correspond to character fonts, graphic elements such as straight lines and circles, and bit map images, expanding these commands to image data and then sending them to the printer. Representative printer drivers having such a function are printer drivers for ink jet printers and dot impact printers, for example. Besides, this method can be adopted in various types of printers. It is noted that the meaning of the " function of expanding a command received from an application to image data and then sending it to the printer " is to be similarly interpreted in the following claims as well. Further, the " command type to which an image as an object of counterfeiting prevention belongs " is variously determined according to what image is assumed as the image as an object of counterfeiting prevention. When bank notes and securities, for example, are assumed to be images as an object of counterfeiting prevention, the command type would correspond to a color gray bit map image which is read by a color scanner, for example. Further, "sending a control signal for instructing operation " includes a case where the control signal is sent to a printer as addition information on image data, in addition to a case where the control signal is sent to a printer through a signal line for control signals between a personal computer and the printer. Although the formation of the control signal is basically sufficient as a 1-bit logic signal which represents whether or not operation is possible, it may also be a signal to control a multiple bit code representing one of a character font, drawing data such as straight lines and circles, or a bit map images as its command type. In this case, whether or no the image recognition unit can operate is determined by decoding the code on the printer side. By the print control apparatus of Claim 7, an illicit act of counterfeiting bank notes and securities, for example, by a combination of a color scanner, a personal computer and a color printer, for example, can be effectively prevented by normal operation of the in-printer image recognition unit (Claim 10) in response to an operation instruction control signal issued by the personal computer. When an image produced by a personal computer using word processing and drawing software is printed out by a printer, and the same or similar feature pattern compared with the feature pattern of an image as an object of counterfeiting prevention happens to exist in the image data to be printed out, the operation instruction control signal is not issued from the personal computer to the printer, and thus the in-printer image recognition unit is substantially invalidated. Thus, abnormal printing operation caused by false recognition of the image recognition unit is prevented. In addition, unless the type of a command received from an application is the command type to which an image as an object of counterfeiting prevention belongs, the operation instruction control signal for the image recognition unit is not issued from the computer. Thus, the in-printer image recognition unit does not operate except for an image corresponding to a command to which an image as an object for counterfeiting prevention belongs. It eliminates useless image recognition processing time. Therefore, compared with a conventional system in which the in-printer image recognition unit is operated for images of all command types regardless of how the images are derived, the printing-out speed can be improved as a whole. The print control apparatus of claim 9 includes a computer which includes an installed printer driver having a function of expanding a command received from an application to image data and then sending it to a printer. The computer has a function of sending to the printer a control signal for instructing operation of the image recognition unit for counterfeiting prevention when the type of a command received from an application is the command type to which an image as an object of counterfeiting prevention belongs, and not sending the control signal to the printer when it is not the command type to which an image as an object of counterfeiting prevention belongs. A print system according to claim 6 includes a computer with an installed printer driver, and a printer which contains an image recognition unit for counterfeiting prevention and a printing out device controlled according to a recognition result of the image recognition unit. In this system, the printer driver of the computer has a function of sending a command received from an application as it is to a printer without expanding it to image data. Further, the print controller has a function of operating the image recognition unit for counterfeiting prevention for image data which is obtained by expanding a command arriving from the computer to image data. Further, the printer controller has a function of not operating the image recognition unit for counterfeiting prevention when the type of a command arriving from the computer is not the command type to which an image as an object of counterfeiting prevention belongs. The " function of sending a command received from an application as it is to a printer without expanding it to image data" means a function of, when commands received from application software, for example, for drawling, word processing and scanning correspond to character fonts, graphic elements such as straight lines and circles, and bit map images, sending these commands as they are to a printer without expanding them to image data. A representative printer driver having such a function is a printer driver for laser printers, for example. According to the invention of claim 8, an illicit act of counterfeiting bank notes and securities by a combination of a color scanner, a personal computer and a color printer, for example, can be effectively prevented by normal operation of the in-printer image recognition unit according to a result of command type determination on the printer side. When an image produced by a personal computer using word processing and drawing software is to be printed out by a printer, existence of the same or similar feature pattern compared with the feature pattern of an image as an object of counterfeiting prevention in the image data to be printed out substantially invalidates the in-printer image recognition unit as a result of command type determination on the printer side. Thus, abnormal printing caused by false recognition of the image recognition unit is prevented. Brief Description of the Drawings Fig. 1 is a block diagram showing a construction of a print system according to a first embodiment of the present invention. Fig. 2 is a block diagram showing a construction of the image recognition unit in Fig. 1. Fig. 3 is a flow chart showing a process of the computer in Fig. 1. Fig. 4 is a block diagram showing a construction of a print system according to a second embodiment of the present invention. Fig. 5 is a flow chart showing a process of the printer in Fig. 4. Fig. 6 shows a schematic construction of a printer (image formation apparatus) according to a third embodiment of the present invention. Fig. 7 is a schematic flow chart showing a process of specifying and recognizing image data which can be a counterfeited image in the apparatus in Fig. 6. Fig. 8 is a detailed flow chart showing the process of specifying and recognizing image data which can be a counterfeited image in the apparatus in Fig. 6. Fig. 9 is a block diagram showing how external image data is received and printed out in a conventional color printer. Best Modes for Carrying Out the Invention In the following, the present invention will be described in detail with reference to the drawings. First Embodiment A construction of a pint system according to a first embodiment of the present invention is shown in Fig. 1. The print system in Fig. 1 includes a computer 901 such as a personal computer with an installed printer driver 101 and application 102, and a printer 902 which contains an image recognition unit 201 recognizing whether input image data is image data as an object of counterfeiting prevention, a pointing out device 202 printing out image data, and a controller 203 controlling pointing out device 202 according to a recognition result of image recognition unit 201. Printer 902 prints out color images for each page. Printing out device 202 prints electrical image data on a print paper as a "hard copy." Printer driver 101 of computer 901 includes in advance a function of expanding image data corresponding to a command C1 received from application 102 to image data D1, which can be printed out, according to command C1 concerning image data to be printed out, and then sending command C1 to printer 902. Printer drivel 101 is a printer driver for dot impact printers or ink jet printers, for example. Application 102 is application software for producing various image sources such as word processing software, graphic pattern formation software and scanner software. Controller 203 of printer 902 has a function of operating image recognition unit 201 for counterfeiting prevention for image data D1 applied from computer 901 for printing out. Image recognition unit 201 determines whether image data D1 which is applied from controller 203and is to be printed out corresponds to an image as an object of counterfeiting prevention such as by a pattern recognition method, when image data D1 is determined to be an image as an object of counterfeiting prevention, generates an output for informing that, and prohibits a normal print out result concerning image data D1 from being obtained from printing out device 202. For image data D1, the normal print out result is prevented from being obtained in various manners. There may be cases where printing out is not performed at all, where a color or a size is changed although printing out is performed, where a graphic pattern is covered by a certain color although printing out is performed, where a certain symbol or graphic pattern is overlapped although printing out is performed, and so on. Fig. 2 is a block diagram showing a construction of image recognition unit 201 in Fig. 1. Image recognition unit 201 in Fig. 2 is formed of a scale adjusting portion 2011 performing scale adjustment of input image data D1 for normalization, a color conversion and binarization portion 2012 performing color conversion and binarization of the scale-adjusted image data to emphasize a feature amount, a feature amount extraction portion 2013 extracting the feature amount from the color converted and binarized image data, a dictionary 2014 storing in advance various feature amounts unique to images as an object of counterfeiting prevention (images such as bank notes and securities, for example), and a matching portion 2015 collating the feature amount extracted by feature amount extracting portion 2013 with various feature amounts stored in dictionary 2014 to recognize whether the input image data corresponds to an image as an object of counterfeiting prevention and outputting the recognition result. In this embodiment, an output informing that the input image data corresponds to an image as an object of counterfeiting prevention, as the recognition result by matching portion 2015, is output as it is to controller 203as an output stop signal S2 for printing out device 202. In response to reception of output stop signal S2, controller 203 forces to stop operation of printing out device 202, thereby completely preventing printing out. A main part of the print system in Fig. 1 will be described in the following. Printer driver 101 of computer 901 has in advance a function of outputting a control signal S1 according to input command C1. According to this function, control signal S1 for instructing operation of image recognition unit 201 for counterfeiting prevention is output to printer 902 when the type of input image data indicated by command C1 input from application 102 is the one to which an image as an object of counterfeiting prevention belongs, and control signal S1 is not output to printer 902 when the command type is not the one to which an image as an object of counterfeiting prevention belongs. The types of image data indicated by command C1 are for example in the following (1) to (3). (1) texts of characters formed of fonts (2) drawing commands for straight lines, rectangles, curves, circles, and so on (3) bit map images 1 ○ binary bit map images 2 ○ multi-value (gray) bit map images (a) monochrome gray bit map images (b) color gray bit map images Among the various image data above, image data formed of command C1 other than command C1 corresponding to a color gray bit map image could not substantially be used to counterfeit bank notes and securities. Therefore, printer driver 101 of computer 901 monitors whether a page when image data D1 is produced includes command C1 indicating a color gray bit map image, when it includes the image, determines that image data D1 can correspond to an image as an object of counterfeiting prevention, and outputs control signal S1 to printer 902 so as to operate image recognition unit 201. When command C1 indicating a color gray bit map image is not included, however, printer driver 101 determines that image data D1 does not correspond to an image as an object of counterfeiting prevention, and does not output control signal S1 to printer 902 so as not to operate image recognition unit 201. Printer 902 has a function of operating image recognition unit 201 only when control signal S1 is received from computer 901. As described above, when it is recognized that image data D1 corresponds to an image as an object of counterfeiting prevention as a result of operation of image recognition unit 201, image recognition unit 201 outputs output stop signal S2 to controller 203. Thus, controller 203 forces to stop operation of printing out device 202 in response to reception of output stop signal S2, thereby prohibiting printing out of the image as an object of counterfeiting prevention. Fig. 3 is a flow chart showing a process of computer 901 in Fig. 1. An operation of the pint system in Fig. 1 will be described in order of time with reference to the flow chart in Fig. 3. When the process starts in computer 901, printer diver 101 initializes control signal S1 at an appropriate value, outputs the signal to printer 902, and stops operation of image recognition unit 201 for initialization (step 401). Thereafter, printer driver 101 receives command C1 corresponding to a pint source from application 102 (step 402), and expands received command C1 to image data D1 (step 403). Thereafter, printer driver 101 determines whether the type of the image data indicated by command C1 received from application 102 is the type of image data as an object of counterfeiting prevention (a color gray bit map image in this embodiment) (step 404). When the type of the image data indicated by command C1 received from application 102 is determined to be a color gray bit map image (YES in step 404), control signal S1 is set at an appropriate value and thus image recognition unit 201 of printer 902 attains an operative state. When the type of the image data indicated by command C1 received from application 102 is not determined to be a color gray bit map image (NO in step 404), the process of step 405 is skipped and control signal S1 is not changed. Thus, image recognition unit 201 of printer 902 remains to be stopped. When one page of image data D1 is stored in a memory, not shown, while the above described steps 402 to 405 are repeated (YES in step 406), the stored one page of image data D1 is output to printer 902 (step 407). This operation is repeated on the side of computer 901. On the side of printer 902, only when image data D1 including a color gray bit map image is input from computer 901, image recognition unit 201 operates. It is therefore possible to effectively prevent counterfeiting of bank notes and securities using a combination of a color scanner, a computer and a printer, for example. When image data D1 formed by a computer using word processing and drawing software, for example, is to be printed out by a printer, and image data D 1 includes by chance the same or similar feature amount compared with various feature amounts of images as an object of counterfeiting prevention, control signal S1 is not output from computer 901 to printer 902. Thus, image recognition unit 201 in printer 902 is substantially invalidated, thereby preventing abnormal printing operation due to false recognition by image recognition unit 201. According to this embodiment, as long as the type of image data indicated by command C1 output from application 102 does not correspond to the type to which image data as an object of counterfeiting prevention belongs, computer 901 does not output control signal S1. Thus, image recognition unit 201 does not operate for data other than image data D1 which corresponds to command C1 indicating the image data type to which image data as an object of counterfeiting prevention belongs. As a result, useless image recognition time is eliminated, and the processing speed of the entire system including the printing-out speed can be improved compared with a conventional system in which image recognition is carried out on all image data D1 regardless of how the image is delved. Second Embodiment Fig. 4 is a block diagram showing a construction of a print system according to a second embodiment of the present invention. In Fig. 4, the same reference characters denote the same parts as Fig. 1 and detailed description thereof will not be repeated. The print system in Fig. 4 includes a computer 901 such as a personal computer which has an application 102 and a printer driver 103, a printer 902 which has an image recognition unit 201 for counterfeiting prevention, a printing out device 202, and a controller 203a controlling pointing out device 202 according to a recognition result of image recognition unit 201. The constructions of Fig. 1 and Fig. 4 are different in that printer driver 101 of Fig. 1 is changed to printer driver 103, image recognition unit 201 to image recognition unit 201a, and controller 203 to controller 203a. Other parts of Fig. 4 are the same as Fig. 1. Printer driver 103 of computer 901 has a function of outputting command C1 received from application 102 as it is to printer 902 without expanding image data according to command C1. Printer driver 103 is a printer driver for laser printers, for example. Controller 203a of printer 902 has a function of operating image recognition unit 201a for counterfeiting prevention for image data D1 obtained by expanding an image according to command C1 input from computer 901. As described with reference to Fig. 1, image recognition unit 201a for counterfeiting prevention determines whether image data D1 to be printed out corresponds to an image as an object of counterfeiting prevention such as by a pattern recognition method, when image data D1 is determined to be an image as an object of counterfeiting prevention, generates an output informing that, and prohibits a normal print out result from being obtained from printing out device 202. An construction of image recognition unit 201a is as shown in Fig. 2 above. A main part of the print system in Fig. 4 will be described in the following. Controller 203a of printer 902 has a function of operating image recognition unit 201a for counterfeiting prevention when the type of image data indicated by command C1 received from computer 901 corresponds to the one to which image data as an object of counterfeiting prevention belongs, and not operating image recognition unit 201a for counterfeiting prevention when the type of image data indicated by received command C1 does not correspond to the one to which the image data as an object of counterfeiting prevention belongs. The types of image data indicated by command C1 include the above described three types (1) to (3). Of the various image data described above, image data other than color gray bit map images cannot virtually be used to counterfeit bank notes and securities. For each page where image data D1 is being formed, controller 203a monitors whether it includes command C1 indicating a color gray bit map image. When it includes command C1 indicating the image, it is determined that image data D1 may correspond to an image as an object of counterfeiting prevention, and image recognition unit 201a is controlled to operate by using control signal S1. When the page does not include command C1 indicating a color gray bit map image, it is determined that image data D1 does not correspond to an image as an object of counterfeiting prevention, and image recognition unit 201a is controlled not to operate by using control signal S1. When it is recognized that received image data D1 corresponds to an image as an object of counterfeiting prevention as a result of operation of image recognition unit 201a, image recognition unit 201a outputs an output stop signal S2 to controller 203a. Controller 203a stops operation of printing out device 202 in response to reception of output stop signal S2, thereby prohibiting printing out of the image as an object of counterfeiting prevention. Fig. 5 is a flow chart showing a process of printer 902 in Fig. 4. An operation of the print system in Fig. 4 will be described in order of time with reference to the flow chart in Fig. 5. When the process starts in printer 902, controller 203a initializes control signal S1 at an appropriate value and outputs the signal to image recognition unit 201a to initialize operation of image recognition unit 201a to a stopped (non-operative) state (step 501). Thereafter, controller 203a receives command C1 corresponding to a print source from computer 901 and carriers out expansion to image data D1 according to received command C1 (steps 502 and 503). Thereafter, controller 203a determines whether the type of image data D1 indicated by command C1 received from computer 901 is the one to which image data as an object of counterfeiting prevention belongs (here, a color gray bit map image). When it is determined that the type of image data D1 in dicated by command C1 is a color gray bit map image (YES in step 504), control signal S3 is output to render image recognition unit 201a operative. When it is determined that the type of image data D1 indicated by command C1 is not a color gray bit map image (NO in step 504), the process of step 505 is skipped and image recognition unit 201a remains to be stopped. When one page of image data D1 is stored in a memory, not shown, in sprinter 902 by repetition of the process in steps 502 to 505, it is determined that printing out should be started (YES in step 506), and stored image data D1 is output to printing out device 202 and printed out (step 507). Thereafter, the above described operation is repeated. As described above, on the side of printer 902, image recognition unit 201a is operated by control signal S3 only when command C1 corresponding to image data including a color gray bit map image is received from computer 901. Thus, counterfeiting of bank notes and securities using a combination of a color scanner, a personal computer and a color printer can be effectively prevented because image recognition unit 201a normally operates according to a determination result of the type of image data D1 indicated by command C1 on the side of printer 902 with application of the system in Fig. 4. When image data formed by a personal computer with word processing and drawing software, for example, is printed out by using printer 902, existence of the same or similar feature amount with respect to the feature amount of an image as an object of counterfeiting prevention in image data D1 to be printed out substantially invalidates image recognition unit 201a according to a determination result of the type of image data D1 indicated by command C1 on the side of printer 902. Thus, abnormal printing due to false recognition by image recognition unit 201a is avoided. According to the system in Fig. 4, image recognition unit 201a does not operate as long as the type of image data D1 indicated by command C1 received from computer 901 in printer 902 is not the one to which image data as an object of counterfeiting prevention belongs. As a result, image recognition unit 201a of printer 902 does not operate except for image data D1 corresponding to command C1 indicating the type to which image data as an object of counterfeiting prevention belongs. Thus, useless image recognition time is eliminated during printing out in the system. Therefore, the overall processing speed including the printing-cut speed can be improved compared with a conventional system in which an image recognition unit operates for image data D1 corresponding to all types indicated by command C1 regardless of how they are derived. According to the systems in Figs. 1 and 4 above, the probability of falsely recognizing ordinary images irrelevant to counterfeiting to be images as an object of counterfeiting prevention can be lowered, and the printing-cut speed can be improved for the entire system. Third Embodiment Recognition of images for counterfeiting prevention according to a third embodiment of the present invention will be described in the following. The image recognition is applied to an image formation apparatus or image processing apparatus provided in a general printer, thereby carrying out image recognition for counterfeiting prevention when data of a color bit map image which may include a counterfeited image is transferred through an internal bus of the image formation apparatus or image processing apparatus or it is expanded in a frame memory. Fig. 6 shows a schematic construction of a printer (image formation apparatus) according to the third embodiment of the present invention. Fig. 7 is a schematic flow chart of a process of specifying and recognizing image data which can be a counterfeited image in the apparatus of Fig. 6. Fig. 8 is a detailed flow chart of the process of specifying and recognizing image data which can be a counterfeited image in the apparatus of Fig. 6. Fig. 6 schematically shows parts associated mainly with image data processing. The printer in Fig. 6 includes a CPU 1, an image recognition unit 2 recognizing an image for preventing image counterfeiting, a frame memory 3, I/Fs (interfaces) 4, 5, a color conversion and gradation processing portion 6 carrying out color conversion and gradation processing on image data for printing out, a printer engine 7 printing out image data processed in processing potion 6, and an internal bus 8 connecting these portions. In Fig. 6, the following processes 1 ○ to 4 ○ are generally carried out as an image formation procedure. It is noted that the processes 1 ○ to 4 ○ are carried out during data transfer 1 ○ to 4 ○ in Fig. 6. When image data in the form of a printer language (or a protocol) is received through I/F 4 from an external computer, for example, CPU 1 receives the image data through internal bus 8 (process 1 ○) and expands it in frame memory 3 (process 2 ○). When one page (or a prescribed printing unit) of data expansion ends at this time, CPU 1 reads out one page of data from frame memory 3 in an output order (process 3 ○). The read data is processed in color conversion and gradation processing portion 6 through I/F 5 and then formed to an image which can be printed out by printer engine 7 (process 4 ○). It is noted that some sprinters repeat the processes 3 ○ and 4 ○ for each printing to print out one page (or a prescribed printing unit) of images. The process procedure varies according to the type of a printer. There may be cases where data in frame memory 3 is compressed which requires data transfer for compression and uncompression, and where data is directly transferred to frame memory 3 without passing through CPU 1. However, data is basically processed in the above described procedure. Between the portions in Fig. 6, image data is transferred four times corresponding to data transfer 1 ○ to 4 ○ in Fig. 6. If an image is recognized by utilizing data in any of the four-time transfer, it is not necessary to newly transfer image data for the image recognition apparatus. Thus, a function of preventing output of an illicit image such as a counterfeited image can be provided without lowering the performance of a conventional printer. Data in data transfer 3 ○ and 4 ○ in Fig. 6 is not suitable for image recognition as described with respect to Fig. 9. In this embodiment, therefore, image recognition unit 2 for preventing image counterfeiting utilizes data in data transfer 1 ○ or 2 ○ for recognition. As the characteristic of data in data transfer 1 ○ and 2 ○, data in a print range is data before expansion to the form of a "raster image" and is command data formed of a specified protocol such as a printer language. CPU 1 analyzes a protocol in command data, expands it to a raster image in frame memory 3, and overlaps all expanded images. Thus, image data actually formed is completed. The command data transferred here includes character data, graphic data such as straight lines and circles, bit map image data, and control information such as paper setting and font selection. Of these data, the data which image recognition unit 2 has to recognize is limited to color multi-value image data in bit map image data. It is because from such a view point of counterfeiting prevention using a color copy machine that illicit counterfeiting should be prohibited, synthesizing of any other data can not be an image which should be prohibited from being output (counterfeited image). In other words, recognition of all color multi-value image data sufficiently attains the object of image recognition unit 2 to prevent formation of a prohibited image even if the entire image to be formed is not recognized. In this embodiment, only when color multi-value image data of command data in data transfer 1 ○ and 2 ○ in Fig. 6 is expanded, image data is read while transferred specific data is monitored. The specific data which is transferred while color multi-value image data to be monitored is expanded is data necessary to analyze image data of a color multi-value image in command data. For example, it is coordinate data or image size data. The coordinate data indicates coordinates (a memory address) in a working area of frame memory 3 which is used when image data is compressed by CPU 1. In any of data transfer 1 ○ and 2 ○ in Fig. 6, bit map data which is not compressed or data which is processed according to a protocol such as that for compression is transferred when expanding color multi-value image data. According to the flow chart in Fig. 7, therefore, image data necessary for recognition can be obtained and recognition for preventing counterfeited image output can be made possible. In Fig. 7, CPU 1 or image recognition unit 2 first analyzes the process indicated by command data received through internal bus 8, that is, determines whether the process is expansion of a color multi-value image according to whether the command data includes data unique to the color multi-value image data (steps 601 and 602). If the process is determined to be expansion of the color multi-value image data (YES in step 602), image recognition unit 2 obtains unique data such as an image size from the analysis result (step 603), monitors data which is transferred through internal bus 8 according to the unique data, and at the same time reads the color multi-value image data from the transferred data (step 604). Then, the feature amount of the read color multi-value image data is extracted, and the extracted feature amount and the feature amount of image data as an object of counterfeiting prevention are recognized such as by pattern matching. Thus, the process according to the recognition result is carried out (step 605). Here, the process according to the recognition result prevents normal output of input image data when the input image data is recognized to be image data as an object of counterfeiting prevention and, otherwise, does not prevent normal output. Image recognition unit 2 connected to internal bus 8 of the image formation apparatus in Fig. 6 obtains coordinate data (coordinate information on starting and ending locations) of the color multi-value image data from CPU 1, and image data which is transferred from CPU 1 through internal bus 8 to frame memory 3 for image compression in frame memory 3 is used for recognition. This case will be described in the following. Recognition in this manner has the following advantages. Since CPU 1 usually analyzes a protocol in command data, image recognition unit 2 does not have to include a protocol analysis function because it receives the analysis result from CPU 1. Since the order of data transfer to frame memory 3 for image compression matches the order of directly processing the command data by CPU 1, image recognition unit 2 can easily carry out recognition without being influenced by the protocol, sufficient time is permitted till printing out is stopped based on the recognition result, and false recognition is prevented. Since image recognition unit 2 in Fig. 6 is connected to internal bus 8, it obtains, from CPU 1, information on image data which is transferred from CPU 1 through internal bus 8 to frame memory 3, and monitors data transfer between CPU 1 and frame memory 3. Further, notification of the recognition result to various portions is also carried out using internal bus 8. These operations will be carried out according to the flow chart in Fig. 8. Referring to Fig. 8, when CPU 1 externally receives command data through I/F 4 and internal bus 8 (step 701), it analyzes a protocol in the command data and determines whether the data includes a command code (unique data indicating coordinate data, image size data and so on) concerning color multi-value image data (step 702). If the received command data includes the command code concerning the color multi-value image data, CPU 1 determines that expansion of the color multi-value image data is to be carried out (YES in step 702), and sends, to image recognition unit 2, coordinate data (starting and ending locations) indicating a working area in frame memory 3 at the time of expansion of the color multi-value image data, image size data, and the like which are obtained by analyzing the received command data (step 703). When image recognition unit 2 receives the coordinate data and the like sent from CPU 1 (step 704), it monitors data transferred to internal bus 8 (step 705). Since internal bus 8 can also be used to transfer data other than a color multi-image data for image recognition unit 2, image recognition unit 2 has to check the source and destination of data on internal bus 8 and receive and recognize only necessary data. For the checking, such a piece of data among data on internal bus 8, of which source information indicates that its source is CPU 1, that is, internal bus 8 is used by CPU 1 and an writing operation is carried out for internal bus 8 and of which destination information corresponds to coordinate data of frame memory 3 received from CPU 1 in step 704, is determined to correspond to the color multi-value image data which is notified from CPU 1 (steps 706 and 707). When it is determined that the data received through internal bus 8 corresponds to the color multi-value image data notified from CPU 1 (YES in step 707), image recognition unit 2 extracts a feature amount concerning the received color multi-value image data as described above, and recognizes the extracted feature amount and that of an image as an object of counterfeiting prevention prepared beforehand by pattern matching (step 708). When it is determined that the image of the received color multi-value image data is likely to be an image as an object of counterfeiting prevention and thus normal printing out should be prohibited as a result of recognition (YES in step 709), image recognition unit 2 sends to CPU 1 a prohibit signal to prevent printing out of the image as an object of counterfeiting prevention (step 710). When CPU 1 receives the prohibit signal from image recognition unit 2, it outputs, to color conversion and gradation processing portion 6 or printer engine 7 through I/F 5, an instruction signal to cover an output image with toner of a prescribed color, an instruction to make color setting insufficient by lowering the temperature of color setting, and an instruction signal not to print anything, operates to destroy the printer apparatus itself, or operates to collect print out sheets or make holes in the sheets. As a result, normal printing out of input image data which is an image as an object of counterfeiting prevention is prevented. On the other hand, when image recognition unit 2 determines that the image by the received image data is less likely to be an image which is prohibit from being printed out (counterfeited image) and normal printing out may be permitted (NO in step 709) as a result of recognition, normal printing out of the image data is instructed to color conversion and gradation processing portion 6 and printer engine 7 through CPU 1. Thereafter, image recognition unit 2 determines whether reception of all data of the recognized image data has been ended by comparing the address of coordinate data received from CPU 1 and destination information indicated by the received image data (an address on frame memory 3) (step 711). If the both addresses are matched, all data have been recognized for image data to be recognized, and thus the process returns to step 704. If the both addresses are not matched, however, all data have not been recognized for image data to be recognized, and thus the process returns to step 706. The determination in step 711 may be carried out based on the amount of transferred data. As described above, by monitoring transfer data on internal bus 8, image recognition unit 2 can effectively obtain only image data necessary for recognizing images for counterfeiting prevention, and the counterfeiting prevention function can be easily incorporated into general image formation apparatuses. According to the apparatus shown in Fig. 6, only necessary partial data of image data can be recognized, thereby reducing the size of an image processing circuit, improving the recognition speed, reducing the false recognition rate and lowering the cost. Since data prior to color conversion is utilized, RGB color data with lesser data amount can be easily obtained for recognition, thereby reducing the size of an image processing circuit, improving the recognition speed and lowering the cost. By monitoring transfer data on internal bus 8, the function standard, for example, of the printing speed of a printer is not deteriorated, and the function shown in Fig. 6 can be incorporated into a printer. Since recognition is carried out before data is input to printer engine 7, there is enough time to prevent printing out of an illicit image (counterfeited image).

Claims: A method of controlling printing for preventing counterfeiting of a bank note or securities, comprising: a first examination step (404, 504) of examining whether received input data (C1) include a type of image data (D1) that corresponds to a type of image data being object of counterfeiting prevention; a second examination step (405, 505) of examining in detail, upon detection in said first examination step (404, 504) that the type of image data (D1) corresponds to said type of image data being object of counterfeiting prevention, the image data (D1) to determine whether or not the image data (D1) are image data of said object of counterfeit prevention; and print permitting step (406, 506) of permitting printing of said input data (C1), upon detection in said first examination step (404, 504) that the type of image data (D1) does not correspond to the type of image data being object of counterfeiting prevention, or upon detection in said second examination step (405, 505) that the image data (D1) are not image data of said object of counterfeiting prevention; wherein in said first examination step (404, 504) examination is based on the type of image data (D1) indicated by a color gray bit map image command of said input data (C1). The print control method according to claim 1, wherein the type of image data being object of counterfeiting prevention is a color multi-value bit map image data type. The print control method according to claim 1 or 2, applied to a print system including a printer (902) and a computer (901) controlling said printer, wherein said first examination step (404) is performed in said computer (901) and said computer is outputting a control signal (S1), if said type of input data (C1) corresponds to a type of image data being object of counterfeit prevention, and said second examination step (405) and said print permitting step (406, 506) are performed in said printer (902), wherein said second examination step is performed when said control signal (S1) is received from said computer. The print control method according to claim 1 or 2, applied to a printer (902), wherein said method is performed in said printer (902). The print control method according to any of claims 1 to 4, wherein said input data (C1) include a conversion instruction for expanding bit map data to print data. A print system including a printer (902) and a computer (901) controlling said printer, for preventing counterfeiting of a bank note or securities, a computer readable recording medium having a program recorded thereon to have said computer (901) function as examining means (101) examining whether received input data (C1) include a type of image data (D1) that corresponds to a type of image data being object of counterfeiting prevention, wherein in said printer (902), upon detection by said examining means (101) that said type of image data (D1) corresponds to said type of image data being object of counterfeiting prevention, the image data (D1) are examined in detail to determine whether the image data (D1) are the image data of said object of counterfeiting prevention, and printing of said image data (D1) by said printer (902) is permitted upon detection by said examining means (101) that the type of image data (D1) does not correspond to the type of image data being object of counterfeiting prevention, or upon detection in said detailed examination that the image data (D1) are not the image data of said object of counterfeiting prevention; and wherein in said examining means (101) examination is based on the type of image data indicated by a color gray bit map image command of said input data (C1). A print control apparatus preventing counterfeiting of a bank note or securities, comprising: first examining means (101, 203a) examining whether received input data (C1) include a type of image data (D1) that corresponds to a type of image data being object of counterfeiting prevention; second examining means (201, 201a), responsive to detection by said first examining means (101, 203a) that a type of said image data (D1)corresponds to the type of image data being object of counterfeiting prevention, examining in detail whether the image data (D1) are image data of said object of counterfeiting prevention; and print permitting means (203, 203a) permitting printing of said input data (C1), upon detection by said first examining means (101, 203a) that the type of image data (D1) does not correspond to a type of image data being object of counterfeiting prevention, or detection by said second examining means (201, 201a) that the image data (D1) are not image data of said object of counterfeiting prevention; wherein in said first examining means (101, 203a) examination is based on the type of the image data indicated by a color gray bit map image command of said input data (C1). The print control apparatus according to claim 7, wherein the type of image data (D1) being object of counterfeiting prevention is a color multi-value bit map image data type. The print control apparatus according to claim 7 or 8, wherein said print control apparatus is applied to a print system (901, 902) including a printer (902) and a computer (901) controlling said printer (902), said first examining means (101) is provided in said computer (901) and said computer is outputting a control signal (S1), if said type of image data (C1) corresponds to a type of image data being object of counterfeit prevention, and said second examining means (201) and said print permitting means (203) are provided in said printer (902), said second examining means (201) examining said image data (D1) when said control signal (S1) is received from said computer. The print control apparatus according to claim 7 or 8, wherein said print control apparatus is provided in a printer (902). The print control apparatus according to any of claims 7 to 10, wherein said input data (C1) include a conversion instruction for expanding bit map data to print data.

Inventors: HIRAISHI JUNJI, KAKIUCHI TAKASHI, TANIGUCHI KEITARO, HIRAISHI, JUNJI, KAKIUCHI, TAKASHI, TANIGUCHI, KEITARO
Applicants: OMRON TATEISI ELECTRONICS CO, OMRON CORPORATION
Application year: 1998
Main classification: H04N1
IPC codes: H04N1