JP2006115348A - Image information device and image printing method - Google Patents

Image information device and image printing method Download PDF

Info

Publication number
JP2006115348A
JP2006115348A JP2004302195A JP2004302195A JP2006115348A JP 2006115348 A JP2006115348 A JP 2006115348A JP 2004302195 A JP2004302195 A JP 2004302195A JP 2004302195 A JP2004302195 A JP 2004302195A JP 2006115348 A JP2006115348 A JP 2006115348A
Authority
JP
Japan
Prior art keywords
image
image data
information
stored
information apparatus
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
JP2004302195A
Other languages
Japanese (ja)
Inventor
Atsushi Hagiwara
篤 萩原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004302195A priority Critical patent/JP2006115348A/en
Publication of JP2006115348A publication Critical patent/JP2006115348A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image information device capable of automatically recognizing, segmenting and storing an image to be printed for a manuscript including the image to be printed at a part of the manuscript, memorizing only necessary minimum information to reconstruct an original image, and performing appropriate intensive printing without applying time and effort. <P>SOLUTION: A digital copier comprises an image reader 1 for inputting an image data, a storage 5 for accumulating the inputted image data, and an image output portion 2 for outputting the image data inputted. An image processor 7 automatically segments only an effective range of an image from the inputted image data. The storage 5 stores the segmented image data, together with an image reconstruction information acquired during segmentation. Then, an image construction portion 8 constructs the image at a printing region using the image data, and the image reconstruction information stored in the storage 5. Finally, an image output portion 2 prints the constructed image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像記憶機能も備えたデジタル複写機やプリンタなど画像情報装置に係り、特に、文書の複数ページ分を1枚の印刷用紙上に出力する集約機能を備えた画像情報装置などに関する。   The present invention relates to an image information apparatus such as a digital copying machine or a printer having an image storage function, and more particularly to an image information apparatus having an aggregation function for outputting a plurality of pages of a document on one print sheet.

デジタル複写機やプリンタなど印刷手段(画像形成手段)を備えた画像情報装置には、文書の1ページ分を1枚の印刷用紙に印刷する通常の印刷機能のほかに、文書の複数ページ分を1枚の印刷用紙に収めて印刷する機能や、複数ページの文書を縮小して1枚の用紙に収めて印刷する機能を備えたものがある。これらの機能は、集約印刷あるいはNin1(エヌ・イン・ワン)印刷などの呼称で知られている。
この集約印刷は、印刷枚数を減らすことが目的であり、省資源の一役を担うものである。このような集約印刷の機能を備えた画像情報装置は、出力に用いる印刷用紙の用紙サイズごとに収納ページ数に対応した集約印刷用の印刷フォーマットのデータをメモリに複数種類記憶しており、集約印刷の際に利用者により指定された印刷フォーマットのデータを呼び出して印刷を行なっている。
しかし、前記した集約印刷に関する従来技術では、集約する際に原稿そのもののサイズを利用するので、一部にしか画像がない原稿の場合には、原稿画像に含まれる空白部も入れた縮小が行われる。したがって、実際には縮小しないでも印刷できるような原稿でも縮小されてしまい、また、無駄な空白部分も出力されてしまうという問題があった。
これを解決するために、特許文献1に示された従来技術では、必要な領域を利用者が指定し、指定された部分を集約印刷する。
また、切り出し技術に関しては特許文献2があり、この従来技術では、プリスキャンにおいて、論理和演算部がラインデータから主走査方向の有効画像領域を求め、2つのフリップフロップが副走査方向の原稿地の領域情報を出力し、それらのデータに基づいて原稿領域を決定する。
特開平11−261800号公報 特開平7−307856号公報
Image information devices equipped with printing means (image forming means) such as digital copiers and printers, in addition to the normal printing function that prints one page of a document on a single sheet of printing paper, Some have a function of printing on a single sheet of paper, and a function of reducing a document of a plurality of pages and printing it on a single sheet of paper. These functions are known by names such as aggregate printing or Nin1 (N-in-one) printing.
This aggregate printing is intended to reduce the number of printed sheets and plays a role in resource saving. The image information apparatus having such an aggregate printing function stores a plurality of types of print format data for aggregate printing corresponding to the number of stored pages for each paper size of the printing paper used for output in the memory. Printing is performed by calling data in a print format designated by the user at the time of printing.
However, in the conventional technology related to the above-described aggregate printing, the size of the original document itself is used at the time of aggregation. Therefore, in the case of an original document that has only a part of the image, reduction including a blank part included in the original image is performed. Is called. Accordingly, there is a problem that even a manuscript that can be printed without being actually reduced is reduced, and a useless blank portion is output.
In order to solve this, in the prior art disclosed in Patent Document 1, a user designates a necessary area, and the designated portion is collectively printed.
Patent Document 2 discloses a clipping technique. In this conventional technique, in pre-scanning, a logical sum operation unit obtains an effective image area in the main scanning direction from line data, and two flip-flops are used for original documents in the sub-scanning direction. Area information is output, and the document area is determined based on the data.
Japanese Patent Laid-Open No. 11-261800 JP-A-7-307856

しかしながら、前記した特許文献1に示された従来技術は、決まったフォーマットの集約印刷であれば有効であるが、フォーマットが決まっておらず、原稿ごとに切り出す画像領域や適切な画像配置位置が変わる場合、その都度切り出し領域や画像配置位置を設定しなければならなくなり、利用者の負荷が高いものになってしまう。また、特許文献2に示された従来技術は画像領域でなく原稿用紙の領域を抽出するものであるし、元画像の再構築や集約印刷を行う技術でもない。
本発明の目的は、このような従来技術の問題を解決しようとするものであり、具体的には、原稿の一部に印刷対象画像がある原稿において、その印刷対象画像を自動的に認識して切り出し保存することにより、手間をかけずに、印刷対象の空白部分を少なくして紙の使用枚数を減らしたり、必要最低限の情報だけ記憶して元画像を再構築したり、手間をかけずに適切な集約印刷を行なったりできる画像情報装置を提供することにある。
However, the prior art disclosed in Patent Document 1 is effective as long as it is consolidated printing in a predetermined format, but the format is not determined, and the image area to be cut out and the appropriate image arrangement position change for each document. In this case, it is necessary to set a cutout region and an image arrangement position each time, which increases the load on the user. The prior art disclosed in Patent Document 2 extracts not the image area but the area of the original paper, and is not a technique for reconstructing the original image or performing aggregate printing.
An object of the present invention is to solve such a problem of the prior art. Specifically, in a document having a print target image as a part of the document, the print target image is automatically recognized. By cutting out and saving, you can save time by reducing the number of blank pages to be printed and reducing the number of paper used, reconstructing the original image by storing only the minimum necessary information, and taking time and effort. It is another object of the present invention to provide an image information apparatus that can perform appropriate aggregate printing without any problem.

前記した課題を解決するために、請求項1記載の発明では、画像データを入力する画像入力手段と、入力された画像データを蓄積する記憶手段と、入力された後の画像データを出力する画像出力手段とを備えた画像情報装置において、入力された画像データから画像の有効範囲のみ自動的に切り出す画像切り出し手段を備え、その画像切り出し手段により切り出された画像データを、その切り出し時に取得した画像再構築用情報とともに前記記憶手段に記憶しておき、その記憶手段に記憶された前記画像データおよび前記画像再構築用情報を用いて画像を構築する構成にした。
また、請求項2記載の発明では、請求項1記載の発明において、前記画像再構築用情報が、画像切り出し前の画像サイズを示す元画像サイズ情報および切り出した画像の位置情報である構成にした。
また、請求項3記載の発明では、請求項1記載の発明において、前記入力された画像データがカラー画像であり、そのカラー画像の地肌部分を認識する地肌認識手段を備え、その地肌認識手段により認識された地肌部分の地肌色を除去した画像データを対象にして前記画像の有効範囲を切り出すように前記画像切り出し手段を構成した。
In order to solve the above-described problem, according to the first aspect of the present invention, an image input means for inputting image data, a storage means for storing the input image data, and an image for outputting the input image data An image information device comprising an output means, comprising: an image cutout means for automatically cutting out only an effective range of an image from input image data, and obtaining the image data cut out by the image cutout means at the time of the cutout The information is stored in the storage unit together with the reconstruction information, and an image is constructed using the image data and the image reconstruction information stored in the storage unit.
Further, in the invention described in claim 2, in the invention described in claim 1, the image reconstruction information is configured to include original image size information indicating an image size before image cutting and position information of the cut image. .
According to a third aspect of the invention, in the first aspect of the invention, the input image data is a color image, and includes a background recognition unit that recognizes a background portion of the color image. The image cutout unit is configured to cut out the effective range of the image with respect to the image data from which the background color of the recognized background portion is removed.

