JP2008028934A - Data processing method, and multifunction printer - Google Patents
Data processing method, and multifunction printer Download PDFInfo
- Publication number
- JP2008028934A JP2008028934A JP2006202327A JP2006202327A JP2008028934A JP 2008028934 A JP2008028934 A JP 2008028934A JP 2006202327 A JP2006202327 A JP 2006202327A JP 2006202327 A JP2006202327 A JP 2006202327A JP 2008028934 A JP2008028934 A JP 2008028934A
- Authority
- JP
- Japan
- Prior art keywords
- data
- image
- recording
- processing method
- image data
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、記録媒体に余白のない状態で画像を記録するための画像データ処理方法および該方法を実行可能なマルチファンクションプリンタに関する。 The present invention relates to an image data processing method for recording an image with no blank space on a recording medium and a multifunction printer capable of executing the method.
近年、画像データを記録するだけの単機能プリンタに代わり、多岐にわたる機能を備えた比較的安価なマルチファンクションプリンタが普及して来ている。このようなマルチファンクションプリンタは、大きく分類すると、スキャナ、記録装置、メモリカードリーダ、ユーザインタフェイス操作部で構成されており、それぞれを組み合わせて多機能を実現している。一般には、スキャナと記録装置を組み合わせてコピー機能を実現させたり、メモリカードリーダと記録装置を組み合わせてディジタルカメラで撮影した写真画像のカードダイレクト印刷を実現させたりしている。 In recent years, relatively inexpensive multifunction printers having a wide variety of functions have been widely used in place of single-function printers that only record image data. Such a multi-function printer is roughly classified into a scanner, a recording device, a memory card reader, and a user interface operation unit, and realizes multi-functions by combining them. In general, a copy function is realized by combining a scanner and a recording device, or card direct printing of a photographic image taken by a digital camera is realized by combining a memory card reader and a recording device.
一方、こうしたコピー機能やカードダイレクト印刷機能においては、記録媒体の端部に余白を設けずに画像を出力する、いわゆる「余白なし記録」への要求が高く、このような機能を備えたマルチファンクションプリンタも数多く提供されている。すなわち、コピー機能では「余白なし記録」を行うことで原稿を余白なしでコピーすることが可能となり、カードダイレクト印刷機能ではディジタルカメラなどで撮影した写真を余白なしでプリントすることが可能となる。 On the other hand, in such a copy function and card direct printing function, there is a high demand for so-called “marginless recording” in which an image is output without providing a margin at the end of the recording medium, and a multi-function having such a function is provided. Many printers are also available. That is, with the copy function, it is possible to copy an original without a margin by performing “record without margin”, and with the card direct printing function, it is possible to print a photograph taken with a digital camera or the like without a margin.
余白なしコピーを行う場合、スキャナで読み込んだオリジナル画像を指定された用紙サイズよりも若干大きめのサイズの画像データに拡大する作業が行われる。また、余白なし写真印刷を行う場合にも、メモリカードから読み出した画像ファイルを指定された用紙サイズよりも若干大きめのサイズにリサイズする作業が行われる。このような拡大処理やリサイズによって、記録媒体の先端部や後端部或いは左右端部よりも少しはみ出した領域(以後、フチ部と称す)にまで記録する画像データが生成される。これにより、記録装置の搬送精度などに多少の誤差が含まれていても、記録媒体の端部に白紙領域が存在しない「余白なし記録」を実現することが出来る。 When copying without margins, the original image read by the scanner is enlarged to image data having a size slightly larger than the designated paper size. Also, when performing photo printing without margins, an operation of resizing the image file read from the memory card to a size slightly larger than the designated paper size is performed. By such enlarging processing and resizing, image data to be recorded is generated up to a region (hereinafter referred to as a “edge portion”) that is slightly beyond the leading edge, the trailing edge, or the left and right edges of the recording medium. This makes it possible to realize “marginless recording” in which a blank area does not exist at the end of the recording medium even if there is some error in the conveyance accuracy of the recording apparatus.
しかしながら、上述したような拡大処理を実行して余白なしコピーを行う場合、自動的に画像全体が拡大されてしまうので、一般的な等倍コピーを行うことが出来ないという矛盾が生じる。更に、このような余白なしコピーを、子コピー、孫コピーと繰り返した場合、コピーのたびに拡大処理が重ねられて行くので、オリジナル原稿の端部に配置する情報が最端部から徐々に損なわれて行くと言う問題も生じる。 However, when performing enlargement processing as described above to perform marginless copying, the entire image is automatically enlarged, resulting in a contradiction that general normal copying cannot be performed. Further, when such a marginless copy is repeated as a child copy and a grandchild copy, the enlargement process is repeated each time the copy is made, so that information placed at the end of the original document is gradually lost from the end. The problem of going away also arises.
リサイズを実行して余白なし写真印刷を行う場合も同様の弊害が懸念される。リサイズによって端部領域、すなわち記録媒体の端部よりもはみ出して記録されることが想定される領域の画像は、殆どの場合が記録媒体に記録されない。これは、例えば集合写真などの場合、両端に並んだ人物が記録媒体に記録されないという不具合を招く。 The same adverse effect is also a concern when resizing is performed to perform photo printing without margins. In most cases, the image of the end region, that is, the region expected to be recorded beyond the end of the recording medium by resizing, is not recorded on the recording medium. For example, in the case of a group photo, there is a problem that the people lined up at both ends are not recorded on the recording medium.
このような問題への対策として、特許文献1には拡大処理やリサイズを行わずに「余白なし記録」を実現する方法が開示されている。同文献によれば、画像データの一部をトリミングして「余白なし記録」を行う場合、フチ部の画像データのためにトリミング枠外のデータを利用する方法が開示されている。そして、トリミング枠が画像の端部に相当する、あるいは画像全体をトリミングするなどの理由で枠外に画像データが存在しない場合には、画像の端の画素を繰り返しコピーして端部領域の画像データを補間生成している。このような方法であれば、トリミング枠内の画像データの拡大処理やリサイズを行う必要がなくなるので、枠内に含まれる情報が欠落することはない。
As a countermeasure against such a problem,
しかしながら、特許文献1に記載の方法で枠外に画像データが存在しない場合、トリミング内の画像と単純なコピーによって得られた端部領域の画像との境界において連続性が損なわれ、視覚的に違和感を覚える場合がある。具体的に説明するために、例えば紅葉の風景写真などのように色彩や濃度の変動が比較的大きい画像を考える。このような画像を余白なし記録する場合であっても、特許文献1の方法では、オリジナル画像の最端部に位置する一部分のデータを連続的にコピーすることで、フチ部のデータを生成している。よって、オリジナル画像内の色彩や濃度の変動傾向が保存されず、視覚的に違和感を与える結果となってしまうのである。
However, when there is no image data outside the frame by the method described in
本発明は上記問題点に鑑みてなされたものであり、その目的とするところは、オリジナル画像の欠落を招くことなく、且つ記録媒体のフチ部において画像の連続性を損なうことなく、「余白なし記録」を実現可能な画像処理方法を提供することである。 The present invention has been made in view of the above-described problems, and the object of the present invention is to prevent the loss of the original image and to reduce the continuity of the image at the border portion of the recording medium. It is to provide an image processing method capable of realizing “recording”.
そのために本発明においては、多階調のデータを有する画素の複数で構成されるオリジナル画像を記録媒体に余白を設けずに記録する余白なし記録のためのデータ処理方法であって、前記オリジナル画像の外周端から内側に向けて所定幅を有する端部領域に含まれる画素群の階調データの変位量を前記端部領域の内側から外側に向けて検知する工程と、前記変位量に応じて、前記端部領域の更に外側に接するフチ部に新たな階調データを有する画素群を生成する工程と、前記オリジナル画像と前記フチ部とを合体させて余白なし記録用の画像データを作成する工程とを有することを特徴とする。 Therefore, in the present invention, there is provided a data processing method for marginless recording in which an original image composed of a plurality of pixels having multi-gradation data is recorded without providing a margin on a recording medium, Detecting the displacement amount of the gradation data of the pixel group included in the end region having a predetermined width from the outer peripheral end to the inner side, from the inner side to the outer side of the end region, and according to the displacement amount A step of generating a pixel group having new gradation data in a border portion that is further in contact with the outer side of the edge region, and the original image and the border portion are merged to create image data for marginless recording. And a process.
また、多階調のデータを有する画素の複数で構成されるオリジナル画像を記録媒体に余白を設けずに記録可能なマルチファンクションプリンタであって、印刷処理コマンドを受信する手段と、前記印刷処理コマンドに応じて画像データを取得する手段と、前記画像データの外周端から内側に向けて所定幅を有する端部領域に含まれる画素群の階調データの変位量を前記端部領域の内側から外側に向けて検知する手段と、前記変位量に応じて、前記端部領域の更に外側に接するフチ部に新たな階調データを有する画素群を生成する手段と、前記画像データと前記フチ部とを合体させて余白なし記録用の新たな画像データを作成する手段と、前記新たな画像データに基づいて前記記録媒体にインクを記録する手段とを具備することを特徴とする。 A multi-function printer capable of recording an original image composed of a plurality of pixels having multi-gradation data without providing a margin on a recording medium, the means for receiving a print processing command, and the print processing command And a means for acquiring image data in accordance with the amount of displacement of the gradation data of the pixel group included in the end region having a predetermined width from the outer peripheral end to the inner side of the image data. Means for detecting the image data, means for generating a pixel group having new gradation data in a border portion that is further in contact with the outer side of the edge region, and the image data and the border portion according to the displacement amount. And a means for creating new image data for marginless recording and a means for recording ink on the recording medium based on the new image data.
本発明によれば、余白なしコピーや余白なし写真印刷を行う場合であっても、オリジナルデータの拡大や欠落を伴うことなく、連続性が維持された違和感のない余白なしの出力物を得ることが可能となる。 According to the present invention, it is possible to obtain a blank-free output product that maintains continuity and does not have a sense of incongruity without enlarging or missing original data even when copying without margins or printing photos without margins. Is possible.
以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
図1は本発明に適用可能なマルチファンクションプリンタの制御の構成を説明するためのブロック図である。印刷設定指定部11はユーザインタフェイスを備え、ユーザからのファンクション設定や記録開始コマンドを受信する。画像解析部12は、印刷設定指定部11に設定されたコマンドに従い、画像メモリ15に蓄えられた画像データの解析処理を行う。カードリーダ部17は、ディジタルカメラなどによってカードメモリに収められた画像データを読み取り、画像メモリ15にこれを転送する。スキャナ16は、原稿台に置かれた原稿を読み取り、画像データに変換し、画像メモリ15にこれを転送する。画像メモリ15は、カードリーダ17やスキャナ部16から受信した画像データを一時的に保管する。
FIG. 1 is a block diagram for explaining a control configuration of a multifunction printer applicable to the present invention. The print
画像解析部12は、画像メモリ15に格納された画像データを解析し、記録制御部14が記録可能な画像データに変換する。フチ部データ補間作成部13は、画像解析部12が変換した画像データを基に、余白なし記録を行う際のフチ部の画像データを生成する。
The
画像解析部12によって展開された画像データとフチ部データ補間生成部13によって生成されたフチ部のデータは、印刷制御部14に送られる。印刷制御部14は受信したデータに従って記録媒体に画像を記録する。
The image data developed by the
以下、図1で示したマルチファンクションプリンタを用い、様々な余白なし画像を出力する実施例を具体的に説明する。 In the following, an embodiment for outputting various marginless images using the multifunction printer shown in FIG. 1 will be described in detail.
図2は、余白なし等倍コピーを実行する際に、図1で示した本実施形態のマルチファンクションプリンが実行する一連の工程を説明するためのフローチャートである。 FIG. 2 is a flowchart for explaining a series of steps executed by the multi-function pudding of the present embodiment shown in FIG.
処理が開始されると、まずステップS101で、印刷設定指定部11はユーザインタフェイスを介してユーザから指定されたコマンドの設定を行う。本実施例では、「余白なし等倍コピーモード」が設定される。
When the process is started, first, in step S101, the print
続くステップS102では、スキャナ部16が原稿台に設置された原稿を読み取り、画像メモリ15に読み取った画像データを格納する。具体的には、スキャナ部16は原稿の全画像領域の反射濃度を所定の解像度で光学的に読み取り、R(レッド)、G(グリーン)、B(ブルー)の輝度データとして画像メモリに15に画素ごとに保存する。
In the subsequent step S102, the
ステップS103では、画像メモリ15に格納されたデータを画像解析部12が画素毎に処理し、印刷制御部14によって印刷可能な画像データに変換する。本実施形態の印刷制御部は、シアン(C)、ライトシアン(LC)、マゼンタ(M)、ライトマゼンタ(LM)、イエロー(Y)およびブラック(Bk)の6色のインクを用い、インクジェット記録方式を採用して画像を形成する。よって、画像解析部12は、画像メモリ15に格納されているR、GおよびBの輝度データを、C、LC,M、LM、YおよびKの濃度データに各画素について色分解する。
In step S103, the
余白なしコピーでなければ、ここで得られた濃度データをそのまま印刷制御部14に転送することによって記録が行われる。しかし、本実施形態のように余白なしコピーを実行する場合には、記録媒体のフチ部に対する濃度データを新たに生成する必要がある。
If the copy is not a marginless copy, the density data obtained here is transferred as it is to the
図3は、本例で用いる画像サンプル(原稿100)の一例を示した図である。原稿100の右下端部には写真部105、右上端部には白抜け文字のテキスト部1 103、中央には黒文字のテキスト部2 101がそれぞれ配置されている。以下、このような原稿画像を余白なしコピーする場合を例に説明を進めていく。
FIG. 3 is a diagram showing an example of an image sample (original 100) used in this example. A
図4は、原稿100の余白なしコピーを行うために生成する、フチ部102の画像データを説明するための図である。幅方向のw1とw2、および長手方向のh1とh2に含まれる部分が新たに画像データを生成するフチ部102となる。図において、原稿100の端部に配置されている写真部105およびテキスト部1 103は、フチ部にはみ出すようにデータが生成されているが、その内容は拡大されていない。フチ部のデータを、原稿のグラデーションや一様性を損なわないようにして、新たに付け加えることが本実施形態の特徴となる。具体的には、原稿100の最端部からここに隣接するフチ部と同等の幅を有する領域、すなわちw1´とw2´およびh1´とh2´に含まれる領域(以下端部領域と称す)のデータを用いて、w1とw2およびh1とh2に含まれるフチ部のデータを作成する。
FIG. 4 is a diagram for explaining the image data of the
そのための前段階として、まずステップS104で、変数L、S、NおよびCopyModeをそれぞれ初期値にセットする。 As a previous stage for that purpose, first, in step S104, variables L, S, N and CopyMode are set to initial values.
図5は、本実施形態でフチ部の画像データを生成するために利用する変数L、S、Nおよび濃度データの生成方法を説明するための模式図である。ここでは、原稿100の右側領域の一部分を例に説明する。図において、小さい四角は1画素領域を示し、w2´に含まれる個々の画素には、画像解析部12によって変換されたある1色の濃度値が示されている。本実施形態では3画素×3画素の広さを有するウィンドウ300を、図ではw2´の左端から右方向にラインlに沿ってシフトさせながら、隣接するウィンドウ領域間の濃度値の変化を検知する。そして、その変化量に応じて走査した領域に接するフチ部の太線で囲った部分の濃度データを順々に生成する。
FIG. 5 is a schematic diagram for explaining a method for generating variables L, S, N and density data used for generating image data of the edge portion in the present embodiment. Here, a part of the right side area of the
このようなウィンドウ300のシフトは、図4の白抜き矢印で示すように原稿内端部領域の内側から外側に向けて行われ、更にその外側に接するフチ部の濃度データを生成する。そして、このシフトおよび濃度データ生成は原稿の周囲全体に渡って行われるが、本実施形態ではウィンドウ300のシフトラインを原稿一周分に渡って管理するために、変数Lを設けている。また、Sは1つのラインLにおける走査の開始位置を示す変数、NはSからスタートし、ラインLに沿って処理を行っていく過程で着目する画素を示す変数としている。再度図2を参照するに、ステップS104の段階では、これらの変数L、SおよびNは全て1にセットされる。
Such a shift of the
ステップS104において、CopyModeは、端部領域に含まれる各画素のデータ生成処理方法をランダム(Random)にするかコンスタント(Const)にするかを決めるための変数であり、初期値としてConstがセットされる。 In step S104, CopyMode is a variable for determining whether the data generation processing method of each pixel included in the edge region is random or constant, and Const is set as an initial value. The
続くステップS105では、現在の画素位置Nに基づいて、ウィンドウ300内の濃度平均Avg(N)を求める。そして、L方向にウィンドウ1つ分シフトした位置にある領域の平均濃度Avg(N+3)との濃度差ΔN=|Avg(N)−Avg(N+3)|を更に求める。図5の場合であれば、Avg(N)は、ここに含まれる9個の画素の濃度値の平均すなわち約1.4となる。またAvg(N+1)は、この右側に隣接する3×3画素領域の濃度平均すなわち約1.9となる。結果、ΔN=|Avg(N)―Avg(N+1)|≒0.5となる。
In the subsequent step S105, the density average Avg (N) in the
ステップS106では、ステップS105で求めたΔNと予め定められた閾値Thとを比較し、ΔN<Thの場合は注目画素の領域とこれに隣接する領域間の濃度変化は少ないと判断し、ステップS107へ進む。一方、ΔN≧Thの場合は上記領域間の濃度変化は大きいと判断しステップS110に進む。 In step S106, ΔN obtained in step S105 is compared with a predetermined threshold Th, and if ΔN <Th, it is determined that there is little change in density between the region of interest and the adjacent region, and step S107. Proceed to On the other hand, if ΔN ≧ Th, it is determined that the density change between the regions is large, and the process proceeds to step S110.
ステップS107では、CopyModeがRandomであるか否かを判断する。Randomでない、すなわちConstである場合、現在のラインLにおいて少なくともSからNまでの領域はコンスタントなCopyModeでフチ部のデータ生成を行ってよいと判断し、ステップS114へ進む。 In step S107, it is determined whether CopyMode is Random. If it is not Random, that is, if it is Const, it is determined that data for the edge portion can be generated in constant CopyMode in at least the region from S to N in the current line L, and the process proceeds to Step S114.
一方、ステップS107でCopyMode=Randomであった場合、ステップS108へ進み、フチ部データ補間生成部13においてフチ部の画像データを作成する。ステップS108を通過すると言うことは、ステップS106にて隣接する画素領域との間で階調の変化が小さいと判断され、且つステップS107でCopyModeがRandomに設定されていると判断されていることになる。すなわち、データ生成開始画素Sから現在の注目画素Nまでは階調変化が大きいので、その間はRandomのモードでデータの生成を行うのが適当ということになる。
On the other hand, if CopyMode = Random in step S107, the process proceeds to step S108, and the edge part data
例えば図4右下の写真部の一部w2´×h8やw6×h2´は、濃度が必ずしも一様ではなく、このようにRandomモードが適用される領域となる。本実施例のRandomモードでは、その外側に接するフチ部の画像データは端部領域の画像データのミラーリングコピーによって生成することが出来る。すなわち、w2×h8についてはw´2×h8の領域を原稿の右端部を境界に左右対称となるようにミラーリングコピーし、w6×h2についてはw6×h2´の領域を原稿の下端部を境界に上下対称となるようにミラーリングコピーすればよい。あるいは、ミラーリングコピーではなく、端部領域内w2´×h8やw6×h2´に含まれる濃度値を利用して補外法(外挿)によってw2×h8やw6×h2のデータを生成してもよい。このように、SからNまでの端部領域に相当する部分のフチ部データの生成が終了するとステップS109へ進み、CopyModeをConstにセットする。 For example, a part w2 ′ × h8 or w6 × h2 ′ in the lower right portion of FIG. 4 is not necessarily uniform in density, and thus is a region to which the Random mode is applied. In the Random mode of the present embodiment, the image data of the edge portion in contact with the outside can be generated by mirroring copy of the image data of the edge region. That is, for w2 × h8, the w′2 × h8 area is mirrored so as to be symmetrical with respect to the right edge of the document, and for w6 × h2, the w6 × h2 ′ area is bounded by the lower edge of the document. And mirroring copy so as to be vertically symmetrical. Alternatively, instead of mirroring copy, w2 × h8 or w6 × h2 data is generated by extrapolation (extrapolation) using density values included in w2 ′ × h8 and w6 × h2 ′ in the end region. Also good. As described above, when the generation of the edge portion data corresponding to the end regions from S to N is completed, the process proceeds to step S109, and CopyMode is set to Const.
一方、ステップS110では、CopyModeがConstであるか否かを判断する。Constでない、すなわちRandomである場合、少なくともSからNまでの領域はRandamなCopyModeで端部領域のデータ生成を行うのがよいと判断し、ステップS114へ進む。 On the other hand, in step S110, it is determined whether CopyMode is Const. When it is not Const, that is, when it is Random, it is determined that data generation of the end region should be performed in Random CopyMode for at least the region from S to N, and the process proceeds to Step S114.
ステップS110でCopyMode=Constであった場合、ステップS111へ進む。ステップS111を通過すると言うことは、ステップS106にて隣接する画素領域との間で階調の変化が大きいと判断され、且つステップS110でConstのCopyModeが設定されていると判断されていることになる。すなわち、データ生成開始画素Sから現在の注目画素Nまでは階調変化が少ないのでConstのモードでデータの生成を行うのが適当ということになる。 If CopyMode = Const in step S110, the process proceeds to step S111. Passing step S111 means that it is determined in step S106 that the change in gradation is large between adjacent pixel regions, and that Const's CopyMode is set in step S110. Become. That is, since there is little gradation change from the data generation start pixel S to the current target pixel N, it is appropriate to generate data in the Const mode.
図4に示す原稿においては、右下の写真部の一部w2´×h8やw6×h2´の領域以外の端部領域全体がこのように判断される領域となる。この場合、その外側に接するフチ部の画像データは、端部領域の画像データをコピーすることによって、あるいは端部領域の画像データとの間で上記閾値Thを超えない濃度差を有するデータを一律コピーすることによって、生成すればよい。その際、ステップS105で求めた最外部のAvg(N)の値をそのままコピーしても構わない。このように、SからNまでの端部領域に相当するフチ部のデータ生成が終了するとステップS112へ進み、CopyModeにRandomをセットする。 In the manuscript shown in FIG. 4, the entire edge area other than the w2 ′ × h8 or w6 × h2 ′ area of the lower right photographic part is the area thus determined. In this case, the image data of the edge portion in contact with the outer side is uniformly data having a density difference not exceeding the threshold value Th by copying the image data of the end region or between the image data of the end region. What is necessary is just to produce | generate by copying. At that time, the value of the outermost Avg (N) obtained in step S105 may be copied as it is. As described above, when the data generation of the edge portion corresponding to the end region from S to N is completed, the process proceeds to step S112, and Random is set in CopyMode.
ステップS109あるいはステップS112でCopyModeのセットが完了するとステップS113に進み、領域開始画素Sを現在の注目画素Nにセットし、ステップS114へ進む。 When setting of CopyMode is completed in step S109 or step S112, the process proceeds to step S113, the region start pixel S is set to the current target pixel N, and the process proceeds to step S114.
ステップs114では、Nが現ラインLの最終画素になるまで走査が完了したか否かを判断する。まだ、走査すべき画素が現ライン内に残っている(原稿の最端部までたどり着いていない)と判断された場合はステップS115へ進み、注目画素Nをウィンドウサイズと等しい3画素分だけインクリメントし、再びステップS105に戻る。一方、ステップS114で現ラインの最終画素までウィンドウの走査が完了したと判断された場合はステップS116に進む。 In step s114, it is determined whether or not scanning has been completed until N becomes the last pixel of the current line L. If it is determined that the pixels to be scanned still remain in the current line (not reaching the end of the original), the process proceeds to step S115, and the target pixel N is incremented by 3 pixels equal to the window size. The process returns to step S105 again. On the other hand, if it is determined in step S114 that the scanning of the window has been completed up to the last pixel of the current line, the process proceeds to step S116.
ステップS116では、現ラインにおいて、濃度データの生成が未だ成されていない領域の濃度データの生成を、現在のCopyModeに従って行う。この工程により、注目ラインLに対する全処理工程が完了する。 In step S116, the density data of the area where density data is not yet generated on the current line is generated according to the current Copy Mode. This process completes all processing steps for the line of interest L.
続くステップS117では全てのラインについてのウィンドウ走査および濃度データ生成処理が完了したか否かを判断する。まだ、走査および濃度データ生成処理の終了していないラインが存在すると判断された場合は、ステップS118でラインLをインクリメントし、変数SおよびNを初期値1に戻す。その後、ステップS105に戻り次のラインLについての走査処理を開始する。
In a succeeding step S117, it is determined whether or not the window scanning and density data generation processing for all lines are completed. If it is determined that there is a line for which scanning and density data generation processing has not been completed, the line L is incremented in step S118, and the variables S and N are returned to the
一方、ステップS117で、原稿内の全ラインについてのウィンドウ走査および濃度データ生成処理が完了したと判断された場合は、ステップS119へ進み、フチ部の四隅についての濃度データ生成を行う。 On the other hand, if it is determined in step S117 that the window scanning and density data generation processing for all lines in the document have been completed, the process proceeds to step S119, where density data is generated for the four corners of the border portion.
図6は、フチ部の角の部分、ここではw2×h2の領域の画像生成方法を説明するための模式図である。このような角領域(w2×h2領域)については、原稿画像100の頂角に位置する3×3画素領域のデータ(a)をそのままコピーして作成する。他の3箇所の隅についても同様にしてフチ部の濃度データを生成する。
FIG. 6 is a schematic diagram for explaining an image generation method of a corner portion of the edge portion, here, a w2 × h2 region. Such a corner region (w2 × h2 region) is created by copying the data (a) of the 3 × 3 pixel region located at the apex angle of the
ステップS119で四隅の濃度データが生成されると、ステップS120へ進む。ステップS120において、印刷制御部14は、画像解析部12によって生成された原稿サイズの濃度データと、フチ部データ補間生成部13によって生成されたフチ部の濃度データを組み合わせ、1つの余白なしコピーデータを作成する。その後、当該コピーデータの濃度データに従って余白なしコピーを実行する。以上で、本処理が終了する。
When the density data at the four corners is generated in step S119, the process proceeds to step S120. In step S120, the
以上説明した処理に従って記録された出力物においては、再度図4を参照するに、写真部105に接する端部領域では、滑らかなグラデーションが維持されるように端部領域が記録される。また、黒ベタが連続するテキスト部1 103では、ベタ部が拡張されるように端部領域が記録される。すなわち、本実施形態によれば、部分によって画像の特徴が異なるような原稿に基づいて余白なしコピーを行う場合であっても、データの拡大や欠落を伴うことなく、連続性が維持された違和感のない画像を出力することが可能となる。
In the output product recorded in accordance with the processing described above, referring to FIG. 4 again, in the end region in contact with the
本実施例は、図1で示したマルチファンクションプリンタを用いて、余白なし写真印刷を実行する際の処理について説明する。 In the present embodiment, a process for executing photo printing without margins using the multifunction printer shown in FIG. 1 will be described.
図7は、オリジナル画像400の余白なし写真印刷を行うために生成する画像データを説明するための図である。図において、h13とw13を辺とする矩形がオリジナル画像400を示しており、それを取り囲むw11、w12、h11およびh12で示される部分が生成されるべきフチ部402を示している。本実施例では、オリジナル画像400内部で隣接するフチ部と同じ幅を有する領域、すなわちw11´とw12´およびh11´とh12´に含まれる端部領域401のデータを用いて、w11とw12およびh11とh12に含まれるフチ部のデータを作成する。
FIG. 7 is a diagram for explaining image data generated to perform photo printing with no margin of the
図8は、余白なし写真印刷を実行する際に、図1で示した本実施形態のマルチファンクションプリンが実行する一連の工程を説明するためのフローチャートである。 FIG. 8 is a flowchart for explaining a series of steps executed by the multi-function pudding of this embodiment shown in FIG. 1 when executing marginless photo printing.
処理が開始されると、まずステップS201で、印刷設定指定部11はユーザインタフェイスを介してユーザから指定されたコマンドの設定を行う。ここでは、「余白なし写真印刷モード」が設定される。
When the process is started, first, in step S201, the print
続くステップS202では、カードリーダ部17がメモリカードに格納されている画像データを読み取り、画像メモリ15にこれを格納する。
In subsequent step S202, the
ステップS203以降の工程は、実施例1で説明した余白なし等倍コピーを実行する際と同じ処理であるので、各工程の具体的な説明は省略する。 The processes after step S203 are the same processes as those performed when the same-size copying without margin described in the first embodiment is performed, and thus detailed description of each process is omitted.
なお、以上説明した2つの実施例のフローチャート(図2および図8)では、説明のため、1色分のインクに対応する端部領域の濃度データ検知とフチ部の濃度データ生成について説明したが、無論このようなデータ処理は、使用するインクの種類分行われる。 In the flowcharts (FIGS. 2 and 8) of the two embodiments described above, the density data detection of the edge area corresponding to the ink for one color and the density data generation of the edge part have been described for the sake of explanation. Of course, such data processing is performed for each type of ink to be used.
また、以上の実施形態では、画像メモリ15に格納された輝度データを画像解析部12が濃度データに色分解してから、フチ部の画像データを生成する内容で説明したが、本発明はこのような工程に限定されるものではない。例えば、画像メモリに格納されているRGBの輝度データそれぞれに対して端部領域の変位量を求め、これを所定の閾値と比較しながらフチ部の輝度データを生成しても、上述した本発明の効果を得ることは出来、このような場合も本発明の範疇に含まれる
特に、濃度データではなく輝度データの変化量を用いてフチ部の画像データを生成する場合、改めて濃度データを用いてフチ部の画像データを生成する必要が無いので、最終的に印刷データの生成処理が効率的に行なわれる。例えば、スキャナで読み取った画像から拡大した画像データを出力したい場合、輝度データの段階で拡大処理を行なう。そのため、輝度データの段階で拡大処理を行なうとともにフチ部のデータを生成するように画像処理部を構成すればよく、改めて濃度データを用いてフチ部の画像データを生成するために画像処理部を構成する必要がない。
In the above embodiment, the luminance data stored in the
また、以上では端部領域の濃度データを検知する単位として3×3画素領域からなるウィンドウ300を用いたが、本発明で適用可能なウィンドウはこの大きさに限定されるものではない。より広い範囲の領域を平均化して濃度あるいは輝度変化を検知してもよいし、1画素単位でシフトしながら濃度あるいは輝度変化を検知しても構わない。但し、ウィンドウサイズを小さくするほど、隣接領域との濃度差あるいは輝度差は大きくなる傾向があるので、ウィンドウサイズと閾値Thとの間で適切な関係を保つことが望まれる。
In the above description, the
更に、以上説明した2つの実施例では、図1で説明したマルチファンクションプリンタを用いたものであったが、本発明はこのような構成に限定されるものではない。例えば、マルチファンクションプリンタの画像メモリ15に格納する画像を受信するための手段は、スキャナ部16やカードリーダ部17以外に、更に多くの種類のものが備わっていてもよい。また、どちらか一方のみの備えた構成であっても構わない。オリジナル画像を得る手段が如何なるものであっても、その画像を記録媒体に余白のない状態で記録することが実現可能なプリンタであれば、本発明の構成を取り入れ、その効果を得ることは可能である。
Furthermore, in the two embodiments described above, the multifunction printer described in FIG. 1 is used, but the present invention is not limited to such a configuration. For example, the means for receiving the image stored in the
1 マルチファンクションプリンタ
11 印刷設定指定部
12 画像解析部
13 フチ部データ補間生成部
14 印刷制御部
15 画像メモリ
16 スキャナ部
17 カードリーダ部
100 原稿
101 テキスト部2
102 フチ部
103 テキスト部1
104 端部領域
105 写真部
300 ウィンドウ
400 オリジナル画像
401 端部領域
402 フチ部
DESCRIPTION OF
102
104
Claims (8)
前記オリジナル画像の外周端から内側に向けて所定幅を有する端部領域に含まれる画素群の階調データの変位量を前記端部領域の内側から外側に向けて検知する工程と、
前記変位量に応じて、前記端部領域の更に外側に接するフチ部に新たな階調データを有する画素群を生成する工程と、
前記オリジナル画像と前記フチ部とを合体させて余白なし記録用の画像データを作成する工程と
を有することを特徴とするデータ処理方法。 A data processing method for marginless recording in which an original image composed of a plurality of pixels having multi-gradation data is recorded without providing margins on a recording medium,
Detecting a displacement amount of gradation data of a pixel group included in an end region having a predetermined width inward from an outer peripheral end of the original image, from the inner side to the outer side of the end region;
Generating a group of pixels having new gradation data in a border portion in contact with the outer side of the end region in accordance with the amount of displacement;
And a step of creating image data for marginless recording by combining the original image and the edge portion.
印刷処理コマンドを受信する手段と、
前記印刷処理コマンドに応じて画像データを取得する手段と、
前記画像データの外周端から内側に向けて所定幅を有する端部領域に含まれる画素群の階調データの変位量を前記端部領域の内側から外側に向けて検知する手段と、
前記変位量に応じて、前記端部領域の更に外側に接するフチ部に新たな階調データを有する画素群を生成する手段と、
前記画像データと前記フチ部とを合体させて余白なし記録用の新たな画像データを作成する手段と、
前記新たな画像データに基づいて前記記録媒体にインクを記録する手段と
を具備することを特徴とするマルチファンクションプリンタ。
A multifunction printer capable of recording an original image composed of a plurality of pixels having multi-gradation data without providing a margin on a recording medium,
Means for receiving a print processing command;
Means for acquiring image data in response to the print processing command;
Means for detecting a displacement amount of gradation data of a pixel group included in an end region having a predetermined width inward from an outer peripheral end of the image data, from the inner side to the outer side of the end region;
Means for generating a pixel group having new gradation data in a border portion in contact with the outer side of the end region according to the displacement amount;
Means for creating new image data for marginless recording by combining the image data and the edge portion;
A multifunction printer comprising: means for recording ink on the recording medium based on the new image data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006202327A JP4890987B2 (en) | 2006-07-25 | 2006-07-25 | Data processing apparatus and data processing method |
US11/780,465 US20080024824A1 (en) | 2006-07-25 | 2007-07-19 | Data processing method and multifunction printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006202327A JP4890987B2 (en) | 2006-07-25 | 2006-07-25 | Data processing apparatus and data processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008028934A true JP2008028934A (en) | 2008-02-07 |
JP4890987B2 JP4890987B2 (en) | 2012-03-07 |
Family
ID=39119088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006202327A Expired - Fee Related JP4890987B2 (en) | 2006-07-25 | 2006-07-25 | Data processing apparatus and data processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4890987B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1044482A (en) * | 1996-08-05 | 1998-02-17 | Dainippon Printing Co Ltd | Thermal transfer recording method |
JP2003296069A (en) * | 2002-04-05 | 2003-10-17 | Seiko Epson Corp | Printing pretreatment apparatus and method |
-
2006
- 2006-07-25 JP JP2006202327A patent/JP4890987B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1044482A (en) * | 1996-08-05 | 1998-02-17 | Dainippon Printing Co Ltd | Thermal transfer recording method |
JP2003296069A (en) * | 2002-04-05 | 2003-10-17 | Seiko Epson Corp | Printing pretreatment apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
JP4890987B2 (en) | 2012-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4637063B2 (en) | Image processing apparatus, image processing method, and program | |
JP4605006B2 (en) | Print data generation apparatus, print data generation method, and program | |
KR101223865B1 (en) | Image processing apparatus and control method of image processing apparatus | |
JP5014284B2 (en) | Image processing apparatus, image processing method, and program | |
JP6041836B2 (en) | Image processing apparatus and image processing program | |
US8274707B2 (en) | Image processing apparatus, image processing method, and program for determining or computing an extended region of a block region of image data or an input image | |
JP2008017051A (en) | Image processor, image processing method, and program | |
JP2009296439A (en) | Image compositing method and image compositing apparatus | |
US20190268580A1 (en) | Image processing apparatus, image forming apparatus, image processing method, and non-transitory computer-readable storage medium | |
JP2009225269A (en) | Image processing unit, and image processing method and program for making computer implement the method | |
US7529007B2 (en) | Methods of identifying the type of a document to be scanned | |
JP2010004383A (en) | Image processing apparatus, and color document determining method | |
JP2016184914A (en) | Image processing apparatus | |
JP4208369B2 (en) | Image processing apparatus, image processing method, storage medium, and image processing system | |
JP4890987B2 (en) | Data processing apparatus and data processing method | |
JP5344231B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2006109482A (en) | Image processing method, image processing apparatus and image processing program | |
JP2006210981A (en) | Image processor, image processing system, method and program, and medium recording image processing program | |
US20080024824A1 (en) | Data processing method and multifunction printer | |
JP2005246699A (en) | Printer, printing method and program | |
JP4590168B2 (en) | Image processing device | |
JP5413297B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP6188651B2 (en) | Image processing apparatus and image processing program | |
JP4693738B2 (en) | Recording apparatus and recording method | |
JP2006025090A (en) | Image forming apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090727 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20101106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110325 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110401 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110531 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110617 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110920 |
|
RD13 | Notification of appointment of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7433 Effective date: 20110926 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110928 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20110926 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111213 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111215 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4890987 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141222 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |