JP2007143109A - Image reading device and printing system - Google Patents

Image reading device and printing system Download PDF

Info

Publication number
JP2007143109A
JP2007143109A JP2006178606A JP2006178606A JP2007143109A JP 2007143109 A JP2007143109 A JP 2007143109A JP 2006178606 A JP2006178606 A JP 2006178606A JP 2006178606 A JP2006178606 A JP 2006178606A JP 2007143109 A JP2007143109 A JP 2007143109A
Authority
JP
Japan
Prior art keywords
image
image data
reading apparatus
printing
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006178606A
Other languages
Japanese (ja)
Other versions
JP2007143109A5 (en
Inventor
Junji Takahashi
純二 高橋
Kazuo Nakano
一男 中野
Koichi Hashimoto
浩一 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Riso Kagaku Corp
Original Assignee
Riso Kagaku Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Riso Kagaku Corp filed Critical Riso Kagaku Corp
Priority to JP2006178606A priority Critical patent/JP2007143109A/en
Priority to EP06812107A priority patent/EP1938575A1/en
Priority to US11/990,920 priority patent/US20090147298A1/en
Priority to PCT/JP2006/320982 priority patent/WO2007046512A1/en
Publication of JP2007143109A publication Critical patent/JP2007143109A/en
Publication of JP2007143109A5 publication Critical patent/JP2007143109A5/ja
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer
    • H04N1/6033Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer using test pattern analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/393Enlarging or reducing
    • H04N1/3935Enlarging or reducing with modification of image resolution, i.e. determining the values of picture elements at new relative positions

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reading device which can be connected directly to an arbitrary printer adaptable to a predetermined communications standard, can print an image with the size or layout desired by a user regardlessly of the internal setup of the printer. <P>SOLUTION: This image reading device comprises: an image detecting portion reading an original image; an image data generating portion generating original image data; an image data outputting portion which outputs image data with a communication mode which can be received by a printer supporting a predetermined communication standard and which renders an image represented by the image data printable with the printer; and an image correction processing portion correcting the original image data based on image data for modification obtained by reading a reference image containing a predetermined pattern printed through the printer, thereby printing an original image with the desired size or layout in the printer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、紙・プラスチックシート又はその他の媒体上に描かれた画像を読み取って画像データを生成し出力する画像読取装置に係り、より詳細には、パーソナルコンピュータ(パソコン)を介さずに印刷装置へ画像データを送信して画像を印刷できるよう構成された画像読取装置に係る。また、本発明は、上記の如き画像読取装置と、画像データを受信して画像の印刷を行う印刷装置とから成る印刷システムに係る。   The present invention relates to an image reading apparatus that reads an image drawn on paper, a plastic sheet, or other medium to generate and output image data, and more particularly, a printing apparatus without using a personal computer (personal computer). The present invention relates to an image reading apparatus configured to transmit image data to and print an image. The present invention also relates to a printing system comprising the image reading apparatus as described above and a printing apparatus that receives image data and prints an image.

パソコンの普及に伴い、その周辺装置として、画像読取装置(例えば、イメージスキャナ)も、一般家庭やオフィス等で廉価に且手軽に利用できるようになった。画像読取装置と印刷装置をパソコンに接続しさえすれば、紙等の媒体上の画像を、電子化(ディジタル化)された画像データとしてパソコンに取り込み、画像の複製・印刷を行うことができる。かくして、従前では、「プリントゴッコ」(商品名)等の簡易型の孔版印刷装置を用いる他は、手書き・切り貼り・版画(芋版など)にて一枚ずつ行うか或いは専門の印刷業者等に依頼するしかなかった年賀状、暑中見舞い、クリスマスカード、ちらし、フライヤーなどの種々の印刷物の作成が、家庭やオフィスで誰でも比較的簡単にできるようになっている。また、画像読取装置のイメージセンサ、印刷装置のインクジェット技術の向上により、印刷された画像の画質も、銀塩写真と匹敵するものとなっている。更に、適当なアプリケーション又はソフトウェアを駆使すれば、画像の編集も、パソコン上で自由に行うことができる。   With the spread of personal computers, an image reading device (for example, an image scanner) as a peripheral device can be used inexpensively and easily in a general home or office. As long as the image reading device and the printing device are connected to a personal computer, an image on a medium such as paper can be taken into the personal computer as digitized image data and copied / printed. Thus, in the past, other than using a simple stencil printing device such as “Print Gokko” (product name), etc., one by one by handwriting, cutting and pasting (printing, etc.), or requesting a specialized printing company etc. The creation of various printed materials such as New Year's cards, summer greetings, Christmas cards, flyers, and flyers that can only be done by anyone is now relatively easy. In addition, the image quality of the printed image is comparable to that of a silver salt photograph by improving the image sensor of the image reading device and the inkjet technology of the printing device. Furthermore, if an appropriate application or software is used, image editing can be freely performed on a personal computer.

上記のパソコン、画像読取装置及び印刷装置を用いた画像の複製・印刷では、全ての処理がパソコンの制御下にて行われるので、当然に、パソコンを準備し操作する必要がある。しかしながら、画像読取装置と印刷装置に比して、パソコンは高価であり、年賀状等の作成など、紙等の媒体上の画像の複製・印刷のみを目的とする使用者にとって、パソコンは、高級に過ぎる装置であろう。また、年賀状等の作成・複製を手書き・切り貼り・小型の孔版印刷機等により行ってきた使用者にとって、パソコンの操作は、厄介で困難な場合が有り得る。そこで、本願出願人と同一の出願人による下記の特許文献1−5に記載されている如く、パソコンを必要とせず、画像読取装置で読み取った画像を直接に印刷装置へ出力して印刷する画像読取・印刷システム(ポストカード調製機)が発明された。かかる画像読取・印刷システムによれば、簡単なボタン操作をするだけで、手書き・切り貼り等により作成した原稿の画像を画像読取装置にて読み取り、印刷装置にて原稿上の画像の複製が印刷されるので、パソコンを用いる場合より、はるかに廉価であり、また、パソコンに慣れていない世代や小さな子供でも、年賀状、ポストカード、誕生日会やクリスマスパーティーなどの小さなイベントの案内状等を比較的手軽に複製・印刷することができる。
特開2004−104665号公報 特開2005−22307号公報 特開2005−22836号公報 特開2005−27140号公報 特開2005−27141号公報 特開2003−274155号公報
In image duplication / printing using the personal computer, image reading apparatus, and printing apparatus described above, all processing is performed under the control of the personal computer, so that it is naturally necessary to prepare and operate the personal computer. However, compared to image reading devices and printing devices, personal computers are more expensive, and for users who only want to copy and print images on media such as paper, such as creating New Year's cards, personal computers are expensive. It will be a device that passes. In addition, the operation of a personal computer may be troublesome and difficult for a user who has created / replicated New Year's cards by handwriting, cutting and pasting, a small stencil printing machine, or the like. Therefore, as described in the following Patent Documents 1-5 by the same applicant as the present applicant, an image that is directly output to a printing apparatus and printed without the need for a personal computer is printed on the printing apparatus. A reading and printing system (postcard preparation machine) was invented. According to such an image reading / printing system, an image of a manuscript created by handwriting, cutting and pasting is read by an image reading device with a simple button operation, and a copy of the image on the manuscript is printed by the printing device. Therefore, it is much cheaper than using a personal computer, and even for generations and small children who are not familiar with personal computers, it is relatively easy to receive invitations for small events such as New Year's cards, postcards, birthday parties and Christmas parties. Easy to copy and print.
JP 2004-104665 A JP 2005-22307 A JP 2005-22836 A JP-A-2005-27140 JP 2005-27141 A JP 2003-274155 A

ところで、市場に於いて、パソコンとその周辺機器、即ち、画像読取装置、印刷装置等は、既に多数のメーカーにより製造・販売されており、使用者は、機器の性能、価格等を考慮して、好みの機種を選択できるようになっている。パソコンと周辺機器との通信方式は、所定の通信規格に対応しており、例えば、A社のパソコンに、B社のスキャナとC社の印刷装置とを接続して使用することが可能である。特に、印刷装置に関しては、所定の通信方式にて、所定の画像形式の画像データを印刷装置に送信すれば画像を印刷できるようにする通信規格が提案されており(その代表的なものが、PictBridge)、かかる所定の通信規格に対応した印刷装置とディジタルカメラ(又は画像データメモリ)との間であれば、任意の機種の間に於いて、パソコンを介さずに、画像データの送受信が行われ、写真の印刷が可能となっている。従って、上記の所謂「ポストカード調製機」の如き画像読取・印刷システムに於いて、画像読取装置の画像データ出力の通信方式を、印刷装置へ直接にデータ送信して印刷の実行ができる所定の通信規格に準拠したものとすれば、(その所定の通信規格に対応したもののうち)任意の機種の印刷装置を利用することができることとなる。   By the way, in the market, personal computers and their peripheral devices, that is, image reading devices, printing devices, etc. are already manufactured and sold by many manufacturers, and users consider the performance and price of the devices. , You can choose your favorite model. The communication method between the personal computer and the peripheral device corresponds to a predetermined communication standard. For example, it is possible to connect the scanner of B company and the printing device of C company to the personal computer of A company. . In particular, regarding a printing apparatus, a communication standard has been proposed that enables an image to be printed by transmitting image data of a predetermined image format to the printing apparatus using a predetermined communication method (a typical one is PictBridge), between the printer and digital camera (or image data memory) that supports the specified communication standard, image data can be sent and received between any model without going through a personal computer. It is possible to print photos. Therefore, in the image reading / printing system such as the so-called “postcard preparation machine”, the image data output communication method of the image reading device is a predetermined data transmission directly to the printing device to execute printing. If it is based on the communication standard, any type of printing apparatus (out of the ones corresponding to the predetermined communication standard) can be used.

しかしながら、画像読取装置の画像データ出力の通信方式を、印刷装置へ直接にデータ送信して印刷の実行をさせる通信規格に準拠させたとしても、印刷装置の印刷媒体(紙、プラスチックシートなど)上で使用者の期待通りに画像が印刷されるとは限らない。   However, even if the communication method of image data output of the image reading apparatus conforms to a communication standard that directly transmits data to the printing apparatus and executes printing, the printing medium (paper, plastic sheet, etc.) of the printing apparatus is used. However, the image is not always printed as expected by the user.

一般に、ディジタル化された画像データは、或る輝度値(カラー画像の場合には、色成分(例えば、R、G、B)のそれぞれについての輝度値)と座標とを有する画素の集合であるので、画像データを印刷装置へ送信して画像を印刷する際には、印刷媒体上に於いて単位長さ当たりに配置される画素数(換言すると、画像データ中の一つの画素に割り当てられる印刷媒体上の領域の大きさ)か、印刷媒体上での画像の寸法を指定する必要がある。しかしながら、主としてディジタルカメラ等で撮影された写真画像を印刷することを想定して設計されたPictBridge等の通信規格に準拠した印刷装置の多くでは、印刷媒体上での単位長さ当たりの画素数又は印刷媒体上での画像の寸法は、印刷装置の内部で自動的に設定され、それらの印刷装置の内部設定を使用者が任意に変更して印刷媒体上の画像の大きさを調節することができない。特に、上記の如きディジタルカメラ等から直接に画像データを受信して画像の印刷を行う印刷装置に於いて、所謂「フチ無し印刷」、即ち、周縁部に余白を残すことなく印刷媒体全面に画像を印刷する方式が実行される場合には、図13(右上)に例示されている如く、受信された画像データが印刷媒体よりも若干大きくなるように、即ち、画像データの表す画像のフチ(周縁部)が印刷媒体からはみ出るように、単位長さ当たりの画素数又は画像の寸法が設定され、画像の印刷が行われる(インクジェット方式の印刷装置の場合では、印刷装置へ送信された画像データの表す画像の周縁部が印刷媒体から若干はみ出るようにインクジェット部を走査することにより、印刷媒体のフチのぎりぎりまでインクを吹付けられるよう構成されている。例えば、上記特許文献6参照。)。かくして、「フチ無し印刷」の実行時に、画像読取装置で読み取った原稿の画像データが印刷装置へそのまま送信された場合、印刷された画像は、周縁部が欠けてしまい、原稿と印刷媒体の寸法が同一の場合には、原稿の画像よりも拡大されてしまうこととなる(図13下)。印刷媒体からはみ出させる画像の周縁部の幅とはみ出させる方向、換言すれば、印刷装置へ送信した画像データのうち実際に印刷媒体上に印刷される領域の大きさと位置(印刷媒体のサイズの誤差、印刷装置の用紙(印刷媒体)送り誤差などにより、定常的に送信した画像データの中心と印刷媒体の中心とが一致しない場合も有り得る。)は、使用者には調整をすることができず、又、印刷装置の機種によって異なっている。   Generally, digitized image data is a set of pixels having a certain luminance value (in the case of a color image, luminance values for each of color components (for example, R, G, B)) and coordinates. Therefore, when printing an image by transmitting image data to a printing apparatus, the number of pixels arranged per unit length on the print medium (in other words, printing assigned to one pixel in the image data). It is necessary to specify the size of the area on the medium) or the size of the image on the print medium. However, in many printing apparatuses compliant with communication standards such as PictBridge designed mainly for printing photographic images taken with a digital camera or the like, the number of pixels per unit length on a print medium or The size of the image on the print medium is automatically set inside the printing apparatus, and the user can arbitrarily change the internal setting of the printing apparatus to adjust the size of the image on the print medium. Can not. In particular, in a printing apparatus that directly receives image data from a digital camera or the like as described above and prints an image, the so-called “borderless printing”, that is, the image on the entire surface of the printing medium without leaving a margin in the peripheral portion. When the method of printing is executed, as illustrated in FIG. 13 (upper right), the received image data is slightly larger than the print medium, that is, the edge of the image represented by the image data ( The number of pixels per unit length or the size of the image is set so that the peripheral edge protrudes from the print medium, and the image is printed (in the case of an inkjet printer, the image data transmitted to the printer) Ink is sprayed to the border of the print medium by scanning the inkjet section so that the peripheral edge of the image represented by is slightly protruding from the print medium. For example, the Patent Document 6.). Thus, when the image data of the document read by the image reading device is transmitted to the printing device as it is when executing “borderless printing”, the printed image lacks the peripheral portion, and the dimensions of the document and the printing medium If they are the same, the image will be enlarged compared to the original image (bottom in FIG. 13). The width of the edge of the image that protrudes from the print medium and the direction of protrusion, in other words, the size and position of the area actually printed on the print medium in the image data transmitted to the printing apparatus (error in the size of the print medium) The center of the image data that is regularly transmitted may not match the center of the print medium due to a paper (print medium) feed error or the like of the printing apparatus. Also, it differs depending on the model of the printing apparatus.

画像読取装置から送信した画像のうち印刷媒体上に印刷される領域、或いは、送信した画像の印刷媒体上での大きさが調整できないということは、画像読取装置の使用者にとって非常に不便であり、また、不快感を生ずる。例えば、上記の「ポストカード調製機」の如き画像読取・印刷システムの使用者は、一般に年賀状やクリスマスカードなど、原稿上に作成した画像が同じ寸法でそっくりそのまま複製・印刷されることを期待するが、実際に印刷された画像の寸法が原稿の画像の寸法と違っていたり、或いは、画像の周縁部が不用意に欠けていたりすれば、使用者は、相当に不快感を持つであろう。また、そのような場合に原稿の画像を期待通りの寸法で周辺部が欠けることなく印刷できるようするためには、原稿上の画像の大きさや位置を調整することとなるが、手書き・切り貼り等で原稿を作成する際に印刷装置内部の設定を考慮したり、或いは、一旦紙媒体上に作成した原稿を作り直したりすることは、非常に煩わしい作業である。もちろん、画像をパソコン上に取り込めば、画像データの拡大・縮小・レイアウトの調整は、容易に行われるが、それでは、パソコンに慣れていない世代や小さな子供でも、年賀状等の複製・印刷が比較的簡単にできるという本来の目的が達成されないこととなる。   It is very inconvenient for the user of the image reading apparatus that the area printed on the printing medium among the images transmitted from the image reading apparatus or the size of the transmitted image on the printing medium cannot be adjusted. Moreover, it causes discomfort. For example, a user of an image reading / printing system such as the above-mentioned “postcard preparation machine” generally expects an image created on a manuscript, such as a New Year's card or Christmas card, to be reproduced and printed as it is with the same dimensions. However, if the size of the actual printed image is different from the size of the original image or the peripheral edge of the image is inadvertently missing, the user will be considerably uncomfortable. . In such a case, the size and position of the image on the document must be adjusted so that the image of the document can be printed with the expected dimensions without missing the peripheral part. Considering the settings in the printing apparatus when creating a document in step 1, or recreating a document once created on a paper medium is a very troublesome operation. Of course, if the image is captured on a personal computer, the image data can be easily enlarged, reduced, or adjusted for layout. The original purpose of being easy is not achieved.

もし画像読取装置に於いて、パソコンを必要とせずに、画像データを任意の印刷装置へ直接に出力して印刷装置に画像を印刷させることができ、或いは、周縁部が不用意に欠けたりすることなく、使用者の期待を裏切らずに、画像を印刷できるようになれば、種々の画像の複製・印刷がより一層手軽に且簡単に行うことができることとなろう。また、その場合、画像読取装置で年賀状やクリスマスカード等の原稿の複製印刷をしようとする目的を考慮すると、少なくとも、原画像と実質的に同一又は略同一の寸法の画像が印刷できるようになっていることが好ましい。更に、そのような画像読取装置を用いて画像の印刷を行う際、使用者の行う装置の操作は、簡単であることが好ましい。   If the image reading device does not require a personal computer, the image data can be directly output to an arbitrary printing device to cause the printing device to print the image, or the peripheral portion may be inadvertently missing. If it becomes possible to print an image without betraying the user's expectation, copying and printing of various images can be performed more easily and easily. Further, in that case, considering the purpose of copying the original such as a New Year's card or Christmas card with the image reading device, at least an image having substantially the same or substantially the same size as the original image can be printed. It is preferable. Furthermore, when printing an image using such an image reading apparatus, it is preferable that the operation of the apparatus performed by the user is simple.

本発明の一つの目的は、上記の如き従来の技術に於ける問題に鑑み、少なくとも所定の通信規格に対応した任意の印刷装置と直接に通信し、読み取った原稿上の画像を印刷装置に直接に印刷させることができる画像読取装置であって、印刷装置の内部設定によらず、印刷媒体上に於いて、使用者が意図若しくは予定した任意の大きさ若しくはレイアウトにて、又は、所望の大きさ若しくは所望のレイアウトにて画像が印刷できるようにする画像読取装置を提供することである。なお、以下に於いて、原稿上の画像を「原稿画像」、印刷媒体上に印刷された画像を「印刷画像」と称する。また、画像を表すデータを「画像データ」と称する。印刷装置へ送信される画像又は画像データのうち、印刷媒体上に印刷される領域は、「印刷領域」(図13右上参照))とする。   One object of the present invention is to directly communicate with an arbitrary printing apparatus corresponding to at least a predetermined communication standard in view of the problems in the prior art as described above, and directly read an image on a document to the printing apparatus. An image reading apparatus capable of printing on a printing medium, on an arbitrary size or layout intended or planned by a user, or on a desired size on a print medium regardless of internal settings of the printing apparatus Another object of the present invention is to provide an image reading apparatus capable of printing an image with a desired layout. In the following, an image on a document is referred to as a “document image”, and an image printed on a print medium is referred to as a “print image”. Data representing an image is referred to as “image data”. Of the image or image data transmitted to the printing apparatus, the area printed on the print medium is a “print area” (see the upper right in FIG. 13).

本発明の画像読取装置は、概して述べれば、原稿上の画像を光学的に読み取って該画像を表す信号を生成する画像検出部と、前記の画像を表す信号に基づいて画像データを生成する画像データ生成部と、画像データを所定の通信規格に対応した任意の印刷装置にて受信可能であり前記印刷装置による前記画像データに対応する画像の印刷を可能にする通信方式にて出力する画像データ出力部とを含む。従って、本発明によれば、その画像データ出力部の通信方式に対応した任意の印刷装置により、画像読取装置で読み取った画像の印刷を、パソコンを介さずに実行できることとなる。なお、本発明の画像読取装置は、原稿を固定して画像検出部が自動的に原稿上を走査して画像を読み取る形式のイメージスキャナが典型的であるが、画像検出部を手動で動かすハンディスキャナやその他の形式の画像読取装置であってもよいことは理解されるべきである。   Generally speaking, an image reading apparatus according to the present invention optically reads an image on a document and generates a signal representing the image, and an image for generating image data based on the signal representing the image. Image data output by a data generation unit and a communication method that allows image data to be received by any printing device that supports a predetermined communication standard and enables printing of the image corresponding to the image data by the printing device Output part. Therefore, according to the present invention, printing of an image read by the image reading apparatus can be executed without using a personal computer by an arbitrary printing apparatus corresponding to the communication method of the image data output unit. The image reading apparatus of the present invention is typically an image scanner of a type in which a document is fixed and the image detection unit automatically scans the document to read the image. It should be understood that it may be a scanner or other type of image reading device.

また、更に、本発明の画像読取装置には、所定のパターンを含む基準画像を表す基準画像データを画像データ出力部から出力して印刷装置にて印刷媒体に印刷された印刷画像を画像検出部によって読み取り画像データ生成部にて生成した補正用画像データに基づいて、原稿を読み取って生成された画像データ(原稿画像データ)を補正する画像補正処理部が設けられてよい。   Further, the image reading apparatus of the present invention outputs a reference image data representing a reference image including a predetermined pattern from the image data output unit and prints the print image printed on the print medium by the printing device. Based on the correction image data generated by the read image data generation unit, an image correction processing unit for correcting image data (original image data) generated by reading the original may be provided.

既に述べた如く、画像読取装置にて取り込んだ画像を画素の集合である画像データとして印刷装置に送信して印刷画像を印刷する際、送信された画像データのうちの実際に印刷媒体に印刷される印刷領域、又は、印刷媒体上での(送信された画像データの)単位長さ辺りの画素数は、印刷装置の内部設定に任されている。即ち、画像読取装置で読み取った画像が、印刷装置に於いて、どのように印刷されるかは、実際に印刷してみないと使用者には分からない。それでは、折角、手書きや切り貼りなどして原稿上に作成した画像が使用者の期待通りに印刷できずに無駄になってしまうことがある。そこで、本発明の画像読取装置に於いては、上記の如き画像補正処理部により、原稿画像の印刷に先立って、所定のパターンを含む基準画像を表す基準画像データを印刷装置へ出力して基準画像の印刷画像を印刷し、画像検出部を介してその基準画像の印刷画像を取り込んで、画像読取装置に接続された印刷装置が、受信した画像データをどのように印刷するかに関する情報、即ち、印刷装置の内部設定の情報を取得できるよう構成されている。基準画像の印刷画像を取り込んで得た画像データ、即ち、補正用画像データには、印刷装置が受信した画像データのうちの実際に印刷媒体に印刷する領域、又は、受信した画像データを印刷媒体上で印刷する際の単位長さ当たりの画素数などの印刷装置の内部設定が反映されている。従って、印刷装置の内部設定を把握するべく補正用画像データを解析し、その補正用画像データの解析の結果に基づき、原稿画像データを補正して生成される画像データ(補正原稿画像データ)を印刷装置へ送信することにより、印刷媒体に於いて所望の大きさにて又は所望のレイアウトにて原稿画像に対応する印刷画像を印刷できることとなる。なお、原稿画像データを画像補正処理部にて補正するか否かは、選択的に決定できるようになっていてよい。(さもないと、補正用画像データを取得するための基準画像の印刷ができなくなる。)   As described above, when the image captured by the image reading device is transmitted to the printing device as image data that is a set of pixels and the print image is printed, the image data that is actually transmitted is printed on the print medium. The number of pixels per unit length (of transmitted image data) on the print area or print medium is left to the internal setting of the printing apparatus. In other words, the user does not know how the image read by the image reading device is printed in the printing device without actually printing it. In this case, an image created on a document by folding, handwriting, cutting and pasting may not be printed as expected by the user and may be wasted. Therefore, in the image reading apparatus of the present invention, the reference image data representing the reference image including a predetermined pattern is output to the printing apparatus by the image correction processing unit as described above before the original image is printed. Information on how to print the received image data by printing the print image of the image, taking the print image of the reference image via the image detection unit, and printing the image data received by the printing device connected to the image reading device, The printer is configured to acquire information on internal settings of the printing apparatus. The image data obtained by taking the print image of the reference image, that is, the correction image data, includes an area of the image data received by the printing apparatus that is actually printed on the print medium, or the received image data as the print medium. The internal settings of the printing apparatus such as the number of pixels per unit length when printing above are reflected. Therefore, image data (corrected document image data) generated by analyzing the correction image data to comprehend the internal settings of the printing apparatus and correcting the document image data based on the analysis result of the correction image data. By transmitting to the printing apparatus, it is possible to print a print image corresponding to the original image with a desired size or a desired layout on the print medium. Whether or not the document image data is corrected by the image correction processing unit may be selectively determined. (Otherwise, the reference image for acquiring the correction image data cannot be printed.)

上記の画像補正処理部に於いて、印刷装置の内部設定の情報を取得するための一つの態様として、基準画像データと補正用画像データとに基づいて、画像データ出力部から出力された基準画像データの表す画像のうち、印刷装置にて印刷媒体上に印刷された領域を検出し、検出された該領域の情報に基づき原稿画像データを補正するようになっていてよい。   In the above-described image correction processing unit, as one aspect for acquiring the internal setting information of the printing apparatus, the reference image output from the image data output unit based on the reference image data and the correction image data Of the image represented by the data, an area printed on the printing medium may be detected by the printing apparatus, and the document image data may be corrected based on the detected information on the area.