また、請求項4記載の発明では、請求項3記載の発明において、前記地肌色を示す地肌色情報を前記記憶手段に蓄積する構成にした。
また、請求項5記載の発明では、請求項1または請求項3記載の発明において、前記画像の有効範囲が入力された画像データに含まれているそれぞれの色にとって有効な範囲であり、その色ごとに画像の有効範囲を切り出す構成にした。
また、請求項6記載の発明では、請求項1記載の発明において、前記記憶手段に記憶された複数の画像データを出力用紙サイズに収まる範囲内で出力する構成にした。
また、請求項7記載の発明では、請求項1記載の発明において、前記記憶手段に記憶された複数の画像データを、その複数の画像が収まる用紙サイズの印刷用紙に出力する構成にした。
また、請求項8記載の発明では、請求項6または請求項7記載の発明において、当該画像が残りの印刷領域に収まらなかった場合、その画像を90度回転させて配置する構成にした。
また、請求項9記載の発明では、請求項8記載の発明において、当該画像を90度回転させても画像が収まらなかった場合、その画像を縮小して配置する構成にした。
また、請求項10記載の発明では、請求項6または請求項7記載の発明において、各画像の配置確定ごとに、周囲に区切り線を追加する構成にした。
According to a fourth aspect of the present invention, in the third aspect of the present invention, the background color information indicating the background color is stored in the storage means.
According to a fifth aspect of the present invention, in the first or third aspect of the present invention, the effective range of the image is an effective range for each color included in the input image data. The effective range of the image is cut out every time.
According to a sixth aspect of the present invention, in the first aspect of the present invention, a plurality of image data stored in the storage means are output within a range that fits in the output paper size.
According to a seventh aspect of the present invention, in the first aspect of the present invention, the plurality of image data stored in the storage unit is output onto a print sheet having a sheet size that can accommodate the plurality of images.
Further, in the invention described in claim 8, in the invention described in claim 6 or claim 7, when the image does not fit in the remaining print area, the image is rotated 90 degrees and arranged.
In the invention described in claim 9, in the invention described in claim 8, when the image does not fit even if the image is rotated 90 degrees, the image is reduced and arranged.
Further, in the invention described in claim 10, in the invention described in claim 6 or 7, a separator is added around each time the arrangement of each image is determined.

また、請求項11記載の発明では、請求項6または請求項7記載の発明において、綴じ幅を考慮して配置し、出力する構成にした。
また、請求項12記載の発明では、請求項11記載の発明において、右綴じの場合、印刷用紙の右端から順に配置画像を配置する構成にした。
また、請求項13記載の発明では、請求項12記載の発明において、印刷用紙の右端から順に配置画像を配置する際、スタートポイントをその印刷用紙の右端から綴じ幅分ずらした後、そのスタートポイントを当該画像幅分左にずらしてから画像を配置するという動作を繰り返す構成にした。
また、請求項14記載の発明では、画像データを入力し、入力された画像データを蓄積した後、蓄積された画像データを印刷する画像印刷方法において、入力された画像データから画像の有効範囲のみ自動的に切り出し、切り出された画像データを、その切り出し時に取得した画像再構築用情報とともに記憶した後、記憶された前記画像データおよび前記画像再構築用情報を用いて画像を再構築して印刷する構成にした。
また、請求項15記載の発明では、請求項14記載の発明において、複数の原稿から切り出した複数の画像データを、その切り出し時に取得したそれぞれの画像再構築用情報とともに記憶した後、記憶された前記複数の画像データおよびそれぞれの画像再構築用情報を用いて複数の画像を集約配置して印刷する構成にした。
Further, in the invention described in claim 11, in the invention described in claim 6 or claim 7, the arrangement is made in consideration of the binding width and output.
In the invention of claim 12, in the invention of claim 11, in the case of right binding, the arrangement images are arranged in order from the right end of the printing paper.
According to a thirteenth aspect of the invention, in the invention of the twelfth aspect, when arranging the arranged images in order from the right end of the print paper, the start point is shifted from the right end of the print paper by the binding width, and then the start point is set. The operation of shifting the image to the left by the image width and then arranging the image is repeated.
According to the fourteenth aspect of the present invention, in the image printing method for inputting the image data, storing the input image data, and then printing the stored image data, only the effective range of the image from the input image data. The image data that has been automatically cut out and cut out is stored together with the image reconstruction information acquired at the time of the cutting, and then the image is reconstructed and printed using the stored image data and the image reconstruction information. It was configured to be.
Further, in the invention described in claim 15, in the invention described in claim 14, a plurality of pieces of image data cut out from a plurality of originals are stored together with respective pieces of image reconstruction information acquired at the time of cutting out. A plurality of images are aggregated and printed using the plurality of image data and the respective image reconstruction information.

本発明によれば、請求項1記載の発明では、入力された画像データから画像の有効範囲のみ自動的に切り出し、切り出された画像データを、その切り出し時に取得した画像再構築用情報とともに記憶しておき、記憶された画像データおよび画像再構築用情報を用いて画像を構築できるので、印刷対象の空白部分を少なくして印刷用紙の使用枚数を減らせるし、記憶空間を効率よく用いて元画像を再構築できるし、手間をかけずに適切な集約印刷を行うことができる。
また、請求項2記載の発明では、請求項1記載の発明において、画像再構築用情報が、画像切り出し前の画像サイズを示す元画像サイズ情報および切り出した画像の位置情報であるので、切り出し前の原稿と同じ位置に画像を配置した、その原稿と同じサイズの元画像を再構築できる。
また、請求項3記載の発明では、請求項1記載の発明において、入力された画像データがカラー画像であり、そのカラー画像の地肌部分を認識し、認識した地肌部分の地肌色を除去した画像データを対象にして画像の有効範囲を切り出すことができるので、地肌色があった場合でも有効な画像範囲を決定できる。
また、請求項4記載の発明では、請求項3記載の発明において、地肌色情報を蓄積できるので、地肌色を除去しても再構築の際に地肌色を再生できる。
According to the present invention, in the invention described in claim 1, only the effective range of the image is automatically cut out from the input image data, and the cut out image data is stored together with the image reconstruction information acquired at the time of the cutting out. Since the image can be constructed using the stored image data and the image reconstruction information, the blank area to be printed can be reduced to reduce the number of print sheets used, and the storage space can be used efficiently. Images can be reconstructed, and appropriate aggregated printing can be performed without much effort.
Further, in the invention described in claim 2, in the invention described in claim 1, since the image reconstruction information is the original image size information indicating the image size before image clipping and the position information of the clipped image, An original image having the same size as the original can be reconstructed by arranging the image at the same position as the original.
Further, in the invention described in claim 3, in the invention described in claim 1, the input image data is a color image, an image obtained by recognizing a background portion of the color image and removing a background color of the recognized background portion. Since the effective range of the image can be cut out for the data, the effective image range can be determined even when there is a background color.
In the invention according to claim 4, since the background color information can be accumulated in the invention according to claim 3, the background color can be reproduced at the time of reconstruction even if the background color is removed.

また、請求項5記載の発明では、請求項1または請求項3記載の発明において、画像の有効範囲が入力された画像データに含まれているそれぞれの色にとって有効な範囲であり、その色ごとに画像の有効範囲を切り出すことができるので、カラー画像の場合、蓄積する画像データをさらに少なくできる。
また、請求項6記載の発明では、請求項1記載の発明において、記憶された複数の画像データを出力用紙サイズに収まる範囲内で出力できるので、手を煩わせないで集約印刷を行うことができるし、印刷用紙のサイズを統一できる。
また、請求項7記載の発明では、請求項1記載の発明において、記憶された複数の画像データを、その複数の画像が収まる用紙サイズの印刷用紙に出力できるので、手を煩わせないで集約印刷を行うことができるし、1枚の印刷用紙に集約印刷できる。
また、請求項8記載の発明では、請求項6または請求項7記載の発明において、当該画像が残りの印刷領域に収まらなかった場合、その画像を90度回転させて配置できるので、より効率的な集約印刷ができる。
また、請求項9記載の発明では、請求項8記載の発明において、当該画像を90度回転させても画像が収まらなかった場合、その画像を縮小して配置できるので、さらに効率的な集約印刷ができる。
また、請求項10記載の発明では、請求項6または請求項7記載の発明において、各画像の配置確定ごとに、周囲に区切り線を追加できるので、自動配置することでわかりにくくなりやすい、画像の境界や原稿との対応を容易に特定することができる。
In the invention described in claim 5, in the invention described in claim 1 or claim 3, the effective range of the image is an effective range for each color included in the input image data, and for each color. Since the effective range of the image can be cut out, in the case of a color image, the image data to be accumulated can be further reduced.
Also, in the invention described in claim 6, in the invention described in claim 1, since the plurality of stored image data can be output within the range that fits in the output paper size, the collective printing can be performed without bothering the user. Yes, and the printing paper size can be unified.
Further, in the invention according to claim 7, in the invention according to claim 1, since the plurality of stored image data can be output on a printing paper having a size that can accommodate the plurality of images, the data is aggregated without bothering the user. Printing can be performed and printing can be performed on a single sheet of printing paper.
Further, in the invention according to claim 8, in the invention according to claim 6 or 7, when the image does not fit in the remaining print area, the image can be rotated 90 degrees and arranged, so that it is more efficient. Integrated printing.
In the invention according to claim 9, in the invention according to claim 8, when the image does not fit even if the image is rotated 90 degrees, the image can be reduced and arranged, so that more efficient collective printing is possible. Can do.
Further, in the invention described in claim 10, in the invention described in claim 6 or claim 7, since a separation line can be added around each time the arrangement of each image is determined, it is difficult to understand by automatically arranging the image. It is possible to easily specify the correspondence between the border and the manuscript.

