The present invention relates to an image reading device which generates an image data through reading an image drawn on a paper sheet, a plastic sheet or other media, and outputs the image data. More specifically, the present invention relates to an image reading device which is designed so as to transmit an image data directly to a printer, enabling the printer to print an image without using a personal computer (PC). Further, the present invention also relates to a printing system comprising an image reading device as described above and a printer receiving an image data therefrom and printing an image on a printing medium, such as a printing paper.
Together with the prevalence of PCs, image reading devices, such as image scanners, have been used as peripheral devices for PCs in offices, households, etc. more inexpensively and easily than ever. When an image reading device and a printer are connected with a PC, an image on a paper sheet or other media can be easily acquired into a PC as an electronized image data and duplicated or printed on a printing medium. Thus, at present, anyone else has become able to produce, relatively easily in his home or office, various printed matters, such as New Year's cards, season greetings, Christmas cards, handbills, flyers, which must be prepared one by one by handwriting, patching, stamping, etc. or by ordering a professional printing service in the past. Moreover, according to the technological development of image sensors in image reading devices and ink-jet systems in printers, images read with an image reading device and printed with a printer are qualitatively comparable with a film photo. Furthermore, by using a suitable application or software extensively, the editing of an image can also be freely performed on a PC.
In the duplication and printing of images using a PC together with an image reading device and a printer, the whole processes are executed under the control of the PC. However, as compared with image reading devices and printers, PCs are expensive, and may be rather high-end devices for users who intend to duplicate and print an image originally drawn on a paper sheet, etc., e.g. preparation of New Year's cards or else. Further, to operate a PC may be often troublesome and difficult for users who have been preparing New Year's cards, etc. by handwriting and patching or by using a small mimeograph duplicator, etc. Thus, in Japanese Patent Laid-open publications Nos. JP 2004-104665, 2005-22307, 2005-22836, 2005-27140 and 2005-27141, filed by the same assignee of the present application, there have been proposed an image reading and printing system comprising an image reading device and a printer (a postcard preparing apparatus), wherein, without a PC, an image is read with the image reading device, and directly outputted to the printer and printed therewith. In such an image reading and printing system, an image in a drawing or a manuscript prepared by handwriting and/or patching, etc. is read with the image reading device, and a duplicated copy of the image is printed only through simple or easy button operation, so that not only the system is far less expensive than when a PC is used, but also even the generation, not familiar with PCs, or children can relatively easily enjoy the duplication and printing of New year's cards, postcards, invitation cards for a birthday party or a Christmas party, etc.
By the way, in the market of PCs for household and office use, many manufacturers have manufactured and sold various types and models of PCs, image reading device and printers as peripheral equipment for PCs. From those various PCs and/or peripheral equipment, consumers can choose favorite ones, taking into account the performances, prices, etc. thereof. Communication systems or modes between those PCs and peripheral equipment, equipped thereon, are designed to follow or support a predetermined communication standard, and accordingly, for instance, it is possible to use a scanner of company B and a printer of company C by connecting them to a PC of company A. Especially for communication between printers and digital cameras, there is proposed a communication standard, such as Pictbridge, enabling the printing of an image data of a predetermined image format only by transmitting the data from a digital camera to a printer. Thus, if both camera and printers support such a common communication standard, the printing of a photograph captured with any camera will be available without using a PC. Accordingly, in an image reading and printing system, such as postcard preparing apparatus, as mentioned above, by equipping an image reading device with a communication system of supporting such a predetermined communication standard that enables the printing of an image through direct transmission of an image data to a printer, an arbitrary printer supporting the common predetermined communication standard could be used.
However, even when such a predetermined communication standard enabling the print of an image through direct transmission of an image data to a printer is employed in an image reading device, an image is not always printed on a printing medium (a paper sheet, a plastic sheet, etc.) in a manner expected by a user.
A digitized image data, usually, is a set of pixels each having a brightness value (in a color image, brightness values for the respective color components, e.g. R, G, B) and coordinate data. Thus, when a image data is transmitted to a printer for printing an image, it is required to specify the number of pixels deposited on a printing medium per unit length (in other words, the size of the area on the printing medium to which an individual pixel in the image data is assigned) or the size of the image on the printing medium. In most of printers supporting a communication standard designed mainly for printing photograph images taken with a digital camera, such as PictBridge, however, the number of pixels per unit length on a printing medium or the size of an image on a printing medium is automatically determined in a printer so that the size of an image on a printing media can not be changed or adjusted by a user. In particular, when so-called “margin-less printing”, namely, a mode in which an image is printed on the whole surface of a printing medium without margin, is executed to print an image in such a printer through the direct reception of an image data from a digital camera, etc., the image corresponding to an image data received in a printer is printed on a printing medium under a condition that the size of an image is set to be a little larger than the printing medium, namely, the edges of the image corresponding to the received image data extend out of the printing medium, as shown in the lower drawing in
It is very inconvenient and unpleasant for a user of an image reading device that neither the region to be printed on a printing medium within an image transmitted from the image reading devices nor the size of an image on a printing medium is adjustable by himself. Upon printing New year's cards, Christmas cards, etc., the users of the image reading and printing systems like the postcard preparing apparatus as described above, in general, expect that their original drawing will be duplicated or printed as just it is. However, if an actually printed image is different in size from an original one, or if its periphery is unintentionally cut away from a printed image, the users would feel very unpleasant. Further, in order to print an image in an original drawing as he expects without such unintentional cutting away of the periphery of the image, the adjustment of the size and position of the image on the original drawing is required, but it is very cumbersome to consider the internal setting of a printer during preparing the original drawing by handwriting, patching, or else and/or to re-prepare the original drawing having been prepared on a paper sheet. Of course, enlargement, diminution and layout adjustment of an image are possible if the image is acquired into a PC. In that case, however, the purpose of the image reading and printing system that the duplication and printing of New Year's cards, etc. can be done relatively easily even by the generation and/or children not familiar with PC's operation would not be achieved.
Accordingly, if it is possible to print an image through transmitting an image data from an image reading device directly to any printer without a PC, and also, the image is printed as expected by a user without unintentional cutting away of the peripheries of the image, the duplication and printing of various images will become easier and simpler than ever. In this connection, considering the situation of duplication and printing of an original copy of New Year's cards or Christmas cards, it is preferable that an image can be printed in the substantially same size as its original image. Further, it is preferable that the operations of a user are easy upon printing an image with such an image reading device.
One of the objects of the present invention is to provide an image reading device being able to communicate directly with any printer supporting a predetermined communication standard and to print an image, acquired by the image reading device, with the printer, wherein, irrespective of the internal setting of the printer, the image is printed on a printing medium with any size and/or any layout intended, expected or requested by a user. In this connection, in the followings, an image appearing on an original copy or an original drawing is referred to as an “original image”; a data representing an image is referred to as an “image data”. A region to be printed on a printing medium within an image or an image data transmitted or to be transmitted to a printer is referred to as a “print region” (See the upper right in
The inventive image reading device, generally, comprises an image detecting portion which generates a signal representing an image on an original copy by optically reading it; an image data generating portion which generates an image data based on the signal representing the original image; and an image data outputting portion which outputs the image data with a communication mode receivable by any printer supporting a predetermined communication standard and enabling the printer to receive the image data and to print an image corresponding to the image data. Thus, according to the present invention, an image, acquired with the image reading device, can be printed with any printer supporting the communication mode of the image data outputting portion without using a PC. In this connection, it should be understood that, although the inventive image reading device is typically of the type of an image scanner which reads an image by scanning an original copy with the image detecting portion moving automatically, the inventive device may be of the type of a handy scanner in which an image detecting portion is moved with a user's hand, or any other type of image reading devices.
Further, the inventive image reading device may include an image modification processing portion which modifies an image data generated by reading the original copy (an original image data) based upon an “image data for modification”, which is generated with the image generating portion through reading with an image detecting portion a printed reference image printed on a printing medium with the printer to which a reference image data representing a reference image including a predetermined pattern is outputted from the image data outputting portion.
As described above, when an image data, i.e. a set of pixels, representing an image acquired by an image reading device is transmitted to a printer and printed therewith, the print region (actually printed on a printing medium within the transmitted image data) or the number of pixels (of the transmitted data) per unit length on the printing medium is determined in accordance with the internal setting of the printer. In other words, how an image, acquired by an image reading device, is printed with a printer will be known for a user only after the image has been actually printed. In such a manner, it is possible that an image created on an original copy by handwriting or patching, etc. would become useless owing to that the printing is not performed as expected by a user.
So, the inventive image reading device is designed to be able to output a reference image data representing a reference image containing a predetermined pattern to a printer connected with image reading device; to command the printer to print a printed image of the reference image (a printed reference image); to capture the printed reference image through an image detecting portion; and to acquire the information of how the printer prints its received image data, i.e. the information of the internal setting of the printer, with the image modification processing portion, prior to the printing of an original image. In the image data obtained by reading the printed image of the reference image, i.e. an image data for modification, there is reflected the internal setting of the printer with respect to the region actually printed on a printing medium within the image data received by the printer or the number of pixels per unit length in printing the received image data on a printing medium. Thus, by analyzing the image data for modification in order to grasp the internal setting of the printer, and by transmitting to the printer the image data (a modified original image data) generated through the modification of an original image data based on the result of the analysis of the image data for modification, it becomes possible to make a printed image having a size or a layout desired or requested by a user. In this connection, whether or not the modification of an image data to be transmitted is executed may be selectively determined (Otherwise, the printing of the reference image for acquiring an image data for modification would become unavailable.).
As one of aspects for acquiring the information of an internal setting of a printer, the above-mentioned image modification processing portion is designed to detect a region, printed on a printing medium with a printer, within an image represented by the reference image data outputted from the image data outputting portion, based on the reference image data and image data for modification, and an original image data may be modified based on the information of the detected region.
In margin-less printing mode of a printer which can operate while being directly connected to the inventive image reading device, if the printer receives an image data of a certain dimension (Hereafter, “the dimension of an image data” indicates the number of pixels in the lengthwise (vertical) and crosswise (horizontal) direction of an image data), the printer sets a size of an image to be printed or the number of pixels per unit length of the received image data in accordance with the internal setting of the printer's own, and therefore, only a certain region of the received image data will be printed on a printing medium. Since the above-mentioned image data for modification indicates a region actually printed on a printing medium (print region) of a reference image data transmitted to this printer, a print region in an images corresponding to a transmitted image data can be detected by comparing the reference image data with the image data for modification. Thus, by modifying an original image so as to confine the original image or to arrange and assign the original image with a desired layout within the range of the print region of an image data to be transmitted to a printer, and then transmitting so modified image data to a printer, unintentional cutting off of the periphery and/or sizing of the original image will be avoided in the resultant printed image, and thereby, a user need not care about the internal setting of a printer during the preparation of an original copy.
In the modification of an original image data based on the information on the region printed on a printing medium as described above, the original image data may be modified based on the ratio between the dimension of the reference image data outputted from the image data outputting portion and that of the print region of the outputted image data. The dimension of the reference image data corresponds to the whole dimension of the image data outputted from the image reading device, and the dimension of the print region of the reference image data corresponds to the dimension of the actually printed region of the image data outputted from the image reading device. Thus, by adjusting the dimension of the original image data in an image data to be transmitted to a printer based on the dimension ratio between the reference image data and the print region thereof, it becomes enabled to print an image of a desired size on a printing medium. Moreover, the position of the print region in the reference image represented by the reference image data indicates the position of the region actually appearing on a printing medium within the image data transmitted to the printer. Thus, by adjusting the position of an original image data in an image data to be transmitted to a printer based upon the position of the print region in the reference image, it becomes enabled to print an image in a targeted position on a printing medium. In this connection, whether both the size ratio and position of the print region are used or either one of those is used in the modification may be appropriately determined according to the manufacturing cost of the device, the necessity for compensation processing, etc.
By the way, a printer available in the market, in most cases, prints an image represented by an image data that the printer receives at a substantially uniform number of pixels (of the image data) per unit length on a printing medium (It is possible that the aspect ratio of an printed image is different.). Thus, the number of pixels per unit length or a print region of the image data received by the printer on a printing medium will be found by detecting or analyzing a size and a position of a predetermined pattern in an image represented by a reference image data on a printed medium. Accordingly, in one of embodiments of the inventive device, the image modification processing portion may be designed to modify an original image data based on the dimension of a predetermined pattern in the reference image data and that of a pattern in the image data for modification corresponding to the predetermined pattern in the reference image and/or the position of the predetermined pattern in the reference image data and that of the pattern in the image data for modification corresponding to the predetermined pattern in the reference image. Such a predetermined pattern, for example, may be a figure confined within a print region or a printing medium when the figure is printed thereon. However, a pattern partially protruding beyond the print region may also be employed if the whole dimension and shape of the pattern can be obtained from the portion appearing on a printing medium. Further, for such a pattern, a figure enabling the detection of the width of the periphery cut off from a printing medium may be employed.
In one embodiment of the present invention, upon generating a modified original image data through the modification of an original image data by means of a reference image data having a predetermined pattern and an image data for modification obtained from the printed image as described above, the ratio between the dimension of the predetermined pattern in the reference image data and that of the printed image of the predetermined pattern in the image data for modification (hereinafter, referred to as a “scaling factor”) and the distance between the position of the predetermined pattern in the reference image data and the position of the printed image of the predetermined pattern in the image data for modification (hereafter, referred to as “shifting amount”) are calculated, and these ratio and distance will be used as “modifying parameters” for modifying an original image data to generate a modified original image data.
These “scaling factor” and “shifting amount” are the amounts obtained from the image resulting from the printing of a reference image data under a condition where a print region of the reference image data transmitted to the printer is made coincide with a printing medium. Thus, by means of these parameters, a dimension and a position of the print region in an image data received by a printer can be found, and thus, the preparation of an image data to be transmitted to a printer (a modified original image data) becomes enabled such that an image read with the image reading device or an image to be printed on a printing medium is assigned to or appropriately arranged in, the print region (See the following notes). Then, when the resultant modified original image data are transmitted to the printer, the image represented by the whole modified original image data is adjusted in the printer so as to extend beyond a printing medium, and thereby the print region of the modified original image data will be set to coincide with the printing medium, so that an image of a size or a layout desired by a user will be printed on the printing medium. In this connection, it should be understood that a modified original image data may be prepared directly based upon an image data to be printed on a printing medium and modifying parameters, without computing the dimension and position of a print region. [Note: When the dimension of a reference image data is equal to the dimension of an image data obtained by reading an image of the same size as a printing medium with the image detecting portion and generating the resultant signal of the image with the image data generating portion, the “scaling factor” is equivalent to the inverse of the ratio of the dimension of the print region of the transmitted image data to the dimension thereof, and “Shifting amount” is equivalent to the distance between the center of the transmitted image data and the center of the print region of the image data multiplied by the “scaling factor.” If the dimension of the reference image data differs from the dimension of the image data generated by an image detecting portion, or, if the reading region of the image detecting portion differs from the dimension of a printing medium, the print region in a transmitted image data can be specified by calculating the ratio of the dimension of the print region of the transmitted image data to the dimension thereof and the distance between the center of the transmitted image data and the center of the print region thereof through converting the above-mentioned modifying parameters by means of the dimension of a reference image data, the dimension (absolute size) of a printing medium, a resolution at the time of image reading of an image detecting portion, etc.]
In the image modification processing portion, a reference image data may be memorized in a reference image data memory portion, or may be generated by reading a prepared reference image copy with the image detecting portion. The former case is advantageous in that, until acquiring image data for modification, a user only needs to set a printed reference image on the reading region of the image reading device and push a button several times while the latter is advantageous in that a storage portion for a reference image data can be omitted.
In the inventive image reading device as described above, after acquiring an image data for modification, a modified original image data is generated, in which an image to be printed on a printing medium is assigned to a print region therein. To make such a modified original image data, in one embodiment, a “pasteboard image data” is generated, on which an original image data will be pasted. Here, “Pasteboard image data” is an image data defining the whole region of an image represented by an image data to be transmitted from the image data outputting portion to a printer. Further, for another embodiment of generating a modified original image data from an original image data, a frame data may be added to the periphery of the original image data. In both of the above cases, an image data to be transmitted from an image data outputting portion, i.e., a modified original image data, is so prepared that an original image data has been arranged in, or assigned to, the print region in order to print the original image of a size or a layout requested by a user on a printing medium. When the modified original image data is transmitted to a printer, the whole region of modified original image data coincides with the area where ink or a toner is applied in the printer, and therefore, the dimension and position of the print region of the modified original image data coincides with a printing medium set therein, resulting in that the image in the print region will be printed on the printing medium. Accordingly, a user need not care about the internal setting of a printer during the preparation of an original copy and the subsequent reading of the original image on the original copy into the image reading device, and he can obtain a printed matter on which the image of an expected size and/or an expected layout has been printed.
In this connection, it should be understood that, in the generation of a modified original image data, an original image data may be expanded or shrunk appropriately. When a printer is able to receive an image data of any dimension, an original image data may be expanded or shrunk arbitrarily, depending upon the data transmission speed, the image quality of a printed image, the size of a printing medium and a layout of an image on a printing medium or any other reasons. On the other hand, when a printer is able to receive only an image data of a specific or fixed dimension, the dimension of a pasteboard image data or a frame data may be set to a dimension of an image data receivable by the printer, and the size of the original image data may be reduced appropriately for obtaining a printed image having a size and a layout requested by a user. Some printers are not able to process a data having a dimension (the number of pixels) larger than a certain value due to the limitation of the capacity of memory and/or parameters for image processing in the printer. In such a case, an image data may be shrunk upon its transmission.
In operation, the inventive image reading device may be operated selectively in a normal mode or in a calibration mode. When the calibration mode is selected, a reference image data is outputted from the image data outputting portion, and an image data for modification is generated through the reading of the printed reference image by means of the image detecting portion. When the normal mode is selected, on the other hand, a modified original image data obtained by modifying an original image data by means of the image modification processing portion is outputted from the image data outputting portion. Further, preferably, when the calibration mode is selected, the image modification processing portion automatically computes modifying parameters required for generating a modified original image data from an original image data based upon an image data for modification and reference image data, and stores the resultant parameters in a memory. When the normal mode is selected, a modified original image data may be generated automatically from an original image data using the modifying parameters. Because of the automatic execution of the computation of modifying parameters and the generation of modified original image data using the modifying parameters, the duplicate and printing of an image become still easier for users.
Further, in the inventive image reading device, preferably, the size and layout of a printed image printed by a printer may be altered arbitrarily. As noted, upon duplicating or printing an original copy, drawn by handwriting or patching, for example, a New Year's card, a Christmas card, etc., with an image reading device, in most cases, a user expects that the image on the original copy is duplicated at the substantially same size. Thus, preferably, the image modification processing portion is designed to selectively generate a modified original image data such that a printed image will be printed at the substantially same size as an original image. However, since a printed image with margins or space around its periphery may be desired, an image modification processing portion may be designed to selectively generate a modified original image data such that margins will be provided in the periphery of a printed image on a printing medium. Moreover, on the contrary, in order to prevent a shadow of an edge of an original copy from appearing into a printed image or to avoid the generation of any marginal space due to misalignment in setting a printed medium on a printer, etc., a modified original image data may be generated such that the periphery of an original image will be cut off. In this connection, preferably, the image modification processing portion of the inventive device may be designed to allow a user to set up a margin width or a cut-off width on the printed image, when a margin is to be prepared in the periphery of a printed image or when the periphery of an original image is to be cut off. Further, a user may wish to print an image in so called “multiple attachment printing” mode, namely, a mode in which an original image is arranged and printed in multiple sites with a desired layout on one printing medium. Thus, the image modification processing portion may be designed to selectively generate a modified original image data so that an image corresponding to an original image will be printed with a layout desired by a user at multiple sites on a printing medium.
It should be understood that, in the present invention, through acquiring an image data for modification or the operation in the “calibration mode” as described above, the inventive image reading device is able to acquire information of an internal setting of a printer, namely, the information of a region actually printed on a printing medium within an image data transmitted from the image data outputting portion or a size on the printing medium of the image corresponding to the image data transmitted from the image data outputting portion. By using the acquired information of an internal setting of the printer, an image to be printed may be edited such that a printed image of an arbitrary size or of an arbitrary layout is to be generated on a printing medium in performing the duplication and printing of an image. Accordingly, if various layouts are ready to be selected for use, even the generation and children unfamiliar to a personal computer can enjoy various printing of images very easily by simply selecting a favorite layout from the layouts ready for use. Such layouts prepared previously will be designed appropriately by one of ordinary skill in the art, and it should be understood that layouts other than those described in this specification may be employed and such cases are considered to be included within the scope of the present invention.
Further, in the inventive image reading device, a printer setting portion which sets the dimension of a printing medium, or a printing resolution (the number of dots of ink, toner or other pigment per unit length) used in a printer may be provided, and thereby, a user is allowed to perform the printing of images with a desired image quality or a printing medium of a desired size. For example, the size of an original copy to be read with an image reading device may differ from the size of a printing medium.
It should be understood that the principle of the above-mentioned present invention may be used in an “image reading and a printing system”, namely, a system comprising an image reading device and a printer which is connected to this image reading device, receives image data, and prints an image corresponding to the image data to on a printing medium. The present invention may be employed in such a system for executing a calibration so as to print an image as expected from an original image.
Regarding the feature of the inventive image reading device, it should be noted firstly that any printer can be selected among those supporting a predetermined communication standard, currently available from various makers. As well known, the image quality of a printed image and a performance of a printer vary with manufacturers of printers and/or models of printers. However, according to the feature of the present invention, advantageously, a user can be choose an arbitrary printer (though within printers supporting a predetermined telecommunications standard which can be operative with the inventive image reading device), depending upon printer's prices or the user's liking. Moreover, a user who already has a printer need not to purchase another printer for duplication and printing of images with the image reading device.
Also, according to the inventive image reading device, because of the feature that an acquired original image is modified based on information of the internal setting of a printer before transmitted to the printer, a user need not consider the internal setting of the printer in the preparation of his own original copy, which also renders the above-mentioned feature of the ability to choose any printer more advantageous. As described above, in general, a printed size of an image on a printing medium and a region actually printed on a printing medium within an image data vary with models of printers, and therefore, an actually printed condition varies therewith. Thus, depending upon whether or not a printed condition is acceptable for a user, the range of selection of printers would be narrowed. According to the image modification processing portion in the inventive image reading device, however, since an image will be generated on a printing medium with the layout of an image on a original copy or a layout being set up in the image reading device, a user can choose a printer from more various models of printers without considering an internal setting of each of the printers with respect to the printed size of an image.
Further, an important advantage in the inventive image reading device is in that, since the printing of the original image can be done, irrespective of an internal setting of a printer connected to the image reading device, a user needs to care only about the range of the image reading region of an image reading device at the preparation of an original copy. As noted, the users trying to print or duplicate an image with an image reading device include the generation unfamiliar to PC and children which try to create a New Year's card, a Christmas card, etc. For such users, often not getting used to operate a PC and its peripherals, it is fairly troublesome to draw up an original copy while caring about an internal setting of a printer. According to the present invention, however, very conveniently, in order to obtain a printed image with the same size as the original image or of a desired size or a desired layout, a user needs only to create an original copy that the image reading device can be read.
Other objects and advantages of the present invention will be in part apparent and in part pointed out hereinafter.
With reference to the attached drawings, the present invention will be explained in detail about some preferable embodiments.
As shown in
The printer 2, directly connected to the inventive image reading device 1 and printing an image, is able to execute “margin-less printing” where an image is printed over the whole surface of a printing medium without leaving unfilled space in a periphery of the medium. In “margin-less printing” mode, the printer 2 prints an image represented by the received image data in a manner that the periphery of the image is printed out of, i.e. extends beyond, a printing medium.
Referring to
In “margin-less printing” of a typical printer used for the inventive image reading device 1 as described above, irrespective of the dimension of a received image data, the periphery of an image extends beyond a printing medium at a certain determined width in each of the four directions of the medium. The width extending from the edge of a printing medium depends upon the size of the printing medium. For a sheet of postcard size, the extending width is normally about 3-5 mm. In other words, in “margin-less printing”, when the size of a printing medium is determined in a printer, the ink deposited region is so determined as to extend beyond the printing medium at a certain predetermined width, and the dimension of a received image data is adjusted such that the size of an image corresponding to the received image data will coincide with the ink deposited region. Thus, irrespective of the dimension of a transmitted image data, a dimension ratio and a position of a region actually appearing on a printing medium (a print region) in the transmitted image data are determined at the respective predetermined values in accordance with the internal setting of the printer, and a user cannot adjust the width of the periphery of the image extending from each edge of a printing medium and the size and position of a region within the image corresponding to the image data which actually appears on the printing medium. As a result, the printed image of the image data, read with the image reading device 1 and transmitted as it is thereform, is different in size from the original image, and/or, cut off at the periphery as shown in the lower of
Therefore, as described in “Summary of the Invention”, the inventive image reading device 1 is designed to detect a region appearing on a printing medium within an image data received by the printer 2, the width and the direction of a periphery of an image data received by the printer 2 extending beyond the edge of a printing medium or the dimension or position of a predetermined pattern in a printed image of an image data received by the printer; and to modify an original image data, using the detected results, in order to print an image with a size or a layout desired pr requested by a user on a printing medium without the unintentional cutting off of the image periphery as seen in the lower of
The scanner portion 24 may be an image detecting device of a type well-known in the art, comprising an image sensor portion 24a (image detecting portion) which applies light on an original image to detect the reflected light therefrom, a motor and its control portion 24b which drive the image sensor portion to scan on an original copy. The light source and position of the image sensor portion 24a are controlled through an I/O portion 24c connected to the common bus 26 under control of CPU10, and, analog image information signals detected in the image sensor portion is digitized in an A/D conversion portion 24d (image data generating portion), and the digitized image data is stored in the image memory 16. In this regard, the image data read in the scanner portion 24 may be modified in known ways, such as a shading compensation, color modification, a gamma modification, and MTF modification, in order to compensate various characteristics of the image sensor. (Information for compensating characteristics of the image sensor may be stored in a shading memory 28, which information may be used at any appropriate timing.)
The operation panels 20 (reference numeral 4 in
As described above, the inventive image reading device 1, connected with the printer 2 supporting the predetermined communication standard, and transmits an image data directly to the printer 2, enabling the printer to print an image. For such operations, in the inventive image reading device 1, a printer control code is generated from an image data to be transmitted in a manner adapted for a predetermined communication standard under the control of CPU10. The printer control code will be further converted into a USB control code in the USB control portion 22 (image data outputting portion), and subsequently transmitted to the printer 2. In this regard, from the USB control portion 22 may be transmitted various control codes for printer's setting about dimensions and/or kinds of printing media or print papers, etc., and, if possible, codes for image quality or resolution of a printed image, in accordance with the predetermined communication standard. Further, if a radio or wireless telecommunication system is employed between the device 1 and the printer 2, the device is provided with a radio outputting portion (not shown). Also, if an image data is transferred using a memory card, the device 1 is provided with a memory card drive 30 (a memory card may store any image data generated in the device 1). Actual structures for transmitting various control codes and/or a drive for memory cards may be provided in a manner known in the art. Further, optionally, a means for transmitting an image to a PC (not shown) may be provided as in the conventional image reading device.
In addition, according to the inventive image reading device 1, as described in “Summary of Invention”, an original image data, which has been read and digitized in the scanner portion 24, is modified based upon an image data for modification so as to be printed with a size or a layout desired or requested by a user on a printing medium. The image data for modification is obtained by transmitting a reference image data from the image data outputting portion 22; printing a printed image of the reference image on a printing medium in the printer 2; and reading the printed image with the scanner portion 24. Thus, in the above-mentioned common bus 26, a parameter memory 18 is provided, memorizing the image data for modification, parameters, required in order to perform modification of original image data (modifying parameters), and/or other information about internal setting of a printer. Moreover, the common bus 26 may be connected with a reference image data memory 19, in which a reference image data representing a reference image is stored as usable appropriately under the control of CPU.
The inventive image reading device 1 operates alternatively in a calibration mode or a normal mode.
In the calibration mode, briefly, internal setting information on a printer (information about how the image data received by the printer is printed on a printing medium) is obtained by reading and analyzing a printed image of a reference image printed by the printer 2, and memorized in an image reading device 1. The operations of a user, the image reading device 1 and the printer 2 in this mode are as follows: Referring to
In the normal mode, briefly, an image data of an original copy read in the scanner portion 24 is modified using the internal setting information or modifying parameters of the printer acquired in the calibration mode, and thereby, the original image is printed with a size or a layout desired or requested by a user on a printing medium. The operations of a user, the image reading device 1 and the printer 2 in this mode are as follows: Referring to
As described in detail later, the modified original image data to be transmitted to the printer 2 is prepared such that the image data which should appear on a printing medium is assigned in a print region of the modified original image data, i.e., under condition that the modified original image data is adjusted in the printer 2 to be larger in size than a printing medium, the original image data or arranged image data with the selected size or the selected layout appears on a printing medium. Thus, when the printer 2 adjusts the dimension of the whole modified original image data so as to extend beyond the edge of the printing medium before the printing of modified original image data, the print region in the modified original image data coincides with the whole printing medium, and thereby avoiding unintentional cutting off of the periphery portions of the original image data or arranged image data and the printing of an image with size unexpected by the user.
Referring to this drawing, when the calibration mode is selected through the operation panel 20, (In the drawing, the first and the second switches are set to “2”.) and the execution start of processing is requested, a reference image data is outputted from the reference image data memory 19 to the JPEG encoder 10c, in which the reference image data is encoded in JPEG form. The reference image data of JPEG form is outputted to printer control portion 10d from the JPEG encoder 10c, and is converted to a printer control code, which is transmitted to the printer 2 in the form of a USB control code from the USB control portion 22. In this regard, instead of storing the reference image data in the reference image data memory 19, the reference image data may be acquired by reading a copy on which the reference image is drawn with the scanner portion 24, and subsequently, outputted to the JPEG encoder 10c. Further, although, here, JPEG form is employed for the image format, the other image formats, such as GIF form, BMP form, or RAW form, may be employed if the printer supports them.
After the reference image is printed and the printed image is set to the scanner portion 24 of the image reading device 1 by the user, when the user provides a command of continuation of processing, the scanner portion 24 reads the printed image of the reference image, and then, an image data for modification is generated and sent to the modification parameter computation portion 10b. The modification parameter computation portion 10b analyzes the image data for modification and computes modifying parameters as explained in detail later. Then, the resultant parameters are stored in the parameter memory 18, and the calibration mode is completed.
When the normal mode is selected (the first and the second switch is set to “1”.) and the execution start of processing is requested, the scanning of an original copy to read an original image are conducted with the scanner portion 24, and the original image data obtained in that way is transmitted to the layout composing portion (or arranged image generating portion) 10e. As explained in detail later, in the layout composing portion 10e, in order to arrange images on a printing medium with an arbitrary layout, “editing” or “arranging” of the original image data is executed. In a case that an original image is always printed substantially as it is, the layout composing portion 10e may be omitted. With respect to such a layout of an image on a printing medium, since it is difficult in the inventive image reading device to edit an image freely as in a PC, it is preferable that some layouts are prepared previously and a user can select the favorite layout therefrom through the operation panel 20.
Then, the original image data or arranged image data, which have passed through the layout composing portion 10e, is modified in the image modification portion 10a, using the modifying parameters stored in the parameter memory 18, in one of manners explained in detail later, as illustrated in
In both the calibration mode and normal mode, when the printing operation is not available in the printer 2, such as power-off, out of paper, out of ink, etc., its condition may be informed of with a warning lamp etc. Moreover, signals indicating commands from the user of discontinuation, a stop and resumption of processing, printing number of sheets, etc. may be transmitted through the operation panel 20 to the scanner portion, the printer control portion or the other processing portions. Furthermore, when no modifying parameters is prepared upon turning on the image reading device 1 or on staring an operation in the normal mode, the device 1 may warn a user of the absence of modifying parameters or automatically select the calibration mode.
In the following, “computation of modifying parameters”, “layout composing” and “generation of modified original image data” and “Operating an operation panel”, as outlined in the above, are explained in more details.
In Calibration mode, as noted, in “modification parameter computation portion 10b”, comparing a reference image containing a predetermined pattern, represented by an reference image data outputted from the image reading device 1, with the printed image (image data for modification) printed on a printing medium by the printer 2 which receives the reference image data representing the reference image, there are detected a size on the printing medium of the image corresponding to the image data transmitted to the printer 2, or, a size and a position of a region (print region) which actually appears on the printing medium within the image data transmitted to the printer 2. Then, based upon the results of the comparison and detection, modifying parameters used in the normal mode are computed. Hereafter, preferable embodiments of computing modifying parameters from the comparison analysis of a reference image data and an image data for modification will be explained about.
In the first embodiment of computation of modifying parameters, an image as shown in
The reference image of
When the reference image data of
The size of the region actually printed on the printing medium within the image data transmitted to the printer 2 (the size of the print region of the image data) or the size of the image represented by the image data transmitted to the printer 2 on the printing medium can be determined from the ratio (scaling factor N) of the dimension of the rectangular region in the image data for modification (
[When the dimension of a reference image data differs from the dimension of an image data generated through the reading with the image reading device, the scaling factor N is given by the following expression:
ti N=(k×Z)/(n×X),
where k is the reading resolution (pix/mm) of the image reading device; Z is the absolute size (mm) of a printing medium, X is the dimension (pix) of a reference image data, n is the ratio of the dimension of a print region of an image data transmitted to the printer 2 to the whole dimension of the transmitted image data. In this embodiment, (k×Z)/X×=1.]
The scaling factor N and shifting amount S may be computed as follows: Referring to
where BC and B0C0 are the length of the diagonal line between the vertices. For the length of the diagonal line of the rectangular region of the image data for modification, the average of two diagonal lines may be used.
When there is a possibility that the printer 2 changes the aspect ratio of an image, the scaling factors NX, NY for the X and Y directions, respectively, are detected from the ratios of the lengths of the edges of the rectangular region for the respective X and Y directions, as follows:
Scaling factor for X direction NX=AB/A0B0 or CD/A0B0 (2)
Scaling factor for Y direction NY=AC/A0C0 or BD/A0C0 (3)
In the computation of the respective scaling factors, the lengths of the edges of the rectangular region of image data for modification may be the averages for the two edges in the respective X and Y directions.
The respective center positions of the rectangular regions of reference image data and the image data for modification are given by: For the reference image data (CX, CY)
C
X=(X1+X2)/2; CY=(Y1+Y2)/2 (4)
For the image data for modification (cx, cy)
c
x=(x1+x2+x3+x4)/4; cy=(y1+y2+y3+y4)/4 (5).
Thus, shifting amounts Sx and Sy of the center positions of the rectangular region of the image data for modification (the distance of the center of the printing medium from the center of the printed reference image) are given by:
S
x
=C
X
−c
x
; Sy=C
Y
−c
y (6).
Then, based upon the scaling factors NX, NY and Shifting amount Sx and Sy the print region, appearing on the printing medium, in the image data of the dimension, Xmax×Ymax, transmitted to the printer 2 will be specified with the range in the coordinate system of an image data transmitted from the image reading device (namely, the coordinate system of the reference image) as follows: for X direction,
from (Xmax−Xmax/NX)/2+Sx/NX to (Xmax+Xmax/NX)/2+Sx/NX (7a);
for Y direction,
from (Ymax−Ymax/NY)/2+Sy/NY to (Ymax+Ymax/NY)/2+Sy/NY (7b)
(Region in the rectangle indicated with the dashed line in
The coordinates of the vertices ABCD of the rectangular region of the image data for modification can be determined by making the image data for modification in the binary form with an appropriate threshold value Th (The brightness values of the inside and outside of the rectangular region are set to 1 and 0, respectively.), and subsequently by calculating a correlation of the brightness distributions between a neighborhood of each vertex of the rectangular region of the image data for modification and matrices (or kernels) M1·M4 of brightness values having 7×7 pixels as shown in
Cr=Σ NOT (Mk(i,j)EXOR P(x+i,y+j)) (8).
where Mk (i, j) is a brightness value of a pixel at a coordinates (i, j) of Matrix Mk (k=1, 2, 3, 4) [−3≦i≦3, −3≦j≦3, i and j indicate crosswise and lengthwise directions, respectively. The coordinate of the center of a matrix is (0, 0)]; P (x+i, y+j) is a brightness value of a pixel at the coordinate (x+i, y+j) in image data for modification; and NOT and EXOR are NOT operation and exclusive OR operation, respectively, and Σ is summation about i and j. The correlation Cr is obtained by calculating the value of exclusive OR of the brightness of matrix Mk and the brightness P of the image data for modification for every coordinate while the center (0, 0) of a Matrix Mk is superposed on a coordinates (x, y) of the image data for modification (because of NOT operation, the resultant value is 1 when the brightness values of superposed pixels coincide with each other.), and by integrating the resultant exclusive OR values for the whole coordinates in the range of −3≦i, j≦3. Thus, the correlation Cr increases as patterns (brightness distribution) of two superimposed regions, namely, Matrix Mk and a region in image data for modification are geometrically closer to each other. As seen from the drawing, the respective Matrices M1-M4 have a brightness pattern corresponding to the brightness distribution near the vertexes of the rectangular region, where the brightness value of 4×4 pixels is “1” in the corner of the right lower, left lower, right upper and left lower, respectively, and the rest of the pixels are assigned with “0”. So, when the correlations between Matrix Mk and the image data for modification at least in the neighborhood region of the vertex of the rectangular region are computed while shifting the center position of Matrix Mk on the image data for modification, the position (x, y) of each of the Matrix M1-M4 on the image data for modification which gives the maximum of the correlation will be determined as coordinates of the position of each vertex of A, B, C, and D of a rectangular region. (Here, the above-mentioned detection technique is called a “pattern extraction filtering” method.)
For each vertex of the rectangular region, the range for computation of the correlation Cr may be appropriately set up, considering the difference between the position of the vertex in the reference image and the position of its printed image due to the size expansion at the scaling factor from an original image to its printed image, misalignment of a printing sheet fed on the printer 2 upon the printing operation, an error in the size of a postcard and an error of the set position of an original copy on the scanner portion 24 by a user, etc. For instance, since it is expected that the vertex A of the rectangular region on the image data for modification will exist near the vertex A0 (X1, Y1) of the reference image data, the range in which Correlation Cr is computed may be set as:
X1−δ≦x≦X1+δ
Y1−δ≦y≦Y1+δ,
where δ may be set by expecting the displacement of the vertex in the printed image: for instance, if the estimated maximum displacement is 5 mm, equivalent to about 59 pixels in 300 DPI, it may be set that δ=59.
The determination of the coordinates of the vertices by means of the correlation Cr may be conducted through an exemplary computation process as described in the form of the flow chart in
Referring to
In the above-mentioned process, the dimension of a matrix may be set arbitrarily in order to avoid an influence of noise on reading the printed image of the reference image in the scanner portion 24.
By the way, for instance, the scaling factor N is computable by converting the values of the inside and outside of the rectangular regions of the reference image data and image data for modification into (1, 0) in the binary data and calculating the square root of the ratio between the integration of the brightness values of the whole image data for modification (ΣP(x, y):Σ is the summation for x and y) and the integration of the brightness values of the whole reference image data (τP0(x, y):Σ is the summation for x and y), because the integrated value of the brightness in the whole image data is proportional to the area of the rectangular region when the brightness of the exterior of the rectangular region is 0. Further, the shifting amount Sx and Sy is obtained by computing the distance of the center of gravity of the brightness in the whole image data for modification from the center of gravity of the brightness in the whole reference image data, because the center of gravity of the brightness in the whole image data is the center of the rectangular region when the brightness of the exterior of the rectangular region is 0.
In another embodiment of computation of modifying parameters, a reference image, as shown in
When the reference image of
Referring to
N
Y=(oH+v1)/OE,
so that, using the relation of v1=HG−tan θ=h1−tan θ, the scaling factor NY is expressed by:
N
Y=(yo−d+h1·tan θ)/(Ymax/2−d) (9a)
where h1=xh−xg and tan θ=(yi−d)/(xg−d).
On the other hand, using h2=IJ/tan θ=v2/tan θ, the scaling factor NX in the X direction is given by:
where v2=yj−yi.
Shifting amount S is given by:
Sx=Xmax/2−xo; Sy=Ymax/2−yo (10).
As in the first embodiment, these values are stored in the parameter memory as modifying parameters in order to use them for modification of an original image data or an arranged image data in the normal mode. In this connection, as understood by one skilled in the art, although the above embodiment employs, for a predetermined pattern, a right angled triangle whose the right-angled vertex is positioned on the center of an image, such a predetermined pattern may be an arbitrary pattern of which geometric characters enable to determine the position and dimension of a portion having been cut off on an image data for modification, and it should be noted that such a case is included in the scope of the present invention.
In computation of the above-mentioned parameters, the image data for modification is converted into the binary form while setting the brightness values of the image of the triangular edges and the background to “1, 0”, respectively. For example, the points G (xg, d) and H (xh, d) are determined by detecting the position and width of the pixel sequence of the brightness of 1 in the line (x, d): 0≦x≦ of Xmax−1, of the image data for modification, and specifying the center of the pixel sequence as the point G or H. As shown in
(iii) The Third Embodiment of Computation of Modifying Parameters
In another embodiment of computation of modifying parameters, as shown in
The counting of the number of the line segments on the image data for modification may be executed, for example, by converting the image data for modification in the binary form with the brightness values of the images of the line segments and the background being set to “1, 0”; by inspecting sequentially the brightness value of a pixel in the direction perpendicular to a line segment sequence in a region in which the line segment sequence is expected to be positioned while counting the number of times of changing of brightness value from “0” to “1” or from “1” to “0”. In this process, in order to eliminate any influence of noise, only the cases where the brightness value does not change in a predetermined length before and after changes of the brightness value may be counted as the brightness changing.
Then, when the widths Wt, Wb, Wl, and Wr (the unit is the number of pixels) to be cut off in each of the upper, lower, left side and right side periphery portions in the reference image are specified, the region printed on the printing medium (the rectangular region surrounded by the dotted line of
N
X
=Xmax/(Xmax−Wl−Wr) (11a)
N
Y
=Ymax/(Ymax−Wt−Wb) (11b)
Further, Shifting amount Sx and Sy may also be computed using Wt, Wb, Wl, and Wr. (Shifting amount Sx and Sy is given by Sx=Nxx(Wl−Wr)/2; Sy=Nyx (Wt−Wb)/2.). The resultant computed values are stored as modifying parameters in the parameter memory.
As one more other embodiment of computation of modifying parameters, an image data for modification may be generated by printing a reference image of either of the first to the third embodiments with the printer 2 on a printing sheet on which cross patterns have been positioned with high precision as shown in
Referring to
When α, β, and γ are specified, the center position of the print sheet in the image data for modification (xpc, ypc) will be determined by:
xpc=(x6+x7)/2; ypc=(y6+y7)/2 (12)
Further, the inclination of the print sheet to the reading region of the image reading device 1 when the print sheet is set in the image reading device 1, namely, the inclination of the printed image in the image data for modification, may be determined using an angle specified between the line from α to γ and the Y direction (alternate long and short dash line) of the image data for modification as shown in
θ=arctan ((x7−x5)/(y7−y5))
Then, through conversion of the coordinate system (x, y) of the image data for modification is converted into (x′, y′) by compensating the displacement (xpc−Xmax/2, ypc−Ymax/2) between the center of the printing medium and the center of the image data for modification, and by rotating the coordinate system by θ so as to make the line extending from α to γ coincide with the Y direction of the image data for modification, i.e.
x′=(x·(xpc−Xmax/2))·cos θ+(y−(ypc−Ymax/2))·sin θ
y′=−(x−(xpc−Xmax/2))·sin θ+(y−(ypc−Ymax/2))·cos θ (13),
the coordinates of a reference pattern (e.g. rectangular region ABCD) will be expressed with the coordinate system on the print sheet. Thus, using the coordinate values after this coordinate conversion, values of scaling factors and shifting amounts, etc. will be determined in the ways as explained in the above-mentioned embodiments, and stored in the parameter memory. Accordingly, through the above-mentioned coordinate conversion, modifying parameters will be computed using the coordinates on the printing medium, so that any error in the set position of the print image of the reference image when a user sets it on the image reading device 1, namely, misalignment of the printing medium to the reading region of the image reading device can eliminated. In this regard, although the cross patterns are used in the present embodiment, it should be understood that equivalent effects also are obtained with the other patterns, and such a case is included in the scope of the present invention.
As further embodiment, a reference image with which “patches” of an appropriate size (which should not be entirely removed from a printed image) are provided in the corners as shown in
In the normal mode of the inventive image reading device 1, an original image can be printed not only with the same dimension as its original size (as it is read with the scanner portion), but also with arbitrary various layouts (an arranged image data). For example, an original image may be printed in “multiple attachment printing” mode, where a seal paper 50, as shown in
When an original image is printed with a certain layout selected by a user instead of printing the original image with the same dimension as it is read with the scanner portion, an image data of a solid color is prepared in the layout composing portion 10e. The solid colored image data may have a brightness value RGB (255,255,255) for all pixels and a predetermined dimension, e.g. the number of pixels X×Y. Then, in the layout composing portion 10e, the original image data is pasted on predetermined regions (the original image data is arranged.) in the solid colored image data. In the case of “multiple attachment printing”, for instance, when the seal paper of
By the way, when an original copy is set in the image reading device 1, it is possible that the position of the original copy deviates from the reading region of the image reading device, or the size of the original copy is sometimes smaller than the reading region. In such a case, the edge of the original copy may appear, like a shadow, in the image data acquired in the image reading device. Then, in order to avoid such an appearance of the edge of an original copy, an acquired original image data may be trimmed by cutting off its periphery at a predetermined width in the layout composing portion 10e (Trimming processing). Typically, it is preferable that the trimming processing is conducted prior to sending the whole original image data to the image modification portion 10a, or prior to executing the layout composing for the above-mentioned multiple attachment printing or printing with margin.
In the normal mode of the inventive image reading device 1, an original image data or an arranged image data (created with a certain layout from original image data in the layout composing portion 10e) is modified in the image modification portion 10a by means of modifying parameters to generate a modified original image data so as to print an image on a printing medium with a layout desired or requested by a user. In a modified original image data, an original image data or an arranged image data is assigned to the print region of the modified original image data through either of manners explained below. As noted, when the printer 2 receives a modified original image data and performs the printing in the margin-less printing mode programmed in the printer 2, the image represented by the whole modified original image data is set so as to extend beyond a printing medium by a predetermined width in accordance with the internal setting of the printer 2, and therefore, the print region of the modified original image data is rendered to coincide with the printing medium, resulting in that an image of a size or a layout desired or requested by a user, assigned in the print region, will be printed on the printing medium.
With respect to generation of modified original image data, the inventive image reading device 1 may be designed to conduct three printing modes, e.g. “Just-fit printing mode”, “margin-less printing mode”, “printing-with-margin mode”. Hereafter, the processes of generating modified original image data in the respective modes are explained.
In Just-fit printing mode, the whole region of an arranged image data or an original image data is assigned so as to be just fit into the print region of a modified original image data. Thus, when the modified original image data is transmitted to the printer 2, the whole region of the arranged image data or original image data will be printed on a printing medium so as to substantially coincide with the whole area of the printing medium.
In a manner of generating such a modified original image data in the just-fit printing mode, first, a pasteboard image data defining the whole region of a modified original image data may be prepared. In order to generate a modified original image data without reducing a resolution of an arranged image data or an original image data having the dimension of Xmax×Ymax, the dimension of the pasteboard image data is set to NX·Xmax×NY·Ymax as shown in
for X direction,
from (NX·Xmax−Xmax)/2+Sx to (NX·Xmax+Xmax)/2+Sx, (14a)
and,
for Y direction,
from (NY·Ymax−Ymax)/2+Sy to (NYYmax+Ymax)/2+Sy (14b).
Accordingly, a modified original image data is generated by putting the brightness values of the whole region of an arranged image data or an original image data on the region in the pasteboard image data specified above with the range of X and Y directions while setting the coordinates [x, y]=[(NX·Xmax−Xmax)/2+Sx, (NYYmax−Ymax)/2+Sy] as the starting point SP. Further, according to the third embodiment of computation of modifying parameters, since the widths of the upper, lower, left side and right side periphery portions being cut off in an image data received by the printer 2 can be directly obtained, a modified original image data may be generated by inserting an arranged image data or an original image data into a rectangular region defined by the following four points: (NX−Wl, NY·Wt), (NX·(Xmax−Wr), NY·Wt), (NX·Wl, NY·(Ymax−Wb)), (NX·(Xmax−Wr), NY·(Ymax−Wb)), in a pasteboard image data of NX·Xmax×NY·Ymax.
On the other hand, when making the dimension of a pasteboard image data equal to the dimension Xmax×Ymax of a reference image data, as shown in
In this connection, it should be noted that, in the above-mentioned generation of a modified original image data as described above, in the case of NX=NY=1, no modification of the image size will be carried out, and, in the case of Sx=Sy=0, no compensation for shifting amounts will be carried out. Depending upon the design of the image reading device 1 or a user's selection, only either one of modification by scaling factors and modification by shifting amounts may be conducted, and even such a case is included in the scope of the present invention.
In another manner of the just-fit printing mode, a modified original image data may be generated by attaching a frame data with the outside of the periphery of an arranged image data or an original image data. Widths of the frame to be added to the periphery portions in the four directions of the arranged image data or original image data can be determined based on scaling factors NX and NY and shifting amount Sx and Sy, or, in the case of the third embodiment of computation of a modifying parameter, based upon Wt, Wb, W1, and Wr (in the case of the third embodiment, if the dimension of modified original image data is Xmax×Ymax, the values of Wt, Wb, Wl, and Wr become the widths of a frame.). The resultant modified original image data is identical to those in the case of using the pasteboard image data, but, it is advantageous in that less memory amount is required during the operation of image data because no memory for pasteboard image data is required.
It should be noted that, in both of the image data (
In the just-fit printing mode as described above, the region read with the image reading device can be printed so as to coincide with a printing medium. However, on setting an original copy in the image reading device 1, it is possible that the position of an original copy deviates from the reading region of the image reading device, or that the dimension of an original copy is sometimes smaller than the reading region. In such cases, the edges of the original copy may appear in the read image data like a shadow. In addition, in the printer 2, it is very difficult to completely control the accuracies of the size of print papers, of the position of a print paper set on the printer 2 by a user and of the paper feeding, so that unfilled space unintended by a user may appear in the periphery portion of a printing medium when the print sheet is larger than a regular size; when a print sheet is put on the position deviating a regular position in a paper feed tray; and when a paper sheet during its feeding is inclined from its regular feeding course.
Thus, in the inventive image reading device, in order to avoid such appearances of edges of an original copy or unintentional appearance of a margin in the image data, “Margin-less printing mode” may be executed such that the whole region of an arranged image data or an original image data can be printed so as to extend beyond a printing medium by a predetermined width, resulting in that the printing will be applied on the outermost edge of the printing medium.
Referring to
When an arranged image data or an original image data is transmitted without changing its resolution, the dimension of a modified original image data transmitted to the printer 2 will be set to:
NX·(Xmax−2E), for X direction; and
NY·(Ymax−2 E·Ymax/Xmax) for Y direction.
Accordingly, the dimension of the print region is:
(Xmax-2E), for X direction; and
(Ymax−2 E·Ymax/Xmax), for Y direction.
When the print region of this dimension is printed on a printing medium, the center of the printing medium will be shifted, by shifting amount Sx and Sy, from the center of the image data, so that the distance between the center of the modified original image data and the center of the print region in the coordinate system of the modified original image data will be the (Xmax−2E)/Xmax times of shifting amounts Sx and Sy, namely, given by: (1−2E/Xmax)·Sx, (1−2E/Xmax)·Sy. Accordingly, when the arranged image data or original image data of dimension Xmax×Ymax is pasted on the modified original image data with starting from the coordinate:
X=(NX·(Xmax−2E)−Xmax)/2+(1−2E/Xmax)·Sx,
Y=(NY·(Ymax−2E·Ymax/Xmax)−Ymax)/2+(1−2E/Xmax)·Sy (15),
the arranged image data or original image data in the rectangular region, indicated as the “print region” in the figure, will be printed on the printing medium in which the arranged image data or original image data extends, by E, beyond the left and right edges, and, by E·Ymax/Xmax, beyond the upper and lower edges of the printing medium.
In generating these modified original image data, an arranged image data or an original image data may be pasted on a pasteboard image data of the above-mentioned dimension, or, a frame data may be attached with around the periphery of an arranged image data or an original image data. In the case of attaching a frame data, if using the width data Wt, Wb, Wl, and Wr of the periphery portion of the image data cut off by the printer 2 obtained in the third embodiment of computation of modifying parameters, the widths of those values multiplied by NY (1−2 E/Xmax) or NX (1−2 E/Xmax) are attached to the corresponding peripheries of the image data.
Further, when the dimension of a modified original image data to be transmitted is made the same as the dimension Xmax×Ymax of the image obtained by the reading of an image reading device 1, an arranged image data or an original image data is multiplied by 1/{NX(1−2E/Xmax)} and 1/{NY(1−2E/Xmax)} for X and Y directions, respectively, (the image data is shrunk), and inserted into the modified original image data with starting from the coordinates obtained by multiplying the values in the expression (15) with 1/{NX(1−2E/Xmax)} and 1/{NY(1−2E/Xmax)}, respectively. In the above-mentioned series of processes, a modified original image data may be generated, taking into account only either of scaling factor and shifting amounts for the printer 2, and such a case is included in the scope of the present invention.
“Margin-less printing mode” explained above is conducted in a way similar to a margin-less printing mode of a printer in which the image data received by the printer is printed while being made extend beyond a printing medium in accordance with the internal setting of the printer. However, in the case of margin-less printing mode of a printer, the width of a periphery portion being cut off cannot be adjusted by a user, and varies with models and/or setting of printers. On the other hand, according to the “margin-less printing mode” in the inventive image reading device, the width of a periphery portion being cut off can be controlled at a constant irrespective of the internal setting of the printers. In addition, as explained about later in the description of “Operating the Operation panel”, the width E of a cut-off periphery portion in accordance with the setting of the image reading device may be adjustable by a user. The adjustment of the width of a periphery portion by a user may be conducted so as to render the ratio of the dimension of a modified original image data to the dimension of an original image data or an arranged image data to be in the range of larger than 1 but below a scaling factor.
(iii) Printing-with-Margin Mode
In the inventive image reading device 1, in generation of a modified original image data, a margin or space may be provided to a periphery portion of a printed image. Such a margin or space may be added by generating an arranged image data from an original image data in the layout composing portion and printing the arranged image data in the just-fit printing mode. However, for example, when a layout composing portion is omitted in the device 1, a margin or space may be provided through the setting in the image modification portion 10a.
Referring to
As noted, the image reading device 1 operates selectively at least in the two modes, calibration mode and normal mode. For instance, under a condition that the image reading device 1 is not turned on, when Power button 100 is pushed, the operation mode of the image reading device 1 may be set to the normal mode, and, when Power button 100 and another arbitrary button are pushed simultaneously, the operation mode of the device 1 may be set to the calibration mode. For example, when the calibration mode is selected, the character of “CALIBRATION MODE” is displayed in the digital display portion 108 (
Operation in the calibration mode is started by pushing Start button 102. When the start button 102 is pushed, a reference image data is automatically transmitted to the printer 2 from the image reading device 1, and printed by the printer 2. Subsequently, after the printed image of the reference image is set in the image reading device 1, when the start button 102 is pushed again, the printed image of the reference image will be read, an image data for modification will be generated, and computation of modifying parameters as explained above will be conducted automatically. The resultant parameters will be stored in the parameter memory. After the above processing is completed, the operation mode may be changed to the normal mode. In this connection, computation of modifying parameters in the calibration mode may be performed through either way of the above-mentioned embodiments. The way of computation of modifying parameters may be determined in the manufacture and adjustment of the device 1, or may be selectable by a user during the use of the device 1. As shown above, basically, in the calibration mode, what a user has to do are pushing Start button 102; and setting the printed image of the reference image to the device 1.
When the image reading device 1 is set in the normal mode, the digital display portion 108 displays “NORMAL MODE” and information about setting items. Change of setting items may be conducted by pushing Setting change button 112, and the selection in a certain setting item may be conducted by pushing either of Selection switches 110a and 110b.
If the image reading device 1 shifts into the normal mode, for example, first, Setting of the printing number of sheets may selected and the printing number of sheets may be displayed on the digital display portion 108. In this condition, the printing number of sheets is changed by pushing either of the selection switches 110a and 110b. (
Then, by pushing Setting change button 112, Layout setting is selected, and a currently selected layout selected may be displayed on the digital display portion 108. Change of the layout to be selected is made by pushing selection switches 110a and 110b, and whenever the selection switch is pushed, the digital display portion 108 will change. For instance, “All Margin-less Printing”—Original image data is printed in the above-mentioned margin-less printing mode (
When “All margin-less printing” or “All printing with margin” is selected, if Setting change button 112 is pushed, adjustment of the width of the cut-off periphery portion or the margin added to the periphery becomes available. For instance, if the button 112 is pushed, “k0” (or “F0”) is first displayed on the digital display portion 108, indicating that the cutoff width (or margin width) is 0 mm, in which the acquired original image is printed in the just-fit printing mode. Then, whenever the selection switch 110a or 110b is pushed, the setting of width is changed subsequently to 1 mm, 2 mm, - - - , 9 mm, while the digital display portion 108 changes correspondingly to “k1”, “k2”, - - - “k9” (or “F1”, “F2”, - - - , “F9”).
Furthermore, when Setting change button 112 is pushed, the other setting item is selected, the change of setting in each item may be made by pushing the selection switch 110a or 110b while showing the setting value on the digital display portion 108.
Reading and printing of an original image are conducted by pushing a start button 102. When start button 102 is pushed, the image reading device reads in an original image, generates an original image data representing the original image, and subsequently modifies the original image data in accordance with various settings as mentioned above and using modifying parameters, and outputs the resultant modified original image data to the printer 2, as described so far. The printer 2, according to the internal setting thereof, prints an image corresponding to the received modified original image data on a printing medium. However, since the modified original image data are prepared so that an original image data or an arranged image data may appear on a printing medium with a desired or requested size or a desired or requested layout, a printed image will be obtained as expected by a user, irrespective of the internal setting of the printer 2.
Number | Date | Country | Kind |
---|---|---|---|
2005 302299 | Oct 2005 | JP | national |
2006 178606 | Jun 2006 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2006/320982 | 10/16/2006 | WO | 00 | 2/25/2008 |