本発明の画像読取装置に直接に接続されて動作し得る印刷装置は、フチ無し印刷モードに於いて、或る寸法の画像データを受信すると(以下、「画像データの寸法」という場合には、その画像データの縦方向及び横方向の画素数を言う。)、印刷装置の内部で、画像データの印刷画像の大きさ、又は、印刷時の単位長さ当たりの画素数を適宜設定し、結果として、受信された画像データの或る領域のみが、印刷媒体上に印刷されることとなる。上記の補正用画像データは、かかる印刷装置へ送信された基準画像データのうちの実際に印刷媒体に印刷された領域(印刷領域)を表しているので、基準画像データと補正用画像データとを比較すれば、送信された画像データの表す画像のうちの印刷領域を検出することができることとなる。かくして、その印刷領域の範囲内に原稿画像が収まるように、或いは、印刷領域の範囲内にて所望のレイアウトにて画像が配置され割り当てられるように、原稿画像データを適宜補正して、その補正された画像データを印刷装置へ送信することにより、印刷画像に於いて、使用者にとって予想外に画像の周縁部が切り取られたり、画像の大きさが使用者の期待通りにならないといったことを回避することができ、また、使用者は、原稿の作成の際に、印刷装置の内部設定を気にする必要がなくなる。   When a printing apparatus that can operate by being directly connected to the image reading apparatus of the present invention receives image data of a certain size in the borderless printing mode (hereinafter referred to as “the dimension of the image data”, This is the number of pixels in the vertical and horizontal directions of the image data.) Inside the printing device, the size of the print image of the image data or the number of pixels per unit length at the time of printing is set as appropriate. As a result, only a certain area of the received image data is printed on the print medium. Since the correction image data represents an area (print area) actually printed on the print medium of the reference image data transmitted to the printing apparatus, the reference image data and the correction image data are By comparing, it is possible to detect the print area in the image represented by the transmitted image data. Thus, the original image data is appropriately corrected so that the original image fits within the print area, or the image is arranged and assigned in a desired layout within the print area, and the correction is performed. By sending the processed image data to the printing device, it is possible to prevent the peripheral portion of the image from being cut off unexpectedly for the user or the size of the image from being as expected by the user. In addition, the user does not have to worry about the internal settings of the printing apparatus when creating a document.

上記の印刷媒体上に印刷された領域の情報に基づき原稿画像データを補正する際、原稿画像データの寸法は、画像データ出力部から出力される基準画像データの寸法と該画像データのうちの印刷領域の寸法との比に基づいて補正されてよい。基準画像データの寸法は、画像読取装置から出力される画像データの全体の寸法に対応し、基準画像データのうちの印刷領域の寸法は、画像読取装置から出力される画像データのうち実際に印刷される領域の寸法に対応するので、基準画像データの寸法と基準画像データのうちの印刷領域の寸法との比に基づいて、送信される画像データ中における原稿画像データの寸法を調節すれば、印刷媒体に於いて、所望の大きさにて画像を印刷できることとなる。また、基準画像データの表す基準画像に於ける印刷領域の位置は、印刷装置へ送信された画像データのうち、実際に印刷媒体上に載る領域の位置を表すので、基準画像に於ける印刷領域の位置を用いて、送信される画像データ中における原稿画像データの位置を調節すれば、印刷媒体上に於いて狙った位置に、画像を印刷できることとなる。なお、補正の際に、上記の印刷領域の比と位置の双方を用いるか又はいずれか一方を用いるかは、製品の製造コスト、補正処理の必要性等に応じて適宜選択されてよいが、いずれの場合も本発明の範囲内に属することは理解されるべきである。   When correcting the document image data based on the information of the area printed on the print medium, the size of the document image data is the size of the reference image data output from the image data output unit and the printing of the image data. Correction may be made based on a ratio to the size of the region. The size of the reference image data corresponds to the overall size of the image data output from the image reading device, and the size of the print area in the reference image data is actually printed out of the image data output from the image reading device. Therefore, if the size of the document image data in the transmitted image data is adjusted based on the ratio between the size of the reference image data and the size of the print region of the reference image data, An image can be printed in a desired size on the print medium. In addition, since the position of the print area in the reference image represented by the reference image data represents the position of the area actually placed on the print medium in the image data transmitted to the printing apparatus, the print area in the reference image If the position of the document image data in the transmitted image data is adjusted using the position, the image can be printed at the target position on the print medium. In the correction, whether to use both the ratio and the position of the print area or one of them may be appropriately selected according to the manufacturing cost of the product, the necessity of the correction process, etc. In any case, it should be understood that it falls within the scope of the present invention.

ところで、現在普及している印刷装置に於いては、一般に、受信された画像データは、印刷媒体上に於いて略一様の単位長さ当たり画素数にて印刷される(画像の縦横比は変更される場合が在り得る。)。従って、基準画像データの表す画像中の所定パターンの寸法が、印刷媒体上で如何なる大きさにて又はどの位置に印刷されるかを検出若しくは解析すれば、印刷装置が受信した画像データの印刷媒体上での単位長さ当たり画素数或いは印刷装置が受信した画像データのうち実際に印刷媒体上に印刷される領域を検出することができる。かくして、一つの態様として、画像補正処理部は、基準画像データの表す画像中の所定のパターンの寸法と該パターンに対応する補正用画像データの表す画像中のパターンの寸法とに基づいて原稿画像データの寸法を補正するようになっていてよく、また、基準画像データの表す画像中に於ける所定のパターンの位置と該パターンに対応する補正用画像データの表す画像中のパターンの位置とに基づいて原稿画像データを補正するようになっていてよい。所定のパターンとしては、印刷領域に全体が収まる図形、又は、印刷領域からはみ出るが印刷媒体上に載った部分からパターン全体の寸法又は形状が検出できる図形等が採用されてよい。また、所定のパターンとして、基準画像の印刷画像に於いて、印刷媒体からはみ出た周縁部の幅が検出できる任意の図形が採用されてよい。   By the way, in currently popular printing apparatuses, generally, received image data is printed on a print medium with a substantially uniform number of pixels per unit length (the aspect ratio of an image is May be changed.) Therefore, if the size of the predetermined pattern in the image represented by the reference image data is detected or analyzed at what size or at which position the print medium of the image data received by the printing apparatus is detected. The number of pixels per unit length above or the area actually printed on the print medium can be detected from the image data received by the printing apparatus. Thus, as one aspect, the image correction processing unit performs a document image based on the size of a predetermined pattern in the image represented by the reference image data and the size of the pattern in the image represented by the correction image data corresponding to the pattern. The size of the data may be corrected, and the position of a predetermined pattern in the image represented by the reference image data and the position of the pattern in the image represented by the correction image data corresponding to the pattern The document image data may be corrected based on the basis. As the predetermined pattern, a figure that entirely fits in the print area, or a figure that can be detected from the portion of the pattern that protrudes from the print area but is placed on the print medium may be used. Further, as the predetermined pattern, an arbitrary figure capable of detecting the width of the peripheral edge protruding from the print medium in the print image of the reference image may be employed.

上記の所定のパターンを有する基準画像データとその印刷画像から得られる補正用画像データを用いて原稿画像データを補正して補正原稿画像データを生成する際、本発明の一つの実施形態に於いては、基準画像データに於ける所定のパターンの寸法と補正用画像データに於ける前記所定のパターンの印刷像の寸法との比(以下、「変倍率」とする。)と、基準画像データに於ける所定のパターンの位置と補正用画像データに於ける前記所定のパターンの印刷像の位置とのずれ(以下、「シフト量」とする。)とが算出され、これらの値が、原稿画像データを補正して補正原稿画像データを生成するための補正用パラメータとして用いられる。かかる「変倍率」と「シフト量」は、印刷装置へ送信された基準画像データの印刷領域が印刷媒体に整合した状態にて基準画像データが印刷された結果として得られた画像から求められる量である。従って、これらのパラメータを用いれば、印刷装置が受信する画像データに於ける印刷領域の寸法と位置を検出することができ、印刷装置へ送信されるべき画像データ(補正原稿画像データ)の印刷領域に、画像読取装置で読み取った画像又は印刷媒体上に印刷されるべき画像が、適切に配置し又は割り付けられた状態のものを調製することが可能となる。(下記の注参照)かくして、得られた補正原稿画像データが印刷装置へ送信されれば、印刷装置に於いて、補正原稿画像データ全体の表す画像が印刷媒体からはみ出るように調整されて印刷された際に、補正原稿画像データの印刷領域が印刷媒体と一致することとなり、従って、印刷媒体上にて、所望の大きさにて又は所望のレイアウトにて画像が印刷されることとなる。なお、補正原稿画像データの調製の過程に於いて、印刷領域の寸法・位置を具体的に特定しなくても、前記の補正用パラメータを用いて、補正原稿画像データを生成できることは理解されるべきであり、そのような場合も本発明の範囲に属する。(注:基準画像データの寸法を、印刷媒体と同一の実寸の画像を画像検出部にて読み取って画像データ生成部にて生成される画像データの寸法と同一としたとき、「変倍率」は、送信された画像データの寸法に対するその画像データのうちの印刷領域の寸法の比の逆数に相当し、「シフト量」は、送信された画像データの中心とその画像データのうちの印刷領域の中心のずれに「変倍率」を乗じたものに相当することとなる。なお、基準画像データの寸法が画像検出部で読み取られ生成される画像データの寸法と異なる場合、或いは、画像検出部の読取領域と印刷媒体の寸法が異なる場合には、前記の補正用パラメータを、基準画像データの寸法、印刷媒体の寸法(実寸)、画像検出部の画像読取時の解像度等により換算することにより、送信された画像データの寸法に対するその画像データのうちの印刷領域の寸法の比及び送信された画像データの中心とその画像データのうちの印刷領域の中心のずれを算出し、送信画像データ中の印刷領域を特定することができる。)   In one embodiment of the present invention, when the original image data is corrected by using the reference image data having the predetermined pattern and the correction image data obtained from the print image to generate corrected original image data. Is the ratio of the size of the predetermined pattern in the reference image data to the size of the printed image of the predetermined pattern in the correction image data (hereinafter referred to as “variable magnification”) and the reference image data. A deviation (hereinafter referred to as “shift amount”) between the position of the predetermined pattern in the correction image data and the position of the print image of the predetermined pattern in the correction image data is calculated, and these values are the original image. This is used as a correction parameter for correcting the data to generate corrected document image data. The “magnification” and “shift amount” are amounts obtained from an image obtained as a result of printing the reference image data in a state where the print area of the reference image data transmitted to the printing apparatus is aligned with the print medium. It is. Therefore, by using these parameters, the size and position of the print area in the image data received by the printing apparatus can be detected, and the print area of the image data (corrected document image data) to be transmitted to the printing apparatus. In addition, it is possible to prepare an image read by an image reading apparatus or an image to be printed on a print medium in a state where the image is appropriately arranged or allocated. (See the note below.) Thus, when the obtained corrected original image data is transmitted to the printing apparatus, the printing apparatus adjusts and prints the image representing the entire corrected original image data so that it protrudes from the printing medium. In this case, the print area of the corrected document image data coincides with the print medium, so that the image is printed on the print medium with a desired size or a desired layout. It should be understood that, in the process of preparing the corrected document image data, it is possible to generate the corrected document image data using the correction parameters without specifically specifying the size and position of the print area. Such a case should be within the scope of the present invention. (Note: When the size of the reference image data is the same as the size of the image data generated by the image data generation unit when an image of the same actual size as the print medium is read by the image detection unit, This corresponds to the reciprocal of the ratio of the size of the print area of the image data to the size of the transmitted image data, and the “shift amount” is the center of the transmitted image data and the print area of the image data. This corresponds to the product of the center shift multiplied by “magnification ratio.” Note that if the size of the reference image data is different from the size of the image data read and generated by the image detection unit, or When the dimensions of the reading area and the printing medium are different, the correction parameters are converted according to the dimensions of the reference image data, the dimensions of the printing medium (actual size), the resolution at the time of image reading of the image detection unit, etc. Sending The ratio of the size of the print area of the image data to the size of the image data and the shift between the center of the transmitted image data and the center of the print area of the image data are calculated, and printing in the transmitted image data is performed. The area can be specified.)

上記の画像補正処理部に於いて、基準画像データは、予め、基準画像データ記憶部に記憶されていてよいし、或いは、予め準備された基準画像原稿を前記画像検出部にて読み取ることにより生成されてよい。前者の場合、補正用画像データの取得に際し、画像の読取操作が、基準画像の印刷画像を読み取るだけでよい点で有利であるが、後者の場合、基準画像データ記憶部を設けることを省略できる点で有利である。   In the image correction processing unit, the reference image data may be stored in advance in the reference image data storage unit, or generated by reading a reference image document prepared in advance with the image detection unit. May be. In the former case, when the correction image data is acquired, it is advantageous in that the image reading operation only needs to read the print image of the reference image. However, in the latter case, the provision of the reference image data storage unit can be omitted. This is advantageous.

本発明の画像読取装置に於いて、上記の如く、補正用画像データを取得した後、画像補正処理部が、印刷媒体上に印刷されるべき画像を印刷領域に割り付けた状態の補正原稿画像データを生成する際、一つの態様として、台紙用画像データが生成され、台紙用画像データ上に原稿画像データが貼り付けられるようになっていてよい。ここで、「台紙用画像データ」とは、画像データ出力部から印刷装置へ送信される画像データの表す画像の全域を画定する画像データである。また、原稿画像データから補正原稿画像データを生成する別の態様として、原稿画像データの周縁に枠データを付加されるようになっていてもよい。台紙用画像データに原稿画像データを貼り付ける場合も、原稿画像データに枠データを付加する場合も、画像データ出力部から送信される画像データ、即ち、補正原稿画像データは、原稿画像が印刷媒体上で所望の大きさ又は所望のレイアウトにて印刷されるように、送信される画像データ中の印刷領域に於いて、原稿画像データが配置され又は割り当てられた状態となっている。かかる補正原稿画像データが印刷装置へ送信されると、印刷装置が補正原稿画像データの全域をインク又はトナーを適用する領域に一致させた際、補正原稿画像データの印刷領域の寸法と位置が、印刷媒体に整合し、印刷領域内の画像が印刷媒体上に印刷されることとなる。かくして、使用者は、印刷装置の設定を気にすることなく、原稿の作成・画像読取装置への原稿の読み込みを行い、印刷媒体上で所望の大きさ又は所望のレイアウトにて印刷された画像の印刷物を得ることができるようになる。   In the image reading apparatus of the present invention, as described above, after obtaining the correction image data, the corrected document image data in a state in which the image correction processing unit assigns the image to be printed on the print medium to the print area. In one embodiment, the mount image data may be generated and the document image data may be pasted on the mount image data. Here, “mounting image data” is image data that defines the entire area of the image represented by the image data transmitted from the image data output unit to the printing apparatus. As another mode of generating corrected document image data from document image data, frame data may be added to the periphery of the document image data. Regardless of whether the original image data is pasted to the mount image data or the frame data is added to the original image data, the image data transmitted from the image data output unit, that is, the corrected original image data is the original image on the print medium. The original image data is arranged or allocated in the print area in the transmitted image data so that the image is printed with a desired size or a desired layout. When such corrected original image data is transmitted to the printing apparatus, when the printing apparatus matches the entire area of the corrected original image data with the area to which ink or toner is applied, the size and position of the print area of the corrected original image data are In alignment with the print medium, the image in the print area is printed on the print medium. Thus, the user can create an original and read the original into the image reading apparatus without worrying about the setting of the printing apparatus, and can print an image printed on the print medium in a desired size or a desired layout. It becomes possible to obtain a printed matter.

なお、補正原稿画像データを生成する際、原稿画像データは、適宜、拡大又は縮小されてよいことは、理解されるべきである。印刷装置が任意の寸法の画像データを受け付ける際には、データの通信速度、印刷画像の画質、印刷媒体の大きさ、印刷媒体上での画像のレイアウト又はその他の理由で、原稿画像データは、任意に拡大又は縮小されてよい。他方、印刷装置が特定の寸法の画像データしか受け付けない場合には、台紙用画像データ若しくは枠データの寸法が、印刷装置の受信可能な画像データの寸法に適合するよう設定され、印刷画像が所望の大きさ又は所望のレイアウトにて印刷されるために必要に応じて、原稿画像データは、縮小されてよい。印刷装置によっては、内部に保有するメモリの容量、或いは、内部の画像処理のパラメータによる制限から、特定の寸法(画素数)よりも大きな画像データを扱えない場合がある。そのような場合には、画像データを縮小して送信するようになっていてよい。   It should be understood that when generating the corrected document image data, the document image data may be appropriately enlarged or reduced. When the printing apparatus accepts image data of an arbitrary size, the document image data is not transmitted because of the data communication speed, the image quality of the print image, the size of the print medium, the layout of the image on the print medium, or other reasons. It may be arbitrarily enlarged or reduced. On the other hand, if the printing device accepts only image data of a specific size, the size of the image data for mount or the frame data is set to match the size of the image data that can be received by the printing device, and the print image is desired. The original image data may be reduced as necessary in order to be printed in a desired size or a desired layout. Some printing apparatuses cannot handle image data larger than a specific size (number of pixels) due to the limitation of the internal memory capacity or internal image processing parameters. In such a case, the image data may be reduced and transmitted.

作動に於いて、本発明の画像読取装置は、通常モード又は校正モードにて動作することが選択可能であってよい。校正モードが選択された際には、基準画像データが画像データ出力部を介して出力され、基準画像データの印刷画像を画像検出部にて読み取ることにより補正用画像データが生成される。一方、通常モードが選択された際には、画像補正処理部により原稿画像データを補正して得られた補正原稿画像データが画像データ出力部を介して出力される。また、好ましくは、校正モードが選択された際に、画像補正処理部により、原稿画像データから補正原稿画像データを生成するために必要な補正用パラメータが補正用画像データと基準画像データとから自動的に算出され記憶され、通常モードが選択された際には、補正用パラメータを用いて自動的に原稿画像データから補正原稿画像データが生成される。特に、補正用パラメータの算出及び補正用パラメータを用いた補正原稿画像データの生成が、自動的に行われることにより、使用者にとって、画像の複製・印刷が、より一層容易になる。   In operation, the image reading apparatus of the present invention may be selectable to operate in a normal mode or a calibration mode. When the calibration mode is selected, the reference image data is output via the image data output unit, and the correction image data is generated by reading the print image of the reference image data with the image detection unit. On the other hand, when the normal mode is selected, corrected document image data obtained by correcting the document image data by the image correction processing unit is output via the image data output unit. Preferably, when the calibration mode is selected, the correction parameters necessary for generating the corrected document image data from the document image data are automatically calculated from the correction image data and the reference image data by the image correction processing unit. When the normal mode is selected, the corrected document image data is automatically generated from the document image data using the correction parameters. In particular, the calculation of correction parameters and the generation of corrected document image data using the correction parameters are automatically performed, so that it becomes even easier for the user to copy and print an image.

上記の本発明の画像読取装置に於いて、印刷装置で印刷される印刷画像の大きさ及びレイアウトは、任意に選択できるようになっていることが好ましい。既に述べた如く、手書き又は切り貼りなどで作成した原稿、例えば、年賀状やクリスマスカード等を、画像読取装置を用いて複製印刷する場合には、使用者は、原稿上の画像が実質的に同一の寸法にて複製印刷されることを期待する場合が多い。従って、好ましくは、画像補正処理部は、選択的に、印刷画像が原稿画像と実質的に同一の寸法にて印刷されるよう補正原稿画像データを生成するように構成される。しかしながら、読み取った原稿にフチ又は余白がついた状態が望まれる場合もあるので、画像補正処理部は、選択的に、印刷媒体に於いて印刷画像の周縁部にフチが設けられるよう補正原稿画像データを生成するようになっていてよい。また、逆に、原稿の媒体のフチの影が写り込まないように或いは印刷媒体の配置ずれによる余白の発生が生じないように、原稿画像の周縁部が切り取られるよう補正原稿画像データを生成するようになっていてよい。印刷画像の周縁部に余白を設ける場合又は原稿画像の周縁部を切り取る場合、余白の幅又は切り取る幅は、使用者に於いて設定できるようになっていることが好ましい。更に、所謂「多面付け印刷」モード、即ち、一枚の印刷媒体上に、複数の原稿画像を、所望のレイアウトにて配置して印刷する場合もある。従って、画像補正処理部は、選択的に、印刷媒体に於いて原稿画像に対応する印刷画像が複数個所望のレイアウトにて印刷されるよう補正原稿画像データを生成するようになっていてもよい。   In the image reading apparatus of the present invention, it is preferable that the size and layout of a print image printed by the printing apparatus can be arbitrarily selected. As described above, when a document created by handwriting or cutting and pasting, such as a New Year's card or Christmas card, is printed using an image reading device, the user must have substantially the same image on the document. In many cases, it is expected to be duplicate printed with dimensions. Therefore, preferably, the image correction processing unit is configured to selectively generate the corrected document image data so that the print image is printed with substantially the same size as the document image. However, since there may be a case where the read document has a border or a margin, the image correction processing unit selectively corrects the corrected document image so that a border is provided at the peripheral portion of the print image on the print medium. Data may be generated. Conversely, the corrected document image data is generated so that the marginal portion of the document image is cut off so that the marginal shadow of the document medium does not appear or a margin due to the displacement of the print medium does not occur. It may be like this. When providing a margin at the peripheral edge of the printed image or cutting out the peripheral edge of the original image, it is preferable that the width of the margin or the width to be cut out can be set by the user. Furthermore, there is a case where a plurality of document images are arranged in a desired layout and printed on a so-called “multi-face printing” mode, that is, on a single print medium. Accordingly, the image correction processing unit may selectively generate corrected document image data so that a plurality of print images corresponding to the document image are printed in a desired layout on the print medium. .

理解されるべきことは、本発明に於いては、画像読取装置が、上記の補正用画像データを取得することにより又は「校正モード」に記載されている如き作動により、印刷装置の内部設定情報、即ち、画像データ出力部から送信される画像データのうちの印刷媒体上に実際に印刷される領域或いは画像データ出力部から送信される画像データの表す画像の印刷媒体上での大きさについての情報を取得することができるという点である。従って、画像の複製印刷を実行する段階に於いては、先立って取得しておいた印刷装置の内部設定の情報を用いながら、印刷したい画像を、印刷媒体上で任意の大きさ又はレイアウトにて印刷画像が生成されるように編集できることとなる。そして、適当な数の種類のレイアウトを予め設定しておけば、パソコンに慣れていない世代や子供でも、予め設定されたレイアウトの中から、好みのレイアウトを選択するだけで、極めて簡単に原稿の複製印刷を行うことができるようになる。予め用意しておくレイアウトは、当業者によって適宜構成されるものであり、上記に例示されているもの以外のものであってもよく、そのような場合も本発明の範囲に含まれると理解されるべきである。   It should be understood that in the present invention, the internal setting information of the printing apparatus is acquired when the image reading apparatus acquires the above-described correction image data or operates as described in the “calibration mode”. That is, the size of the area actually printed on the print medium of the image data transmitted from the image data output unit or the size of the image represented by the image data transmitted from the image data output unit on the print medium. It is a point that information can be acquired. Therefore, at the stage of executing duplicate printing of the image, the image to be printed can be printed on the print medium in any size or layout while using the internal setting information of the printing apparatus acquired in advance. Editing can be performed so that a print image is generated. And if you set up an appropriate number of types of layouts in advance, even generations and children who are not familiar with personal computers can select the desired layout from among the preset layouts, Duplicate printing can be performed. The layout prepared in advance is appropriately configured by those skilled in the art, and may be other than those exemplified above, and such a case is understood to be included in the scope of the present invention. Should be.

なお、本発明の画像読取装置に於いて、更に、印刷装置にて使用される印刷媒体の寸法又は印刷時の解像度(単位長さ当たりのインク又はトナーその他の顔料等のドット数)を設定する印刷装置設定部が設けられてよい。これにより、使用者は、所望の寸法の印刷媒体にて、又は、所望の画質にて、印刷を実行することが容易となる。例えば、画像読取装置で読み込む原稿の大きさと印刷媒体の大きさは、異なっていてもよい。   In the image reading apparatus of the present invention, the size of the printing medium used in the printing apparatus or the resolution at the time of printing (the number of dots of ink or toner or other pigments per unit length) is further set. A printing device setting unit may be provided. This makes it easy for the user to execute printing on a print medium with a desired size or with a desired image quality. For example, the size of the original read by the image reading apparatus and the size of the print medium may be different.

上記の本発明の原理は、所定の画像形式の任意の画像データを所定の通信規格に対応した任意の印刷装置にて受信可能であり該印刷装置により任意の画像データに対応する画像が印刷可能となる通信方式にて出力する画像データ出力部を備えた画像読取装置の他、「画像読取・印刷システム」、即ち、画像読取装置と、該画像読取装置に接続されて画像データを受信して該画像データに対応する画像を印刷媒体に印刷する印刷装置とからなるシステムに於いて、原稿画像から予定通り印刷画像が印刷されるようにするための校正に用いられてもよいことは理解されるべきである。   The principle of the present invention described above is that arbitrary image data in a predetermined image format can be received by an arbitrary printing device corresponding to a predetermined communication standard, and an image corresponding to arbitrary image data can be printed by the printing device. In addition to an image reading apparatus provided with an image data output unit that outputs in a communication method, an “image reading / printing system”, that is, an image reading apparatus and an image reading apparatus connected to the image reading apparatus It is understood that a system including a printing apparatus that prints an image corresponding to the image data on a print medium may be used for calibration so that the print image is printed from the original image as planned. Should be.