また、請求項11記載の発明では、請求項6または請求項7記載の発明において、綴じ幅を考慮して配置し、出力できるので、綴じ幅分を空ける必要がある場合でも請求項6または請求項7記載の発明の効果を得ることができる。
また、請求項12記載の発明では、請求項11記載の発明において、右綴じの場合、印刷用紙の右端から順に配置画像を配置できるので、右綴じであっても適切に配置できる。
また、請求項13記載の発明では、請求項12記載の発明において、印刷用紙の右端から順に配置画像を配置する際、スタートポイントをその印刷用紙の右端から綴じ幅分ずらした後、そのスタートポイントを当該画像幅分左にずらしてから画像を配置するという動作を繰り返すので、請求項12記載の発明を容易に実現できる。
また、請求項14記載の発明では、入力された画像データから画像の有効範囲のみ自動的に切り出し、切り出された画像データを、その切り出し時に取得した画像再構築用情報とともに記憶した後、記憶された前記画像データおよび前記画像再構築用情報を用いて画像を再構築して印刷することができるので、手間をかけずに、印刷対象の空白部分を少なくして印刷用紙の使用枚数を減らせるし、記憶空間を効率よく用いて元画像を再構築できる。
また、請求項15記載の発明では、請求項14記載の発明において、複数の原稿から切り出した複数の画像データを、その切り出し時に取得したそれぞれの画像再構築用情報とともに記憶した後、記憶された前記複数の画像データおよびそれぞれの画像再構築用情報を用いて複数の画像を集約配置して印刷することができるので、手間をかけずに適切な集約印刷を行うことができる。
Further, in the invention according to claim 11, in the invention according to claim 6 or claim 7, since it can be arranged and output in consideration of the binding width, even if it is necessary to make the binding width empty, the invention according to claim 6 or claim The effect of the invention of claim | item 7 can be acquired.
In the invention according to claim 12, in the invention according to claim 11, in the case of right binding, the arranged images can be arranged in order from the right end of the printing paper, so that even right binding can be arranged appropriately.
According to a thirteenth aspect of the invention, in the invention of the twelfth aspect, when arranging the arranged images in order from the right end of the print paper, the start point is shifted from the right end of the print paper by the binding width, and then the start point is set. Since the operation of arranging the image after repeating the shift to the left by the image width is repeated, the invention of claim 12 can be easily realized.
In the invention described in claim 14, only the effective range of the image is automatically cut out from the input image data, and the cut out image data is stored after being stored together with the image reconstruction information acquired at the time of the cutting out. In addition, since the image can be reconstructed and printed using the image data and the image reconstruction information, it is possible to reduce the number of print sheets used by reducing the blank area to be printed without taking time and effort. In addition, the original image can be reconstructed using the storage space efficiently.
Further, in the invention described in claim 15, in the invention described in claim 14, a plurality of pieces of image data cut out from a plurality of originals are stored together with respective pieces of image reconstruction information acquired at the time of cutting out. Since a plurality of images can be collectively arranged and printed using the plurality of image data and the information for reconstructing each image, appropriate aggregation printing can be performed without taking time and effort.

以下、図面により本発明の実施形態を詳細に説明する。但し、この実施形態に記載される構成要素、種類、組み合わせ、形状、その相対位置などは特定的な記載がない限りこの説明の範囲をそれのみに限定する主旨ではなく、単なる説明例に過ぎない。
図1は本発明の一実施形態を示すデジタル複写機の構成ブロック図である。図示したように、このデジタル複写機は、原稿を読み取る画像読み取り部1、印刷用紙上に画像を形成する画像出力部2、前記画像読み取り部1および画像出力部2を制御するエンジン部3、プログラムに従って動作するCPUを有してこのデジタル複写機全体を制御するコントローラ4、入力された画像データなどを蓄積しておく記憶装置(例えばハードディスク装置)5、操作キーや表示装置などを有して利用者が操作を行う操作部6などを備えている。
また、コントローラ4内には、入力された画像データから画像の有効範囲(画像領域)のみ切り出す処理などを行う画像処理部7、および画像領域のみ切り出された複数の画像データを用いて元画像を再構築したり出力画像1ページ内に複数の画像を配置したりする画像構築部8などを備える。
なお、この実施形態のデジタル複写機では、請求項記載の画像入力手段が画像読み取り部1により実現され、画像出力手段が画像出力部2により実現され、記憶手段が記憶装置5により実現され、画像切り出し手段が画像処理部7により実現される。
以下、このようなデジタル複写機を用いて実施される本発明の各実施例について説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, the components, types, combinations, shapes, relative positions, and the like described in this embodiment are not merely intended to limit the scope of this description unless otherwise specified, but are merely illustrative examples. .
FIG. 1 is a configuration block diagram of a digital copying machine showing an embodiment of the present invention. As shown in the figure, this digital copying machine includes an image reading unit 1 that reads an original, an image output unit 2 that forms an image on a printing paper, an engine unit 3 that controls the image reading unit 1 and the image output unit 2, a program A controller 4 that controls the entire digital copying machine with a CPU that operates in accordance with the above, a storage device (for example, a hard disk device) 5 that stores input image data, etc., an operation key, a display device, etc. An operation unit 6 that is operated by a person is provided.
Further, in the controller 4, an original image is processed by using an image processing unit 7 that performs a process of cutting out only an effective range (image area) of the image from the input image data, and a plurality of image data cut out of only the image area. An image construction unit 8 for reconstructing or arranging a plurality of images in one page of the output image is provided.
In the digital copying machine of this embodiment, the image input means described in the claims is realized by the image reading section 1, the image output means is realized by the image output section 2, and the storage means is realized by the storage device 5. A clipping unit is realized by the image processing unit 7.
Hereinafter, embodiments of the present invention implemented using such a digital copying machine will be described.

