IMAGE PROCESSING APPARATUS AND CONTROL PROGRAM FOR IMAGE PROCESSING APPARATUS
20190356815 ยท 2019-11-21
Assignee
Inventors
Cpc classification
G06F21/10
PHYSICS
H04N2201/0094
ELECTRICITY
H04N1/387
ELECTRICITY
G07D7/00
PHYSICS
International classification
Abstract
An image processing apparatus includes: a receiver that receives image data; a magnification changer that generates each of a plurality of magnification-changed images by magnifying the image data at a plurality of magnifications different from each other; a detector that detects a specific image from the plurality of magnification-changed images; and a hardware processor that restricts printing of the image data under a part of printing conditions in a case where the specific image is detected by the detector.
Claims
1. An image processing apparatus comprising: a receiver that receives image data; a magnification changer that generates each of a plurality of magnification-changed images by magnifying the image data at a plurality of magnifications different from each other; a detector that detects a specific image from the plurality of magnification-changed images; and a hardware processor that restricts printing of the image data under a part of printing conditions in a case where the specific image is detected by the detector.
2. The image processing apparatus according to claim 1, further comprising an image memory that stores the image data binarized, wherein the magnification changer generates each of the plurality of magnification-changed images based on the image data before binarization.
3. The image processing apparatus according to claim 2, wherein in a case where the specific image is detected from one magnification-changed image by the detector, the hardware processor restricts printing of the image data at a magnification within a predetermined range determined based on a magnification of the one magnification-changed image.
4. The image processing apparatus according to claim 3, further comprising: a magnification storage device that stores the magnification of the one magnification-changed image in the image memory in a manner associated with the binarized image data in the case where the specific image is detected from the one magnification-changed image by the detector; and an additional edit receiver that receives edit operation to change a magnification of the image data after detection of the specific image by the detector is finished, wherein in a case where a product of a magnification preset in the image data and a magnification for magnification change received by the additional edit receiver is a magnification within the predetermined range determined based on the magnification of the one magnification-changed image stored in the image memory, the hardware processor restricts printing under a printing condition in accordance with the edit operation received by the additional edit receiver.
5. The image processing apparatus according to claim 4, wherein a magnification at the time of generating each of the plurality of magnification-changed images by the magnification changer is a magnification that can be set as the printing condition, and the additional edit receiver does not receive edit operation to change the magnification of the image data to a magnification different from the magnification at the time of generating each of the plurality of magnification-changed images by the magnification changer.
6. The image processing apparatus according to claim 2, wherein in a case where the specific image is detected by the detector, the hardware processor restricts printing of the image data regardless of the printing condition.
7. The image processing apparatus according to claim 2, wherein the hardware processor stops printing, and restricts printing by deleting the binarized image data from the image memory.
8. The image processing apparatus according to claim 1, wherein in a case where the specific image is detected from a certain magnification-changed image among the plurality of magnification-changed images, the detector partly continues detection of the specific image from the magnification-changed image from which the specific image is detected among the plurality of magnification-changed images.
9. The image processing apparatus according to claim 1, further comprising a plurality of buffers to store the plurality of magnification-changed images respectively, wherein the magnification changer includes: a resolution changer that changes a resolution of each of the plurality of magnification-changed images to a predetermined resolution; and a buffering device that temporarily stores, in each of the plurality of buffers, each of the plurality of magnification-changed images subjected to the resolution change, and the detector detects the specific image from each of the plurality of magnification-changed images stored in each of the plurality of buffers.
10. The image processing apparatus according to claim 9, further comprising a switcher that selectively switches a buffer to be a detection target among the plurality of buffers, wherein the detector detects the specific image from a magnification-changed image stored in a buffer that is set as the detection target by the switcher.
11. The image processing apparatus according to claim 10, wherein the switcher sets, as a detection target, a buffer in which a size of stored data reaches a predetermined size among the plurality of buffers, and in a case where there are two or more buffers in each of which a size of stored data reaches the predetermined size among the plurality of buffers, the switcher preferentially sets, as the detection target, a buffer in which a magnification-changed image having a relatively high magnification for magnification change is stored.
12. The image processing apparatus according to claim 11, further comprising an adding device that adds magnification-changed images stored in two buffers respectively in a case where a size of data stored in each of the two buffers reaches the predetermined size among the plurality of buffers, wherein the detector detects the specific image from a synthesized image obtained by adding the magnification-changed images by the adding device, and the image processing apparatus further comprises a determination device that determines which one of the two magnification-changed images added by the adding device includes the specific image, based on presence/absence of consecutiveness of blocks in each of which the specific image is detected in a case where the specific image is detected by the detector.
13. The image processing apparatus according to claim 12, wherein one magnification-changed image out of two magnification-changed images to be added by the adding device is a magnification-changed image having a maximum magnification among the plurality of magnification-changed images.
14. A non-transitory recording medium storing a computer readable control program causing a computer to perform: receiving image data; generating each of a plurality of magnification-changed images by magnifying the image data at a plurality of magnifications different from each other; detecting a specific image from the plurality of magnification-changed images; and restricting printing of the image data under at least a part of printing conditions in a case where the specific image is detected in the detecting.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The advantages and features provided by one or more embodiments of the invention will become more fully understood from the detailed description given hereinbelow and the appended drawings which are given by way of illustration only, and thus are not intended as a definition of the limits of the present invention:
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
DETAILED DESCRIPTION OF EMBODIMENTS
[0046] Hereinafter, one or more embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the disclosed embodiments.
[0047] In the following embodiments, a case where an image processing apparatus is a multifunction peripheral (MFP) will be described. The image processing apparatus may also be an image forming apparatus other than the MFP, for example, a printer, a copying machine, a scanner, or the like, or may be an apparatus other than the image forming apparatus, such as a personal computer (PC) or a portable terminal.
First Embodiment
[0048]
[0049] Referring to
[0050] The image forming apparatus 1 includes an operating device 11 (an example of an additional edit receiver), a display 12, a scanner device 13, a printer device 14, a finisher device 15, a communication interface 16, a document feeder 17, a sheet feeding device 18, a CPU 20 (an example of a restrictor), a random access memory (RAM) 21 (an example of an image memory), a read only memory (ROM) 22, a storage 23, and the like.
[0051] The operating device 11 includes a plurality of keys to input numbers, letters, symbols and the like, a sensor that recognizes a pressed key, a transmission circuit that transmits, to the CPU 20, a signal indicating the recognized key.
[0052] The display 12 displays a screen to provide a message or a command to a user, a screen for the user to input a setting matter and a processing matter, a screen indicating an image formed by the image forming apparatus 1 and a processing result. Here, a touch panel is used as the display 12. Therefore, the display 12 detects a position on the touch panel touched by the user with the finger, and transmits a signal indicating the detection result to the CPU 20.
[0053] Thus, the operating device 11 and the display 12 play a role of a user interface for the user to directly operate the image forming apparatus 1. Note that the user can also remotely operate the image forming apparatus 1 via an external apparatus such as a PC (not illustrated) in which an application program and a driver to provide a command to the image forming apparatus 1 are installed.
[0054] The scanner device 13 photoelectrically acquires image data by photoelectrically reading image information such as a photograph, a character, or a picture from a document. The acquired image data (density data) is converted to digital data in an image processor (not illustrated), subjected to various kinds of known image processing, transmitted to the printer device 14 and the communication interface 16, and provided for image printing and data transmission. Alternatively, the acquired image data (density data) is converted to digital data in the image processor (not illustrated) and stored in the storage 23 for later use.
[0055] The printer device 14 prints, on a recording sheet such as a paper sheet or a film: image data acquired by the scanner device 13; image data received by the communication interface 16 from the external apparatus; or an image stored in the storage 23.
[0056] The finisher device 15 performs post-processing such as stapling or punching for the recording sheet (namely, printed matter) on which the image has been printed by the printer device 14, and ejects the recording sheet to a tray 24.
[0057] The communication interface 16 includes a transmitter, a receiver, and the like. The communication interface 16 includes a wireless communication device, a network interface card (NIC), a modem, a terminal adapter (TA), and the like to exchange data with a portable viewing terminal and electronic paper.
[0058] The document feeder 17 feeds a document to an image reading position of the scanner device 13.
[0059] The sheet feeding device 18 is provided at a lower part of a body of the image forming apparatus 1 and used to supply the printer device 14 with a recording sheet suitable for an image to be printed.
[0060] The CPU 20 controls the entire image forming apparatus 1 in accordance with a control program. The CPU 20 loads, onto the RAM 21, the control program stored in the ROM 22 and executes the loaded control program.
[0061] The RAM 21 is a main memory of the CPU 20. The RAM 21 temporarily stores the control program, buffer data described later, and the like. The RAM 21 includes: a processing block buffer that is a storage area to temporarily store buffer data and the like; and a print image memory that is a storage area to temporarily store image data and the like.
[0062] The ROM 22 stores various programs executed by the CPU 20, various fixed data, and the like.
[0063] The storage 23 includes a hard disk 23H, a card reader 23R, and the like. The card reader 23R reads data from a memory card 91 such as a Compact Flash (registered trademark) or a smart medium. Additionally, the card reader 23R writes data in the memory card 91. The memory card 91 is mainly used to: exchange data with the external apparatus not via a communication line; make a backup of data; and the like.
[0064] The hard disk 23H stores image data read by the scanner device 13, image data received from the external device by the communication interface 16, and the like. Reference can be made to the data stored in the hard disk 23H from other image forming apparatuses via a network.
[0065] Next, operation in which the image forming apparatus 1 detects a specific image will be described.
[0066]
[0067] Referring to
[0068] When image data is received via the communication interface 16 or the scanner device 13 (an example of receiver) in a job such as a print job or a copy job, the RIP 51 generates raster data of the image data to be printed in accordance with the job by performing RIP processing for the image data included in the job. The RIP 51 stores the generated raster data (image data before binarization) in a first print image memory area inside the RAM 21.
[0069] Note that an external device that is a transmission source of a print job may also perform the RIP processing for the image data, instead of the image forming apparatus 1 performing the RIP processing. In this case, the image forming apparatus 1 receives the print job including raster data of the image data from the external device.
[0070] On the other hand, the binarizer 52 binarizes the generated raster data. The binarized data is stored in a second print image memory area inside the RAM 21 together with a magnification of a magnification-changed image in which a specific image is detected in detection processing described later.
[0071] The color converter 53, the magnification converter 54, the detection resolution converter 55, and the detection processing circuit 56 generate each of a plurality of magnification-changed images based on the raster data of the image data (image data before binarization), and detect the specific image from each of the plurality of generated magnification-changed images.
[0072] Specifically, the color converter 53 performs, for the raster data of the image data, color conversion processing to separate only a color of the specific image from the raster data. The magnification converter 54 generates each of the plurality of magnification-changed images by changing a magnification of the image data subjected to the color conversion to each of a plurality of magnifications different from each other. The detection resolution converter 55 converts the data subjected to the magnification conversion to data having a resolution suitable for detecting the specific image. The data subjected to the resolution conversion is temporarily stored in an area of the processing block buffer inside the RAM 21. The processing block buffer inside the RAM 21 has a capacity of a size capable of storing a magnification-changed image having a predetermined block size or a predetermined band size. The detection processing circuit 56 detects the specific image from the plurality of magnification-changed images. The detection processing circuit 56 performs detection processing to detect the specific image from the data stored in the processing block buffer.
[0073] A series of processing from generation of a magnification-changed image by changing a magnification of image data at one magnification until execution of the detection processing for the generated magnification-changed image will be defined as processing R1. In parallel to the binarization processing by the binarizer 52, the color converter 53, the magnification converter 54, the detection resolution converter 55, and the detection processing circuit 56 sequentially generate each of the plurality of magnification-changed images by repeating the processing R1 for the raster data of the image data while changing a magnification for magnification change, and perform the specific image detection processing for each of the generated magnification-changed images.
[0074] It is preferable that the magnification at the time of generating each of the plurality of magnification-changed image be a magnification that can be set as a printing condition of the image forming apparatus 1, and examples of such a magnification here include twice, an equal magnification, times, and times. Additionally, it is preferable to perform the specific image detection processing for each generated magnification-changed image every time each magnification-changed image of the predetermined block size or the predetermined band size is generated. Consequently, a size of the processing block buffer inside the RAM 21 can be reduced.
[0075]
[0076] Note that the reference mark is indicated by an alphabet A in the drawings. Here, the reference mark is an image same as the specific image, but may also be an image obtained by changing a magnification of the specific image at a predetermined magnification.
[0077] Referring to
[0078] Since the image data illustrated in
[0079]
[0080]
[0081] Referring to
[0082]
[0083] Referring to
[0084]
[0085] Referring to
[0086] Note that in a case where the detection processing circuit 56 detects the specific image from a specific magnification-changed image among the plurality of magnification-changed images during the detection processing, the specific image detection processing may be partly continued for the magnification-changed image from which the specific image has been detected (or the magnification-changed image from which the specific image has been detected and a magnification-changed image having a magnification close a magnification of such a magnification-changed image) among the plurality of magnification-changed images, and the specific image detection processing from other magnification-changed images may be cancelled. Consequently, the detection processing can be continued focusing on the magnification-changed image including the specific image, and a burden of the detection processing can be reduced.
[0087] Referring to
[0088] In a case where the specific image is detected from one of the plurality of magnification-changed images, the detection processing circuit 56 associates (tags), with the binarized data, the magnification of the magnification-changed image from which the specific image is detected, and stores the magnification in the second print image memory area inside the RAM 21. Specifically, in a case where the specific image is detected from the image magnified twice like
[0089] On the other hand, in a case where the specific image is not detected from any one of the magnification-changed images, the detection processing circuit 56 does not tag a magnification of a magnification-changed image.
[0090] After finishing the specific image detection processing, the operating device 11 receives, from a user, additional edit operation (edit operation to change the magnification of the image data) relative to the job. The editor 57 converts the binarized data to print data (data to be finally output) in accordance with the received additional edit operation.
[0091] Note that the operating device 11 may be set so as not to receive additional edit operation like changing the magnification of the image data to a magnification different from the magnification at the time of generating each of the plurality of magnification-changed images.
[0092] In a case where the specific image is detected from the plurality of magnification-changed images, the CPU 20 restricts printing of the image data under at least a part of the printing conditions. Specifically, the CPU 20 restricts printing of the image data at a magnification within a predetermined range determined based on the magnification of the detection tag.
[0093] For example, in a case of defining a magnification for magnification change set in a job as a magnification M1, defining a magnification for magnification change set in additional edit operation as a magnification M2, and defining a magnification of a detection tag as a magnification M3, when a product of the magnification M1 and the magnification M2 is a magnification within a predetermined range determined based on the magnification M3 (for example, in a case of satisfying a relation in Expression (1)), the CPU 20 restricts printing under a printing condition in accordance with the additional edit operation.
M30.9M1M2M31.1(1)
[0094] In the case of restricting printing, the CPU 20 stops printing performed by the printer device 14 and restricts the printing by deleting (discarding) the binarized image data from the second print image memory. Additionally, the CPU 20 may correct print data to have a magnification different from the setting by the additional edit operation or the like, and may print the corrected print data.
[0095] On the other hand, when the magnifications M1, M2, and M3 do not satisfy the relation in Expression (1), the CPU 20 does not restrict the printing in accordance with the additional edit operation. At this time, the printer device 14 performs printing of an image obtained by magnifying the image data at a magnification corresponding to the product of the magnification M1 and the magnification M2 based on the binarized image data.
[0096]
[0097] Referring to
[0098] In step S3, in a case of determining that the storing of the raster data of the image data is completed (YES in S3), the CPU 20 sets a magnification for magnification change (S5), and reads the raster data of the image data corresponding to one block from the second print image memory (S7). Next, the CPU 20 performs, for the read data, respective processing including color conversion (S9), magnification conversion (S11), and detection resolution conversion (S11) to generate a magnification-changed image corresponding to one block, and temporarily stores the obtained magnification-changed image in the processing block buffer (S15). Subsequently, the CPU 20 performs detection processing for the magnification-changed image stored in the processing block buffer (S17), and determines whether a reference mark is detected from the magnification-changed image (S19).
[0099] In step S19, in a case of determining that the reference mark is detected from the magnification-changed image (YES in S19), the CPU 20 stores, in the RAM 21, a detected address (a place where the reference mark is detect in the magnification-changed image) and a magnification of the magnification-changed image (S21), updates a magnification of a magnification-changed image to be subjected to the detection processing (magnification not yet subjected to the detection processing) only to the magnification of the current magnification-changed image (S23), and proceeds to processing in step S25.
[0100] In step S19, in a case of determining that the reference mark is not detected from the magnification-changed image (NO in S19), the CPU 20 proceeds to the processing in step S25.
[0101] In step S25, the CPU 20 determines whether the specific image detection processing for the magnification-changed image corresponding to one page is completed (S25). In step S25, in a case of determining that the specific image detection processing for the magnification-changed image corresponding to the one page is not completed (NO in S25), the CPU 20 proceeds to processing in step S7.
[0102] In step S25, in a case of determining that the specific image detection processing for the magnification-changed image corresponding to the one page is completed (YES in S25), the CPU 20 determines whether the specific image detection processing for the magnification-changed images of all of the magnifications is completed (S27). In step S27, in a case of determining that the specific image detection processing for the magnification-changed images of all of the magnifications is not completed (NO in S27), the CPU 20 proceeds to the processing in step S5.
[0103] In step S27, in a case of determining that the specific image detection processing for the magnification-changed images of all of the magnifications is completed (YES in S27), the CPU 20 proceeds to processing in step S31.
[0104] On the other hand, when the RIP processing for the image data included in the job is started (S1), the CPU 20 binarizes the raster data of the image data (S29) in parallel with the processing from step S3, and proceeds to the processing of the step S31.
[0105] In step S31, in a case where there are a detected address and a detected magnification of a magnification-changed image stored in the RAM 21, the CPU 20 associates the address and the magnification with the binarized data as a detection tag (S31), and stores the magnification together with the binarized data in the second print image memory (S33). Next, the CPU 20 proceeds to processing in step S35 in
[0106] Referring to
[0107] Next, the CPU 20 reads the print data (S41) and determines whether there is any detection tag for the print data (S43). In step S43, in a case of determining that there is no detection tag (NO in S43), the CPU 20 proceeds to the processing in step S49.
[0108] In step S43, in a case of determining that there is a detection tag (YES in S43), the CPU 20 acquires the magnification set in the additional edit operation (S45), and determines whether a print magnification (the product of the magnification set in the job and the magnification for magnification change set in the additional edit operation) is out of a predetermined range (S47).
[0109] In step S47, in a case of determining that the print magnification is out of the predetermined range (YES in S47), the CPU 20 executes printing in accordance with the setting (S49) and finishes the processing.
[0110] In step S47, in a case of determining that the print magnification is not out of the predetermined range (NO in S47), the CPU 20 restricts printing (S51) and finishes the processing. In a case of restricting the printing, the CPU 20 may modify the print data to have a magnification different from the setting and print the modified print data or may stop the printing.
[0111] In the present embodiment, the magnification-changed images are generated at the plurality of magnifications at which images can be possibly output as printed matters, and the specific image detection processing is performed for each of the generated magnification-changed images Therefore, even in a case where a magnification of image data is changed by additional edit operation relative to a job, the specific image detection processing can be performed for the image data subjected to the magnification change, and specific image detection accuracy can be improved. Additionally, the image data before binarization, which is stored in the first print image memory, is deleted before the binarized data is stored in the second print image memory. Therefore, consumption of the memory that stores the image data can be reduced.
Second Embodiment
[0112] In the present embodiment, an example of generating a plurality of magnification-changed images in parallel will be described.
[0113]
[0114] Referring to 10, the image forming apparatus 1 includes an RIP 51, a binarizer 52, a color converter 53, magnification converters 54a, 54b, 54c, and 54d, detection resolution converters 55a, 55b, 55c, and 55d (examples each including a resolution changer and a buffering device), a detection processing circuit 56, an editor 57, and a selector 58 (an example of a switcher). The RIP 51, the binarizer 52, the color converter 53, the magnification converters 54a, 54b, 54c, and 54d, the detection resolution converters 55a, 55b, 55c and 55d, the editor 57, and the selector 58 are implemented by a CPU 20 executing a control program stored in a ROM 22. ARAM 21 includes an area of a plurality of processing block buffers 21a, 21b, 21c, and 21d (examples of a buffer) to store a plurality of magnification-changed images respectively.
[0115] The magnification converter 54a, the detection resolution converter 55a, and the processing block buffer 21a are components to perform specific image detection processing for an image magnified twice. The magnification converter 54b, the detection resolution converter 55b, and the processing block buffer 21b are components to perform the specific image detection processing for an image magnified at an equal magnification. The magnification converter 54c, the detection resolution converter 55c, and the processing block buffer 21c are components to perform the specific image detection processing for an image magnified times. The magnification converter 54d, the detection resolution converter 55d, and the processing block buffer 21d are components to perform the specific image detection processing for an image magnified times.
[0116] When a job is received, the RIP 51 generates raster data of image data to be printed in accordance with the job by performing RIP processing for the image data included in the job. The color converter 53 performs, for the raster data of the image data, color conversion processing to separate only a color of the specific image from the raster data. The color converter 53 feeds the data subjected to the color conversion processing to each of the magnification converters 54a, 54b, 54c, and 54d.
[0117] The magnification converter 54a converts the received data to have a necessary magnification. The detection resolution converter 55a converts the data subjected to the magnification conversion to data having a predetermined resolution suitable for detecting the specific image. The detection resolution converter 55a temporarily stores the data subjected to the resolution conversion in the processing block buffer 21a as a magnification-changed image having a predetermined magnification (twice here). Each of the processing block buffers 21a, 21b, 21c, and 21d has a capacity of a size capable of storing a magnification-changed image having a predetermined block size or a predetermined band size.
[0118] Similarly, the magnification converter 54b and the detection resolution converter 55b generate a magnification-changed image of a predetermined magnification (equal magnification here) by converting the received data to data having the necessary magnification and the necessary resolution, and temporarily stores the magnification-changed image in the processing block buffer 21b. The magnification converter 54c and the detection resolution converter 55c generate a magnification-changed image of a predetermined magnification ( times here) by converting the received data to data having the necessary magnification and the necessary resolution, and temporarily stores the magnification-changed image in the processing block buffer 21c. The magnification converter 54d and the detection resolution converter 55d generate a magnification-changed image of a predetermined magnification ( times here) by converting the received data to data having the necessary magnification and the necessary resolution, and temporarily stores the magnification-changed image in the processing block buffer 21d.
[0119] The selector 58 selectively switches, among the processing block buffers 21a, 21b, 21c, and 21d, a processing block buffer to be a detection target. In a case where a size of the stored data reaches the predetermined size (predetermined block size or predetermined band size) in any one of the plurality of processing block buffers 21a, 21b, 21c, and 21d, the selector 58 sets such a processing block buffer as a detection target, and feeds the block or the band of the magnification-changed image stored in the processing block buffer to the detection processing circuit 56.
[0120] In a case where the size of the stored data reaches the predetermined size in two or more processing block buffers out of the plurality of processing block buffers 21a, 21b, 21c, and 21d, the selector 58 preferentially sets, as a detection target, a processing block buffer in which a magnification-changed image having a higher magnification for magnification change is stored. The reason is that the magnification-changed image having the higher magnification for magnification change has a larger entire size of the magnification-changed image, and requires longer time to perform the specific image detection processing.
[0121] The detection processing circuit 56 performs the specific image detection processing for the magnification-changed image stored in the processing block buffer set as the detection target by the selector 58.
[0122] When the specific image detection processing for the magnification-changed image of the processing block buffer set as the detection target is completed, all of the data stored in the processing block buffer set as the detection target is deleted, and a new magnification-changed image is stored in the processing block buffer. The selector 58 sets, as a detection target, another processing block buffer in which the size of the stored data reaches the predetermined size.
[0123] When the specific image detection processing for all of the magnification-changed images is completed, in a case where the specific image is detected from any one of the plurality of magnification-changed images, the detection processing circuit 56 associates, with binarized data, the magnification of the magnification-changed image in which the specific image is detected, and stores the magnification in a print image memory area inside the RAM 21.
[0124] On the other hand, in a case where the specific image is not detected from any one of the magnification-changed images, the detection processing circuit 56 does not tag a magnification of a magnification-changed image.
[0125] After that, the image forming apparatus 1 determines whether to restrict printing by performing processing similar to processing in a case of a first embodiment, and restricts printing as necessary.
[0126]
[0127] Referring to
[0128] In step S81, in a case of determining that the data corresponding to the one block is not stored in the processing block buffer (NO in S81), the CPU 20 proceeds to the processing in step S75. On the other hand, in step S81, in a case of determining that data corresponding to the one block is stored in the processing block buffer (YES in S81), the CPU 20 proceeds to processing in step S99.
[0129] The CPU 20 performs following processing in parallel with the processing in steps S75 to S81. The CPU 20 performs, for the data subjected to the color conversion processing, conversion processing to a first reduction rate (S83) and conversion processing to a detection resolution (S85) and stores the obtained data in the processing block buffer (S87). Subsequently, the CPU 20 determines whether data corresponding to one block is stored in a processing block buffer (S89).
[0130] In step S89, in a case of determining that the data corresponding to the one block is not stored in the processing block buffer (NO in S89), the CPU 20 proceeds to the processing in step S83. On the other hand, in step S89, in a case of determining that data corresponding to the one block is stored in the processing block buffer (YES in S89), the CPU 20 proceeds to processing in step S99.
[0131] The CPU 20 further performs following processing in parallel with the processing in steps S75 to S81. The CPU 20 performs, for the data subjected to the color conversion processing, conversion processing into a second reduction rate (S91) and conversion processing to a detection resolution (S93) and stores the obtained data in the processing block buffer (S95). Subsequently, the CPU 20 determines whether data corresponding to one block is stored in a processing block buffer (S97).
[0132] In step S97, in a case of determining that the data corresponding to the one block is not stored in the processing block buffer (NO in S97), the CPU 20 proceeds to the processing in step S91. On the other hand, in step S97, in a case of determining that data corresponding to the one block is stored in the processing block buffer (YES in S97), the CPU 20 proceeds to processing in step S99.
[0133] In step S99, the CPU 20 selectively switches, to the processing block buffer in which the data corresponding to the one block is stored, the processing block buffer to be the detection target (S99), and performs the specific image detection processing for the magnification-changed image stored in the processing block buffer selected as the detection target (S101). Next, the CPU 20 determines whether a reference mark is detected from the magnification-changed image (S103).
[0134] In step S103, in a case of determining that the reference mark is detected from the magnification-changed image (YES in S103), the CPU 20 stores, in the RAM 21, a detected address (a place where the reference mark is detected in the magnification-changed image) and a magnification of the magnification-changed image (S105), updates a magnification of a magnification-changed image to be subjected to the detection processing (magnification not yet subjected to the detection processing) only to the magnification of the current magnification-changed image (S107), and proceeds to processing in step S109. On the other hand, in step S103, in a case of determining that the reference mark is not detected from the magnification-changed image (NO in S103), the CPU 20 proceeds to the processing in step S109.
[0135] In step S109, the CPU 20 determines whether the specific image detection processing for the magnification-changed images of all of the magnifications is completed (S109).
[0136] In step S109, in a case of determining that the specific image detection processing for the magnification-changed images of all of the magnifications is not completed (NO in S109), the CPU 20 proceeds to the processing in step S73. On the other hand, in step S109, in a case of determining that the specific image detection processing for the magnification-changed image of all of the magnifications is completed (YES in S109), the CPU 20 proceeds to processing in step S113.
[0137] When the RIP processing for the image data included in the job is started (S71), the CPU 20 binarizes the raster data of the image data (S111) in parallel with the processing from step S73, and proceeds to the processing of the step S113.
[0138] In step S113, in a case where there are a detected address and a detected magnification of a magnification-changed image stored in the RAM 21, the CPU 20 associates the magnification with a detected block of the binarized data as a detection tag (S113), and stores the magnification in a print image memory inside the RAM 21 together with the binarized data (S115). After that, the CPU 20 performs processing from step S35 in
[0139] Note that components and operation of the image forming apparatus 1 other than those described above are similar to those in the first embodiment, and therefore, a description thereof will not be repeated.
[0140]
[0141] Referring to
[0142] Referring to
[0143]
[0144] Referring to
Third Embodiment
[0145] In the present embodiment, an example of synthesizing a plurality of magnification-changed images and performing specific image detection processing for the synthesized image will be described.
[0146]
[0147] Referring to
[0148] Similar to a second embodiment, the processing block buffers 21a temporarily stores a magnification-changed image generated at a predetermined magnification (twice here) by the magnification converter 54a and the detection resolution converter 55a. The processing block buffers 21b temporarily stores a magnification-changed image generated at a predetermined magnification (an equal magnification here) by the magnification converter 54b and the detection resolution converter 55b. The processing block buffers 21c temporarily stores a magnification-changed image generated at a predetermined magnification ( times here) by the magnification converter 54c and the detection resolution converter 55c. The processing block buffers 21d temporarily stores a magnification-changed image generated at a predetermined magnification ( times here) by the magnification converter 54d and the detection resolution converter 55d.
[0149] In a case where a size of data stored in each of two processing block buffers out of the processing block buffers 21a, 21b, 21c, and 21d reaches a predetermined size, the adder 59 generates a synthesized image by adding magnification-changed images stored in the two processing block buffers respectively.
[0150] The detection processing circuit 56 performs specific image detection processing for the generated synthesized image.
[0151] When the specific image detection processing for the synthesized image is completed, all of the data of the two magnification-changed images which are origins of the synthesized image are deleted from the processing block buffers, and a new magnification-changed image is stored in each of the two processing block buffers. The adder 59 generates a synthesized image by adding magnification-changed images stored in two processing block buffers every time the size of the data stored in each of the two processing block buffers reaches the predetermined size.
[0152] However, from the viewpoint of speeding up the specific image detection processing, one of the two magnification-changed images added by the adder 59 be constantly a magnification-changed image having a maximum magnification (twice here) among the plurality of magnification-changed images. The reason is that the magnification-changed image having the maximum magnification has the largest size and requires a time to detect the specific image.
[0153] In a case where the detection processing circuit 56 detects the specific image from the synthesized image, the detected magnification determination device 60 determines which one of the added two magnification-changed images includes the specific image by a determination method described below.
[0154]
[0155] Referring to
[0156] In a case where each of a plurality of blocks in an area C11 in the image magnified twice (
[0157] Therefore, in a case where the blocks in each of which the specific image is detected are consecutive, it is determined that the image magnified twice includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is twice. On the other hand, in a case where the blocks in each of which the specific image is detected are apart from each other, it is determined that the image magnified at the equal magnification includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is the equal magnification.
[0158]
[0159] Referring to
[0160] In a case where each of a plurality of blocks in an area C11 in the image magnified twice (
[0161] Therefore, in a case where the blocks in each of which the specific image is detected are consecutive, it is determined that the image magnified twice includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is twice. On the other hand, in the case where the blocks in each of which the specific image is detected are apart from each other, it is determined that the image magnified times includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is times.
[0162]
[0163] Referring to
[0164] In a case where each of a plurality of blocks in an area C11 in the image magnified twice (
[0165] Therefore, in a case where the blocks in each of which the specific image is detected are consecutive, it is determined that the image magnified twice includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is twice. On the other hand, in the case the blocks in each of which the specific image is detected are apart from each other, it is determined that the image magnified times includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is times.
[0166] To summarize the above-described determination method, in a case where blocks in each of which the specific image is detected are consecutive to each other, it is determined that a magnification-changed image having a relatively high magnification out of two magnification-changed images includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is the relatively high magnification out of magnifications of the two magnification-changed images. On the other hand, in a case where blocks in each of which the specific image is detected are apart from each other, it is determined that a magnification-changed image having a relatively low magnification out of two magnification-changed images includes the specific image, and it is determined that the magnification of the magnification-changed image in which the specific image is detected is the relatively low magnification out of magnifications of the two magnification-changed images.
[0167] Referring to
[0168] On the other hand, in a case where the specific image is not detected from any one of the magnification-changed images by the detection processing circuit 56, the detected magnification determination device 60 does not tag a magnification of a magnification-changed image.
[0169] After that, the image forming apparatus 1 determines whether to restrict printing by performing processing similar to processing in a case of a first embodiment, and restricts printing as necessary.
[0170]
[0171] Referring to
[0172] In at least two of steps S81, S89, and S97, in a case where it is determined that data corresponding to one block is stored in a processing block buffer (YES in S81, S89, or S97), the CPU 20 selects two processing block buffers determined to have stored the data corresponding to the one block (S131), and generates a synthesized image by adding two magnification-changed images stored in the selected processing block buffers (S133). Subsequently, the CPU 20 performs specific image detection processing for the synthesized image (S135), and determines whether a reference mark is detected from the synthesized image (S137).
[0173] In step S137, in a case of determining that the reference mark is detected from the synthesized image (YES in S137), the CPU 20 determines a magnification of a magnification-changed image in which the specific image is detected (S139). Next, the CPU 20 stores, in the RAM 21, a detected address (a place where the reference mark is detected in the magnification-changed image) and the magnification of the magnification-changed image (S141). After that, the CPU 20 performs processing from step S109 in
[0174] Note that components and operation of the image forming apparatus 1 other than those described above are similar to those in the first embodiment, and therefore, a description thereof will not be repeated.
[0175]
[0176] Referring to
[0177] [Others]
[0178] In a case where the image forming apparatus 1 detects a specific image, printing may be uniformly restricted regardless of a preset printing condition. Consequently, printing can be restricted even in a case where a received job is a job in which a magnification to be set in additional edit operation is not determined yet, such as a job to store, in a box of the hard disk 23H, data subjected to the RIP processing.
[0179] Moreover, the processing in the above-described embodiments may be performed by software or by using a hardware circuit. Additionally, a program to execute the processing in the above-described embodiments can be provided, and the program may be provided to a user by recording the program in recording media such as a CD-ROM, a flexible disk, a hard disk, a ROM, a RAM, and a memory card. The program is executed by a computer such as a CPU. Furthermore, the program may be downloaded in a device via a communication line such as the Internet.
[0180] Although embodiments of the present invention have been described and illustrated in detail, the disclosed embodiments are made for purposes of illustration and example only and not limitation. The scope of the present invention should be interpreted by terms of the appended claims as well as all of changes within the scope of the claims.