上記の本発明に於いて、特記されるべきことは、まず、本発明による画像読取装置によれば、印刷装置として、種々のメーカーにて製造販売している所定の通信規格に対応した印刷装置のうちから、任意のものを選択することができるという点である。周知の如く、印刷装置で印刷される印刷画像の画質や性能は、メーカーにより、或いは、機種によって千差万別であるところ、(所定の通信規格に対応しているという範囲内ではあるが、)任意の印刷装置を選択できるという利点によれば、使用者は、それぞれの予算又は好みに応じて、印刷装置を選ぶことができるので有利である。また、既に印刷装置を持っている使用者にとっては、画像読取装置を用いた画像の複製・印刷のためだけに別途印刷装置を購入する必要がなくなる。   In the present invention described above, what should be noted in particular is that, according to the image reading apparatus according to the present invention, as a printing apparatus, a printing apparatus corresponding to a predetermined communication standard manufactured and sold by various manufacturers. It is that an arbitrary one can be selected. As is well known, the image quality and performance of a printed image printed by a printing apparatus vary widely depending on the manufacturer or model (although within the range corresponding to a predetermined communication standard, The advantage of being able to select any printing device is advantageous because the user can select a printing device according to their budget or preference. Further, a user who already has a printing apparatus does not need to purchase a separate printing apparatus only for copying / printing an image using the image reading apparatus.

また、本発明による画像読取装置によれば、読み込んだ原稿画像が、印刷装置の内部設定情報に基づいて、補正されて印刷装置へ送信されるという構成により、使用者は、印刷装置の内部設定を気にせずに自らの原稿を作成又は準備することが可能となり、かかる特徴よれば、上記の任意の印刷装置を選択できる利点が更に有効に利用できることとなる。上記の如く、一般に、或る画像データが、印刷媒体上で如何なる寸法にて印刷されるか、又は、その画像データのうち実際にどの領域が印刷媒体上に印刷されるかは、印刷装置の機種ごとに異なり、実際に印刷された画像の状態も異なることとなる。従って、印刷装置は、印刷された状態が使用者にとって許容できるかできないかによっても、その選択の幅を狭められることとなる。しかしながら、本発明画像読取装置に於ける画像補正処理部によれば、印刷媒体上に於いて、原稿上の画像のレイアウト又は画像読取装置で設定した画像のレイアウトにて画像が生成できることになるので、使用者は、個々の印刷装置の内部設定を問題にせずに、より多くの機種から印刷装置を選択できることとなるのである。   Further, according to the image reading apparatus of the present invention, the configuration allows that the read original image is corrected and transmitted to the printing apparatus based on the internal setting information of the printing apparatus, so that the user can set the internal setting of the printing apparatus. It is possible to create or prepare a manuscript without worrying about the above, and according to this feature, the advantage that the above-described arbitrary printing apparatus can be selected can be used more effectively. As described above, in general, what size image data is printed on the print medium, or what area of the image data is actually printed on the print medium is determined by the printing apparatus. It differs for each model, and the state of the actually printed image will also be different. Therefore, the printing apparatus can narrow the selection depending on whether the printed state is acceptable or not for the user. However, according to the image correction processing unit of the image reading apparatus of the present invention, an image can be generated on the print medium with the image layout on the original or the image layout set by the image reading apparatus. Thus, the user can select a printing apparatus from a larger number of models without causing a problem with the internal setting of each printing apparatus.

そして、本発明による画像読取装置に於いて、特に重要な利点は、接続された印刷装置の内部設定によらず、原稿画像を印刷複製することができ、使用者は、原稿の作成の際、画像読取装置で読み取られる画像の範囲のみを気にすれば良いという点である。既に述べた如く、画像読取装置で画像の印刷・複製を行おうとする使用者層には、年賀状やクリスマスカード等の作成を試みるパソコンに慣れていない世代や小さな子供が含まれる。そのようなパソコンや機器の操作に慣れていない使用者層にとって、印刷装置の内部設定を気にして原稿を作成することは、相当に厄介なことである。しかしながら、本発明によれば、画像読取装置が読み取れるように原稿を作成しさえすれば、原稿の画像と全く同じ画像又は所望の大きさ又はレイアウトの画像を印刷できることとなるので、非常に便利である。   In the image reading apparatus according to the present invention, a particularly important advantage is that the original image can be printed and reproduced regardless of the internal setting of the connected printing apparatus. Only the range of the image read by the image reading device needs to be considered. As already described, the user group who wants to print / reproduce an image with the image reading device includes a generation or a small child who is not used to a personal computer trying to create a New Year's card or a Christmas card. For users who are not familiar with the operation of such personal computers and devices, it is quite troublesome to create a document taking care of the internal settings of the printing apparatus. However, according to the present invention, as long as an original is created so that the image reading apparatus can read it, an image exactly the same as the original image or an image having a desired size or layout can be printed. is there.

本発明のその他の目的及び利点は、以下の本発明の好ましい実施形態の説明により明らかになるであろう。   Other objects and advantages of the present invention will become apparent from the following description of preferred embodiments of the present invention.

以下に添付の図を参照しつつ、本発明を幾つかの好ましい実施形態について詳細に説明する。図中、同一の符号は、同一の部位を示す。   The present invention will now be described in detail with reference to a few preferred embodiments with reference to the accompanying drawings. In the figure, the same reference numerals indicate the same parts.

画像読取装置の概要
図1(A)に於いて、本発明による画像読取装置1の一つの好ましい実施形態の外観(斜視図)が示されている。画像読取装置1は、所謂「イメージスキャナ」、即ち、紙、プラスチックシート等又はその他の媒体上に描かれた原稿画像を走査しながら光学的に検出し(例えば、読み取る対象に光を当てて、反射光をCCD等の光検出素子又は装置にて検出する)、検出した画像情報をディジタルデータに変換する装置であってよい。画像読取装置1は、フラットベッドスキャナの形式、即ち、原稿を透明な板部材上にて下向きに配置して画像を読み取る形式の装置であってもよいが、好適には、特許文献2−5に記載されている如き、上下の面が透明な板部材3(図では上面のみ示されている)にて形成された扁平な筐体からなり、原稿を上向きにして筐体の下側に載置した状態で原稿を走査する形式のスキャナである(原稿を筐体の下側に載置する形式のスキャナの場合、原稿を走査する様子が、使用者がスキャナの上側から原稿を確認できる点で好ましい。)。画像読取装置1の上面には、使用者が画像読取装置の動作を指示し又は選択するための操作用パネル又はボタン等4が設けられる。画像読取装置1の寸法は、典型的には、はがきサイズの原稿が読取可能な寸法であるが、B5、A4等のその他の用紙のサイズの原稿が読取可能な寸法であってもよい。なお、図示していないが、読取装置を原稿上で手動式にて移動させて原稿画像を読み取る「ハンディスキャナ」であっても良い。また、本発明が適用される装置は、原稿を走査するのではなく、原稿全体の画像を一括に読み込む形式の画像読取装置であってもよい。
Overview of Image Reading Apparatus FIG. 1A shows the appearance (perspective view) of one preferred embodiment of an image reading apparatus 1 according to the present invention. The image reading apparatus 1 optically detects a so-called “image scanner”, that is, a manuscript image drawn on paper, a plastic sheet or the like or other medium while scanning (for example, illuminates a target to be read, The reflected light is detected by a light detecting element or device such as a CCD), and the detected image information may be converted into digital data. The image reading apparatus 1 may be a flat bed scanner type, that is, an apparatus that reads an image by placing an original document downward on a transparent plate member. As shown in Fig. 1, the upper and lower surfaces are made of a flat housing formed of a transparent plate member 3 (only the upper surface is shown in the figure), and the document is placed upward and placed on the lower side of the housing. (In the case of a scanner that places the document on the lower side of the housing, the user can check the document from the upper side of the scanner.) Is preferable.). On the upper surface of the image reading apparatus 1, an operation panel or a button 4 for a user to instruct or select an operation of the image reading apparatus is provided. The dimensions of the image reading apparatus 1 are typically dimensions that can read a postcard-size original, but may be dimensions that can read originals of other paper sizes such as B5 and A4. Although not shown in the drawings, a “handy scanner” may be used that reads the document image by manually moving the reading device on the document. In addition, the apparatus to which the present invention is applied may be an image reading apparatus that reads an image of the entire document in a batch, instead of scanning the document.

図1(A)に示されている如く、画像読取装置1は、パソコンを介さずに印刷装置2(典型的には、インクジェットプリンタであるが、その他の形式のものであってもよい。)に直接に接続される。印刷装置2は、所定の通信規格に対応した任意の印刷装置であってよく、画像データを受信すると、自身の内部の設定又は画像読取装置が送信した設定に従って、印刷媒体上に画像を印刷する。画像読取装置1と印刷装置2との間の通信規格は、典型的には、ディジタルカメラを印刷装置又は印刷機へ直接に接続して写真を印刷する目的で提案されたPictBridgeであるが、画像読取装置1と印刷装置2とが各々対応していれば、その他の通信規格であってもよい。また、図示の例では、画像読取装置1と印刷装置2との間の信号の送受信は、ケーブル5を介して行われる有線通信(USB等)により為されるが、Bluetooth(登録商標)や赤外線による無線データ通信にて行われていてもよい。更に、画像読取装置1に於いて、メモリカード(SDカード等)6に画像データを記憶する手段が設けられ、印刷装置2が対応するメモリカードに記憶された画像データを印刷する機能を有していれば、画像データの授受は、メモリカードを介して行われてもよい。   As shown in FIG. 1A, the image reading apparatus 1 is a printing apparatus 2 (typically an ink jet printer, but may be of other types) without using a personal computer. Connected directly to. The printing apparatus 2 may be an arbitrary printing apparatus corresponding to a predetermined communication standard. When image data is received, the printing apparatus 2 prints an image on a printing medium in accordance with the setting inside the apparatus or the setting transmitted by the image reading apparatus. . The communication standard between the image reading apparatus 1 and the printing apparatus 2 is typically PictBridge proposed for the purpose of printing a photograph by directly connecting a digital camera to a printing apparatus or a printing machine. Other communication standards may be used as long as the reading device 1 and the printing device 2 correspond to each other. In the illustrated example, transmission / reception of signals between the image reading apparatus 1 and the printing apparatus 2 is performed by wired communication (USB or the like) performed via the cable 5, but is not limited to Bluetooth (registered trademark) or infrared. May be performed by wireless data communication. Further, the image reading device 1 is provided with means for storing image data in a memory card (SD card or the like) 6 and the printing device 2 has a function of printing the image data stored in the corresponding memory card. If so, the image data may be exchanged via a memory card.

本発明の画像読取装置1に直接に接続され画像の印刷が可能な印刷装置2は、印刷媒体の全面に、周縁部に余白を残すことなく、画像を印刷する所謂「フチ無し印刷」が実行可能である。「フチ無し印刷」モードを実行する場合、印刷装置2は、受信された画像データの表す画像の周縁部が印刷媒体からはみ出るように印刷する。   The printing apparatus 2 that is directly connected to the image reading apparatus 1 of the present invention and can print an image performs so-called “borderless printing” that prints an image without leaving a margin on the entire periphery of the printing medium. Is possible. When executing the “borderless printing” mode, the printing apparatus 2 performs printing so that the peripheral portion of the image represented by the received image data protrudes from the print medium.

図13を参照して、例えば、画像読取装置1が、300DPIの解像度(単位長さ当たりの画素数)にて、図13左上に示されている如き、はがきサイズ、縦148×横100mm、の領域を読取り、縦1748×横1181pixの画像データを生成し[即ち、画像データの一つの画素の大きさは、読み取られた原稿上で0.085mmに相当する。]、かかる画像データをそのままの寸法で印刷装置2へ出力するとする。印刷装置2が、はがきサイズの印刷媒体上で、画像読取装置の読取時の解像度と同じ300DPIの解像度にて印刷するものであったとすると、「フチ無し印刷」の場合、印刷装置2は、縦1748×横1181pixの画像データの画像全体の大きさを、例えば、印刷媒体の寸法の1.03〜1.05倍になるように、即ち、縦1800×横1216pix〜縦1835×横1240pixに変倍し、画像の周縁部が概ね30〜60pix程度(略3〜5mm)印刷媒体からはみ出た状態にて印刷を実行する(図13右上)。[画像読取装置が生成した画像データの一つの画素の大きさは、印刷媒体上では、0.088〜0.089mmに相当することとなる。つまり、印刷の解像度(単位長さ当たりに配置されるインクのドット数)が300DPIであっても、画像読取装置から送信された画像データは、印刷媒体上では、約291〜285DPIとなる。]かくして、「フチ無し印刷」に於いては、印刷媒体の縁を横切ってインクが適用されることになるので(オーバースプレイ)、印刷媒体の縁に余白を残すことなく、印刷が施されることとなる(図13下)。   Referring to FIG. 13, for example, the image reading apparatus 1 has a resolution of 300 DPI (number of pixels per unit length), a postcard size, 148 × 100 mm in width, as shown in the upper left of FIG. The area is read to generate image data of 1748 vertical × 1181 horizontal pixels [that is, the size of one pixel of the image data corresponds to 0.085 mm on the read original. ], It is assumed that the image data is output to the printing apparatus 2 with the same dimensions. If the printing apparatus 2 prints on a postcard-sized printing medium at a resolution of 300 DPI, which is the same as the resolution at the time of reading by the image reading apparatus, in the case of “borderless printing”, the printing apparatus 2 The size of the entire image of the image data of 1748 × horizontal 1181 pix is changed to, for example, 1.03 to 1.05 times the size of the print medium, that is, 1800 × horizontal 1216 pix to 1835 × vertical 1240 pix. The image is doubled and printing is performed in a state where the peripheral portion of the image protrudes from the print medium by approximately 30 to 60 pix (approximately 3 to 5 mm) (upper right in FIG. 13). [The size of one pixel of image data generated by the image reading apparatus corresponds to 0.088 to 0.089 mm on the print medium. That is, even if the printing resolution (the number of dots of ink arranged per unit length) is 300 DPI, the image data transmitted from the image reading device is about 291 to 285 DPI on the print medium. Thus, in “borderless printing”, ink is applied across the edge of the print medium (overspray), so printing is performed without leaving a margin at the edge of the print medium. (FIG. 13 bottom).

上記の「フチ無し印刷」の際、本発明の画像読取装置1と供に使用される典型的な印刷装置に於いては、印刷媒体の上下左右方向の各々からはみ出る周縁部の幅は、受信した画像データの寸法にかかわらず、所定値に定まっている(印刷媒体の大きさに応じて決められている。はがき大の用紙の場合、通常、3〜5mm前後)。換言すれば、「フチ無し印刷」の際、印刷装置に於いて、印刷媒体の大きさが決定されると、インクを適用する領域が、所定幅だけ印刷媒体の縁からはみ出るように決定され、かかるインクを適用する領域と受信した画像データの表す画像の大きさとが一致するように、画像データの寸法が調整される。従って、送信される画像データに於ける実際に印刷媒体上に載る領域(印刷領域)の寸法の割合と位置が、送信される画像データの寸法によらず、印刷装置の内部の設定により所定の値に定まることとなり、印刷媒体の各縁からはみ出る画像の周縁部の幅、或いは、画像データの表す画像のうち実際に印刷媒体上に載る領域の大きさと位置は、使用者には調節することができない。その結果、画像読取装置1で読み取った画像データをそのまま送信して印刷された画像は、図13下に例示されている如く、原稿の画像と大きさが異なったり、周縁部が欠けたりするなど、使用者の期待通りに印刷できない場合が在り得る。また、画像データの表す画像のうち実際に印刷媒体上に載る領域は、印刷装置の機種や用紙設定によって異なる。   In the above-described “borderless printing”, in a typical printing apparatus used together with the image reading apparatus 1 of the present invention, the width of the peripheral edge protruding from the top, bottom, left, and right directions of the print medium is received. Regardless of the size of the image data, it is fixed to a predetermined value (determined according to the size of the print medium. Usually, about 3 to 5 mm for postcard-sized paper). In other words, at the time of “borderless printing”, when the size of the printing medium is determined in the printing apparatus, the area to which the ink is applied is determined to protrude from the edge of the printing medium by a predetermined width, The size of the image data is adjusted so that the area to which the ink is applied matches the size of the image represented by the received image data. Accordingly, the ratio and position of the size of the area (printing area) actually placed on the print medium in the transmitted image data are determined by the internal setting of the printing apparatus, regardless of the size of the transmitted image data. The width of the peripheral portion of the image that protrudes from each edge of the print medium, or the size and position of the area actually placed on the print medium in the image represented by the image data should be adjusted by the user. I can't. As a result, the image printed by transmitting the image data read by the image reading device 1 as it is is different in size from the image of the document, or the peripheral portion is missing, as illustrated in the lower part of FIG. In some cases, printing cannot be performed as expected by the user. In addition, the area actually placed on the print medium in the image represented by the image data varies depending on the model of the printing apparatus and the paper setting.

そこで、本発明の画像読取装置1では、「発明の開示の欄」に記載されている如く、印刷装置2による印刷時に、印刷装置2が受信した画像データのうち印刷媒体上に載る領域又は印刷媒体の縁からはみ出る周縁部の幅と方向を検出し、或いは、印刷装置が受信した画像データを印刷する際の画像中の所定のパターンの寸法又は位置を検出して、その検出結果を用いて、印刷媒体上に於いて、(図13下の如く、不用意に画像の縁が切り取られることがないように、)使用者の所望の大きさ又は所望のレイアウトにて画像を印刷できるように原稿画像データを補正する機能が設けられる。なお、以下の説明に於いては、印刷装置2がフチ無し印刷モードに設定され、また、印刷媒体の寸法が画像読取装置の1回の画像の読み込みにて読み取り可能な範囲の全域(画像読取装置の読取領域)の寸法と同一であるものとする(例えば、画像読取装置の読取領域がはがき大であるとすれば、印刷媒体には、はがき大の用紙が用いられる。)。しかしながら、印刷装置2がフチ付き印刷モード(印刷媒体の周縁部に余白が設けられる)又はその他の印刷モードに設定されている場合、または、印刷媒体の寸法が原稿の寸法又は画像読取装置の読取領域の寸法と異なる場合でも、本発明の原理が適用でき、そのような場合も本発明の範囲に属することは、理解されるべきである。   Therefore, in the image reading apparatus 1 of the present invention, as described in the “Invention Disclosure” section, when printing is performed by the printing apparatus 2, the area on the print medium or the print data received by the printing apparatus 2 is printed. By detecting the width and direction of the peripheral edge protruding from the edge of the medium, or by detecting the size or position of a predetermined pattern in the image when printing the image data received by the printing apparatus, and using the detection result The image can be printed on the print medium in a desired size or desired layout (so that the edges of the image are not cut off inadvertently as shown in FIG. 13). A function for correcting the document image data is provided. In the following description, the printing apparatus 2 is set to the borderless printing mode, and the size of the printing medium is the entire range that can be read by one image reading of the image reading apparatus (image reading). It is assumed that the size is the same as the size of the reading area of the apparatus (for example, if the reading area of the image reading apparatus is a large postcard, a postcard-sized paper is used as the print medium). However, when the printing apparatus 2 is set to the bordered printing mode (a margin is provided at the peripheral edge of the printing medium) or other printing mode, or the printing medium dimension is the original dimension or the image reading apparatus reading It should be understood that the principles of the present invention can be applied even if they differ from the dimensions of the region, and that such cases are also within the scope of the present invention.

画像読取装置の構成
図1(B)は、画像読取装置1の内部の構成をブロック図の形式にて示したものである。同図を参照して、画像読取装置1に於いては、公知の画像読取装置と同様に、CPU10、プログラムメモリ12、ワークメモリ14、画像メモリ16、操作パネル20、USB制御部(画像データ出力部)22及びスキャナ部24が、互いに双方向コモンバス26にて接続されている。CPU10は、後に詳細に説明する態様にてプログラムメモリ12に記憶されたシステムプログラムに基づき、ワークメモリ14及びその他のメモリを用いて画像読取装置1の動作を制御する。
Configuration of Image Reading Device FIG. 1B shows the internal configuration of the image reading device 1 in the form of a block diagram. Referring to the figure, in the image reading apparatus 1, as in the known image reading apparatus, CPU 10, program memory 12, work memory 14, image memory 16, operation panel 20, USB control unit (image data output) Part) 22 and the scanner part 24 are connected to each other by a bidirectional common bus 26. The CPU 10 controls the operation of the image reading apparatus 1 by using the work memory 14 and other memories based on the system program stored in the program memory 12 in a mode described in detail later.

スキャナ部24は、この分野に於いて公知の任意の形式の画像検出部であってよく、端的に述べれば、原稿画像に光を当て、その反射光を検出するイメージセンサ部(画像検出部)24aと、イメージセンサ部を原稿上にて走査させるモータ及びモータ制御部24bとを含む。CPU10の制御下、イメージセンサ部24aの光源・位置は、コモンバス26に接続されたI/O部24cを介して制御され、イメージセンサ部で検出されたアナログ画像情報信号は、A/D変換部24d(画像データ生成部)にてディジタル化され、画像メモリ16に保存される。なお、スキャナ部24にて読み取られた画像データは、イメージセンサの諸特性を補償するべく、シェーディング補正、色補正、ガンマ補正、MTF補正等の公知の態様にて補正されてよい。(イメージセンサの特性を補償するための情報が、シェーディングメモリ28に格納され、適宜利用されるようになっていてよい。)   The scanner unit 24 may be any type of image detection unit known in this field. To put it briefly, an image sensor unit (image detection unit) that applies light to a document image and detects the reflected light. 24a and a motor and motor control unit 24b for scanning the image sensor unit on the document. Under the control of the CPU 10, the light source / position of the image sensor unit 24 a is controlled via the I / O unit 24 c connected to the common bus 26, and the analog image information signal detected by the image sensor unit is converted into an A / D conversion unit. It is digitized by 24 d (image data generation unit) and stored in the image memory 16. Note that the image data read by the scanner unit 24 may be corrected in a known manner such as shading correction, color correction, gamma correction, and MTF correction in order to compensate for various characteristics of the image sensor. (Information for compensating the characteristics of the image sensor may be stored in the shading memory 28 and used as appropriate.)

操作パネル20(図1(A)に於ける符号4)は、図12に例示する如き操作用ボタン、ディスプレイを含むパネルであり、画像読取装置1の表面に設けられる。後に詳細に説明する態様にて、使用者は、操作パネル20を介して、装置1へ指示を与え、又、装置1の動作モード又はその他の設定が確認できるようになっている。   The operation panel 20 (reference numeral 4 in FIG. 1A) is a panel including operation buttons and a display as illustrated in FIG. 12, and is provided on the surface of the image reading apparatus 1. In a manner described in detail later, the user gives an instruction to the apparatus 1 via the operation panel 20 and can confirm the operation mode or other settings of the apparatus 1.

本発明の画像読取装置1は、上記の如く、所定の通信規格に対応した任意の印刷装置2に接続され、印刷装置2へ直接に画像データを送信し、画像を印刷できるようになっている。かかる作動を達成するために、本発明の画像読取装置1に於いては、CPU10の制御下、送信されるべき画像データから所定の通信規格に適合するべく印刷装置制御コードが生成され、印刷装置制御コードは、更にUSB制御部(画像データ出力部)22に於いてUSB制御コードに変換されて印刷装置2へ送信されることとなる。なお、USB制御部22からは、所定の通信規格に従って、印刷装置に於いて設定可能な印刷媒体又は用紙の寸法、種類、或いは、可能であれば、画質、印刷画像の解像度等の制御コードが送信されるようになっていてよい。また、印刷装置2と無線にて信号の授受を行う場合には、信号発信部(図示せず)が設けられてよく、また、メモリカードを用いて印刷装置に画像データを与える場合には、メモリカードが着脱可能なドライブ30が設けられていてよい(メモリカードには、画像読取装置で生成した任意の画像データが保存できるように構成されてよい。)かかる種々の制御コードを送信するための具体的な構成、無線通信のための構成又はメモリカードためのドライブは、当業者にとって公知の態様にて設けられてよい。また、選択的に、通常の画像読取装置と同様にパソコンへ画像を送信するための手段が設けられていてもよい(図示せず)。   As described above, the image reading apparatus 1 according to the present invention is connected to an arbitrary printing apparatus 2 corresponding to a predetermined communication standard, and can directly transmit image data to the printing apparatus 2 to print an image. . In order to achieve such an operation, in the image reading apparatus 1 of the present invention, under the control of the CPU 10, a printing apparatus control code is generated from image data to be transmitted so as to conform to a predetermined communication standard. The control code is further converted into a USB control code by the USB control unit (image data output unit) 22 and transmitted to the printing apparatus 2. The USB control unit 22 receives a control code such as the size and type of a print medium or paper that can be set in the printing apparatus according to a predetermined communication standard, or, if possible, the image quality and the resolution of the print image. It may be sent. In addition, when transmitting and receiving signals wirelessly with the printing apparatus 2, a signal transmission unit (not shown) may be provided, and when image data is given to the printing apparatus using a memory card, A drive 30 to / from which the memory card can be attached / detached may be provided (the memory card may be configured to store arbitrary image data generated by the image reading apparatus) for transmitting such various control codes. The specific configuration, the configuration for wireless communication, or the drive for the memory card may be provided in a manner known to those skilled in the art. Alternatively, a means for transmitting an image to a personal computer as in a normal image reading apparatus may be provided (not shown).

更に、本発明の画像読取装置1によれば、「発明の開示の欄」に記載されている如く、スキャナ部24で読み取られ、ディジタル化された原稿画像データは、補正用画像データ(基準画像データを画像データ出力部22から送信して印刷装置2にて印刷媒体上に印刷した基準画像の印刷画像をスキャナ部24によって読み取って得た画像データ)を利用して、印刷媒体上で、所望の大きさ又は所望のレイアウトにて印刷されるよう補正される。そこで、上記のコモンバス26には、更に、パラメータメモリ18が接続され、補正用画像データ、原稿画像データの補正を行うために必要なパラメータ(補正用パラメータ)又はその他の印刷装置の内部の設定に関する情報が記憶される。また、コモンバス26に、基準画像を表す基準画像データを記憶した基準画像データメモリ19が接続され、CPUの制御下、基準画像データを適宜利用できるようになっていてよい。   Further, according to the image reading apparatus 1 of the present invention, as described in the “Disclosure of the Invention” section, the original image data read by the scanner unit 24 and digitized is corrected image data (reference image). The image data output from the image data output unit 22 and printed on the print medium by the printing apparatus 2 is used to obtain the desired image on the print medium using the image data obtained by reading the print image of the reference image with the scanner unit 24). Is corrected to be printed in the size or the desired layout. Therefore, a parameter memory 18 is further connected to the above-mentioned common bus 26, and it relates to correction image data, parameters necessary for correcting document image data (correction parameters), or other internal settings of the printing apparatus. Information is stored. Further, a reference image data memory 19 storing reference image data representing a reference image may be connected to the common bus 26 so that the reference image data can be used as appropriate under the control of the CPU.

画像読取装置1の操作と動作の概要
本発明による画像読取装置1は、選択的に、校正モード又は通常モードにて作動する。
Overview of Operation and Operation of Image Reading Apparatus 1 The image reading apparatus 1 according to the present invention selectively operates in a calibration mode or a normal mode.