図2に、実施例1の動作フローを示す。以下、図2に従って、実施例1について説明する。
この実施例では、まず、コントローラ4が操作部6により利用者に印刷用紙のサイズなど印刷用紙情報を入力させ、その印刷用紙情報を取得し、コントローラ4内のメモリに記憶しておく(S1)。続いて、コントローラ4は原稿読み取り部1またはその他の画像入力装置により画像データを読み取らせ(入力させ)、その画像データを画像処理部7に渡す(S2)。そして、その画像処理部7において、入力された画像データを補正し、画像領域の判別を行う(S3)。この画像判別処理では、簡単には、送られてきた画素ごとの画像データについて原稿の主走査方向および副走査方向のヒストグラムを取ることにより判別できる。このようにして、画像処理部7では、画像領域、元原稿のサイズ、元原稿に対する画像領域の相対位置、画像サイズなどを判別する。
続いて、画像処理部7は既に取得している印刷用紙のサイズから印刷領域を判別し(S4)、画像領域の画像データと判別した情報を記憶装置5に格納する(S5)。なお、画像領域の画像データを取得する際、画像が切れることを防止するため、画像領域丁度でなく所定量の余裕を見て取得する。また、カラー画像の場合は、RGBといった色情報ごとに前記した方法を用いて画像の有効範囲を切り出し、記憶装置5に色情報ごとに画像データと判別した情報を格納する。このようにすることにより、極端に使われない色情報については情報の圧縮が可能となる。
また、その際、下地(地肌)部分の地肌色を除去した画像データを対象にして前記画像の有効範囲を切り出すようにしてもよい。元画像から下地の色情報を減算することにより原稿全体に色情報がある場合でも画像領域を小さくすることができる。なお、下地は端辺部から同一色が連続している領域として地肌認識手段としても機能する画像処理部7により認識する。また、色情報ごとに下地色情報を取得することでも画像領域を限定することが可能である。記憶装置5には、画像領域の画像データ、元原稿サイズ、画像領域の相対位置情報、画像領域情報に加え、下地色(地肌色)情報をセットにした形で保存する。
当該原稿について必要な情報を保存すると、コントローラ4は残りの原稿があるか否かを判定し(S6)、あれば(S6でY)ステップS2から繰り返す。
その後、記憶装置5に保存された情報を基に元画像を再構築するに際し、まず、画像構築部8が1番目の画像領域の配置位置を決定する(S7)。そして、画像構築部8はその配置位置に1番目の画像領域の画像データを展開する(S8)。
続いて、残りの画像領域があるか否かを判定し(S9)、あれば(S9でY)ステップS7から繰り返す。そして、残りの画像領域がなくなると(S9でN)、コントローラ4は再構築した画像データをエンジン部3に渡し、画像出力部2により印刷を行う(S10)。
FIG. 2 shows an operation flow of the first embodiment. Hereinafter, according to FIG. 2, Example 1 is demonstrated.
In this embodiment, first, the controller 4 causes the user to input printing paper information such as the size of the printing paper through the operation unit 6 to acquire the printing paper information and store it in the memory in the controller 4 (S1). . Subsequently, the controller 4 causes the image reading unit 1 or other image input device to read (input) the image data, and passes the image data to the image processing unit 7 (S2). Then, the image processing unit 7 corrects the input image data and determines the image area (S3). In this image discrimination process, it can be easily discriminated by taking histograms in the main scanning direction and sub-scanning direction of the document for the sent image data for each pixel. In this manner, the image processing unit 7 determines the image area, the size of the original document, the relative position of the image area with respect to the original document, the image size, and the like.
Subsequently, the image processing unit 7 discriminates the print area from the already acquired size of the printing paper (S4), and stores the discriminated information as image data of the image area in the storage device 5 (S5). Note that when acquiring image data of an image area, the image data is acquired by looking at a predetermined amount of margin, not just the image area, in order to prevent the image from being cut. In the case of a color image, the effective range of the image is cut out using the above-described method for each color information such as RGB, and information determined as image data is stored in the storage device 5 for each color information. By doing so, it is possible to compress information about color information that is not used extremely.
In this case, the effective range of the image may be cut out for image data from which the background color of the background (background) portion is removed. By subtracting the background color information from the original image, the image area can be reduced even when the entire document has color information. The background is recognized by the image processing unit 7 that also functions as a background recognition unit as a region in which the same color continues from the edge. In addition, the image area can be limited by acquiring the background color information for each color information. The storage device 5 stores the background color (background color) information as a set in addition to the image data of the image area, the original document size, the relative position information of the image area, and the image area information.
When the necessary information for the document is stored, the controller 4 determines whether there is a remaining document (S6), and if there is (Y in S6), repeats from step S2.
After that, when reconstructing the original image based on the information stored in the storage device 5, first, the image construction unit 8 determines the arrangement position of the first image region (S7). Then, the image construction unit 8 develops the image data of the first image region at the arrangement position (S8).
Subsequently, it is determined whether or not there is a remaining image area (S9). If there is (Y in S9), the process is repeated from step S7. When there is no remaining image area (N in S9), the controller 4 passes the reconstructed image data to the engine unit 3, and the image output unit 2 performs printing (S10).

次に、図3により、保存されている情報から画像を再構築する処理を詳細に説明する。なお、保存されている情報は、画像領域の画像データ、元原稿サイズ、画像領域の相対位置情報、画像領域情報、場合により、さらに下地色情報である。また、図3(a)は元画像の一例、図3(b)はその保存情報の一例で、画像構築部8はこのような保存情報を基に元画像を再構築する。図3(c)が再構築された画像である。
図3(b)に示した保存情報から図3(c)に示した再構築画像をメモリ上に生成するには、まず、画像データを展開するメモリ上のスタート位置のアドレスからw4×y+x分だけアドレスを進ませ、そこからw1分のデータを書き込む。さらに、スタート位置のアドレスにw4×(y+1)+xを加えたアドレスまで進ませ、次のラインのw1分のデータを書き込む。これをh1ライン分だけ行うことで元画像を再構成することが可能である。
カラー画像の場合も同様の操作で行うことができる(図4参照)。なお、この部分をハードウェアで構成するには、例えばカラー画像の場合、元画像再構築用のバッファメモリを備え、色情報を指定したフォーマットに変換した後にそのバッファメモリ上に展開することによりメモリへの無駄なアクセスを減らすことも可能である。(下地色情報(地肌色情報)も記憶装置5に蓄積する構成では、下地色も再現できる。
こうして、この実施例によれば、原稿の一部に印刷対象画像がある原稿において、その印刷対象画像を自動的に認識できるので、手間をかけずに、印刷対象の空白部分を少なくして紙の使用枚数を減らすことができるし、必要最低限の情報だけ記憶して元画像を再構築できる。
Next, a process for reconstructing an image from stored information will be described in detail with reference to FIG. The stored information includes image data of the image area, original document size, relative position information of the image area, image area information, and possibly background color information. 3A shows an example of the original image, and FIG. 3B shows an example of the stored information. The image construction unit 8 reconstructs the original image based on such stored information. FIG. 3C shows the reconstructed image.
To generate the reconstructed image shown in FIG. 3C on the memory from the saved information shown in FIG. 3B, first, w4 × y + x minutes from the address of the start position on the memory where the image data is developed. Just advance the address and write the data for w1 from there. Further, it advances to an address obtained by adding w4 × (y + 1) + x to the address of the start position, and writes data for w1 of the next line. It is possible to reconstruct the original image by performing this for the h1 line.
The same operation can be performed for a color image (see FIG. 4). In order to configure this part by hardware, for example, in the case of a color image, a buffer memory for reconstructing the original image is provided, and the color information is converted into a specified format and then expanded on the buffer memory. It is also possible to reduce useless access to. In the configuration in which (background color information (background color information) is also stored in the storage device 5, the background color can also be reproduced.
Thus, according to this embodiment, since a print target image can be automatically recognized in a document having a print target image in a part of the document, the blank area to be printed can be reduced and paper can be reduced without much trouble. The number of images used can be reduced, and only the minimum necessary information can be stored to reconstruct the original image.

この実施例では、実施例1と同様にして原稿から画像を切り出し、蓄積した画像データと画像領域情報など保存した情報を用いて集約印刷を行う。
図5は集約印刷における画像構築(画像配置)の動作フロー図、図6および図7はその説明図である。以下、図5〜図7に従って、この動作フローを説明する。
以下では、図6に示した、2つの印刷対象画像A1とA2を印刷用紙に配置する場合で説明する。なお、実施例1と同様にして、画像A1とA2のサイズは求められているとする。また、印刷可能な領域は印刷用紙のサイズなどから決めることができる。この印刷可能な領域を印刷領域と呼ぶことにする。
まず、画像構築部8が印刷領域の長辺長phと短辺長pwを取得する(S11)。図6に示した印刷画像P4の例では、長辺長がh4、短辺長がw4である。さらに、配置画像の長辺長awと短辺長ahを取得する(S12)。図6に示した例では、最初に配置する画像が例えばA1とすると、長辺長がw1、短辺長がh1である。
最初は、印刷領域の短辺pw(P4ではw4)と1番目に配置する画像の長辺aw(A1ではw1)を合わせるように配置することを考え、画像構築部8はpwとawを比較する(S13)。そして、pw>awのとき(図6(a)の例はこのようになっている)(S13でYes)、配置画像はその位置に配置することが可能なので、画像配置位置をその位置に設定する(S14)。
In this embodiment, an image is cut out from a document in the same manner as in the first embodiment, and aggregate printing is performed using stored image data and stored information such as image area information.
FIG. 5 is an operation flowchart of image construction (image arrangement) in aggregate printing, and FIGS. 6 and 7 are explanatory diagrams thereof. Hereinafter, the operation flow will be described with reference to FIGS.
In the following, a case will be described where two print target images A1 and A2 shown in FIG. 6 are arranged on a print sheet. It is assumed that the sizes of the images A1 and A2 are obtained as in the first embodiment. The printable area can be determined from the size of the printing paper. This printable area is called a print area.
First, the image construction unit 8 acquires the long side length ph and the short side length pw of the print area (S11). In the example of the print image P4 shown in FIG. 6, the long side length is h4 and the short side length is w4. Further, the long side length aw and the short side length ah of the arrangement image are acquired (S12). In the example shown in FIG. 6, if the first image to be arranged is A1, for example, the long side length is w1 and the short side length is h1.
At first, considering that the short side pw of the print area (w4 in P4) and the long side aw (w1 in A1) of the first image are arranged to match, the image construction unit 8 compares pw and aw. (S13). When pw> aw (the example of FIG. 6A is like this) (Yes in S13), the arrangement image can be arranged at that position, so the image arrangement position is set to that position. (S14).

それに対して、図6(b)に示した印刷画像P5の例のように、印刷領域の短辺pw(w5)と配置画像A3の長辺aw(w3)の関係がpw<aw(w5<w3)であると(S13でNo)、印刷領域に配置できないので、画像構築部8は、配置画像を90°回転した状態で配置可能かどうかを判定する(S15)。そして、配置可能ならば(S15でYes)、画像構築部8は配置画像を90°回転させる(図6(b)参照)(S16)。また、この状態でも配置不可能の場合(S15でNo)、縮小可能であれば(S17でYes)、印刷領域の短辺長pwよりも配置画像の長辺長awが小さくなるように縮小を行う(S18)。縮小不可能であれば(S17でNo)、印刷できないことを表示し(S19)、作業を中止する。
こうして、当該配置画像の配置位置を設定すると(S14)、残りの配置画像があるか否かを判定し(S20)、残りがあれば(S20でYes)印刷領域の残りサイズを変更する(S21)。変更方法を図7に示す。図7(a)に示したように、印刷領域(P6)の短辺に対し、画像Aの長辺を合わせて位置を決定した場合、印刷領域(P6)内に点線で示したように印刷領域(P6)の長辺と垂直に区切りを入れ、配置Aと反対側の領域を残りの印刷領域に設定する。また、図7(b)に示したように、印刷領域(P7)の長辺に対し、画像Aの長辺を合わせて位置を決定した場合は、印刷領域(P7)内に点線で示したように印刷領域(P7)の短辺と垂直に区切りを入れ、画像Aと反対側を残りの印刷領域とする。
この後は、印刷領域を変更された印刷領域としてステップS12から繰り返す。そして、画像配置が済むと(S20でNo)、コントローラ4は再構築した画像データをエンジン部3に渡し、画像出力部2により印刷を行う(S22)。
こうして、この実施例によれば、原稿の一部に印刷対象画像がある原稿において、その印刷対象画像を自動的に認識できるので、手間をかけずに集約印刷を行うことができる。
On the other hand, as in the example of the print image P5 shown in FIG. 6B, the relationship between the short side pw (w5) of the print area and the long side aw (w3) of the arrangement image A3 is pw <aw (w5 < If it is w3) (No in S13), it cannot be arranged in the print area, and therefore the image construction unit 8 determines whether or not the arrangement image can be arranged in a state rotated by 90 ° (S15). If the arrangement is possible (Yes in S15), the image construction unit 8 rotates the arrangement image by 90 ° (see FIG. 6B) (S16). In this state, if the arrangement is impossible (No in S15), and if the reduction is possible (Yes in S17), the reduction is performed so that the long side length aw of the arrangement image becomes smaller than the short side length pw of the print area. Perform (S18). If the image cannot be reduced (No in S17), the fact that printing is not possible is displayed (S19), and the operation is stopped.
Thus, when the arrangement position of the arrangement image is set (S14), it is determined whether or not there is a remaining arrangement image (S20). If there is a remaining arrangement image (Yes in S20), the remaining size of the print area is changed (S21). ). The changing method is shown in FIG. As shown in FIG. 7A, when the position is determined by aligning the long side of the image A with the short side of the print region (P6), printing is performed as indicated by the dotted line in the print region (P6). A division is made perpendicular to the long side of the area (P6), and the area opposite to the arrangement A is set as the remaining print area. Further, as shown in FIG. 7B, when the position is determined by aligning the long side of the image A with the long side of the print area (P7), the position is indicated by a dotted line in the print area (P7). In this way, a partition is made perpendicular to the short side of the print area (P7), and the side opposite to the image A is set as the remaining print area.
Thereafter, the printing area is repeated from step S12 as the changed printing area. When the image arrangement is completed (No in S20), the controller 4 passes the reconstructed image data to the engine unit 3 and performs printing by the image output unit 2 (S22).
Thus, according to this embodiment, since an image to be printed can be automatically recognized in a document having a print target image as a part of the document, collective printing can be performed without taking time and effort.

図8は配置画像を印刷領域にタイル状に敷きつめて印刷する集約印刷例である。利用者が、入力された画像から複数の画像を抽出し、1枚の印刷用紙にできるだけ多数の画像を集約印刷するように指示すると、コントローラ4は、図8に示した印刷画像P7のような画像を形成する。
このような集約印刷の配置方法は、図9に示した印刷画像P8、P9における配置のように基本的に2種類ある。したがって、画像構築部8は、配置画像が印刷領域にできるだけ多く配置できるように試みる際、印刷領域短辺に対して配置画像の短辺を合わせる印刷画像P8のような配置方法と、印刷領域短辺に対して配置画像の長辺を合わせる印刷画像P9のような配置方法とで、どちらの方が多く配置できるかを求める。印刷領域のサイズと配置画像のサイズが予めわかっているので、印刷領域と配置画像を比較することにより求めることができるのである。これにより決定された配置方法で配置画像を配置し、印刷画像を生成する。
FIG. 8 shows an example of collective printing in which the layout image is tiled in the print area and printed. When the user extracts a plurality of images from the input image and instructs to print as many images as possible on one print sheet, the controller 4 displays a print image P7 shown in FIG. Form an image.
There are basically two types of arrangement methods for such aggregated printing, such as the arrangement in the print images P8 and P9 shown in FIG. Therefore, when trying to arrange as many arrangement images as possible in the print area, the image construction unit 8 uses an arrangement method such as the print image P8 in which the short side of the arrangement image is aligned with the short side of the print area, and the print area short. Which one can be arranged more is determined by the arrangement method such as the print image P9 in which the long side of the arrangement image is aligned with the side. Since the size of the print area and the size of the arrangement image are known in advance, it can be obtained by comparing the print area with the arrangement image. The arrangement image is arranged by the arrangement method determined in this way, and a print image is generated.

図10に示したように、この実施例では、サイズの異なる複数画像を配置する。図10に示した画像A、B、C、D、Eがこの順で入力されたとする。記憶装置5内では、再構築画像上の先頭(例では左上)をスタートポイントとして記憶している。
再構築時(集約印刷時)、画像構築部8はまず、スタートポイントを元に画像Aを配置する。画像Aを配置後、図示した例では画像Aの幅だけスタートポイントを右へ移動させる。次に画像Bを配置するが、この際、画像構築部8は画像Bの画像サイズから画像Aの隣に画像Bを配置できるかどうかを判定する。スタートポイントから印刷領域の右端までの距離と画像Bの幅から配置できるか否かを決定するのである。図示した例では、隣に配置できるスペースがあるので、画像Aの右隣に画像Bを配置する。
さらに、画像Bの幅分だけスタートポイントを進め、画像Cを画像Bの右隣に配置できるかどうかを判定する。図示した例の場合、画像Bの右隣には配置できないので、スタートポイントを左端に戻し、画像Aまたは画像Bの縦方向で長いほうの長さ分だけスタートポイントを下方へ移動させ、そこから画像Cを配置する。そして、スタートポイントを画像Cの幅だけ移動させる。同様にして画像Dも配置する。
画像Eの配置では構築画像上に配置できないことがわかるので、この時点で1枚の印刷用画像が出来上がる。画像Eも再構築画像の2枚目として画像が作られていく。なお、ここでは、印刷用紙のサイズを固定にして、そのサイズに収まらない場合には残りを別の印刷用紙に配置するようにしているが、配置対象の複数の画像が収まるサイズの印刷用紙に出力する構成にしてもよい。
こうして、この実施例によれば、状況に応じた適切な集約印刷を行うことができる。
As shown in FIG. 10, in this embodiment, a plurality of images having different sizes are arranged. Assume that images A, B, C, D, and E shown in FIG. 10 are input in this order. In the storage device 5, the top of the reconstructed image (upper left in the example) is stored as a start point.
At the time of reconstruction (at the time of aggregate printing), the image construction unit 8 first arranges the image A based on the start point. After the image A is arranged, the start point is moved to the right by the width of the image A in the illustrated example. Next, the image B is arranged. At this time, the image construction unit 8 determines whether the image B can be arranged next to the image A from the image size of the image B. Whether or not it can be arranged is determined from the distance from the start point to the right end of the print area and the width of the image B. In the illustrated example, since there is a space that can be arranged next to the image A, the image B is arranged on the right side of the image A.
Further, the start point is advanced by the width of the image B, and it is determined whether the image C can be arranged on the right side of the image B. In the case of the illustrated example, since it cannot be placed right next to the image B, the start point is returned to the left end, the start point is moved downward by the longer length in the vertical direction of the image A or the image B, and from there Image C is arranged. Then, the start point is moved by the width of the image C. Similarly, the image D is also arranged.
Since it can be seen that the arrangement of the image E cannot be arranged on the constructed image, one printing image is completed at this point. The image E is also created as the second reconstructed image. Here, the size of the printing paper is fixed, and if it does not fit in that size, the rest is placed on another printing paper. However, the printing paper is of a size that can accommodate multiple images to be placed. It may be configured to output.
Thus, according to this embodiment, it is possible to perform appropriate aggregate printing according to the situation.

実施例5では、図11により、効率のよい画像の配置方法について説明する。画像A、B、Cがこの順で入力されたとする。
まず、画像Aを図10に示した印刷画像P10のように配置する。配置後の印刷領域の空きは、長辺方向についてはS1、短辺方向についてはS2であることがわかる。画像Bについては、配置位置決定の際、この2つの領域のどちらも対象にする。その結果、画像Bは図11に示した印刷画像P11のように配置される。画像Bが配置されることにより、印刷領域はS3のようになる。最後に画像Cを配置し(図11のP12参照)、これを印刷画像として生成する。
前記において、各画像の配置確定ごとに、周囲に区切り線を追加することが可能である。これにより、利用者はそれぞれの配置後の残りの配置範囲(印刷領域)を容易に知ることができる。また、各配置画像のサイズなどの情報とともに、その画像が何枚目に読み込まれた画像かをページ番号として保存する。これらの機能を付け加えることにより、自動配置することでわかりにくくなりやすい、画像の境界や原稿との対応を容易に特定することができる。
In the fifth embodiment, an efficient image arrangement method will be described with reference to FIG. Assume that images A, B, and C are input in this order.
First, the image A is arranged like the print image P10 shown in FIG. It can be seen that the vacant print area after placement is S1 in the long side direction and S2 in the short side direction. For image B, both of these two areas are targeted when determining the arrangement position. As a result, the image B is arranged like the print image P11 shown in FIG. By arranging the image B, the print area becomes S3. Finally, an image C is arranged (see P12 in FIG. 11), and this is generated as a print image.
In the above, it is possible to add a dividing line around each time the arrangement of each image is determined. Thereby, the user can easily know the remaining arrangement range (printing area) after each arrangement. In addition to information such as the size of each layout image, the number of the read image is stored as a page number. By adding these functions, it is possible to easily specify the correspondence between the image boundaries and the manuscript, which is difficult to understand by automatic placement.

この実施例では、図12に示したような右綴じまたは左綴じを考慮した集約印刷を行う。左綴じの場合は実施例3に示したようにスタートポイントを移す方法で画像を構築すればよいが、右綴じの場合、画像を右から順に配置したほうが読みやすい。したがって、右綴じでは、スタートポイントを構築画像上の右上とし、スタートポイントを画像幅分左にずらしてから画像を配置するという動作を繰り返すことにより画像を構築する。
左綴じの場合の動作フローを図13に、その説明図を図14に示す。以下、図13および図14に従って、この動作フローを説明する。
まず、画像構築部8がスタートポイント(sx,sy)を印刷領域の左上を基準(原点)として設定する(S31)。sxは綴じ幅から決まる値である。
続いて、配置されずに残っている配置画像があるか否かを判定し(S32)、この時点では当然残りがあるので(S32でYes)、そのときのスタートポイントのy方向値syが印刷領域のy方向長(長辺長)h4より小さいか否かを判定する(S33)。そして、この時点ではまだ配置済み列はなく、したがって、syはh4より小さいので(S33でYes)、sx+wi(ここではw1)が印刷領域のx方向長(短辺長)w4より小さいか否かを判定する(S34)。こうして、この時点ではsx+wiはw4より小さいと判定され(S34でYes)、画像構築部8は配置画像の左上をそのときのスタートポイントに合わせ、その配置画像(ここでは画像A)を描画する(S35)。
In this embodiment, aggregate printing is performed in consideration of right binding or left binding as shown in FIG. In the case of left binding, the image may be constructed by moving the start point as shown in the third embodiment, but in the case of right binding, it is easier to read if the images are arranged in order from the right. Therefore, in right binding, the image is constructed by repeating the operation of placing the image after shifting the start point to the left by the image width, with the start point being the upper right on the constructed image.
FIG. 13 shows an operation flow in the case of left binding, and FIG. 14 shows an explanatory diagram thereof. Hereinafter, this operation flow will be described with reference to FIGS. 13 and 14.
First, the image construction unit 8 sets the start point (sx, sy) with the upper left of the print area as a reference (origin) (S31). sx is a value determined from the binding width.
Subsequently, it is determined whether or not there is an arrangement image remaining without being arranged (S32). Since there is a remaining image at this time (Yes in S32), the y-direction value sy of the start point at that time is printed. It is determined whether or not the length of the region in the y direction (long side length) h4 is smaller (S33). At this point in time, there is no arranged column, and therefore sy is smaller than h4 (Yes in S33), so whether or not sx + wi (here w1) is smaller than the x-direction length (short side length) w4 of the print area. Is determined (S34). Thus, at this time, it is determined that sx + wi is smaller than w4 (Yes in S34), and the image construction unit 8 draws the arrangement image (here, image A) by aligning the upper left of the arrangement image with the start point at that time ( S35).

次に、画像構築部8はそのときのスタートポイントのx方向の値sxに当該画像のx方向長wiを加えてスタートポイントを右方に移動させる(S36)。さらに、当該画像のy方向長hiが同じ並びに配置済みの画像のうちの最大y方向長max_hより大きいか否かを判定し(S37)、大きければ(S37でYes)、当該画像のy方向長hiをmax_hとする(S38)。そして、iの値を1だけ増やして配置対象を次の画像にし(S39)、ステップS32から繰り返す。
そして、その繰り返しのステップS34において、そのときのスタートポイントのx値であるsxに当該配置画像のx方向長を加えたsx+wiが印刷領域のx方向長w4より大きいと判定されたならば(S34でNo)、その並びへの配置は不可能であるので、スタートポイントを次段の冒頭へ移動させる(S41)。つまり、sx=w0(w0は綴じ幅)、sy=sy+max_hとして、ステップS32へ戻る。
また、その繰り返しのステップS33において、そのときのスタートポイントのy方向値syが印刷領域のy方向長h4より大きいと判定されたならば(S33でNo)、当該印刷用紙への画像配置を終了させ、その印刷を開始させるとともに、次の印刷用紙への画像配置へ移る(S40)。また、ステップS32において、残り画像(未配置の画像)がないと判定されたならば(S32でNo)、この動作フローを終了させる。
次に、図15および図16に従って、右綴じの場合の動作フローを説明する。
まず、画像構築部8がスタートポイント(sx,sy)を印刷領域の右上を基準として設定する(S51)。つまり、左上を原点としてsxをw4−w0(w0は綴じ幅)とする。
続いて、残っている配置画像があるか否かを判定し(S52)、この時点では当然残りがあるので(S52でYes)、そのときのスタートポイントのy方向値syが印刷領域のy方向長(長辺長)h4より小さいか否かを判定する(S53)。そして、この時点ではまだ配置済み列はなく、したがって、syはh4より小さいので(S53でYes)、sx−wi(ここではw1)が正の値か否かを判定する(S54)。こうして、この時点ではsx−wiは正の値と判定され(S54でYes)、画像構築部8はそのときのスタートポイントのx方向の値sxから当該画像のx方向長wiを減じてスタートポイントを左方に移動させる(S55)。
Next, the image construction unit 8 adds the x-direction length wi of the image to the value sx of the start point in the x direction and moves the start point to the right (S36). Further, it is determined whether or not the y-direction length hi of the images is larger than the maximum y-direction length max_h of the same arranged images (S37), and if it is larger (Yes in S37), the y-direction length of the images hi is set to max_h (S38). Then, the value of i is increased by 1 to make the arrangement target the next image (S39), and the process is repeated from step S32.
In step S34, if it is determined that sx + wi obtained by adding the x-direction length of the arrangement image to sx that is the x value of the start point at that time is greater than the x-direction length w4 of the print area (S34). No), it is impossible to arrange in the line, so the start point is moved to the beginning of the next stage (S41). That is, sx = w0 (w0 is the binding width) and sy = sy + max_h, and the process returns to step S32.
If it is determined in the repeated step S33 that the y-direction value sy of the start point at that time is larger than the y-direction length h4 of the printing area (No in S33), the image arrangement on the printing paper is terminated. Then, the printing is started and the process moves to the image arrangement on the next printing paper (S40). If it is determined in step S32 that there are no remaining images (unplaced images) (No in S32), the operation flow is terminated.
Next, an operation flow in the case of right binding will be described with reference to FIGS. 15 and 16.
First, the image construction unit 8 sets the start point (sx, sy) with reference to the upper right of the print area (S51). That is, let sx be w4-w0 (w0 is the binding width) with the upper left as the origin.
Subsequently, it is determined whether or not there is a layout image remaining (S52). Since there is still a remaining at this time (Yes in S52), the y-direction value sy at that time is the y-direction of the print area. It is determined whether the length (long side length) is smaller than h4 (S53). At this point in time, there is no arranged column yet, so sy is smaller than h4 (Yes in S53), and it is determined whether sx-wi (here, w1) is a positive value (S54). Thus, at this time, sx-wi is determined to be a positive value (Yes in S54), and the image construction unit 8 subtracts the x-direction length wi of the image from the x-direction value sx of the start point at that time to start point Is moved to the left (S55).