校正モードでは、端的に述べれば、印刷装置の内部設定情報(印刷装置が受信した画像データを如何に印刷媒体上に印刷するかに関する情報)が、印刷装置2にて印刷された印刷画像を画像読取装置1にて読み込んで解析することにより求められ、画像読取装置1内に記憶される。このモードに於ける使用者の操作、画像読取装置1及び印刷装置2の動作は、以下の通りである。図2(A)を参照して、使用者の操作パネル20の操作により校正モードの作動開始が指示されると(C1)、画像読取装置1から印刷装置2へ基準画像データが送信され(C2)、基準画像の印刷が実行される(C3)。なお、基準画像データは、予め定められた所定のパターンを含み所定の寸法(画素数)を有する画像を表す画像データである。基準画像の印刷が完了すると、使用者は、画像読取装置1に基準画像の印刷画像をセットし(C4)、操作パネルを通じて処理の続行を指示する。画像読取装置1は、かかる使用者の指示に応答して、基準画像の印刷画像を読み込んで補正用画像データを生成し(C5)、後に詳細に説明するいずれかの手法により、補正用画像データから印刷装置の内部設定情報又は補正用パラメータが演算され(C6)、パラメータメモリ18に格納される。なお、基準画像データは、予め基準画像データメモリ19に記憶させておくのではなく、校正モードの開始の際に、紙又はその他の媒体に描かれた基準画像を画像読取装置1にて読み込むことにより生成されてもよい。その場合、C1aの操作が必要となる。   In the calibration mode, in short, the internal setting information of the printing apparatus (information on how the image data received by the printing apparatus is printed on the print medium) is an image of the print image printed by the printing apparatus 2. It is obtained by reading and analyzing with the reading device 1 and stored in the image reading device 1. The operations of the user and the operations of the image reading device 1 and the printing device 2 in this mode are as follows. Referring to FIG. 2A, when the start of the calibration mode is instructed by the user operating the operation panel 20 (C1), the reference image data is transmitted from the image reading apparatus 1 to the printing apparatus 2 (C2). ), The reference image is printed (C3). The reference image data is image data representing an image including a predetermined pattern and having a predetermined size (number of pixels). When the printing of the reference image is completed, the user sets the print image of the reference image on the image reading apparatus 1 (C4), and instructs to continue the process through the operation panel. In response to the user's instruction, the image reading apparatus 1 reads the reference image print image to generate correction image data (C5), and uses any of the methods described in detail later to correct the correction image data. From this, the internal setting information or correction parameters of the printing apparatus are calculated (C 6) and stored in the parameter memory 18. The reference image data is not stored in the reference image data memory 19 in advance, but the reference image drawn on paper or another medium is read by the image reading device 1 at the start of the calibration mode. May be generated. In that case, the operation of C1a is required.

通常モードでは、概して述べれば、スキャナ部24にて読み取られた原稿の画像データが、校正モードで取得した印刷装置の内部設定情報又は補正用パラメータを用いて補正され、これにより、原稿画像が、印刷媒体上で所望の大きさ又は所望のレイアウトにて印刷される。このモードに於ける使用者の操作、画像読取装置1及び印刷装置2の動作は、以下の通りである。図2(B)を参照して、まず、使用者が画像読取装置1に原稿をセットし、操作パネル20の操作により通常モードの作動開始を指示する(C13)。この際、使用者は、予め、印刷枚数の設定(C11)や印刷媒体上での画像のレイアウトの選択(C12)が適宜行えるようになっていてよい。なお、デフォルトの設定として、印刷枚数を1枚とし、レイアウトとして、ぴったり印刷モード(原稿画像の全体が印刷媒体全面に一致するように印刷される。)が設定されていてよい。画像読取装置1は、通常モードの作動開始の指示に応答して、原稿画像を読み込んで、原稿画像データを生成する(C14)。このとき、印刷画像がC12にて選択されたレイアウトにて印刷されるように原稿画像データの面付けが行われてよい(以下、原稿画像データを面付け処理したものを面付け画像データと呼ぶ。)。次いで、原稿画像が印刷媒体上で選択されたレイアウトにて印刷されるよう補正用パラメータを用いて原稿画像データ又は面付け画像データを補正して補正原稿画像データを生成し(C15)、補正原稿画像データを印刷装置2へ送信する(C16)。印刷装置2は、補正原稿画像データを受信すると、印刷装置の内部設定に従って、画像を印刷する(C17)。   Generally speaking, in the normal mode, the image data of the document read by the scanner unit 24 is corrected using the internal setting information or correction parameters of the printing apparatus acquired in the calibration mode. Printing is performed on a print medium in a desired size or a desired layout. The operations of the user and the operations of the image reading device 1 and the printing device 2 in this mode are as follows. Referring to FIG. 2B, first, the user sets a document on the image reading apparatus 1, and instructs the start of the normal mode by operating the operation panel 20 (C13). At this time, the user may be able to appropriately set the number of prints (C11) and select the layout of the image on the print medium (C12) in advance. As a default setting, the number of prints may be one, and a perfect print mode (printing so that the entire original image matches the entire surface of the print medium) may be set as the layout. In response to the instruction for starting the operation in the normal mode, the image reading apparatus 1 reads the document image and generates document image data (C14). At this time, imposition of the document image data may be performed so that the print image is printed with the layout selected in C12 (hereinafter, the imposition processing of the document image data is referred to as imposition image data). .) Next, the corrected original image data is generated by correcting the original image data or the imposition image data using the correction parameters so that the original image is printed with the selected layout on the printing medium (C15), and the corrected original is generated. The image data is transmitted to the printing apparatus 2 (C16). Upon receiving the corrected document image data, the printing apparatus 2 prints an image according to the internal settings of the printing apparatus (C17).

後により詳細に述べる如く、印刷装置2へ送信される補正原稿画像データは、補正原稿画像データの印刷領域内に印刷媒体上に載るべき画像データが割り当てられた状態に、即ち、該補正原稿画像データが印刷装置2に於いて印刷媒体の寸法よりも大きく調整された状態で、選択された大きさにて又は選択されたレイアウトにて原稿画像データ又は面付け画像データが印刷媒体上に載るように調製される。従って、印刷装置2が補正原稿画像データの印刷を実行する際に、補正原稿画像データ全体の寸法を印刷媒体の縁を越えるように調整すると、補正原稿画像データ中の印刷領域全体が印刷媒体の全体に一致し、かくして、原稿画像データ又は面付け画像データの周縁部が不用意に欠けたり、印刷画像が使用者の期待に反した大きさにて印刷されたりすることが回避されることとなる。   As will be described in more detail later, the corrected document image data transmitted to the printing apparatus 2 is in a state in which image data to be placed on the print medium is assigned within the print region of the corrected document image data, that is, the corrected document image data. The document image data or the imposition image data is placed on the print medium in the selected size or the selected layout in a state where the data is adjusted to be larger than the size of the print medium in the printing apparatus 2. To be prepared. Therefore, when the printing apparatus 2 executes the printing of the corrected document image data, if the size of the entire corrected document image data is adjusted so as to exceed the edge of the print medium, the entire print area in the corrected document image data is the print medium. Therefore, it is possible to prevent the peripheral portion of the original image data or the imposition image data from being inadvertently missing or the printed image from being printed in a size contrary to the user's expectations. Become.

図3は、画像読取装置1内での上記の校正モード及び通常モードでの信号処理の流れを機能ブロック図の形式で表したものである。なお、以下に説明される「画像補正部10a」、「補正パラメータ算出部10b」、「JPEGエンコーダ10c」、「プリンタ制御部10d」、「レイアウト構成部10e」は、いずれもCPU10の作動により実現されるものである。   FIG. 3 shows the flow of signal processing in the calibration mode and the normal mode in the image reading apparatus 1 in the form of a functional block diagram. The “image correction unit 10a”, “correction parameter calculation unit 10b”, “JPEG encoder 10c”, “printer control unit 10d”, and “layout configuration unit 10e” described below are all realized by the operation of the CPU 10. It is what is done.

同図を参照して、校正モードが、操作パネル20を通じて選択され(図中、第一及び第二のスイッチが「2」に設定。)、処理の実行開始が指示されると、基準画像データメモリ19から基準画像データがJPEGエンコーダ10cへ出力され、JPEGエンコーダ10cは、基準画像データをJPEG形式にエンコードする。JPEG形式の基準画像データは、JPEGエンコーダ10cからプリンタ制御部10dへ出力されて印刷装置制御コードに変換され、次いで、USB制御部22からUSB制御コードの形式にて印刷装置2へ送信される。なお、基準画像データは、基準画像データメモリ19に予め保存されているのではなく、校正モードの実行の最初に、基準画像を描いた原稿をスキャナ部24にて読み取ることにより取得され、JPEGエンコーダ10cへ出力されるようになっていてもよい。また、ここにおいて、画像データの画像形式はJPEG形式が採用されているが、印刷装置2が対応していればその他の画像形式、例えば、GIF形式、BMP形式又はRAW形式などであってもよい。 With reference to the figure, the calibration mode is selected through the operation panel 20 (in the figure, setting the first and second switches to "2".), The execution start of the processing is instructed, the reference image data The reference image data is output from the memory 19 to the JPEG encoder 10c, and the JPEG encoder 10c encodes the reference image data in the JPEG format. The reference image data in the JPEG format is output from the JPEG encoder 10c to the printer control unit 10d, converted into a printing apparatus control code, and then transmitted from the USB control unit 22 to the printing apparatus 2 in the USB control code format. The reference image data is not stored in the reference image data memory 19 in advance, but is acquired by reading a document on which the reference image is drawn by the scanner unit 24 at the beginning of the execution of the calibration mode. 10c may be output. Here, the JPEG format is adopted as the image format of the image data. However, other image formats such as the GIF format, the BMP format, or the RAW format may be used as long as the printing apparatus 2 supports the image format. .

基準画像が印刷され、その印刷画像が使用者により画像読取装置1のスキャナ部24にセットされた後、使用者が処理の続行を指示すると、スキャナ部24が基準画像の印刷画像を読み込んで補正用画像データを生成し、補正用画像データは、補正パラメータ算出部10bへ送られる。補正パラメータ算出部10bでは、後に詳細に説明される如く、補正用画像データが解析され、そこに於いて算出された補正用パラメータがパラメータメモリ18に格納され、校正モードが終了する。   After the reference image is printed, and the printed image is set on the scanner unit 24 of the image reading apparatus 1 by the user, when the user instructs to continue the processing, the scanner unit 24 reads and corrects the printed image of the reference image. Image data is generated, and the correction image data is sent to the correction parameter calculation unit 10b. In the correction parameter calculation unit 10b, the correction image data is analyzed as will be described in detail later, the correction parameters calculated there are stored in the parameter memory 18, and the calibration mode ends.

通常モードが選択され(図中、第一及び第二のスイッチが「1」に設定。)、処理の実行開始が指示されると、スキャナ部24にて原稿の走査及び原稿画像の読み込みが実行され、かくして得られた原稿画像データは、レイアウト構成部(又は面付け画像生成部)10eに送信される。レイアウト構成部10eでは、印刷媒体上で、後に詳細に説明される如き任意のレイアウトにて画像が配置されるよう原稿画像データの「編集」又は「面付け」が為される。もし原稿画像を実質的にそのまま印刷する場合には、レイアウト構成部10eは、省略されてよい。印刷媒体上での画像のレイアウトについて、本発明の画像読取・印刷システムでは、パソコンのように画像を自由に編集することは困難なので、予めいくつかのレイアウトが用意され、使用者がそのうちの好みのレイアウトを操作パネル20から選択できるようになっていることが好ましい。 When the normal mode is selected (in the figure, the first and second switches are set to “1”), and the start of processing is instructed, the scanner unit 24 scans the original and reads the original image. The document image data thus obtained is transmitted to the layout configuration unit (or imposition image generation unit) 10e. In the layout configuration unit 10e, “editing” or “imposition” of the document image data is performed so that an image is arranged in an arbitrary layout as will be described in detail later on the print medium. If the original image is printed as it is, the layout configuration unit 10e may be omitted. Regarding the layout of images on a print medium, the image reading / printing system of the present invention is difficult to edit images freely like a personal computer, so several layouts are prepared in advance, and the user can It is preferable that the layout can be selected from the operation panel 20.

かくして、レイアウト構成部10eを通った原稿画像データ又は面付け画像データ(原稿画像データに何等かのレイアウト編集又は面付け補正を施した画像データ)は、画像補正部10aに於いて、パラメータメモリ18に保存された補正用パラメータを用いて、後に詳細に説明されるいずれかの手法により、図10、11に例示されている如く、面付け画像データ又は原稿画像データの表す画像が印刷媒体上に印刷されるよう補正される。かくして補正された画像データ(補正原稿画像データ)は、JPEGエンコーダ10c、プリンタ制御部10d及びUSB制御部を介して、印刷装置2へ送信され、印刷が実行される。   Thus, the original image data or the imposition image data (image data obtained by performing some layout editing or imposition correction on the original image data) that has passed through the layout configuration unit 10e is stored in the parameter memory 18 in the image correction unit 10a. By using one of the methods described in detail later, the imposition image data or the image represented by the document image data is displayed on the print medium as illustrated in FIGS. It is corrected to be printed. The image data thus corrected (corrected document image data) is transmitted to the printing apparatus 2 via the JPEG encoder 10c, the printer control unit 10d, and the USB control unit, and printing is executed.

上記の校正モード及び通常モードのいずれの場合に於いても、印刷装置2に於いて印刷可能でない場合(電源未投入、用紙切れ、インク切れ等)には、警告ランプ等により、使用者に画像の印刷が実行できないことを知らせるようになっていてよい。また、処理の中断・中止・再開、印刷枚数及びその他の使用者からの指示を表す信号は、操作パネル20を通じて、スキャナ部、プリンタ制御部又はその他の処理部へ送信されるようになっていてよい。更に、通常モードが実行される際又は画像読取装置1の電源投入時に、補正用パラメータが準備されていない場合には、そのことを使用者に警告するか、或いは、自動的に校正モードが選択されるようになっていてもよい。   In both the calibration mode and the normal mode, when printing is not possible in the printing apparatus 2 (power is not turned on, paper is out, ink is out, etc.), a warning lamp etc. May be informed that printing cannot be performed. In addition, signals indicating processing interruption / suspension / resumption, the number of printed sheets, and other instructions from the user are transmitted to the scanner unit, printer control unit, or other processing unit via the operation panel 20. Good. Further, when the normal mode is executed or the correction parameter is not prepared when the image reading apparatus 1 is turned on, the user is warned of this, or the calibration mode is automatically selected. You may come to be.

以下に於いて、上記に於いて概説した「補正用パラメータの算出」、「レイアウト構成」、「補正原稿画像データの生成」及び「操作パネルの操作」をより詳細に説明する。   In the following, “calculation of correction parameters”, “layout configuration”, “generation of corrected document image data” and “operation of the operation panel” outlined above will be described in more detail.

補正用パラメータの算出
校正モードでは、既に述べた如く、「補正パラメータ算出部10b」に於いて、画像読取装置1から出力された所定のパターンを含む基準画像と、その基準画像を表す基準画像データを受信して印刷装置2が印刷した印刷画像(補正用画像データ)とを比較して、印刷装置2に送信した画像データの表す画像の印刷媒体上の大きさ、又は、印刷装置2に送信した画像データのうち実際に印刷媒体上に乗る領域(印刷領域)の大きさ、位置を検出し、その比較・検出結果に基づいて、通常モードにて使用される補正用パラメータが算出される。以下、基準画像データと補正用画像データとの比較解析から補正用パラメータを算出する好ましい形態について説明する。
In the correction parameter calculation / calibration mode, as described above, in the “correction parameter calculation unit 10b”, the reference image including the predetermined pattern output from the image reading apparatus 1 and the reference image data representing the reference image. Is compared with the print image (correction image data) printed by the printing apparatus 2, and the size of the image represented by the image data transmitted to the printing apparatus 2 on the print medium is transmitted to the printing apparatus 2. Of the obtained image data, the size and position of the area (print area) actually placed on the print medium is detected, and correction parameters used in the normal mode are calculated based on the comparison / detection result. Hereinafter, a preferable mode for calculating the correction parameter from the comparative analysis of the reference image data and the correction image data will be described.

(i)補正用パラメータの算出の第一の実施形態
補正用パラメータの算出の第一の実施形態に於いては、図4(A)に示されている如き画像が、基準画像として、印刷装置2へ出力され、その印刷画像が補正用画像データとして取り込まれる。
(I) First Embodiment of Correction Parameter Calculation In the first embodiment of correction parameter calculation, an image as shown in FIG. 4A is used as a reference image as a printing apparatus. 2 and the print image is captured as correction image data.

図4(A)の基準画像は、寸法Xmax×Ymaxを有し、内部に所定のパターンとして中心に矩形(長方形であってよい)領域Aを有する。矩形内部及び外部は、各々一様の輝度を有し、最も簡単には、印刷媒体が白色(輝度値255)であるので、矩形内部が任意の輝度となっていてよい。例えば、印刷装置2は、通常カラープリンタなので、基準画像を印刷する際、RGB値に於いて、矩形領域内部の輝度は、(R,G,B)=(0,Δ,0)[Δは、任意の値]、矩形領域外部は、(R,G,B)=(255,255,255)と設定してよいが、これに限定されない。好ましくは、基準画像データ全域の中心と矩形領域の中心は一致し、矩形領域の各辺は、画像データのX又はY方向に沿って延在している。しかしながら、本発明の目的に於いて、その他のパターンが採用されてもよい。基準画像データの寸法は、好ましくは、画像読取装置1の読取領域にて読み取られ生成される画像データの寸法と同一であるが、画像読取装置が画像を読み取って生成する画像データの寸法と異なっていても良いことは理解されるべきである。 The reference image of FIG. 4A has a dimension Xmax × Ymax, and has a rectangular (which may be rectangular) area A 0 B 0 D 0 C 0 as a predetermined pattern inside. The inside and outside of the rectangle each have uniform brightness, and most simply, the print medium is white (brightness value 255), so the inside of the rectangle may have any brightness. For example, since the printing apparatus 2 is a normal color printer, when printing a reference image, the luminance within the rectangular area in the RGB values is (R, G, B) = (0, Δ, 0) [Δ is , Any value], the outside of the rectangular area may be set as (R, G, B) = (255, 255, 255), but is not limited thereto. Preferably, the center of the entire area of the reference image data coincides with the center of the rectangular area, and each side of the rectangular area extends along the X or Y direction of the image data. However, other patterns may be employed for the purposes of the present invention. The size of the reference image data is preferably the same as the size of the image data read and generated in the reading area of the image reading device 1, but is different from the size of the image data generated by the image reading device reading the image. It should be understood that it may be.

図4(A)の基準画像データが印刷装置2へ送信され、印刷装置2にて印刷媒体上に印刷されると、基準画像の印刷像(図4(B))が生成される。既に述べた如く、印刷装置2は、受信した画像データの全体が印刷媒体の縁からはみ出るように印刷するので、印刷媒体上には、図4(A)中に於いて点線にて示された印刷領域の内側が印刷されることとなる。補正用画像データは、かかる印刷媒体上に印刷された基準画像の印刷像を画像読取装置1により読み込むことにより調製される。本実施形態に於いては、基準画像のデータの寸法Xmax×Ymaxが、画像読取装置が画像を読み取ることにより生成される画像データの寸法Xmax×Ymaxと同一であり、かつ、画像読取装置の読取領域の大きさと印刷媒体の大きさとが同一としているので、補正用画像データの矩形領域ABDCの寸法は、基準画像データの矩形領域Aよりも拡大されていることとなる。 When the reference image data in FIG. 4A is transmitted to the printing apparatus 2 and printed on the print medium by the printing apparatus 2, a print image (FIG. 4B) of the reference image is generated. As described above, the printing apparatus 2 prints the entire received image data so that it protrudes from the edge of the print medium. Therefore, the print apparatus 2 is indicated by a dotted line in FIG. 4A. The inside of the print area is printed. The correction image data is prepared by reading the print image of the reference image printed on the print medium by the image reading apparatus 1. In this embodiment, the dimension Xmax × Ymax of the reference image data is the same as the dimension Xmax × Ymax of the image data generated by the image reading apparatus reading the image, and the reading of the image reading apparatus is performed. Since the size of the area and the size of the print medium are the same, the size of the rectangular area ABDC of the correction image data is larger than the rectangular area A 0 B 0 D 0 C 0 of the reference image data. .

印刷装置2へ送信した画像データのうち実際に印刷媒体上に印刷される領域、即ち、画像データの印刷領域の大きさ、或いは、印刷装置2へ送信した画像データの印刷媒体上での大きさは、基準画像データ(図4(A))中の矩形領域の大きさに対する補正用画像データ(図4(B))中の矩形領域の大きさの比(変倍率N)から求めることができる。また、基準画像中の矩形領域の中心は、基準画像全体の中心に一致させているので、補正用画像データの中心位置からの、補正用画像データ中の矩形領域の中心位置のずれ(シフト量S)を検出することにより、印刷装置2の印刷時に切り取られる(印刷媒体からはみ出る)画像の周縁部の幅と方向、又は、画像データのうち実際に印刷される領域を特定することができる。なお、画像読取装置の読取領域の大きさと印刷媒体の大きさと同一とし、基準画像の寸法と画像読取装置の読取領域の画像を読み取って生成する画像データの寸法とを同一としているので、変倍率Nは、印刷装置2へ送信した画像データの寸法に対するその画像データの印刷領域の寸法の比の逆数であり、原稿画像に対する(補正なしで印刷された場合の)印刷画像の大きさの比に相当する。[基準画像データの寸法と画像読取装置が画像を読み取って生成するデータの寸法とが異なる場合、変倍率Nは、以下の式で与えられる。
N=(k×Z)/(n×X)
ここに於いて、kは、画像読取装置の読取解像度(pix/mm)、Zは、印刷媒体の実寸(mm)、Xは、基準画像データの寸法(pix)、nは、印刷装置2へ送信した画像データの寸法に対するその画像データの印刷領域の寸法の比である。本実施形態に於いては、(k×Z)/X=1となる。]
Of the image data transmitted to the printing apparatus 2, the area actually printed on the printing medium, that is, the size of the printing area of the image data, or the size of the image data transmitted to the printing apparatus 2 on the printing medium. Can be obtained from the ratio of the size of the rectangular area in the correction image data (FIG. 4B) to the size of the rectangular area in the reference image data (FIG. 4A) (magnification N). . Further, since the center of the rectangular area in the reference image coincides with the center of the entire reference image, the shift (shift amount) of the center position of the rectangular area in the correction image data from the center position of the correction image data. By detecting S), it is possible to specify the width and direction of the peripheral portion of the image cut out (extruded from the print medium) during printing by the printing apparatus 2 or the area actually printed in the image data. The size of the reading area of the image reading device is the same as the size of the print medium, and the size of the reference image is the same as the size of image data generated by reading the image of the reading area of the image reading device. The magnification N is the reciprocal of the ratio of the size of the print area of the image data to the size of the image data transmitted to the printing apparatus 2, and the ratio of the size of the print image (when printed without correction) to the original image. It corresponds to. [When the size of the reference image data and the size of the data generated by the image reading device reading the image are different, the scaling factor N is given by the following equation.
N = (k × Z) / (n × X)
Here, k is the reading resolution (pix / mm) of the image reading device, Z is the actual size (mm) of the print medium, X is the size (pix) of the reference image data, and n is the printing device 2. The ratio of the size of the print area of the image data to the size of the transmitted image data. In this embodiment, (k × Z) / X = 1. ]