次に、画像構築部8は配置画像の左上を移動後のスタートポイントに合わせ、その配置画像(ここでは画像A)を描画する(S56)。さらに、当該画像のy方向長hiが同じ並びに配置済みの画像のうちの最大y方向長max_hより大きいか否かを判定し(S57)、大きければ(S57でYes)、当該画像のy方向長hiをmax_hとする(S58)。そして、iの値を1だけ増やして配置対象を次の画像にし(S59)、ステップS52から繰り返す。
そして、その繰り返しのステップS54において、そのときのスタートポイントのx値であるsxから当該配置画像のx方向長を減じたsx−wiが負であると判定されたならば(S54でNo)、その並びへの配置は不可能であるので、スタートポイントを次段の右方へ移動させる(S61)。つまり、sx=w4−w0、sy=sy+max_hとして、ステップS52へ戻る。
また、その繰り返しのステップS53において、そのときのスタートポイントのy方向値syが印刷領域のy方向長h4より大きいと判定されたならば(S53でNo)、当該印刷用紙への画像配置を終了させ、その印刷を開始させるとともに、次の印刷用紙への画像配置へ移る(S60)。また、ステップS52において、残り画像(未配置の画像)がないと判定されたならば(S52でNo)、この動作フローを終了させる。
こうして、この実施例によれば、原稿の一部に印刷対象画像がある原稿において、その印刷対象画像を自動的に認識して切り出し、綴じ幅分を残す場合でも適切な集約印刷を行うことができる。
Next, the image construction unit 8 draws the arrangement image (here, image A) by aligning the upper left of the arrangement image with the moved start point (S56). Further, it is determined whether or not the y-direction length hi of the image is the same and the maximum y-direction length max_h of the already arranged images (S57). If it is larger (Yes in S57), the y-direction length of the image is determined. hi is set to max_h (S58). Then, the value of i is increased by 1 to make the arrangement target the next image (S59), and the process is repeated from step S52.
If it is determined in the repeated step S54 that sx-wi obtained by subtracting the x-direction length of the arrangement image from sx that is the x value of the start point at that time is negative (No in S54). Since it is impossible to arrange them in the line, the start point is moved to the right of the next stage (S61). That is, sx = w4-w0 and sy = sy + max_h are set, and the process returns to step S52.
If it is determined in the repeated step S53 that the y-direction value sy of the start point at that time is greater than the y-direction length h4 of the printing area (No in S53), the image arrangement on the printing paper is terminated. Then, the printing is started and the process moves to the image arrangement on the next printing paper (S60). If it is determined in step S52 that there are no remaining images (unplaced images) (No in S52), the operation flow is terminated.
Thus, according to this embodiment, in a document having a print target image as a part of the document, the print target image is automatically recognized and cut out, and appropriate collective printing can be performed even when the binding width is left. it can.

本発明の一実施形態を示すデジタル複写機の構成ブロック図。1 is a configuration block diagram of a digital copying machine showing an embodiment of the present invention. 本発明の第1の実施例を示すデジタル複写機の動作フロー図。FIG. 3 is an operation flowchart of the digital copying machine showing the first embodiment of the present invention. 本発明の第1の実施例を示すデジタル複写機要部の動作説明図。FIG. 3 is a diagram for explaining the operation of the main part of the digital copying machine according to the first embodiment of the present invention. 本発明の第1の実施例を示すデジタル複写機要部の他の動作説明図。FIG. 6 is another operation explanatory diagram of the main part of the digital copying machine showing the first embodiment of the present invention. 本発明の第2の実施例を示すデジタル複写機要部の動作フロー図。FIG. 7 is an operation flowchart of the main part of a digital copying machine showing a second embodiment of the present invention. 本発明の第2の実施例を示すデジタル複写機要部の動作説明図。FIG. 9 is a diagram for explaining the operation of the main part of a digital copying machine showing a second embodiment of the present invention. 本発明の第2の実施例を示すデジタル複写機要部の他の動作説明図。FIG. 10 is another operation explanatory view of the main part of the digital copying machine showing a second embodiment of the present invention. 本発明の第3の実施例を示すデジタル複写機要部の動作説明図。FIG. 10 is a diagram for explaining the operation of a main part of a digital copying machine showing a third embodiment of the present invention. 本発明の第3の実施例を示すデジタル複写機要部の他の動作説明図。FIG. 12 is another operation explanatory diagram of the main part of the digital copying machine showing a third embodiment of the present invention. 本発明の第4の実施例を示すデジタル複写機要部の動作説明図。FIG. 10 is a diagram for explaining the operation of the main part of a digital copying machine showing a fourth embodiment of the present invention. 本発明の第5の実施例を示すデジタル複写機要部の動作説明図。FIG. 10 is a diagram for explaining the operation of a main part of a digital copying machine showing a fifth embodiment of the present invention. 本発明の第6の実施例を示すデジタル複写機要部の動作説明図。FIG. 10 is a diagram for explaining the operation of the main part of a digital copying machine showing a sixth embodiment of the present invention. 本発明の第6の実施例を示すデジタル複写機要部の動作フロー図。FIG. 10 is an operation flowchart of the main part of a digital copying machine showing a sixth embodiment of the present invention. 本発明の第6の実施例を示すデジタル複写機要部の他の動作説明図。Another operation explanatory view of the main part of the digital copying machine showing the sixth embodiment of the present invention. 本発明の第6の実施例を示すデジタル複写機要部の他の動作フロー図。FIG. 10 is another operation flowchart of the main part of the digital copying machine showing the sixth embodiment of the present invention. 本発明の第6の実施例を示すデジタル複写機要部の他の動作説明図。Another operation explanatory view of the main part of the digital copying machine showing the sixth embodiment of the present invention.

符号の説明Explanation of symbols

1 画像読み取り部
2 画像出力部
3 エンジン部
4 コントローラ
5 記憶装置
6 操作部
7 画像処理部
8 画像構築部
DESCRIPTION OF SYMBOLS 1 Image reading part 2 Image output part 3 Engine part 4 Controller 5 Storage device 6 Operation part 7 Image processing part 8 Image construction part

Claims (15)