変倍率Nとシフト量Sは、以下の如く、算出されてよい。図4(A)を参照して、基準画像データの矩形領域の頂点の座標を、それぞれ、A(X,Y)、B(X,Y)、C(X,Y)、D(X,Y)とし、補正用画像データの矩形領域の頂点の座標を、A(x,y)、B(x,y)、C(x,y)、D(x,y)とする。基準画像データと補正用画像データとの縦横比が変わらないとする場合、即ち、印刷装置2が画像データの縦横比を変えず印刷する場合には、例えば、矩形領域の対角線の長さの比から、変倍率Nは、
N=BC/B
={(x−x2+(y−y21/2/{(X−X2+(Y−Y21/2 …(1)
により与えられる。ここで、BC、Bは、頂点間の長さである(以下同様)。なお、補正用画像データの矩形領域の対角線の長さは、二つの対角線の平均をとってもよい。
The scaling factor N and the shift amount S may be calculated as follows. Referring to FIG. 4A, the coordinates of the vertices of the rectangular area of the reference image data are respectively A 0 (X 1 , Y 1 ), B 0 (X 2 , Y 1 ), C 0 (X 1 , Y 2 ), D 0 (X 2 , Y 2 ), and the coordinates of the vertices of the rectangular area of the correction image data are A (x 1 , y 1 ), B (x 2 , y 2 ), C (x 3 , Y 3 ), D (x 4 , y 4 ). When the aspect ratio of the reference image data and the correction image data is not changed, that is, when the printing apparatus 2 performs printing without changing the aspect ratio of the image data, for example, the ratio of the lengths of the diagonal lines of the rectangular area From the above, the scaling factor N is
N = BC / B 0 C 0
= {(X 2 -x 3) 2 + (y 2 -y 3) 2} 1/2 / {(X 2 -X 1) 2 + (Y 1 -Y 2) 2} 1/2 ... (1)
Given by. Here, BC and B 0 C 0 are the lengths between vertices (the same applies hereinafter). Note that the length of the diagonal line of the rectangular area of the correction image data may be an average of the two diagonal lines.

印刷装置2が画像の縦横比を変化させてしまう可能性がある場合には、X方向の変倍率N、Y方向の変倍率Nが、X方向、Y方向のそれぞれについて矩形領域の辺の長さの比から、
X方向の変倍率 N=AB/A 又は CD/A …(2)
Y方向の変倍率 N=AC/A 又は BD/A …(3)
により検出される。各々変倍率に於いて、補正用画像データの矩形領域の辺の長さは、X方向、Y方向についてそれぞれ二つの辺の平均が用いられてもよい。
When there is a possibility that the printing apparatus 2 may change the aspect ratio of the image, the X direction scaling factor N X and the Y direction scaling factor N Y are the sides of the rectangular area in each of the X direction and the Y direction. From the length ratio of
Magnification ratio in the X direction N X = AB / A 0 B 0 or CD / A 0 B 0 (2)
Magnification factor in Y direction N Y = AC / A 0 C 0 or BD / A 0 C 0 (3)
Is detected. For each scaling factor, the average of the two sides in the X direction and Y direction may be used as the length of the side of the rectangular area of the correction image data.

基準画像データと補正用画像データの矩形領域の中心位置は、それぞれ、
基準画像データ(C,C
=(X+X)/2; C=(Y+Y)/2 …(4)
補正用画像データ(c,c
=(x+x+x+x)/4; c=(y+y+y+y)/4 …(5)
により与えられるので、補正用画像データの矩形領域の中心位置のシフト量S(基準画像の中心に対する印刷媒体の中心のずれ)は、
Sx=C−c; Sy=C−c …(6)
となる。
The center positions of the rectangular areas of the reference image data and the correction image data are respectively
Reference image data (C X, C Y)
C X = (X 1 + X 2 ) / 2; C Y = (Y 1 + Y 2 ) / 2 (4)
Image data for correction (c x , c y )
c x = (x 1 + x 2 + x 3 + x 4 ) / 4; c y = (y 1 + y 2 + y 3 + y 4 ) / 4 (5)
Therefore, the shift amount S of the center position of the rectangular area of the correction image data (the deviation of the center of the print medium from the center of the reference image) is
Sx = C X -c x ; Sy = C Y -c y (6)
It becomes.

かくして、上記のX方向の変倍率N、Y方向の変倍率N及びシフト量Sx、Syより、印刷装置2へ送信する画像データの寸法がXmax×Ymaxとすると、その画像データのうち、印刷媒体上に載る印刷領域は、画像読取装置が送信する画像データの座標系(即ち、基準画像の座標系)に於いて、
X方向については、
(Xmax−Xmax/N)/2+Sx/Nから(Xmax+Xmax/N)/2+Sx/Nまで、 …(7a)
Y方向については、
(Ymax−Ymax/N)/2+Sy/Nから(Ymax+Ymax/N)/2+Sy/Nまで …(7b)
の範囲(図4(A)中の破線にて示した矩形内の領域)となることが求められる。上記の変倍率N(又は、N、N)及びシフト量Sx、Syの値又は印刷領域の範囲の座標値は、通常モードで原稿画像データ(又は原稿画像データを選択されたレイアウトにて配置構成してなる面付け画像データ)が、印刷媒体上にてはみ出すことなく印刷されるよう補正するために用いられる(補正用パラメータとして、パラメータメモリに記憶される。)。
Thus, assuming that the size of the image data to be transmitted to the printing apparatus 2 is Xmax × Ymax from the above-described X-direction magnification N X , Y-direction magnification N Y and shift amounts Sx, Sy, The print area placed on the print medium is in the coordinate system of image data (that is, the coordinate system of the reference image) transmitted by the image reader.
For the X direction,
From (Xmax-Xmax / N X) / 2 + Sx / N X to (Xmax + Xmax / N X) / 2 + Sx / N X, ... (7a)
For the Y direction,
From (Ymax−Ymax / NY ) / 2 + Sy / NY to (Ymax + Ymax / NY ) / 2 + Sy / NY (7b)
(A region within a rectangle indicated by a broken line in FIG. 4A). The scaling ratio N (or N X , N Y ), the shift amounts Sx, Sy, or the coordinate value of the print area range are determined by the original image data (or the layout in which the original image data is selected) in the normal mode. The arranged imposition image data) is used for correction so as to be printed without protruding on the print medium (stored in the parameter memory as a correction parameter).

補正用画像データの矩形領域の頂点ABCDの座標は、補正用画像データを、適当な閾値Thを用いて、二値化した後(矩形領域内外の輝度値は、それぞれ、1、0とする。)、補正用画像データの矩形領域の各頂点の近傍の輝度分布と、図4(C)に示された7×7画素の輝度値マトリクス(若しくはカーネル)M1〜M4との相関
Cr=ΣNOT(Mk(i,j) EXOR P(x+i,y+j)) …(8)
を算出することにより決定することができる。ここに於いて、Mk(i,j)は、マトリクスMk(k=1,2,3,4)の座標(i,j)[iは横方向、jは縦方向、−3≦i≦3、−3≦j≦3、マトリクスの中心座標は、(0,0)]に於ける輝度値であり、P(x+i,y+j)は、補正用画像データに於ける座標(x+i,y+j)の輝度値である。また、NOT、EXORは、それぞれ否定、排他的論理和であり、Σは、i及びjについての総和である。相関Crは、補正用画像データ上に於いて、マトリクスMkの中心(0,0)を補正用画像データの座標(x,y)に重ね合せた状態で、対応する座標毎に、マトリクスMkの輝度と補正用画像データの輝度Pの輝度の排他的論理和(NOT演算のため、一致したときに1を与える)を演算し、その値をマトリクスMkの範囲−3≦i,j≦3で積分したものに相当し、マトリクスMkのパターン(輝度分布)と補正用画像データのパターンが似ているほど大きくなる。図から理解されるように、マトリクスM1〜M4は、それぞれ、矩形領域に頂点近傍の輝度分布に対応するべく、右下、左下、右上、左上のMk(0,0)を含む4×4個の要素の輝度値が「1」であり、それ以外の要素の値は「0」であるので、マトリクスMkと補正用画像データとの相関を、少なくとも矩形領域の頂点の近傍領域にて(補正用画像データ上で、マトリクスMkの中心位置をずらしながら)算出した場合、相関の最大値を与えるマトリクスM1〜M4の位置(x,y)が、それぞれ、矩形領域のA、B、C、Dの各頂点の位置の座標として特定される。(ここでは、上記検出手法を、「パターン抽出フィルタ法」と呼ぶ)。
The coordinates of the vertex ABCD of the rectangular area of the correction image data are binarized using the appropriate threshold value Th (the luminance values inside and outside the rectangular area are 1 and 0, respectively). ), The correlation between the luminance distribution in the vicinity of each vertex of the rectangular area of the correction image data and the luminance value matrix (or kernel) M1 to M4 of 7 × 7 pixels shown in FIG. 4C. Cr = ΣNOT ( Mk (i, j) EXOR P (x + i, y + j)) (8)
Can be determined by calculating. Here, Mk (i, j) is the coordinate (i, j) of the matrix Mk (k = 1, 2, 3, 4) [i is the horizontal direction, j is the vertical direction, and −3 ≦ i ≦ 3. -3≤j≤3, the center coordinate of the matrix is the luminance value at (0,0)], and P (x + i, y + j) is the coordinate (x + i, y + j) in the correction image data. It is a luminance value. Further, NOT and EXOR are negation and exclusive OR, respectively, and Σ is the sum for i and j. The correlation Cr is obtained by superimposing the center (0, 0) of the matrix Mk on the coordinates (x, y) of the correction image data on the correction image data for each corresponding coordinate. The exclusive OR of the luminance and the luminance P of the correction image data is calculated (because it is a NOT operation, 1 is given when they match), and the value is in the range of the matrix Mk −3 ≦ i, j ≦ 3 This corresponds to the integrated value, and increases as the pattern of the matrix Mk (luminance distribution) and the pattern of the image data for correction are similar. As can be understood from the figure, each of the matrices M1 to M4 includes 4 × 4 matrixes including Mk (0, 0) in the lower right, lower left, upper right, and upper left in order to correspond to the luminance distribution near the vertex in the rectangular area. The luminance value of the element is “1”, and the values of the other elements are “0”. Therefore, the correlation between the matrix Mk and the correction image data is corrected at least in the vicinity of the vertex of the rectangular area (correction). When the calculation is performed on the image data (while shifting the center position of the matrix Mk), the positions (x, y) of the matrices M1 to M4 that give the maximum correlation value are A, B, C, and D of the rectangular areas, respectively. Specified as the coordinates of the position of each vertex. (Here, the detection method is referred to as “pattern extraction filter method”).

各頂点に於いて、相関Crを算出する範囲は、印刷装置2の内部での画像の変倍、印刷時の印刷用紙の給紙誤差、ハガキの大きさの誤差、ユーザが原稿をスキャナ部24にセットするときのセット位置誤差が総合された誤差等を想定して適宜設定されてよい。例えば、補正用画像データ上の矩形領域の頂点Aは、基準画像データの頂点A(X1,Y1)の近傍に存在することが期待されるので、相関Crを算出する範囲は、
X1−δ≦x≦X1+δ
Y1−δ≦y≦Y1+δ
と設定される。δは、変位量を見込んで適宜設定されてよく、例えば、最大5[mm]の変位量が想定される場合には、5[mm]が300DPIで約59画素に相当するので、δ=59とされて良い。
At each vertex, the correlation Cr is calculated within the range of image scaling inside the printing apparatus 2, printing paper feed error during printing, postcard size error, and the user scanning the document with the scanner unit 24. It may be set as appropriate assuming an error in which the set position error when set to is integrated. For example, since the vertex A of the rectangular area on the correction image data is expected to exist in the vicinity of the vertex A 0 (X1, Y1) of the reference image data, the range for calculating the correlation Cr is
X1−δ ≦ x ≦ X1 + δ
Y1-δ ≦ y ≦ Y1 + δ
Is set. δ may be appropriately set in consideration of the amount of displacement. For example, when a maximum amount of displacement of 5 [mm] is assumed, since 5 [mm] corresponds to about 59 pixels at 300 DPI, δ = 59 Good to be.

相関Crを用いた頂点の座標の特定は、例えば、図5に於いてフローチャートの形式で記載された演算処理により為される。なお、例として、M1を用いて、頂点Aを特定する処理についてのみ説明されるが、頂点B、C、Dについても同様に特定できることは、当業者にとって容易に理解されるべきである。   The apex coordinates using the correlation Cr are specified by, for example, the arithmetic processing described in the form of a flowchart in FIG. As an example, only the process of specifying the vertex A using M1 will be described. However, it should be easily understood by those skilled in the art that the vertexes B, C, and D can be specified in the same manner.

同図を参照して、まず、M1を用いた相関Crの演算処理の初期値として、x=X1−δ、y=Y1−δ、Crmax=0(CrmaxはCrの最大値)が設定される(ステップS11)。そして、−3≦i,j≦3の範囲で、(x,y)に於ける相関Crを算出し(ステップS12)、CrがCrmaxよりも大きい場合には(ステップS13)、CrがCrmaxとして、そのときの(x,y)が(xmax,ymax)として記憶される(ステップS14)。ついで、xの値を増大し(ステップS15)、x>X1+δとなるまで(ステップS16)、ステップS12−S15が繰り返される。x>X1+δとなったときには、yの値が増大されるとともにxが初期値X1−δに戻され(ステップS17)、再び、x>X1+δとなるまで(ステップS16)、ステップS12−S15が繰り返される。x>X1+δとなる度にyの値を増大して、ステップS12−S17の処理を、y>Y1+δとなるまで(ステップS18)、反復する間、新たに算出されたCrがそれまで設定されていたCrmaxより大きくなる度に、Crmax、(xmax,ymax)が更新され、かくして、y>Y1+δとなったときには(ステップS18)、相関を演算した領域内で最大の相関値Crが、Crmaxとして記憶されることとなる。既に述べた如く、相関値Crが最大のときに、補正用画像データのパターンとM1のパターンが最も近似していることになるので、そのときのM1の中心位置xmax,ymaxが、頂点Aの座標として特定されることとなる(ステップS19)。なお、マトリクスの寸法は、スキャナ部24で、基準画像の印刷画像を読み取る際のノイズの影響を受けないよう任意に設定されてよい。   Referring to the figure, first, x = X1-δ, y = Y1-δ, Crmax = 0 (Crmax is the maximum value of Cr) is set as the initial value of the correlation Cr calculation process using M1. (Step S11). Then, the correlation Cr at (x, y) is calculated in the range of −3 ≦ i and j ≦ 3 (step S12). If Cr is larger than Crmax (step S13), Cr is set as Crmax. Then, (x, y) at that time is stored as (xmax, ymax) (step S14). Next, the value of x is increased (step S15), and steps S12 to S15 are repeated until x> X1 + δ (step S16). When x> X1 + δ, the value of y is increased and x is returned to the initial value X1-δ (step S17), and steps S12-S15 are repeated until x> X1 + δ again (step S16). It is. Every time x> X1 + δ, the value of y is increased, and the newly calculated Cr is set so far while repeating the processing of steps S12-S17 until y> Y1 + δ (step S18). Crmax, (xmax, ymax) is updated each time when it exceeds Crmax. Thus, when y> Y1 + δ is satisfied (step S18), the maximum correlation value Cr in the region where the correlation is calculated is stored as Crmax. Will be. As already described, when the correlation value Cr is maximum, the correction image data pattern and the pattern of M1 are closest to each other. Therefore, the center positions xmax and ymax of M1 at that time are those of the vertex A. The coordinates are specified (step S19). The dimensions of the matrix may be arbitrarily set so as not to be affected by noise when the scanner unit 24 reads the print image of the reference image.

ところで、例えば、矩形領域内外の値を(1,0)に二値化して、補正用画像データ全体の輝度の積算値(ΣP(x,y):Σは、x、yについての総和)と、基準画像データの全体の輝度を積算値(ΣP(x,y):Σは、x、yについての総和)との比を求めることにより、変倍率Nが算出することができる。また、シフト量Sx、Syは、基準画像データの全体の輝度重心からの補正用画像データの全体の輝度重心の変位量を算出することにより求められる。(矩形領域の外部は、輝度が0なので、画像データ全体の輝度の積算値は、矩形領域の面積に比例し、画像データの全体の輝度重心は、矩形領域の重心となる。) By the way, for example, the value inside and outside the rectangular area is binarized to (1, 0), and the integrated luminance value (ΣP (x, y): Σ is the sum of x and y) of the entire correction image data The scaling factor N can be calculated by obtaining the ratio of the overall luminance of the reference image data to the integrated value (ΣP 0 (x, y): Σ is the sum of x and y). Further, the shift amounts Sx and Sy are obtained by calculating the displacement amount of the entire luminance centroid of the correction image data from the entire luminance centroid of the reference image data. (Because the luminance is 0 outside the rectangular area, the integrated value of the luminance of the entire image data is proportional to the area of the rectangular area, and the luminance centroid of the entire image data is the centroid of the rectangular area.)

(ii)補正用パラメータの算出の第二の実施形態
補正用パラメータの算出の別の実施形態に於いて、図6(A)に示されている如き直角三角形のパターンを有する基準画像が採用されてもよい。同図に於いて、直角三角形の直角の頂点Oは、基準画像の中心(Xmax/2,Ymax/2)に一致し、頂点E、Fは、それぞれ、基準画像の上辺及び左辺よりdだけ離れた点(Xmax/2,d)、(d,Ymax/2)に位置する。直角三角形の辺の太さは、例えば、6画素程度であってよい。
(Ii) Second Embodiment of Calculation of Correction Parameter In another embodiment of correction parameter calculation, a reference image having a right triangle pattern as shown in FIG. 6A is employed. May be. In the figure, the right vertex O of the right triangle coincides with the center (Xmax / 2, Ymax / 2) of the reference image, and the vertices E and F are separated by d from the upper and left sides of the reference image, respectively. Are located at the points (Xmax / 2, d) and (d, Ymax / 2). The thickness of the side of the right triangle may be about 6 pixels, for example.

図6(A)の基準画像を印刷装置2に通すと、印刷媒体上に載るのは、同図中の点線にて囲まれた矩形領域のみとなり、従って、図6(B)の如く、頂点E、Fが切り取られた状態にて印刷されることとなる。しかしながら、図6(B)の印刷画像を画像読取装置1に取り込んで得た補正用画像データに於いて、基準画像の上辺及び左辺よりdだけ離れた点G(xg,d)、H(xh,d)、I(d,yi)、J(d,yj)及び直角の頂点Oの印刷像o(xo,yo)を特定すると、直角三角形の幾何学的性質から、同図形の全体の寸法と印刷媒体上に於ける位置を特定することができる。かくして、印刷媒体上での直角三角形の寸法と位置に基づいて、変倍率N及びシフト量S又は切り取られる周縁部の幅と方向が見積もられる。   When the reference image in FIG. 6A is passed through the printing apparatus 2, only the rectangular area surrounded by the dotted line in FIG. 6 is placed on the print medium. Therefore, as shown in FIG. Printing is performed with E and F cut off. However, in the correction image data obtained by taking the print image of FIG. 6B into the image reading apparatus 1, points G (xg, d), H (xh) that are separated from the upper and left sides of the reference image by d. , D), I (d, yi), J (d, yj) and the printed image o (xo, yo) at the right vertex O, the geometric dimensions of the right triangle give the overall dimensions of the figure. And the position on the print medium can be specified. Thus, based on the size and position of the right triangle on the print medium, the scaling factor N and the shift amount S or the width and direction of the peripheral edge to be cut off are estimated.

図6(B)を参照して、Y方向の変倍率Nは、
=(oH+v1)/OE
であるので、v1=HG・tanθ=h1・tanθの関係を用いて、
=(yo−d+h1・tanθ)/(Ymax/2−d) …(9a)
ここで、h1=xh−xgであり、tanθ=(yi−d)/(xg−d)である。
また、X方向の変倍率Nは、h2=IJ/tanθ=v2/tanθより、
=(oJ+h2)/OF
=(xo−d+v2/tanθ)/(Xmax/2−d) …(9b)
ここで、v2=yj−yiである。
シフト量Sは、
Sx=Xmax/2−xo; Sy=Ymax/2−yo …(10)
にて与えられる。
Referring to FIG. 6 (B), magnification N Y in the Y direction,
N Y = (oH + v1) / OE
Therefore, using the relationship of v1 = HG · tan θ = h1 · tan θ,
N Y = (yo−d + h1 · tan θ) / (Ymax / 2−d) (9a)
Here, h1 = xh-xg and tan θ = (yi-d) / (xg-d).
Also, the scaling factor N X in the X direction, than h2 = IJ / tanθ = v2 / tanθ,
N X = (oJ + h2) / OF
= (Xo−d + v2 / tan θ) / (Xmax / 2−d) (9b)
Here, v2 = yj−yi.
The shift amount S is
Sx = Xmax / 2-xo; Sy = Ymax / 2-yo (10)
Given in

これらの値は、第一の実施形態の場合と同様に、通常モードでの原稿画像データ又は面付け画像データの補正に用いるべく、補正用パラメータとして、パラメータメモリに記憶される。なお、当業者にとって理解される如く、上記の実施形態に於いて、所定のパターンとして直角頂点が画像の中心に配置された直角三角形が用いられているが、補正用画像データ上に於いて一部が切り取られていても、幾何学的な性質により、切り取られた部分の位置及び寸法が特定される任意のパターンが採用されてよいことは理解されるべきであり、そのような場合も本発明の範囲に属する。   As in the case of the first embodiment, these values are stored in the parameter memory as correction parameters to be used for correcting the document image data or the imposition image data in the normal mode. As will be understood by those skilled in the art, in the above embodiment, a right triangle having a right vertex placed at the center of the image is used as the predetermined pattern. It should be understood that even if a part is cut out, any pattern may be employed in which the geometrical nature identifies the position and dimensions of the cut out part. It belongs to the scope of the invention.

上記のパラメータを算出する際、補正用画像データを、三角形の辺の像と背景の輝度値が「1、0」となるように二値化して、例えば、点G(xg,d)、H(xh,d)は、補正用画像データの(x,d)行に於いて(x=0〜Xmax−1)、輝度値「1」である画素列の位置と幅を検出し、その画素列の中心が、点G又は点Hとして特定される。図6(C)に示す如く、(x,d)行に於いて、(xn,d)から(xne,d)まで、及び、(xm,d)から(xme,d)までが、輝度値「1」であったとすると、xg=(xne+xn)/2;xh=(xme+xm)/2と特定される。輝度値「1」である画素列を検出する方法は、例えば、補正用画像データの(x,d)行の画素の輝度値を逐次的に検査し、画素の輝度値「1」が4pix以上連続して検出されたときに、画素列であると判断することにより為される(かかる方法によれば、4pix未満の輝度値「1」の列は、ノイズとして除外することができる。)。同様に、点I(d,yi)、J(d,yj)は、補正用画像データの(d,y)列に於いて(y=0〜Ymax−1)、輝度値「1」である画素列の位置と幅を検出し、その画素列の中心が、点I又は点Jとして特定される(図示せず)。頂点Oの印刷像o(xo,yo)は、図6(D)に示すマトリクスM5を用いて、図5のフローチャートに記載されている如き相関Crを印刷像oの近傍にて計算することより決定されてよい。   When calculating the above parameters, the correction image data is binarized so that the luminance value of the image of the triangle and the background is “1, 0”, for example, points G (xg, d), H (Xh, d) detects the position and width of the pixel column having the luminance value “1” in the (x, d) row of the correction image data (x = 0 to Xmax−1), and the pixel The center of the column is identified as point G or point H. As shown in FIG. 6C, in (x, d) row, (xn, d) to (xne, d) and (xm, d) to (xme, d) are luminance values. If it is “1”, it is specified as xg = (xne + xn) / 2; xh = (xme + xm) / 2. A method for detecting a pixel column having a luminance value “1” is, for example, sequentially inspecting the luminance values of the pixels in the (x, d) row of the correction image data, and the luminance value “1” of the pixels is 4 pix or more. This is done by determining that it is a pixel column when it is continuously detected (according to this method, a column with a luminance value “1” of less than 4 pix can be excluded as noise). Similarly, the points I (d, yi) and J (d, yj) have the luminance value “1” in the (d, y) column of the correction image data (y = 0 to Ymax−1). The position and width of the pixel column are detected, and the center of the pixel column is specified as a point I or a point J (not shown). The printed image o (xo, yo) at the vertex O is obtained by calculating the correlation Cr as described in the flowchart of FIG. 5 in the vicinity of the printed image o using the matrix M5 shown in FIG. May be determined.

(iii)補正用パラメータの算出の第三の実施形態
補正用パラメータの算出の別の実施形態に於いて、図7(A)に示されている如き上下左右の周縁部に所定の間隔にて配置された複数の(例えば、9本)の線分が描かれた基準画像が採用されてもよい。かかる基準画像が、印刷装置2に通されると、図7(B)に示されている如く、画像データの全域が印刷媒体からはみ出るような大きさに調節され、その結果、図中「印刷媒体」と印された矩形枠の内側の領域のみが上下左右の周縁部の線分が切り取られた状態で印刷される。基準画像に於いて、線分の配置されている座標又は画素が分かっているので、印刷画像に於ける線分の数をカウントすることにより、基準画像に於ける上下左右の周縁部の各々において切り取られた幅又は画素数が見積もられる。
(Iii) Third Embodiment of Calculation of Correction Parameter In another embodiment of calculation of correction parameter, the vertical and horizontal peripheral edges as shown in FIG. A reference image on which a plurality of (for example, nine) line segments are drawn may be employed. When the reference image is passed through the printing apparatus 2, as shown in FIG. 7B, the image data is adjusted so that the entire area of the image data protrudes from the print medium. Only the area inside the rectangular frame marked “medium” is printed with the line segments at the top, bottom, left and right edges cut off. In the reference image, the coordinates or pixels where the line segments are arranged are known, so by counting the number of line segments in the printed image, at each of the top, bottom, left, and right edges of the reference image The cut out width or number of pixels is estimated.

補正用画像データ上に於ける線分の本数のカウントは、補正用画像データを、線分の像と背景の輝度値が「1、0」となるように二値化して、例えば、線分列が配置されると予想される領域に於いて、線分列に垂直な方向に画素の輝度値を逐次的に検査し、輝度値が「0」から「1」又は「1」から「0」に遷移した回数をカウントすることにより為されて良い。その際、ノイズの影響を除去するために、輝度値の遷移の前後で所定の区間、輝度値が変化しない場合のみをカウントするようになっていてよい。   The number of line segments on the correction image data is counted by binarizing the correction image data so that the luminance value of the line segment image and the background is “1, 0”. In the region where the column is expected to be arranged, the luminance value of the pixel is sequentially examined in the direction perpendicular to the line segment column, and the luminance value is changed from “0” to “1” or “1” to “0”. This may be done by counting the number of times of transition to "." At that time, in order to remove the influence of noise, only a case where the luminance value does not change in a predetermined section before and after the transition of the luminance value may be counted.

かくして、基準画像に於いて上下左右の周縁部の各々において切り取られた幅Wt,Wb,Wl,Wr(単位は画素数)が特定されると、印刷媒体上に印刷される領域(図7(A)の点線で囲まれた矩形領域)は、X方向について、WlからXmax−Wr−1まで、Y方向についてWtからYmax−Wb−1までと検出され、変倍率は、
=Xmax/(Xmax−Wl−Wr) …(11a)
=Ymax/(Ymax−Wt−Wb) …(11b)
にて与えられる。また、シフト量Sx、SyもWt,Wb,Wl,Wrを用いて算出されてよい(シフト量Sx、Syは、Sx=Nx×(Wl−Wr)/2;Sy=Ny×(Wt−Wb)/2により与えられる。)。かくして算出された値は、補正用パラメータとしてパラメータメモリに格納される。
Thus, when the widths Wt, Wb, Wl, and Wr (units are the number of pixels) cut out at each of the upper, lower, left, and right peripheral portions in the reference image are specified, the area printed on the print medium (FIG. 7 ( A) (rectangular region surrounded by a dotted line) is detected from W1 to Xmax−Wr−1 in the X direction and from Wt to Ymax−Wb−1 in the Y direction.
N X = Xmax / (Xmax−Wl−Wr) (11a)
N Y = Ymax / (Ymax−Wt−Wb) (11b)
Given in The shift amounts Sx, Sy may also be calculated using Wt, Wb, Wl, Wr (shift amounts Sx, Sy are Sx = Nx × (Wl−Wr) / 2; Sy = Ny × (Wt−Wb). ) / 2.). The value thus calculated is stored in the parameter memory as a correction parameter.

(iv)補正用パラメータの算出の第四の実施形態
補正用パラメータの算出の別の実施形態として、図8(A)に示されている如き、十字パターンが予め高精度にて印刷された印刷用紙に、第一乃至第三の実施形態の基準画像を印刷装置2にて印刷し、その印刷画像(図8(B))を画像読取装置1に取り込んで補正用画像データを生成するようになっていてよい。本実施形態によれば、基準画像の印刷画像を画像読取装置1で取り込む際の用紙の配置の傾きやずれを考慮して、補正用画像データの解析を行うことができる。
(Iv) Fourth Embodiment of Calculation of Correction Parameter As another embodiment of correction parameter calculation, printing in which a cross pattern is printed in advance with high accuracy as shown in FIG. The reference image of the first to third embodiments is printed on a sheet by the printing apparatus 2, and the print image (FIG. 8B) is taken into the image reading apparatus 1 to generate correction image data. It may be. According to this embodiment, the correction image data can be analyzed in consideration of the inclination and deviation of the layout of the paper when the image reading apparatus 1 captures the print image of the reference image.

図8(A)又は(B)を参照して、例えば、三つの十字パターンα、β、γが、それぞれ、用紙の角に比較的近い3箇所に、高精度に用紙の中心から測って、X方向、Y方向に沿って所定の長さDx及びDyの位置に配置される。そして、図8(B)のパターンが印刷された印刷画像が、補正用画像データとして画像読取装置1に取り込まれ、パターンと背景がそれぞれ輝度値「1,0」となるように二値化される。かくして、図6(D)に示されている如きマトリクスM5を用いて十字パターンα、β、γの近傍領域にて、第一の実施形態の説明に於いて説明された手法と同様に、画像の相関が算出され、十字パターン中心座標位置のα(x,y)、β(x,y)、γ(x,y)が特定される。 Referring to FIG. 8A or 8B, for example, three cross patterns α, β, and γ are measured from the center of the sheet with high accuracy at three locations relatively close to the corner of the sheet, respectively. Arranged at predetermined lengths Dx and Dy along the X and Y directions. Then, the print image on which the pattern of FIG. 8B is printed is taken into the image reading apparatus 1 as correction image data, and binarized so that the pattern and the background have luminance values “1, 0”, respectively. The Thus, in the vicinity of the cross patterns α, β, γ using the matrix M5 as shown in FIG. 6D, the image is similar to the method described in the description of the first embodiment. Are calculated, and α (x 5 , y 5 ), β (x 6 , y 6 ), and γ (x 7 , y 7 ) at the center coordinate position of the cross pattern are specified.

α、β、γが特定されると、補正用画像データ上に於ける印刷用紙の中心位置(xpc,ypc)が、
xpc=(x+x)/2; ypc=(y+y)/2 …(12)
により、決定することができる。また、画像読取装置1に印刷用紙をセットした際の画像読取装置1の読み込み領域に対する印刷用紙の傾き、換言すれば、補正用画像データに於ける印刷画像の傾きは、図8(C)に示されている如く、αからγへ結ぶ線と補正用画像データのY方向(一点鎖線)との成す角θにより特定される。即ち、
θ=arctan((x−x)/(y−y))
When α, β, and γ are specified, the center position (xpc, ypc) of the printing paper on the correction image data is
xpc = (x 6 + x 7 ) / 2; ypc = (y 6 + y 7 ) / 2 (12)
Can be determined. Further, the inclination of the printing paper with respect to the reading area of the image reading device 1 when the printing paper is set in the image reading device 1, in other words, the inclination of the printing image in the correction image data is shown in FIG. As shown, the angle θ is defined by the line connecting α to γ and the Y direction (dashed line) of the correction image data. That is,
θ = arctan ((x 7 -x 5) / (y 7 -y 5))

かくして、用紙の中心位置を(xpc,ypc)と用紙の傾きθを用いて、印刷媒体の中心と補正用画像データの中心とのずれ、(xpc−Xmax/2,ypc−Ymax/2)を修正した後に、αからγへ結ぶ線が補正用画像データのY方向に一致するように座標を回転するべく、
x’=(x−(xpc−Xmax/2))・cosθ+(y−(ypc−Ymax/2))・sinθ
y’=−(x−(xpc−Xmax/2))・sinθ+(y−(ypc−Ymax/2))・cosθ …(13)
により、補正用画像データの座標系(x,y)を(x’,y’)へ変換すると、印刷用紙上での座標系で、パターンの座標(矩形領域ABCD)が表されることとなる。そして、変倍率及びシフト量等の値は、かかる座標変換後の座標値を用いて、上記の実施形態に於いて説明した手法により決定され、パラメータメモリに保存される。かくして、上記の座標変換によれば、補正用パラメータは、印刷媒体上に対応する座標を用いて算出されることとなるので、使用者が基準画像の印刷画像に画像読取装置1にセットするときのセット位置の誤差、即ち、画像読取装置の読取領域に対する印刷媒体のずれを排除できることとなる。なお、本実施形態に於いては、十字パターンが用いられているが、その他のパターンでも同様の作用効果が得られ、そのような場合も本発明の範囲に属することは、当業者にとって理解されるべきである。
Thus, by using (xpc, ypc) and the sheet inclination θ as the center position of the sheet, the shift between the center of the print medium and the center of the image data for correction (xpc−Xmax / 2, ypc−Ymax / 2) is obtained. After correction, in order to rotate the coordinates so that the line connecting α to γ coincides with the Y direction of the correction image data,
x ′ = (x− (xpc−Xmax / 2)) · cos θ + (y− (ypc−Ymax / 2)) · sin θ
y ′ = − (x− (xpc−Xmax / 2)) · sin θ + (y− (ypc−Ymax / 2)) · cos θ (13)
Thus, when the coordinate system (x, y) of the correction image data is converted into (x ′, y ′), the coordinate of the pattern (rectangular area ABCD) is represented in the coordinate system on the printing paper. . Then, values such as the scaling factor and the shift amount are determined by the method described in the above embodiment using the coordinate values after the coordinate conversion, and are stored in the parameter memory. Thus, according to the coordinate conversion described above, the correction parameters are calculated using the corresponding coordinates on the print medium, and therefore when the user sets the print image of the reference image on the image reading apparatus 1. Thus, it is possible to eliminate the error of the set position, that is, the deviation of the print medium from the reading area of the image reading apparatus. In the present embodiment, a cross pattern is used. However, it is understood by those skilled in the art that the same operation and effect can be obtained with other patterns, and such a case also belongs to the scope of the present invention. Should be.

(v)補正用パラメータの算出の第五の実施形態
更に別の実施形態として、図8(D)に示されている如き画像の隅に適当な大きさ(少なくとも印刷時に切り取られない大きさ)の「パッチ」が与えられた基準画像が用いられてよい。図8(D)の基準画像を印刷装置2に通すと、印刷領域と印された点線の矩形領域の内側のみが、印刷媒体上に印刷され、その際、印刷媒体の隅にパッチも印刷される。従って、もし画像読取装置1の読取領域が印刷媒体よりも大きいときには、パッチが印刷された印刷媒体の隅の位置を検出することにより、補正用画像データに於ける印刷媒体の領域が特定できることとなる。印刷媒体の角に相当するパッチの頂点λ(x,y)、μ(x,y)、ν(x10,y10)の座標は、第一の実施形態に於いて矩形領域の頂点を検出する際の相関Crを用いることにより同様に検出される。頂点λ、μ、νの座標を用いて、λを原点として補正用画像データの座標を変換すると、印刷媒体の左上の隅を原点とした座標にて画像データが特定され、補正用画像データの所定のパターンの解析に於いて、使用者が基準画像の印刷画像を画像読取装置1にセットするときのセット位置の誤差を排除できることとなる。なお、図8(D)に於いては、第一の実施形態に於ける矩形領域が与えられているが、第二又は第三の実施形態のパターンであってもよい。
(V) Fifth Embodiment of Calculation of Correction Parameter As yet another embodiment, an appropriate size (at least a size that cannot be cut out during printing) at the corner of the image as shown in FIG. A reference image provided with a “patch” may be used. When the reference image in FIG. 8D is passed through the printing apparatus 2, only the inside of the dotted rectangular area marked as the printing area is printed on the printing medium, and patches are also printed at the corners of the printing medium. The Therefore, if the reading area of the image reading apparatus 1 is larger than the printing medium, the area of the printing medium in the correction image data can be specified by detecting the position of the corner of the printing medium on which the patch is printed. Become. The coordinates of the vertices λ (x 8 , y 8 ), μ (x 9 , y 9 ), and ν (x 10 , y 10 ) corresponding to the corners of the print medium are rectangular regions in the first embodiment. It is detected in the same manner by using the correlation Cr when detecting the vertices. Using the coordinates of the vertices λ, μ, and ν, when the coordinates of the image data for correction are converted with λ as the origin, the image data is specified with the coordinates with the upper left corner of the print medium as the origin, and the correction image data In the analysis of the predetermined pattern, an error in the setting position when the user sets the print image of the reference image on the image reading apparatus 1 can be eliminated. In FIG. 8D, the rectangular area in the first embodiment is given, but the pattern in the second or third embodiment may be used.

レイアウト構成
本発明の画像読取装置1の通常モードに於いては、読み取った原稿画像を同一寸法で印刷するだけでなく、任意の種々のレイアウトにて、原稿画像が印刷できるようになっていてよい。例えば、「多面付け印刷」モード、即ち、図9(A)に示されている如き、シール用紙50、即ち、複数(例えば、4、9,16面など)の切り込み枠52が施され、各々の枠を一枚ずつ剥がしてシールとして使用できる用紙に於いて原稿画像(図9(B))を各々の枠52内に収まるようなレイアウトにて配置し印刷するモードが実行できるようになっていてよい(図9(C))。また、読み取った原稿画像の周りに所定の幅の縁又は余白が設けられるようになっていてもよい(「フチ付き印刷」)。好ましくは、いくつかのレイアウトが予め準備され、使用者が適宜選択できるようプログラムされていてよい。
Layout Configuration In the normal mode of the image reading apparatus 1 of the present invention, not only the read document image is printed with the same dimensions, but the document image may be printed in any of various layouts. . For example, as shown in FIG. 9A, a “multi-sided printing” mode, that is, a sticker sheet 50, that is, a plurality of (for example, 4, 9, 16, etc.) cutting frames 52 is applied. A mode in which the original image (FIG. 9B) is arranged in a layout that fits within each frame 52 on a sheet that can be used as a seal by removing the frames one by one can be executed. (FIG. 9C). Further, an edge or a margin with a predetermined width may be provided around the read original image (“print with border”). Preferably, several layouts are prepared in advance and may be programmed so that the user can appropriately select them.

読み取った原稿画像を同一寸法で印刷するのではなく、使用者により選択された或るレイアウトにて画像を印刷する場合には、レイアウト構成部10eにて、所定の寸法の無地の画像データ、例えば、画素数X×Yで、全画素の輝度値がRGBで(255,255,255)の画像データが準備され、その画像データの所定の領域に原稿画像データが貼り付けられる(「面付け」される)。「多面付け印刷」の場合、例えば、図9(A)のシール用紙が用いられる場合、無地画像データ上に於いて、シール用紙の個々の枠の領域に対応する位置が、予め特定されている。画像読取装置1で読み取られた原稿画像データは、シール用紙の個々の枠の領域の寸法に一致するように当業者に於いて公知の任意の方法にて縮小され、シール用紙の個々の枠の領域の位置に対応する領域に貼り付けられる(画素の輝度値が置き換えられる)。また、フチ付き印刷の場合(図示せず)には、無地画像データ上に於いて所定の幅の余白が定められ、原稿画像データは、その余白よりも内側の領域に適宜拡大縮小されて貼り付けられ、フチ付き面付け画像データが生成される。なお、多面付け印刷やフチ付き印刷に於いて、余白となる領域に任意の色を与えてもよく、その場合には、無地の画像データのRGB値が任意の値に変更されるようになっていてよい。当業者にとって、上記の処理と同様の処理にて、任意のレイアウトの面付け画像データを生成できることは理解されるべきであり、そのような場合も本発明の範囲に属する。   When the read original image is not printed with the same size, but is printed with a certain layout selected by the user, the layout component 10e uses plain image data of a predetermined size, for example, , Image data with the number of pixels X × Y and the luminance values of all pixels in RGB (255, 255, 255) is prepared, and the original image data is pasted in a predetermined area of the image data (“imposition”). ) In the case of “multi-sided printing”, for example, when the sticker sheet of FIG. 9A is used, the position corresponding to each frame area of the sticker sheet is specified in advance on the plain image data. . The document image data read by the image reading device 1 is reduced by any method known to those skilled in the art so as to match the size of the area of each frame of the sticker paper, and Affixed to the area corresponding to the position of the area (the luminance value of the pixel is replaced). In the case of printing with a border (not shown), a blank having a predetermined width is defined on the plain image data, and the original image data is appropriately scaled and pasted in an area inside the blank. The imposition image data with a border is generated. In multi-sided printing and bordered printing, an arbitrary color may be given to a blank area. In that case, the RGB value of plain image data is changed to an arbitrary value. It may be. It should be understood by those skilled in the art that imposition image data having an arbitrary layout can be generated by a process similar to the above process, and such a case is also within the scope of the present invention.

ところで、原稿を画像読取装置1にセットした際には、原稿の位置が画像読取装置の読取領域からずれたり、或いは、原稿の寸法が読取領域より小さかったりすることがある。その場合、原稿の媒体のフチが影のように読み取った画像データに写り込んでしまうことがある。そこで、かかる原稿の媒体のフチの写り込みを回避するために、読み取った原稿画像データは、レイアウト構成部10eにて、周縁部が所定量切り取られるようになっていてよい(トリミング処理)。典型的には、トリミング処理は、原稿画像データの全体を実質的にそのまま画像補正部10aへ送る場合、又は、上記の多面付け印刷又はフチ付き印刷のためのレイアウト構成を行う場合に、それらの処理に先立って行われることが好ましい。   By the way, when a document is set on the image reading apparatus 1, the position of the document may deviate from the reading area of the image reading apparatus, or the dimension of the document may be smaller than the reading area. In that case, the border of the original medium may appear in the image data read like a shadow. Therefore, in order to avoid such a margin of the original medium, the read original image data may be trimmed by a predetermined amount in the layout component 10e (trimming process). Typically, in the trimming process, when the entire document image data is sent to the image correction unit 10a substantially as it is, or when the layout configuration for the above-described multi-sided printing or bordered printing is performed, It is preferably performed prior to processing.

補正原稿画像データの生成
本発明の画像読取装置1の通常モードでは、画像補正部10aに於いて、補正用パラメータを用いて、原稿画像データ又は面付け画像データ(レイアウト構成部10eにて何等かのレイアウト編集がなされた原稿画像データ)を補正して、印刷媒体で所望のレイアウトにて画像が印刷されるよう補正原稿画像データが生成される。補正原稿画像データは、以下に説明するいくつかの手法により、その印刷領域に原稿画像データ又は面付け画像データが割り当てられた状態の画像データである。既に述べた如く、印刷装置2が、印刷装置2のフチ無し印刷モードに於いて、補正原稿画像データを受信し印刷を実行する際には、印刷装置2の内部の設定に従って、補正原稿画像データ全体の表す画像が、印刷媒体から所定幅だけはみ出るよう設定され、これにより、補正原稿画像データの印刷領域が、印刷媒体に整合され、かくして、印刷媒体上に所望の大きさ又は所望のレイアウトにて画像が印刷されることとなる。
In the normal mode the generation of the image reading apparatus 1 of the present invention the corrected original image data, in the image correction unit 10a, using a correction parameter, what like by the document image data or the imposition image data (layout forming unit 10e The corrected original image data is generated so that the image is printed with a desired layout on the print medium. The corrected document image data is image data in a state where document image data or imposition image data is assigned to the print area by several methods described below. As described above, when the printing apparatus 2 receives the corrected original image data and executes printing in the borderless printing mode of the printing apparatus 2, the corrected original image data is set according to the internal setting of the printing apparatus 2. The entire image is set to protrude from the print medium by a predetermined width, so that the print area of the corrected original image data is aligned with the print medium, and thus has a desired size or a desired layout on the print medium. The image is printed.

本発明の画像読取装置1に於いては、補正原稿画像データの生成に関して、三つのモード、「ぴったり印刷モード」、「フチ無し印刷モード」、「フチ付き印刷モード」のいずれかにて印刷できるよう構成されてよい。以下、それぞれのモードに於ける補正原稿画像データの生成処理について説明する。   In the image reading apparatus 1 of the present invention, with respect to the generation of corrected document image data, printing can be performed in any one of three modes, “perfect printing mode”, “borderless printing mode”, and “bordered printing mode”. May be configured as follows. Hereinafter, generation processing of corrected document image data in each mode will be described.

(i)ぴったり印刷モード
ぴったり印刷モードに於いては、面付け画像データ又は原稿画像データ全域が印刷装置2へ送信される補正原稿画像データの印刷領域の全面に一致するよう割り付けられ、かくして、補正原稿画像データが印刷装置2へ送信されると、面付け画像データ又は原稿画像データの画像の全体が、印刷媒体の全面に実質的に一致するよう印刷される。
In (i) perfect printing mode perfect printing mode, assigned to imposition image data or the original image data whole matches the entire surface of the print area of the corrected original image data to be transmitted to the printer 2, thus, the correction When the document image data is transmitted to the printing apparatus 2, the imposition image data or the entire image of the document image data is printed so as to substantially match the entire surface of the print medium.

ぴったり印刷モードにて補正原稿画像データを生成する一つの態様に於いて、補正原稿画像データの全域を画定する台紙用画像データが準備される。Xmax×Ymaxの寸法を有する面付け画像データ又は原稿画像データの解像度を落とさずに補正原稿画像データを生成する場合には、台紙用画像データの寸法は、図10(A)に示されている如く、N・Xmax×N・Ymaxとされる。そして、面付け画像データ又は原稿画像データは、かかる台紙用画像データに於いてシフト量Sx、Syを考慮して、図中「印刷領域」と印された実際に印刷媒体に載る矩形領域内に貼り付けられる。具体的には、補正原稿画像データの寸法がN・Xmax×N・Ymaxであるので、印刷領域は、台紙用画像データに於いて、
X方向については、
(NXmax−Xmax)/2+Sxから(NXmax+Xmax)/2+Sxまで、…(14a)
Y方向については、
(NYmax−Ymax)/2+Syから(NYmax+Ymax)/2+Syまで…(14b)
の範囲となる。従って、座標[x,y]=[(NXmax−Xmax)/2+Sx,(NYmax−Ymax)/2+Sy]を始点SPとして、面付け画像データ又は原稿画像データの全域の輝度値を台紙用画像データに置くことにより、補正原稿画像データが生成される。また、補正用パラメータの算出の第三の実施形態によれば、印刷装置2に受信されたデータのうち、切り取られる上下左右の周縁部の幅が直接に求められるので、その場合には、台紙用画像データに於いて、(NWl,NWt)、(N(Xmax−Wr),NWt)、(NWl,N(Ymax−Wb))、(N(Xmax−Wr),N(Ymax−Wb))の四つの点に囲まれる領域に面付け画像データを挿入することにより補正原稿画像データが生成されてよい。
In one aspect of generating the corrected document image data in the perfect print mode, mount image data that defines the entire area of the corrected document image data is prepared. When the corrected document image data is generated without reducing the resolution of the imposition image data or document image data having a size of Xmax × Ymax, the dimensions of the mount image data are shown in FIG. Thus, N X · Xmax × N Y · Ymax. Then, the imposition image data or the document image data is in a rectangular area that is actually marked on the print medium in the figure and marked with “print area” in consideration of the shift amounts Sx and Sy in the mount image data. It is pasted. Specifically, since the size of the correction original image data is a N X · Xmax × N Y · Ymax, print area, in the image data carrier sheet,
For the X direction,
From (N X Xmax−Xmax) / 2 + Sx to (N X Xmax + Xmax) / 2 + Sx, (14a)
For the Y direction,
From (N Y Ymax-Ymax) / 2 + Sy until (N Y Ymax + Ymax) / 2 + Sy ... (14b)
It becomes the range. Accordingly, with the coordinates [x, y] = [(N X Xmax−Xmax) / 2 + Sx, (N Y Ymax−Ymax) / 2 + Sy] as the starting point SP, the luminance values of the entire area of the imposition image data or the document image data are mounted. By placing it in the image data for use, corrected document image data is generated. Further, according to the third embodiment for calculating the correction parameter, the width of the upper, lower, left and right peripheral edges to be cut out of the data received by the printing apparatus 2 is directly obtained. (N X W1, N Y Wt), (N X (Xmax−Wr), N Y Wt), (N X W1, N Y (Ymax−Wb)), (N X (Xmax -Wr), N Y (Ymax-Wb)). The corrected document image data may be generated by inserting imposition image data into a region surrounded by four points.

他方、台紙用画像データの寸法を基準画像データの寸法Xmax×Ymaxと同一にする場合には、図10(B)に示される如く、寸法Xmax×Ymaxの台紙用画像データが準備される。面付け画像データ又は原稿画像データは、(Xmax/N)×(Ymax/N)に縮小され、式(7a,b)に示されている領域(図中の印刷領域)に貼り付けられ、かくして、補正原稿画像データが生成される。また、補正用パラメータの算出の第三の実施形態によれば、印刷装置2に切り取られる上下左右の周縁部の幅のデータを用いて、(Wl,Wt)、(Xmax−Wr,Wt)、(Wl,Ymax−Wb)、(Xmax−Wr,Ymax−Wb)の四つの点に囲まれる領域に面付け画像データを縮小して挿入することにより補正原稿画像データが生成されてよい。 On the other hand, when the size of the mount image data is the same as the size Xmax × Ymax of the reference image data, the mount image data of the size Xmax × Ymax is prepared as shown in FIG. Imposition image data or the original image data is reduced to (Xmax / N X) × ( Ymax / N Y), affixed to the equation (7a, b) region shown in (printing area in the drawing) Thus, corrected document image data is generated. Further, according to the third embodiment of the correction parameter calculation, (Wl, Wt), (Xmax−Wr, Wt), using the data of the widths of the upper, lower, left and right peripheral edges cut by the printing apparatus 2, Corrected document image data may be generated by reducing and inserting imposition image data into an area surrounded by four points (Wl, Ymax-Wb) and (Xmax-Wr, Ymax-Wb).

なお、上記の補正原稿画像データの生成に於いて、N=N=1の場合には、変倍補正をしないこととなり、Sx=Sy=0の場合は、シフト補正をしないこととなる。画像読取装置1の設計又は使用者の選択により変倍率による補正又はシフト量による補正のいずれか一方のみを実行するようになっていてよく、その場合も本発明の範囲に属することは理解されるべきである。 In the generation of the corrected document image data described above, when N X = N Y = 1, zoom correction is not performed, and when Sx = Sy = 0, shift correction is not performed. . Depending on the design of the image reading apparatus 1 or the user's selection, only one of the correction by the variable magnification or the correction by the shift amount may be executed, and it is understood that this case also belongs to the scope of the present invention. Should.

ぴったり印刷モードにて補正原稿画像データを生成するもう一つの態様に於いて、補正原稿画像データは、面付け画像データ又は原稿画像データの周縁の外に枠データを付加することにより生成されてよい。面付け画像データ又は原稿画像データの上下左右の周縁部に付加されるべき枠の幅は、変倍率N、N及びシフト量Sx、Syに基づいて又は補正用パラメータの算出の第三の実施形態の場合には、Wt,Wb,Wl,Wrに基づいて容易に求められる(第三の実施形態の場合、補正原稿画像データの寸法をXmax×Ymaxとするときには、Wt,Wb,Wl,Wrの値が枠の幅になる。)。生成された補正原稿画像データは、台紙用画像データを用いた場合と同様になるが、演算時に台紙用画像データのためのメモリを必要としないのでメモリを節約できる点で有利である。 In another aspect of generating the corrected document image data in the perfect print mode, the corrected document image data may be generated by adding imposition image data or frame data outside the periphery of the document image data. . The width of the frame to be added to the top, bottom, left, and right edges of the imposition image data or the document image data is based on the scaling factors N X and N Y and the shift amounts Sx and Sy, or a third parameter for calculating the correction parameter. In the case of the embodiment, it is easily obtained based on Wt, Wb, Wl, Wr (in the case of the third embodiment, when the size of the corrected document image data is Xmax × Ymax, Wt, Wb, Wl, The value of Wr becomes the width of the frame.) The generated corrected document image data is the same as that when the mount image data is used, but it is advantageous in that a memory for the mount image data is not required at the time of calculation, so that the memory can be saved.

上記の如く生成された画像データ(図10(A)、(B))のいずれに於いても、補正原稿画像データの全体の寸法が各々対応する印刷領域の寸法の変倍率N倍になっていることは理解されるべきである。従って、かかる画像データが印刷装置2へ送信され印刷される際、印刷媒体から所定幅はみ出るように、即ち、補正原稿画像データの画像全体が印刷媒体のN倍になるように、印刷媒体上での画像データの単位長さ当たりの画素数が設定されると、面付け画像データ又は原稿画像データの貼り付けられた印刷領域の寸法(補正原稿画像データの寸法の1/N)が印刷媒体の寸法に一致することとなる。また、印刷装置2での印刷時に於ける画像データの表す画像全体の中心と印刷媒体との中心とのずれを予め考慮すべく、補正原稿画像データ中の印刷領域の中心の位置を、図10(A)については、シフト量Sx,yだけ、図10(B)については、Sx/Nx,Sy/Nyだけ、補正原稿画像データの中心の位置からずらしておくことにより、印刷領域と印刷媒体との中心位置とが一致して印刷されることとなる。   In any of the image data generated as described above (FIGS. 10A and 10B), the entire size of the corrected document image data is N times the scaling factor of the size of the corresponding print area. It should be understood that Therefore, when such image data is transmitted to the printing apparatus 2 and printed, the predetermined width of the image is projected from the print medium, that is, the entire image of the corrected document image data is N times the print medium. When the number of pixels per unit length of the image data is set, the size of the print area where the imposition image data or document image data is pasted (1 / N of the size of the corrected document image data) is It will match the dimensions. Further, the position of the center of the print area in the corrected document image data is shown in FIG. 10 in order to consider in advance the deviation between the center of the entire image represented by the image data and the center of the print medium when printing with the printing apparatus 2. For (A), only the shift amount Sx, y and for FIG. 10 (B), only Sx / Nx, Sy / Ny are shifted from the center position of the corrected document image data, so that the print region and the print medium are shifted. And the center position coincide with each other.

(ii)フチ無し印刷モード
上記のぴったり印刷モードでは、画像読取装置で読み取った領域が印刷媒体に一致するように印刷される。しかしながら、原稿を画像読取装置1にセットした際には、原稿の位置が画像読取装置の読取領域からずれたり、或いは、原稿の寸法が読取領域より小さかったりすることがある。その場合、原稿の媒体のフチが影のように読み取った画像データに写り込んでしまうことがある。また、印刷装置2に於いて、印刷用紙の大きさの精度、使用者が印刷装置2に印刷用紙を置くときの置き位置の精度、印刷装置の給紙精度を完璧にすることは不可能なので、印刷用紙が規定サイズよりも大きい場合、印刷用紙が給紙トレイの規定位置からずれた位置に置かれた場合、給紙が斜行した場合に、印刷媒体の周縁部に意図しない余白ができてしまうことも有り得る。そこで、本発明の画像読取装置に於いては、そのような原稿媒体のフチの写り込みや意図しない余白の発生を防ぐために、面付け画像データ又は原稿画像データ全域を印刷媒体から所定量はみ出るように印刷し(インクジェットプリンタの場合であれば、印刷媒体の外に於いて所定の幅だけ、インクが吹付けられることとなる(オーバースプレイ)。)、印刷媒体の周縁部ぎりぎりまで、印刷が施せるよう「フチ無し印刷モード」が実行できるようになっていてよい。
(Ii) Borderless printing mode In the above-described perfect printing mode, printing is performed so that the area read by the image reading apparatus matches the printing medium. However, when a document is set on the image reading apparatus 1, the position of the document may deviate from the reading area of the image reading apparatus, or the size of the document may be smaller than the reading area. In that case, the border of the original medium may appear in the image data read like a shadow. Further, in the printing device 2, it is impossible to perfect the accuracy of the size of the printing paper, the accuracy of the placement position when the user places the printing paper on the printing device 2, and the paper feeding accuracy of the printing device. If the print paper is larger than the specified size, if the print paper is placed at a position deviated from the specified position on the paper feed tray, or if the paper is skewed, an unintended margin will be created at the peripheral edge of the print medium. It can happen. Therefore, in the image reading apparatus of the present invention, the imposition image data or the entire area of the original image data seems to protrude from the print medium in order to prevent such a marginal copy of the original medium and the occurrence of unintended margins. (In the case of an ink jet printer, ink is sprayed by a predetermined width outside the print medium (over spray)), and printing can be performed to the edge of the print medium. “Borderless printing mode” may be executed.

図11(A)を参照して、フチ無し印刷モードに於いて、寸法Xmax×Ymaxの面付け画像データ又は原稿画像データが(送信される画像データの)印刷領域の左右の縁から幅Eだけはみ出るとすると、画像の縦横比を変更しないようにするために、面付け画像データ又は原稿画像データが印刷領域の上下の縁からはみ出る幅は、E・Ymax/Xmaxとなる。   Referring to FIG. 11A, in the borderless printing mode, the imposition image data or document image data of the dimension Xmax × Ymax is only the width E from the left and right edges of the print area (of the transmitted image data). If it protrudes, in order not to change the aspect ratio of the image, the width of the imposition image data or document image data that protrudes from the upper and lower edges of the print area is E · Ymax / Xmax.

面付け画像データ又は原稿画像データをその解像度を変更せずに送信したい場合には、印刷装置2へ送信される補正原稿画像データの寸法を、
X方向をN・(Xmax−2E)
Y方向をN・(Ymax−2E・Ymax/Xmax)
とする。従って、印刷領域の寸法は、
X方向が(Xmax−2E)
Y方向が(Ymax−2E・Ymax/Xmax)
となる。かかる寸法の印刷領域が印刷媒体に印刷された際、画像データの中心に対して、印刷媒体の中心がシフト量Sx、Syだけシフトするので、補正原稿画像データの座標系上での補正原稿画像データの中心と印刷領域の中心とのずれは、シフト量Sx、Syの(Xmax−2E)/Xmax倍になるので、(1−2E/Xmax)Sx,(1−2E/Xmax)Syにより与えられる。かくして、補正原稿画像データに於いて
X=(N・(Xmax−2E)−Xmax)/2+(1−2E/Xmax)Sx
Y=(N・(Ymax−2E・Ymax/Xmax)−Ymax)/2+(1−2E/Xmax)Sy …(15)
を起点として寸法Xmax×Ymaxの面付け画像データ又は原稿画像データを貼り付けた状態とすると、印刷媒体から左右縁がそれぞれEだけ、上下縁がそれぞれE・Ymax/Xmaxだけはみ出た状態で、図中「印刷領域」と記された矩形領域内の面付け画像データ又は原稿画像データが印刷媒体上に印刷されることとなる。
When it is desired to transmit imposition image data or document image data without changing the resolution, the dimensions of the corrected document image data transmitted to the printing apparatus 2 are
X direction is N X · (Xmax-2E)
Y direction is Y Y (Ymax-2E Ymax / Xmax)
And Therefore, the dimensions of the print area are
X direction is (Xmax-2E)
Y direction is (Ymax-2E · Ymax / Xmax)
It becomes. When the print area having such a size is printed on the print medium, the center of the print medium is shifted by the shift amounts Sx and Sy with respect to the center of the image data, so that the corrected original image on the coordinate system of the corrected original image data is displayed. Since the shift between the center of the data and the center of the print area is (Xmax-2E) / Xmax times the shift amounts Sx, Sy, it is given by (1-2E / Xmax) Sx, (1-2E / Xmax) Sy. It is done. Thus, in the correction original image data X = (N X · (Xmax -2E) -Xmax) / 2 + (1-2E / Xmax) Sx
Y = ( NY · (Ymax−2E · Ymax / Xmax) −Ymax) / 2 + (1-2E / Xmax) Sy (15)
Assuming that the imposition image data or document image data of the dimension Xmax × Ymax is pasted from the printing medium, the right and left edges protrude from the print medium by E and the upper and lower edges respectively protrude by E · Ymax / Xmax. The imposition image data or document image data in the rectangular area marked “print area” is printed on the print medium.

かかる補正原稿画像データを生成する際、上記の寸法の台紙用画像データを準備して面付け画像データ又は原稿画像データを貼り付けるようにしてもよく、また、面付け画像データ又は原稿画像データの上下左右の周縁に枠データを付加するようにしてもよい。枠データを付加する場合に、補正用パラメータの算出の第三の実施形態にて得られた印刷装置2に切り取られる上下左右の周縁部の幅のデータWt,Wb,Wl,Wrが用いられる場合には、それらのデータに、N(1−2E/Xmax)又は、N(1−2E/Xmax)を乗じて得た値の幅が、画像データの対応する周縁部に付加される。また、送信する補正原稿画像データの寸法を画像読取装置1の読取時の画像の寸法Xmax×Ymaxと同一にする場合には、面付け画像データ又は原稿画像データを、X、Y方向について、それぞれ、1/{N(1−2E/Xmax)}倍、1/{N(1−2E/Xmax)}倍に変倍し(縮小し)、式(15)にて示された座標値に、X、Y方向について、それぞれ、1/{N(1−2E/Xmax)}倍、1/{N(1−2E/Xmax)}を乗じて得られる座標を面付け画像データ又は原稿画像データの起点として補正原稿画像データ中に埋め込んだ状態とすればよい。なお、上記の一連の処理に於いて、印刷装置2の変倍率とシフト量のいずれか一方のみを考慮して補正原稿画像データを生成するようになっていてもよく、そのような場合も本発明の範囲に属することは理解されるべきである。 When generating such corrected document image data, the mount image data having the above dimensions may be prepared and the imposition image data or document image data may be pasted. Frame data may be added to the top, bottom, left and right edges. When adding frame data, the width data Wt, Wb, Wl, Wr of the widths of the upper, lower, left and right edges cut out by the printing apparatus 2 obtained in the third embodiment for calculating the correction parameters are used. The width of the value obtained by multiplying these data by N Y (1-2E / Xmax) or N X (1-2E / Xmax) is added to the corresponding peripheral portion of the image data. Further, when the size of the corrected document image data to be transmitted is made the same as the image size Xmax × Ymax at the time of reading by the image reading device 1, the imposition image data or the document image data in the X and Y directions respectively. , 1 / {N X (1-2E / Xmax)} times, 1 / {N Y (1-2E / Xmax)} scaled doubles (reduced), a coordinate value indicated by the formula (15) And the coordinates obtained by multiplying the X and Y directions by 1 / {N X (1-2E / Xmax)} times and 1 / {N Y (1-2E / Xmax)}, respectively, The original image data may be embedded in the corrected original image data as a starting point. In the above-described series of processing, the corrected document image data may be generated in consideration of only one of the scaling factor and the shift amount of the printing apparatus 2. It should be understood that it belongs to the scope of the invention.

上記に説明した「フチ無し印刷モード」は、印刷装置2が自己の内部設定により、受信した画像データを印刷媒体からはみ出るように印刷する原理と同様である。しかしながら、印刷装置2の場合、切り取られる周縁部の幅は、使用者によって調節することはできず、また、印刷装置2の機種又は設定により異なるところ、本発明の画像読取装置における「フチ無し印刷モード」によれば、切り取られる周縁部の幅は、印刷装置2の内部設定によらず、一定にすることができる。更に、画像読取装置の設定により切り取られる周縁部の幅Eは、後に「操作パネルの操作」の説明に於いて説明する如く、使用者により調節できるようになっていてもよい。使用者による周縁部の幅の調節は、原稿画像データ又は面付け画像データに対する補正原稿画像データの寸法の比率が1より大きく変倍率以下の範囲になるよう為されることとなる。   The “borderless printing mode” described above is the same as the principle in which the printing apparatus 2 prints the received image data so as to protrude from the printing medium according to its internal settings. However, in the case of the printing apparatus 2, the width of the peripheral edge to be cut out cannot be adjusted by the user, and differs depending on the model or setting of the printing apparatus 2. According to the “mode”, the width of the peripheral edge to be cut out can be made constant regardless of the internal setting of the printing apparatus 2. Further, the width E of the peripheral edge portion to be cut out by the setting of the image reading device may be adjustable by the user as will be described later in the explanation of “operation of the operation panel”. The adjustment of the width of the peripheral edge by the user is performed so that the ratio of the size of the corrected document image data to the document image data or the imposition image data is in a range greater than 1 and less than the scaling factor.

(iii)フチ付き印刷モード
本発明の画像読取装置1に於いて、補正原稿画像データの生成の際に、周縁部にフチ又は余白が設けられるよう印刷されてよい。かかるフチ又は余白は、原稿画像データを上記のレイアウト構成部に於いて面付け画像データを生成する際に設けられ、ぴったり印刷モードにて印刷することによっても得られる。しかしながら、装置1に於いてレイアウト構成部を省略した場合などには、画像補正部10aに於ける設定によってフチ又は余白が設けられるようになっていてよい。
(Iii) Bordered Print Mode In the image reading apparatus 1 of the present invention, when the corrected document image data is generated, printing may be performed so that a margin or a margin is provided at the peripheral edge. Such a border or margin is provided when imposing image data is generated in the above-described layout configuration unit, and can also be obtained by printing in the perfect print mode. However, when the layout component is omitted in the apparatus 1, a border or a margin may be provided depending on the setting in the image correction unit 10a.

図11(B)を参照して、補正原稿画像データの生成の際に、寸法Xmax×Ymaxの面付け画像データ又は原稿画像データの印刷画像の左右に幅Fの余白を設ける場合、上下の幅は、F・Ymax/Xmaxとなる。補正原稿画像データの寸法及び面付け画像データ又は原稿画像データの位置は、フチ無し印刷モードの説明に於いて示した表式に於いて、Eを−Fに置換することにより得られる。また、補正原稿画像データの生成に於いて、台紙用画像データが準備され、その画像データ中の所定の位置に面付け画像データ又は原稿画像データを貼り付けるようにしてもよく、また、面付け画像データ又は原稿画像データに枠データが付加されるようになっていてもよい。かくして、得られた補正原稿画像データに於いて、実際に印刷媒体上に載る領域は、図中「印刷領域」と記された矩形領域内となるので、原稿画像データの周縁部にF又はF・Ymax/Xmaxの余白が生ずることとなる。更に、画像読取装置により与えられる余白の幅は、後に「操作パネルの操作」の説明に於いて説明する如く、使用者の設定により調節できるようになっていてもよい。   Referring to FIG. 11B, when generating the corrected document image data, if margins of width F are provided on the left and right of the imposition image data of size Xmax × Ymax or the print image of document image data, the top and bottom width Is F · Ymax / Xmax. The size of the corrected document image data and the position of the imposition image data or document image data can be obtained by replacing E with -F in the expression shown in the description of the borderless printing mode. Further, in the generation of corrected document image data, mount image data may be prepared, and imposition image data or document image data may be pasted at a predetermined position in the image data. Frame data may be added to image data or document image data. Thus, in the obtained corrected document image data, the region actually placed on the print medium is within the rectangular region indicated as “print region” in the figure, so that F or F is placed at the peripheral portion of the document image data. • A margin of Ymax / Xmax is generated. Further, the margin width provided by the image reading apparatus may be adjusted by the user's setting, as will be described later in the explanation of “operation of the operation panel”.

操作パネルの操作
図12(A)は、本発明の画像読取装置1の表面に設けられる操作パネル20の例を示している。同図を参照して、操作パネル20上には、装置1の電源のON/OFFを行う電源ボタン100、原稿画像の読取及び印刷の開始を指示するためのスタートボタン102、原稿画像の読取及び印刷を停止又は中止するためのストップボタン104、印刷枚数、画像読取装置1の動作モード、レイアウトモード、印刷モード等を表示するディジタル表示部108、プリント枚数の増減、レイアウトの選択等を変更するための選択スイッチ110a、110b及び各種設定項目の切り換えを設定するための切換ボタン112が設けられている。また、図示していないが、印刷装置2の異常、補正用パラメータの未保存等を知らせるための警報ランプ等が設けられていてよい。
Operation of the operation panel Figure 12 (A) shows an example of an operation panel 20 provided in the image reading apparatus 1 of the surface of the present invention. Referring to FIG. 1, on operation panel 20, power button 100 for turning on / off power of apparatus 1, start button 102 for instructing reading of a document image and start of printing, reading of document image, and In order to change the stop button 104 for stopping or stopping printing, the number of printed sheets, the digital display unit 108 for displaying the operation mode, layout mode, printing mode, etc. of the image reading apparatus 1, increase / decrease in the number of printed sheets, selection of layout, etc. The selection switches 110a and 110b and a switching button 112 for setting switching of various setting items are provided. Although not shown, an alarm lamp or the like may be provided for notifying the abnormality of the printing apparatus 2 and the unsaved correction parameters.

既に述べた如く、画像読取装置1は、少なくとも校正モードと通常モードの二つのモードにて選択的に動作する。例えば、画像読取装置1が通電されていない状態で、電源ボタン100を押すと、画像読取装置1は、通常モードに設定され、電源ボタン100と別の任意のボタンとを同時に押すことにより、校正モードに設定されるようになっていてよい。例えば、校正モードが選択されている場合には、ディジタル表示部108に於いて「CALIBRATION MODE」の文字が表示される。(図12B)   As already described, the image reading apparatus 1 selectively operates in at least two modes of the calibration mode and the normal mode. For example, when the power button 100 is pressed while the image reading device 1 is not energized, the image reading device 1 is set to the normal mode, and the power button 100 and another arbitrary button are simultaneously pressed to perform calibration. The mode may be set. For example, when the calibration mode is selected, characters “CALIBRATION MODE” are displayed on the digital display unit 108. (FIG. 12B)

校正モードに於ける動作は、スタートボタン102を押すことにより開始される。スタートボタン102を押すと、自動的に、画像読取装置1から基準画像データが印刷装置2へ送信され、印刷装置2にて基準画像が印刷される。次いで、印刷された基準画像の印刷画像を画像読取装置1にセットし、再度、スタートボタン102を押すと、基準画像の印刷画像が読み込まれて補正用画像データが生成され、上記に説明した補正用パラメータの算出とパラメータメモリへの記憶が自動的に実行される。処理が完了すると、通常モードに移行するようになっていてよい。なお、校正モードに於ける補正用パラメータの算出は、上記の実施形態のうちの何れかのものによって実行されてよい。どの実施形態を採用するかは、装置1の製造・調整時に決定されてもよいが、使用者により選択できるようになっていてもよい。かくして、校正モードに於いては、基本的には、使用者は、スタートボタン102を押すこと、基準画像の印刷画像を画像読取装置1にセットすることを行うだけでよい。   The operation in the calibration mode is started by pressing the start button 102. When the start button 102 is pressed, the reference image data is automatically transmitted from the image reading apparatus 1 to the printing apparatus 2, and the reference image is printed by the printing apparatus 2. Next, when the printed image of the reference image is set in the image reading apparatus 1 and the start button 102 is pressed again, the print image of the reference image is read and image data for correction is generated, and the correction described above Parameter calculation and storage in the parameter memory are automatically executed. When the processing is completed, the mode may be shifted to the normal mode. The calculation of the correction parameter in the calibration mode may be executed by any one of the above embodiments. Which embodiment is adopted may be determined at the time of manufacture / adjustment of the apparatus 1, but may be selected by a user. Thus, in the calibration mode, basically, the user only has to press the start button 102 and set the print image of the reference image in the image reading apparatus 1.

画像読取装置1が通常モードに設定されている場合、ディジタル表示部108に「NORMAL MODE」の表示が為されると伴に、設定項目に関する情報が表示される。設定項目の変更は、切換ボタン112を押すことにより実行され、一つの設定項目における選択は、選択スイッチ110a、110bにより行われてよい。   When the image reading apparatus 1 is set to the normal mode, “NORMAL MODE” is displayed on the digital display unit 108 and information on the setting item is displayed. The setting item is changed by pressing the switching button 112, and selection of one setting item may be performed by the selection switches 110a and 110b.

例えば、画像読取装置1が通常モードに移行すると、まず、印刷枚数の設定が選択され、ディジタル表示部108に印刷枚数が表示され、その状態で、選択スイッチ110a、110bのいずれかを押すことにより変更される。(図12C)   For example, when the image reading apparatus 1 shifts to the normal mode, first, the setting of the number of prints is selected, and the number of prints is displayed on the digital display unit 108. In this state, either one of the selection switches 110a and 110b is pressed. Be changed. (FIG. 12C)

そこで、切換ボタン112を押すと、レイアウト設定が選択され、現在選択されているレイアウトがディジタル表示部108に表示されるようになっていてよい。選択するレイアウトの変更は、選択スイッチ110a、110bを押すことによりなされ、選択スイッチを押すごとにディジタル表示部108が変化する。
例えば、「全面フチなし印刷」…原稿画像データが上記のフチ無し印刷モードにて印刷される(図12D)。(印刷装置2の内部設定によるフチ無し印刷ではない。)「全面フチ付き印刷」…原稿画像データの周囲にフチが設けられて印刷される(図12E)。「16面付け印刷」…図9(C)の如きレイアウトにて印刷される(ぴったり印刷モードが自動的に設定される。)(図12F)。なお、その他のレイアウトが適宜予め準備され選択できるようになっていてよい。
Accordingly, when the switch button 112 is pressed, the layout setting is selected, and the currently selected layout may be displayed on the digital display unit 108. The layout to be selected is changed by pressing the selection switches 110a and 110b, and the digital display unit 108 changes each time the selection switch is pressed.
For example, “full borderless printing”: the document image data is printed in the borderless printing mode (FIG. 12D). (It is not borderless printing by the internal setting of the printing apparatus 2) “Full bordered printing”... Is printed with a border around the document image data (FIG. 12E). “16-sided printing”... Is printed in the layout as shown in FIG. 9C (the perfect print mode is automatically set) (FIG. 12F). Other layouts may be prepared and selected as appropriate in advance.

「全面フチ無し印刷」又は「全面フチ付き印刷」が選択されている場合に、更に、切換ボタン112を押すと、印刷時に切り取られる周縁部の幅又は余白が調節可能となる。例えば、切換ボタン112が押されると、ディジタル表示部108に初めに「k0」(又は「F0」)と表示され、切り取り幅(又は余白幅)が0mmであることが表示される(読み取られた原稿がぴったり印刷モードで印刷される。)。そこで、選択スイッチ110a、110bを押す毎に、幅の設定が、1mm、2mm、…9mmと順次変更され、これと共にディジタル表示部108の表示が「k1」、「k2」、…「k9」(又は「F1」、「F2」、…「F9」)と変更される。   When “full borderless printing” or “full bordered printing” is selected, when the switching button 112 is further pressed, the width or margin of the peripheral edge cut off during printing can be adjusted. For example, when the switch button 112 is pressed, “k0” (or “F0”) is initially displayed on the digital display unit 108, and the cut width (or margin width) is displayed as 0 mm (read). The document is printed in the exact print mode.) Therefore, each time the selection switches 110a and 110b are pressed, the width setting is sequentially changed to 1 mm, 2 mm,... 9 mm, and the display on the digital display unit 108 is simultaneously changed to “k1”, “k2”,. Or “F1”, “F2”,... “F9”).

更に、切換ボタン112を押すことにより、その他の設定項目が選択され、設定値の変更が選択スイッチ110a、110bによりなされ、ディジタル表示部108に設定値の表示がなされるようになっていてよい。   Further, by pressing the switch button 112, other setting items are selected, the setting values are changed by the selection switches 110a and 110b, and the setting values may be displayed on the digital display unit 108.

原稿画像の読み込みと印刷は、スタートボタン102を押すことにより為される。スタートボタン102が押されると、上記の一連の説明の如く、画像読取装置は、原稿画像を読取って原稿画像データを生成し、上記の各種設定に従って且補正用パラメータを用いて補正原稿画像データを生成し印刷装置2へ出力する。印刷装置2は、受信した補正原稿画像データを自己の内部設定に従って画像を印刷媒体に印刷するが、補正原稿画像データは、所望の大きさ又は所望のレイアウトにて原稿画像データ又は面付け画像データが印刷媒体上に載るように調製されているので、印刷装置2の内部設定によらず、使用者の期待通りに画像の印刷が為されることとなる。   Reading and printing of the original image is performed by pressing the start button 102. When the start button 102 is pressed, as described above, the image reading apparatus reads the original image to generate original image data, and generates the corrected original image data according to the above various settings and using the correction parameters. Generate and output to the printing apparatus 2. The printing apparatus 2 prints an image of the received corrected original image data on a print medium according to its own internal settings. The corrected original image data is original image data or imposition image data having a desired size or a desired layout. Therefore, the image is printed as expected by the user regardless of the internal setting of the printing apparatus 2.

図1(A)は、本発明の画像読取装置1の一つの好ましい実施形態の斜視図であり、図1(B)は、画像読取装置1の内部の構成のブロック図である。FIG. 1A is a perspective view of one preferred embodiment of the image reading apparatus 1 of the present invention, and FIG. 1B is a block diagram of the internal configuration of the image reading apparatus 1. 図2は、本発明の画像読取装置1に於ける使用者の操作、画像読取装置1及び印刷装置2の動作の流れを示したものであり、(A)は、校正モードの場合であり、(B)は、通常モードの場合である。FIG. 2 shows a user's operation in the image reading apparatus 1 of the present invention, and a flow of operations of the image reading apparatus 1 and the printing apparatus 2. FIG. 2A shows the case of the calibration mode. (B) is the case of the normal mode. 画像読取装置1の信号処理の流れを機能ブロック図の形式で示した図である。第1及び第2SWは、校正モードの場合には、2に設定され、通常モードの場合には、1に設定される。FIG. 3 is a diagram illustrating a signal processing flow of the image reading apparatus 1 in the form of a functional block diagram. The first and second SWs are set to 2 in the calibration mode and set to 1 in the normal mode. 図4(A)は、本発明の画像読取装置1に於ける補正用パラメータの算出の第一の実施形態に使用される基準画像であり、図4(B)は、図4(A)の基準画像を印刷装置2により印刷した印刷像を画像読取装置1により取り込んで生成された補正用画像データの例である。図中の()内は、画像データ上の座標(画素位置)を示す。図4(A)内の破線で囲まれた領域が印刷領域であり、印刷装置2にて基準画像の印刷を実行した際に、図4(B)の如く、印刷媒体上に印刷されることとなる。なお、基準画像全体の大きさと印刷領域の大きさとの比と、基準画像の中心と印刷領域の中心とのずれは、説明の目的で現実の例よりも誇張して例示されている。図4(C)は、補正用画像データ中の矩形領域の頂点A〜Dの位置を検出するために用いられるマトリックスM1〜M4の構成を示す。枠内の「1」及び「0」は、マトリックス内の輝度値を示している。FIG. 4A is a reference image used in the first embodiment of the correction parameter calculation in the image reading apparatus 1 of the present invention, and FIG. 4B is the reference image of FIG. 5 is an example of correction image data generated by capturing a print image obtained by printing a reference image with the printing apparatus 2 with the image reading apparatus 1; The parentheses in the figure indicate coordinates (pixel positions) on the image data. A region surrounded by a broken line in FIG. 4A is a print region, and when the reference image is printed by the printing apparatus 2, it is printed on the print medium as shown in FIG. 4B. It becomes. It should be noted that the ratio between the size of the entire reference image and the size of the print area and the deviation between the center of the reference image and the center of the print area are exaggerated from the actual example for the purpose of explanation. FIG. 4C shows a configuration of the matrices M1 to M4 used for detecting the positions of the vertices A to D of the rectangular area in the correction image data. “1” and “0” in the frame indicate luminance values in the matrix. 図4(C)のマトリックスM1を用いて補正用画像データ中の矩形領域の頂点の位置を検出するためのアルゴリズムを示すフローチャートを示している。5 is a flowchart showing an algorithm for detecting the position of the vertex of a rectangular area in correction image data using the matrix M1 in FIG. 4C. 図6(A)は、本発明の画像読取装置1に於ける補正用パラメータの算出の第二の実施形態に使用される基準画像であり、図6(B)は、図6(A)の基準画像を印刷装置2により印刷した印刷像を画像読取装置1により取り込んで生成された補正用画像データの例である。図中の()内は、画像データ上の座標(画素位置)を示す。図6(A)内の破線で囲まれた領域が印刷領域であり、印刷装置2にて基準画像の印刷を実行した際に、図6(B)の如く、印刷媒体上に印刷されることとなる。なお、基準画像全体の大きさと印刷領域の大きさとの比と、基準画像の中心と印刷領域の中心とのずれは、説明の目的で現実の例よりも誇張して例示されている。図6(C)は、図6(B)の点G及び点Hの近傍の輝度分布を示しており、点G及び点Hの特定をするための方法を説明する図である。図6(D)は、図6(B)の補正用画像データ中の点oの位置を検出するために用いられるマトリックスM5の構成を示す。枠内の「1」及び「0」は、マトリックス内の輝度値を示している。FIG. 6A is a reference image used in the second embodiment of the correction parameter calculation in the image reading apparatus 1 of the present invention, and FIG. 6B is a diagram of FIG. 5 is an example of correction image data generated by capturing a print image obtained by printing a reference image with the printing apparatus 2 with the image reading apparatus 1; The parentheses in the figure indicate coordinates (pixel positions) on the image data. A region surrounded by a broken line in FIG. 6A is a print region, and when the reference image is printed by the printing apparatus 2, it is printed on the print medium as shown in FIG. 6B. It becomes. It should be noted that the ratio between the size of the entire reference image and the size of the print area and the deviation between the center of the reference image and the center of the print area are exaggerated from the actual example for the purpose of explanation. FIG. 6C shows the luminance distribution in the vicinity of the point G and the point H in FIG. 6B, and is a diagram for explaining a method for specifying the point G and the point H. FIG. 6D shows the configuration of the matrix M5 used to detect the position of the point o in the correction image data shown in FIG. “1” and “0” in the frame indicate luminance values in the matrix. 図7(A)は、本発明の画像読取装置1に於ける補正用パラメータの算出の第三の実施形態に使用される基準画像であり、図7(B)は、図7(A)の基準画像が印刷装置2により印刷される際の基準画像データと印刷媒体との関係を示す。印刷媒体と印された矩形領域内が、印刷媒体上に印刷され、画像読取装置1により取り込まれて補正用画像データとして生成される。FIG. 7A is a reference image used in the third embodiment for calculating the correction parameter in the image reading apparatus 1 of the present invention, and FIG. 7B is the reference image of FIG. The relationship between the reference image data and the print medium when the reference image is printed by the printing apparatus 2 is shown. A rectangular area marked as a print medium is printed on the print medium and is taken in by the image reading apparatus 1 to be generated as correction image data. 図8(A)は、本発明の画像読取装置1に於ける補正用パラメータの算出の第四の実施形態に使用される基準画像を印刷するための印刷用紙を示し、図8(B)は、図8(A)の印刷用紙上に基準画像(第1の実施形態)が印刷された状態を示す。図8(B)の矩形領域内の破線は、比較のため、基準画像データに於ける矩形領域の位置を示している。図8(C)は、図8(B)の印刷像を画像読取装置に取り込んで生成された補正用画像データに於いて、補正用画像データに於ける印刷像の傾きを算出する方法について説明する図である。図8(D)は、本発明の画像読取装置1に於ける補正用パラメータの算出の第五の実施形態に使用される基準画像を示す。図中の()内は、画像データ上の座標(画素位置)である。FIG. 8A shows a printing sheet for printing a reference image used in the fourth embodiment of calculation of correction parameters in the image reading apparatus 1 of the present invention, and FIG. FIG. 8A shows a state where a reference image (first embodiment) is printed on the printing paper of FIG. The broken line in the rectangular area in FIG. 8B indicates the position of the rectangular area in the reference image data for comparison. FIG. 8C illustrates a method for calculating the inclination of the print image in the correction image data in the correction image data generated by taking the print image in FIG. 8B into the image reading apparatus. It is a figure to do. FIG. 8D shows a reference image used in the fifth embodiment of the correction parameter calculation in the image reading apparatus 1 of the present invention. The parentheses in the figure are the coordinates (pixel position) on the image data. 図9(A)は、本発明の画像読取装置1を用いた画像読取・印刷システムにて使用されるシール用紙の例であり、図9(B)は、図9(A)の用紙に面付けされる原稿画像を示す。図9(C)は、図9(B)の画像が面付けされて構成された面付け画像を示す。9A is an example of a sticker sheet used in an image reading / printing system using the image reading apparatus 1 of the present invention, and FIG. 9B is a side view of the sheet of FIG. 9A. Indicates a document image to be attached. FIG. 9C shows an imposition image formed by imposing the image of FIG. 9B. 本発明の画像読取装置1のぴったり印刷モードに於いて生成される補正原稿画像データを示す。図10(A)は、原稿画像データの解像度を落とさずに調製された補正原稿画像データを示し、図10(B)は、原稿画像データの寸法と同一の寸法となるよう調製された補正原稿画像データを示す。FIG. 5 shows corrected original image data generated in the exact printing mode of the image reading apparatus 1 of the present invention. FIG. FIG. 10A shows corrected document image data prepared without reducing the resolution of the document image data, and FIG. 10B shows a corrected document prepared to have the same dimensions as the document image data. Image data is shown. 図11(A)は、本発明の画像読取装置1のフチなし印刷モードに於いて生成される補正原稿画像データを示し、図11(B)は、本発明の画像読取装置1のフチ付き印刷モードに於いて生成される補正原稿画像データを示す。FIG. 11A shows corrected document image data generated in the borderless printing mode of the image reading apparatus 1 of the present invention, and FIG. 11B shows the bordered printing of the image reading apparatus 1 of the present invention. The corrected original image data generated in the mode is shown. 本発明の画像読取装置1の操作パネルの一つの実施形態の模式図を示す。FIG. 2 shows a schematic diagram of one embodiment of an operation panel of the image reading apparatus 1 of the present invention. 印刷装置のフチなし印刷を行った場合に画像データの周縁部が欠けた状態で印刷される様子を示す図。The figure which shows a mode that it prints in the state in which the peripheral part of image data was missing when the borderless printing of a printing apparatus was performed.

符号の説明Explanation of symbols

1…画像読取装置
2…印刷装置
3…画像読取装置の上板
4…操作パネル及びボタン
5…ケーブル
6…メモリカード
24…スキャナ部
50…シール用紙
52…シール枠
DESCRIPTION OF SYMBOLS 1 ... Image reading apparatus 2 ... Printing apparatus 3 ... Upper plate of image reading apparatus 4 ... Operation panel and button 5 ... Cable 6 ... Memory card 24 ... Scanner part 50 ... Sticker paper 52 ... Sticker frame

Claims (26)

画像を読み取って画像データを生成し出力する画像読取装置であって、
原稿の画像を光学的に読み取って該原稿画像を表す信号を生成する画像検出部と、
前記原稿画像を表す信号に基づいて原稿画像データを生成する画像データ生成部と、
画像データを所定の通信規格に対応した任意の印刷装置にて受信可能であり前記印刷装置により前記画像データに対応する画像が印刷可能となる通信方式にて出力する画像データ出力部とを含み、
更に、所定のパターンを含む基準画像を表す基準画像データを前記画像データ出力部から出力して前記印刷装置にて印刷媒体に印刷された印刷画像を前記画像検出部によって読み取り前記画像データ生成部にて生成した補正用画像データに基づいて前記原稿画像データを補正する画像補正処理部を有し、選択的に、該画像補正処理部が前記印刷装置に於いて印刷媒体上で所望の大きさ又は所望のレイアウトにて前記原稿画像に対応する印刷画像を印刷できるよう前記原稿画像データを補正することにより得られた補正原稿画像データが前記画像データ出力部を介して出力されることを特徴とする画像読取装置。
An image reading device that reads an image to generate and output image data,
An image detection unit that optically reads an image of a document and generates a signal representing the document image;
An image data generation unit for generating document image data based on a signal representing the document image;
An image data output unit that can receive image data in an arbitrary printing device that supports a predetermined communication standard, and that outputs an image corresponding to the image data by the printing device.
Further, reference image data representing a reference image including a predetermined pattern is output from the image data output unit, and a print image printed on a print medium by the printing apparatus is read by the image detection unit, and is read by the image data generation unit. An image correction processing unit that corrects the document image data based on the correction image data generated in the above-described manner. Optionally, the image correction processing unit has a desired size or size on the print medium in the printing apparatus. Corrected document image data obtained by correcting the document image data so that a print image corresponding to the document image can be printed in a desired layout is output via the image data output unit. Image reading device.
請求項1の画像読取装置であって、前記基準画像データが、基準画像データ記憶部に記憶されていることを特徴とする画像読取装置。   The image reading apparatus according to claim 1, wherein the reference image data is stored in a reference image data storage unit. 請求項1の画像読取装置であって、前記基準画像データが、予め準備された基準画像原稿を前記画像検出部にて読み取ることにより生成されることを特徴とする画像読取装置。   The image reading apparatus according to claim 1, wherein the reference image data is generated by reading a reference image document prepared in advance by the image detection unit. 請求項1の画像読取装置であって、前記画像補正処理部が、前記基準画像データと前記補正用画像データとに基づいて、前記画像データ出力部から出力された基準画像データの表す画像のうち、前記印刷装置にて印刷媒体上に印刷された領域を検出し、検出された前記領域の情報に基づき前記原稿画像データを補正することを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein the image correction processing unit includes, based on the reference image data and the correction image data, an image represented by the reference image data output from the image data output unit. An image reading apparatus, wherein an area printed on a printing medium is detected by the printing apparatus, and the document image data is corrected based on information on the detected area. 請求項4の画像読取装置であって、前記画像補正処理部が、前記画像データ出力部から出力される基準画像データの寸法と該画像データのうち前記印刷装置にて印刷媒体上に印刷された領域に対応する画像データの寸法との比に基づいて、前記原稿画像データの寸法を補正することを特徴とする画像読取装置。   5. The image reading apparatus according to claim 4, wherein the image correction processing unit is printed on a print medium by the printing device among the dimensions of the reference image data output from the image data output unit and the image data. An image reading apparatus, wherein the size of the original image data is corrected based on a ratio to the size of image data corresponding to a region. 請求項4又は5の画像読取装置であって、前記画像補正処理部が、前記画像データ出力部から出力される基準画像データの表す前記基準画像に於ける前記印刷装置にて印刷媒体上に印刷された領域の位置に基づいて、前記原稿画像データを補正することを特徴とする画像読取装置。   6. The image reading apparatus according to claim 4, wherein the image correction processing unit prints on a print medium by the printing device in the reference image represented by the reference image data output from the image data output unit. An image reading apparatus that corrects the document image data based on the position of the region that has been set. 請求項1の画像読取装置であって、前記画像補正処理部が、前記基準画像データの表す画像中の所定のパターンの寸法と該パターンに対応する前記補正用画像データの表す画像中のパターンの寸法とに基づいて前記原稿画像データを補正することを特徴とする画像読取装置。   The image reading apparatus according to claim 1, wherein the image correction processing unit calculates a size of a predetermined pattern in the image represented by the reference image data and a pattern in the image represented by the correction image data corresponding to the pattern. An image reading apparatus that corrects the document image data based on dimensions. 請求項1又は7の画像読取装置であって、前記画像補正処理部が、前記基準画像データの表す画像中に於ける所定のパターンの位置と該パターンに対応する前記補正用画像データの表す画像中のパターンの位置とに基づいて前記原稿画像データを補正することを特徴とする画像読取装置。   8. The image reading apparatus according to claim 1 or 7, wherein the image correction processing unit includes a position of a predetermined pattern in an image represented by the reference image data and an image represented by the correction image data corresponding to the pattern. An image reading apparatus for correcting the original image data based on a position of a pattern inside. 請求項1の画像読取装置であって、前記基準画像データの寸法が前記画像検出部にて読み取られ前記画像データ生成部にて生成される画像データと同一の寸法であることを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein the size of the reference image data is the same size as the image data read by the image detection unit and generated by the image data generation unit. Reader. 請求項1の画像読取装置であって、前記画像補正処理部が、前記基準画像データの表す画像中の所定のパターンの寸法とそれに対応する前記補正用画像データの表す画像中のパターンの寸法とに基づいて、前記基準画像データの所定のパターンの寸法とそれに対応するパターンの前記印刷画像中での寸法との比である変倍率を算出し、前記変倍率に基づき、前記原稿画像に対応する印刷画像が所望の大きさとなるよう前記原稿画像データを補正することを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein the image correction processing unit includes a dimension of a predetermined pattern in an image represented by the reference image data and a dimension of a pattern in the image represented by the correction image data corresponding thereto. And calculating a scaling factor that is a ratio of the dimension of the predetermined pattern of the reference image data to the dimension of the corresponding pattern in the print image, and corresponding to the original image based on the scaling factor. An image reading apparatus for correcting the original image data so that a print image has a desired size. 請求項1又は10の画像読取装置であって、前記画像補正処理部が、前記基準画像データの表す画像中の所定のパターンの位置とそれに対応する前記補正用画像データの表す画像中のパターンの位置とに基づいて、前記基準画像データの所定のパターンの位置とそれに対応するパターンの前記印刷画像中での位置とのシフト量を算出し、前記シフト量に基づき、原稿画像に対応する印刷画像が印刷媒体上で所望の位置にて印刷されるよう前記原稿画像データを補正することを特徴とする画像読取装置。   11. The image reading apparatus according to claim 1, wherein the image correction processing unit calculates a position of a predetermined pattern in an image represented by the reference image data and a pattern in the image represented by the correction image data corresponding to the position. A shift amount between a position of a predetermined pattern of the reference image data and a position of the corresponding pattern in the print image is calculated based on the position, and the print image corresponding to the document image is calculated based on the shift amount. An image reading apparatus that corrects the original image data so that is printed at a desired position on a print medium. 請求項1の画像読取装置であって、前記所定のパターンが、その全体が前記補正用画像データ内に収容される寸法を有していることを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein the predetermined pattern has a size that can be accommodated entirely in the correction image data. 請求項1の画像読取装置であって、前記所定のパターンが、その一部が前記補正用画像データからはみ出る寸法を有していることを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein a part of the predetermined pattern protrudes from the correction image data. 請求項13の画像読取装置であって、前記所定のパターンの前記補正用画像データからはみ出る部分の大きさに基づいて前記補正用画像データからはみ出る前記基準画像の周縁部の幅が算出されることを特徴とする画像読取装置。   14. The image reading apparatus according to claim 13, wherein a width of a peripheral portion of the reference image protruding from the correction image data is calculated based on a size of a portion protruding from the correction image data of the predetermined pattern. An image reading apparatus. 請求項1の画像読取装置であって、前記画像補正処理部が、台紙用画像データを生成し、原稿画像に対応する印刷画像が印刷媒体上に於いて印刷媒体上で所望の大きさ又は所望のレイアウトにて印刷されるよう前記台紙用画像データ上に原稿画像データを貼り付けて補正原稿画像データを生成することを特徴とする画像読取装置。   The image reading apparatus according to claim 1, wherein the image correction processing unit generates mount image data, and a print image corresponding to an original image is a desired size or desired on the print medium. An image reading apparatus for generating corrected original image data by pasting original image data on the mount image data so as to be printed in a layout of 請求項1の画像読取装置であって、前記画像補正処理部が、原稿画像が印刷媒体上に於いて印刷媒体上で所望の大きさ又は所望のレイアウトにて印刷されるよう原稿画像データの周縁に枠データを付加することにより補正原稿画像データを生成することを特徴とする画像読取装置。   The image reading apparatus according to claim 1, wherein the image correction processing unit is configured to allow the document image data to be printed on the print medium with a desired size or a desired layout on the print medium. An image reading apparatus that generates corrected document image data by adding frame data to a frame. 請求項15又は16の画像読取装置であって、前記原稿画像データが縮小されることを特徴とする画像読取装置。   17. The image reading apparatus according to claim 15, wherein the document image data is reduced. 請求項15乃至17のいずれかの画像読取装置であって、前記画像補正処理部が、選択的に、印刷画像が原稿画像と実質的に同一の寸法にて印刷されるよう補正原稿画像データを生成することを特徴とする画像読取装置。   18. The image reading apparatus according to claim 15, wherein the image correction processing unit selectively outputs corrected document image data so that a print image is printed with substantially the same size as the document image. An image reading apparatus that generates the image reading apparatus. 請求項15乃至17のいずれかの画像読取装置であって、前記画像補正処理部が、選択的に、印刷媒体に於いて印刷画像の周縁部にフチが設けられるよう補正原稿画像データを生成することを特徴とする画像読取装置。   18. The image reading apparatus according to claim 15, wherein the image correction processing unit selectively generates corrected document image data so that a margin is provided at a peripheral portion of the print image on the print medium. An image reading apparatus. 請求項15乃至17のいずれかの画像読取装置であって、前記画像補正処理部が、選択的に、印刷媒体に於いて前記原稿画像に対応する印刷画像が複数個所望のレイアウトにて印刷されるよう補正原稿画像データを生成することを特徴とする画像読取装置。   18. The image reading apparatus according to claim 15, wherein the image correction processing unit selectively prints a plurality of print images corresponding to the document image on a print medium in a desired layout. An image reading apparatus that generates corrected document image data as described above. 請求項15乃至17のいずれかの画像読取装置であって、前記画像補正処理部が、選択的に、前記原稿画像データの表す画像の周縁部が印刷媒体から切り取られるよう補正原稿画像データを生成することを特徴とする画像読取装置。   18. The image reading apparatus according to claim 15, wherein the image correction processing unit generates corrected document image data so that a peripheral portion of an image represented by the document image data is selectively cut off from a print medium. An image reading apparatus. 請求項10の画像読取装置であって、前記画像補正処理部が、選択的に、前記原稿画像データに対する前記補正原稿画像データの寸法の比率が1より大きく変倍率以下の範囲になるよう補正原稿画像データを生成することを特徴とする画像読取装置。   11. The image reading apparatus according to claim 10, wherein the image correction processing section selectively corrects the original so that a ratio of the size of the corrected original image data to the original image data is in a range greater than 1 and less than a scaling ratio. An image reading apparatus for generating image data. 請求項1の画像読取装置であって、印刷装置にて使用される印刷媒体の寸法又は印刷時の単位長さ当たりのインク又はトナーのドット数を設定する印刷装置設定部を有することを特徴とする画像読取装置。   The image reading apparatus according to claim 1, further comprising a printing apparatus setting unit configured to set a size of a printing medium used in the printing apparatus or a number of dots of ink or toner per unit length during printing. An image reading apparatus. 請求項1の画像読取装置であって、通常モード又は校正モードにて動作することが選択可能であり、前記校正モードが選択された際には、前記基準画像データが前記画像データ出力部を介して出力され、前記基準画像データの印刷画像を前記画像検出部にて読み取ることにより前記補正用画像データを生成し、前記通常モードが選択された際には、前記画像補正処理部により前記原稿画像データを補正して得られた補正原稿画像データが前記画像データ出力部を介して出力されることを特徴とする画像読取装置。   2. The image reading apparatus according to claim 1, wherein it is selectable to operate in a normal mode or a calibration mode, and when the calibration mode is selected, the reference image data is transmitted via the image data output unit. The correction image data is generated by reading the print image of the reference image data by the image detection unit, and when the normal mode is selected, the original image is output by the image correction processing unit. An image reading apparatus, wherein corrected document image data obtained by correcting data is output via the image data output unit. 請求項24の画像読取装置であって、前記校正モードが選択された際に、前記画像補正処理部により、前記補正用画像データと前記基準画像データとから原稿画像データから補正原稿画像データを生成するために必要な補正用パラメータが自動的に算出され記憶され、前記通常モードが選択された際には、前記補正用パラメータを用いて自動的に原稿画像データから補正原稿画像データが生成されることを特徴とする画像読取装置。   25. The image reading apparatus according to claim 24, wherein when the calibration mode is selected, the image correction processing unit generates corrected document image data from document image data from the correction image data and the reference image data. Correction parameters necessary for the correction are automatically calculated and stored, and when the normal mode is selected, corrected document image data is automatically generated from the document image data using the correction parameters. An image reading apparatus. 画像を読み取って画像データを生成する画像読取装置と、該画像読取装置に接続されて前記画像データを受信して該画像データに対応する画像を印刷媒体に印刷する印刷装置とからなる画像読取・印刷システムにして、
前記画像読取装置が、
原稿上の画像を光学的に読み取って該原稿画像を表す信号を生成する画像検出部と、
前記原稿画像を表す信号に基づいて前記所定の画像形式の原稿画像データを生成する画像データ生成部と、
前記印刷装置へ任意の画像データを出力する画像データ出力部とを含み、
更に、所定のパターンを含む基準画像を表す基準画像データを前記画像データ出力部から出力して前記印刷装置にて印刷媒体に印刷された印刷画像を前記画像検出部によって読み取り前記画像データ生成部にて生成した補正用画像データに基づいて前記原稿画像データを補正する画像補正処理部を有し、
選択的に該画像補正処理部が前記印刷装置に於いて印刷媒体上で所望の大きさ又は所望のレイアウトにて前記原稿画像に対応する印刷画像を印刷できるよう前記原稿画像データを補正することにより得られた補正原稿画像データが前記画像データ出力部を介して出力されることを特徴とする画像読取・印刷システム。

An image reading apparatus comprising: an image reading apparatus that reads an image to generate image data; and a printing apparatus that is connected to the image reading apparatus and receives the image data and prints an image corresponding to the image data on a print medium. For the printing system,
The image reading device is
An image detection unit that optically reads an image on a document and generates a signal representing the document image;
An image data generation unit that generates document image data of the predetermined image format based on a signal representing the document image;
An image data output unit for outputting arbitrary image data to the printing apparatus,
Further, reference image data representing a reference image including a predetermined pattern is output from the image data output unit, and a print image printed on a print medium by the printing apparatus is read by the image detection unit, and is read by the image data generation unit. An image correction processing unit for correcting the document image data based on the correction image data generated
By selectively correcting the original image data so that the image correction processing unit can print a print image corresponding to the original image in a desired size or a desired layout on a print medium in the printing apparatus. An image reading / printing system, wherein the obtained corrected document image data is output via the image data output unit.

JP2006178606A 2005-10-17 2006-06-28 Image reading device and printing system Pending JP2007143109A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2006178606A JP2007143109A (en) 2005-10-17 2006-06-28 Image reading device and printing system
EP06812107A EP1938575A1 (en) 2005-10-17 2006-10-16 Image reading device and printing system
US11/990,920 US20090147298A1 (en) 2005-10-17 2006-10-16 Image reading device and printing system
PCT/JP2006/320982 WO2007046512A1 (en) 2005-10-17 2006-10-16 Image reading device and printing system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005302299 2005-10-17
JP2006178606A JP2007143109A (en) 2005-10-17 2006-06-28 Image reading device and printing system

Publications (2)

Publication Number Publication Date
JP2007143109A true JP2007143109A (en) 2007-06-07
JP2007143109A5 JP2007143109A5 (en) 2009-04-16

Family

ID=37441050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006178606A Pending JP2007143109A (en) 2005-10-17 2006-06-28 Image reading device and printing system

Country Status (4)

Country Link
US (1) US20090147298A1 (en)
EP (1) EP1938575A1 (en)
JP (1) JP2007143109A (en)
WO (1) WO2007046512A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010105202A (en) * 2008-10-28 2010-05-13 Canon Inc Printing method and printing apparatus
JP2011041099A (en) * 2009-08-14 2011-02-24 Oki Data Corp Image processing apparatus

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077358B2 (en) * 2008-04-24 2011-12-13 Xerox Corporation Systems and methods for implementing use of customer documents in maintaining image quality (IQ)/image quality consistency (IQC) of printing devices
JP5406703B2 (en) * 2009-12-25 2014-02-05 キヤノン株式会社 Image processing apparatus, image processing method, and image forming apparatus
US8649052B2 (en) * 2010-06-11 2014-02-11 Xerox Corporation Image on paper registration using transfer surface marks
JP6295753B2 (en) * 2014-03-18 2018-03-20 富士ゼロックス株式会社 Image forming apparatus
US9876923B2 (en) * 2015-10-27 2018-01-23 Intermec Technologies Corporation Media width sensing
JP6833493B2 (en) * 2016-12-14 2021-02-24 キヤノン株式会社 Printing device, its control method, and program
JP7022352B2 (en) * 2019-03-14 2022-02-18 ブラザー工業株式会社 Information processing equipment, information processing methods and information processing programs
JP2022025571A (en) * 2020-07-29 2022-02-10 キヤノン株式会社 Image processing device, image processing method, and program

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738687A (en) * 1993-06-18 1995-02-07 Xerox Corp Digital copying machine
EP0651557A1 (en) * 1993-11-01 1995-05-03 Xerox Corporation Apparatus and method for arbitrary binary resolution conversion
US6249353B1 (en) * 1995-08-09 2001-06-19 Minolta Co., Ltd. Image editing apparatus
EP1182047A1 (en) * 2000-08-26 2002-02-27 Hewlett-Packard Company, A Delaware Corporation Method and apparatus for printing a test pattern
US20030175602A1 (en) * 2002-03-15 2003-09-18 Fuji Xerox Co., Ltd. Image forming method
JP2003274155A (en) * 2002-03-15 2003-09-26 Canon Inc Image processing method, and device and printer driver for realizing the same
JP2004104665A (en) * 2002-09-12 2004-04-02 Riso Kagaku Corp Postcard preparing machine
JP2005022836A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Postcard printing device
JP2005022307A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Card positioning loading table
JP2005027141A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Assembly of original reading device and original placing tray
JP2005027140A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Postcard preparation machine

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4985930A (en) * 1987-09-24 1991-01-15 Hitachi, Ltd. Image data filing system and image data correcting method
JPH03105687A (en) * 1989-09-20 1991-05-02 Fuji Photo Film Co Ltd Picture synthesizing method
US5191429A (en) * 1990-09-28 1993-03-02 Xerox Corporation Electronic printing system for printing multiple images with determination of the maximum number of reduced size images to be optimally printed on a sheet of detected size without interference
US7106477B2 (en) * 2001-11-28 2006-09-12 Xerox Corporation Semi-automatic image registration control for a digital copier
JP4181483B2 (en) * 2002-11-28 2008-11-12 オセ−テクノロジーズ ビーブイ Method and apparatus for calibrating a transport scanner and a test document for using the method
EP1679192A4 (en) * 2003-10-31 2008-08-20 Seiko Epson Corp Printing method and printing system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738687A (en) * 1993-06-18 1995-02-07 Xerox Corp Digital copying machine
US5510896A (en) * 1993-06-18 1996-04-23 Xerox Corporation Automatic copy quality correction and calibration
EP0651557A1 (en) * 1993-11-01 1995-05-03 Xerox Corporation Apparatus and method for arbitrary binary resolution conversion
US6249353B1 (en) * 1995-08-09 2001-06-19 Minolta Co., Ltd. Image editing apparatus
EP1182047A1 (en) * 2000-08-26 2002-02-27 Hewlett-Packard Company, A Delaware Corporation Method and apparatus for printing a test pattern
JP2003274142A (en) * 2002-03-15 2003-09-26 Fuji Xerox Co Ltd Image forming device and method therefor
US20030175602A1 (en) * 2002-03-15 2003-09-18 Fuji Xerox Co., Ltd. Image forming method
JP2003274155A (en) * 2002-03-15 2003-09-26 Canon Inc Image processing method, and device and printer driver for realizing the same
JP2004104665A (en) * 2002-09-12 2004-04-02 Riso Kagaku Corp Postcard preparing machine
JP2005022836A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Postcard printing device
JP2005022307A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Card positioning loading table
JP2005027141A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Assembly of original reading device and original placing tray
JP2005027140A (en) * 2003-07-04 2005-01-27 Riso Kagaku Corp Postcard preparation machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010105202A (en) * 2008-10-28 2010-05-13 Canon Inc Printing method and printing apparatus
JP2011041099A (en) * 2009-08-14 2011-02-24 Oki Data Corp Image processing apparatus

Also Published As

Publication number Publication date
EP1938575A1 (en) 2008-07-02
US20090147298A1 (en) 2009-06-11
WO2007046512A1 (en) 2007-04-26

Similar Documents

Publication Publication Date Title
JP2007143109A (en) Image reading device and printing system
JP4605006B2 (en) Print data generation apparatus, print data generation method, and program
JP4352808B2 (en) Preview device, electronic device, and image forming apparatus
US8248626B2 (en) Information processing apparatus for setting output condition to images as output targets, and information processing method and non-transitory computer-readable storage medium thereof
US8624920B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP7154822B2 (en) Program, image processing device, and control method
US20090073463A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP2005005768A (en) Image processing apparatus, image processing method, and program
JP7077135B2 (en) Image processing device, program, image processing method
JP4981531B2 (en) Image processing apparatus, image processing method, and program
JP2009141412A (en) Print outputting device
JP4186116B2 (en) Image processing apparatus and method
JP6720917B2 (en) Image reading device and image reading system
JP2008092446A (en) Image reading device
JP2007253488A (en) Printer
US7102764B1 (en) Digital copying machine including photo features function
JP2008042228A (en) Image reader
JP7155833B2 (en) Image processing device
JP2009100099A (en) Image reading apparatus
JP3714474B2 (en) Image processing device
JPH10191026A (en) Image processing device and method
JP6045459B2 (en) Image forming apparatus
JP6260144B2 (en) Image processing apparatus and computer program
JP5210567B2 (en) Operating device and image forming apparatus
JP2019193227A (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100622