画像データを入力する画像入力手段と、入力された画像データを蓄積する記憶手段と、入力された後の画像データを出力する画像出力手段とを備えた画像情報装置において、入力された画像データから画像の有効範囲のみ自動的に切り出す画像切り出し手段を備え、該画像切り出し手段により切り出された画像データを、切り出し時に取得した画像再構築用情報とともに前記記憶手段に記憶しておき、該記憶手段に記憶された前記画像データおよび前記画像再構築用情報を用いて画像を構築する構成にしたことを特徴とする画像情報装置。   In an image information apparatus comprising an image input means for inputting image data, a storage means for storing input image data, and an image output means for outputting image data after being input, from the input image data An image cutout unit that automatically cuts out only the effective range of the image is provided, and the image data cut out by the image cutout unit is stored in the storage unit together with the image reconstruction information acquired at the time of cutout. An image information apparatus configured to construct an image using the stored image data and the image reconstruction information. 請求項1記載の画像情報装置において、前記画像再構築用情報が、画像切り出し前の画像サイズを示す元画像サイズ情報および切り出した画像の位置情報であることを特徴とする画像情報装置。   The image information apparatus according to claim 1, wherein the image reconstruction information is original image size information indicating an image size before image clipping and position information of the clipped image. 請求項1記載の画像情報装置において、前記入力された画像データがカラー画像であり、そのカラー画像の地肌部分を認識する地肌認識手段を備え、該地肌認識手段により認識された地肌部分の地肌色を除去した画像データを対象にして前記画像の有効範囲を切り出すように前記画像切り出し手段を構成したことを特徴とする画像情報装置。   The image information apparatus according to claim 1, wherein the input image data is a color image, and includes background recognition means for recognizing a background portion of the color image, and a background color of the background portion recognized by the background recognition means. An image information apparatus characterized in that the image cutout means is configured to cut out an effective range of the image with respect to image data from which image data has been removed. 請求項3記載の画像情報装置において、前記地肌色を示す地肌色情報を前記記憶手段に蓄積する構成にしたことを特徴とする画像情報装置。   4. The image information apparatus according to claim 3, wherein background color information indicating the background color is stored in the storage means. 請求項1または請求項3記載の画像情報装置において、前記画像の有効範囲が入力された画像データに含まれているそれぞれの色にとって有効な範囲であり、その色ごとに画像の有効範囲を切り出す構成にしたことを特徴とする画像情報装置。   4. The image information apparatus according to claim 1, wherein the effective range of the image is an effective range for each color included in the input image data, and the effective range of the image is cut out for each color. An image information apparatus characterized by having a configuration. 請求項1記載の画像情報装置において、前記記憶手段に記憶された複数の画像データを出力用紙サイズに収まる範囲内で出力する構成にしたことを特徴とする画像情報装置。   2. The image information apparatus according to claim 1, wherein the image information apparatus is configured to output a plurality of image data stored in the storage means within a range that fits in an output paper size. 請求項1記載の画像情報装置において、前記記憶手段に記憶された複数の画像データを、該複数の画像が収まる用紙サイズの印刷用紙に出力する構成にしたことを特徴とする画像情報装置。   2. The image information apparatus according to claim 1, wherein a plurality of pieces of image data stored in the storage unit are output onto a print sheet having a sheet size in which the plurality of images can be accommodated. 請求項6または請求項7記載の画像情報装置において、当該画像が残りの印刷領域に収まらなかった場合、該画像を90度回転させて配置する構成にしたことを特徴とする画像情報装置。   8. The image information apparatus according to claim 6, wherein when the image does not fit in the remaining printing area, the image is rotated by 90 degrees and arranged. 請求項8記載の画像情報装置において、当該画像を90度回転させても画像が収まらなかった場合、該画像を縮小して配置する構成にしたことを特徴とする画像情報装置。   9. The image information apparatus according to claim 8, wherein if the image does not fit even if the image is rotated by 90 degrees, the image is reduced and arranged. 請求項6または請求項7記載の画像情報装置において、各画像の配置確定ごとに、周囲に区切り線を追加する構成にしたことを特徴とする画像情報装置。   8. The image information apparatus according to claim 6, wherein a separator is added around each time the arrangement of each image is determined. 請求項6または請求項7記載の画像情報装置において、綴じ幅を考慮して配置し、出力する構成にしたことを特徴とする画像情報装置。   8. The image information device according to claim 6, wherein the image information device is arranged in consideration of the binding width and outputs the result. 請求項11記載の画像情報装置において、右綴じの場合、印刷用紙の右端から順に配置画像を配置する構成にしたことを特徴とする画像情報装置。   12. The image information apparatus according to claim 11, wherein in the case of right binding, the arrangement image is arranged in order from the right end of the printing paper. 請求項12記載の画像情報装置において、印刷用紙の右端から順に配置画像を配置する際、スタートポイントを前記印刷用紙の右端から綴じ幅分ずらした後、前記スタートポイントを当該画像幅分左にずらしてから画像を配置するという動作を繰り返す構成にしたことを特徴とする画像情報装置。   13. The image information apparatus according to claim 12, wherein when arranging the arranged images in order from the right edge of the printing paper, the start point is shifted from the right edge of the printing paper by the binding width, and then the start point is shifted to the left by the image width. An image information apparatus characterized by repeating the operation of arranging images afterwards. 画像データを入力し、入力された画像データを蓄積した後、蓄積された画像データを印刷する画像印刷方法において、入力された画像データから画像の有効範囲のみ自動的に切り出し、切り出された画像データを、その切り出し時に取得した画像再構築用情報とともに記憶した後、記憶された前記画像データおよび前記画像再構築用情報を用いて画像を再構築して印刷することを特徴とする画像印刷方法。   In an image printing method for inputting image data, storing the input image data, and then printing the stored image data, only the effective range of the image is automatically cut out from the input image data, and the image data is cut out Is stored together with the image reconstruction information acquired at the time of the cutout, and then the image is reconstructed and printed using the stored image data and the image reconstruction information. 請求項14記載の画像印刷方法において、複数の原稿から切り出した複数の画像データを、その切り出し時に取得したそれぞれの画像再構築用情報とともに記憶した後、記憶された前記複数の画像データおよびそれぞれの画像再構築用情報を用いて複数の画像を集約配置して印刷することを特徴とする画像印刷方法。
15. The image printing method according to claim 14, wherein a plurality of pieces of image data cut out from a plurality of originals are stored together with respective pieces of image reconstruction information acquired at the time of cutting out, and then the plurality of stored image data and the respective pieces of image data are stored. An image printing method, wherein a plurality of images are aggregated and printed using image reconstruction information.
JP2004302195A 2004-10-15 2004-10-15 Image information device and image printing method Pending JP2006115348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004302195A JP2006115348A (en) 2004-10-15 2004-10-15 Image information device and image printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004302195A JP2006115348A (en) 2004-10-15 2004-10-15 Image information device and image printing method

Publications (1)

Publication Number Publication Date
JP2006115348A true JP2006115348A (en) 2006-04-27

Family

ID=36383459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004302195A Pending JP2006115348A (en) 2004-10-15 2004-10-15 Image information device and image printing method

Country Status (1)

Country Link
JP (1) JP2006115348A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005068A (en) * 2007-06-21 2009-01-08 Ricoh Co Ltd Image processing apparatus and image processing method
US7747089B2 (en) 2006-06-12 2010-06-29 Konica Minolta Business Technologies, Inc. Image processing apparatus, image processing method, and image processing program
JP2012169909A (en) * 2011-02-15 2012-09-06 Nec Access Technica Ltd Image formation apparatus and aggregation printing method
JP2016032276A (en) * 2014-07-30 2016-03-07 ブラザー工業株式会社 Image processing system and computer program
JP2017225009A (en) * 2016-06-15 2017-12-21 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method and image forming program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747089B2 (en) 2006-06-12 2010-06-29 Konica Minolta Business Technologies, Inc. Image processing apparatus, image processing method, and image processing program
JP2009005068A (en) * 2007-06-21 2009-01-08 Ricoh Co Ltd Image processing apparatus and image processing method
JP2012169909A (en) * 2011-02-15 2012-09-06 Nec Access Technica Ltd Image formation apparatus and aggregation printing method
JP2016032276A (en) * 2014-07-30 2016-03-07 ブラザー工業株式会社 Image processing system and computer program
JP2017225009A (en) * 2016-06-15 2017-12-21 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming method and image forming program

Similar Documents

Publication Publication Date Title
JP4661580B2 (en) Image processing apparatus and program
JP5209953B2 (en) Image data supply apparatus and image data supply method
US9203983B2 (en) Image forming apparatus and image data processing method
US20090290192A1 (en) Image processing apparatus, image processing method, and program
US9984663B2 (en) Display device, screen display method, recording medium, and image processing apparatus
JP2009225269A (en) Image processing unit, and image processing method and program for making computer implement the method
US8218911B2 (en) Image processing apparatus and image processing method
JP2006262078A (en) Image processor
US20070226692A1 (en) Image processing apparatus and image processing method
US20070097403A1 (en) Image processing system
JP6776906B2 (en) Scanner, scan control program, image data generation method
JP2006115348A (en) Image information device and image printing method
US20090083318A1 (en) Device adaptively switching image processes in accordance with characteristic of object included in image
JP2004104324A (en) Image forming apparatus
JP2004304469A (en) Regional division of original image, compression program, and regional division and compression method
JP6051675B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2009124576A (en) Image processing apparatus and control method thereof
JP2011091537A (en) Image reader and image reading system
JP5291131B2 (en) Image forming apparatus and aggregate printing method
JP2002027228A (en) Equipment and method of processing image, and recording medium
JP2008294831A (en) Image distortion correction device
JP5222255B2 (en) Image forming apparatus and image forming system
JP4957570B2 (en) Image processing device
JP2022026215A (en) Image forming apparatus and method for controlling the same, and program
JP3749808B2 (en) Image forming apparatus