JP2006287609A - Image composite apparatus and image composite processing program - Google Patents
Image composite apparatus and image composite processing program Download PDFInfo
- Publication number
- JP2006287609A JP2006287609A JP2005104557A JP2005104557A JP2006287609A JP 2006287609 A JP2006287609 A JP 2006287609A JP 2005104557 A JP2005104557 A JP 2005104557A JP 2005104557 A JP2005104557 A JP 2005104557A JP 2006287609 A JP2006287609 A JP 2006287609A
- Authority
- JP
- Japan
- Prior art keywords
- image
- input image
- synthesized
- composition
- input
- 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
Links
Images
Landscapes
- Control Or Security For Electrophotography (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
この発明は、プリンタ、複写機、ファクシミリ装置等に適用され、ウォーターマーク画像等の被合成画像を入力画像と合成するための画像合成装置、及び画像合成処理をコンピュータに実行させるための画像合成処理プログラムに関する。 The present invention is applied to a printer, a copier, a facsimile machine, etc., and an image composition apparatus for compositing a composite image such as a watermark image with an input image, and an image composition process for causing a computer to execute image composition processing Regarding the program.
ウォーターマーク画像や地紋プリント画像等の被合成画像を、例えばスキャナ等により読み込まれた入力画像と合成して印字することが、従来より行われている。 Conventionally, a composite image such as a watermark image or a tint block print image is combined with an input image read by a scanner or the like and printed.
ところが、従来は、前記入力画像と被合成画像を合成した後の画像を回転あるいは変倍することはできるものの、被合成画像を回転あるいは変倍させた状態で、入力画像と合成するには、被合成画像を記憶しているメモリの内容をその都度書き換える必要があった。そのため、ファームウェアでのメモリリソースや処理時間の点で問題があった。 However, in the past, although the image after combining the input image and the composite image can be rotated or scaled, in order to combine the input image with the composite image rotated or scaled, It was necessary to rewrite the contents of the memory storing the synthesized image each time. Therefore, there are problems in terms of memory resources and processing time in firmware.
なお、特許文献1には、2つの地紋パターンに対して回転、変倍処理を行い、合成して分版パターンを作成する技術が開示されている。
しかし、特許文献1に記載された技術は、入力画像に対してウォーターマーク画像等の被合成画像を合成する場合の前記問題に対して、解決手法を提案するものではなかった。
However, the technique described in
この発明は、このような技術的背景に鑑みてなされたものであって、被合成画像を記憶しているメモリの内容を書き換えることなく、被合成画像の変倍処理や回転処理を行うことができ、変倍処理後あるいは回転処理後の被合成画像を入力画像に合成することができる画像合成装置、及び画像合成処理をコンピュータに実行させるための画像合成処理プログラムを提供することを課題とする。 The present invention has been made in view of such a technical background, and it is possible to perform scaling processing and rotation processing of a composite image without rewriting the contents of a memory storing the composite image. It is an object of the present invention to provide an image composition apparatus capable of compositing a composite image after scaling processing or rotation processing with an input image, and an image composition processing program for causing a computer to execute the image composition processing. .
上記課題は、以下の手段によって解決される。
(1)入力画像と合成される被合成画像を記憶する被合成画像記憶手段と、被合成画像記憶手段に記憶されている被合成画像を、任意の倍率に拡大もしくは縮小する被合成画像変倍手段と、前記被合成画像変倍手段により変倍された被合成画像と入力画像とを合成する画像合成手段と、を備えたことを特徴とする画像合成装置。
(2)入力画像と合成される被合成画像を記憶する被合成画像記憶手段と、被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転する被合成画像回転手段と、前記被合成画像回転手段により回転された被合成画像と入力画像とを合成する画像合成手段と、を備えたことを特徴とする画像合成装置。
(3)被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転する被合成画像回転手段を備え、合成手段は、被合成画像変倍手段により変倍され被合成画像回転手段により回転された被合成画像と入力画像とを合成する前項1に記載の画像合成装置。
(4)入力画像の方向を判定する方向判定手段を備え、前記被合成画像回転手段は、前記方向判定手段による判定結果に基づいて被合成画像の回転角度を決定する前項2または3に記載の画像合成装置。
(5)入力画像を任意の倍率に拡大もしくは縮小する入力画像変倍手段を備え、画像合成手段は、前記入力画像変倍手段により変倍された入力画像と被合成画像とを合成する前項1〜4の何れかに記載の画像合成装置。
(6)被合成画像変倍手段は、前記入力画像変倍手段による入力画像の拡大もしくは縮小倍率と同じ倍率で被合成画像に変倍処理を施す前項5に記載の画像合成装置。
(7)入力画像を任意の角度で回転する入力画像回転手段を備え、画像合成手段は、前記入力画像回転手段により回転された入力画像と被合成画像とを合成する前項1〜6の何れかに記載の画像合成装置。
(8)被合成画像回転手段は、前記入力画像回転手段による入力画像の回転角度と同じ角度で被合成画像に回転処理を施す前項7に記載の画像合成装置。
(9)被合成画像記憶手段に記憶されている被合成画像を、任意の倍率に拡大もしくは縮小する被合成画像変倍ステップと、変倍された被合成画像と入力画像とを合成するステップと、をコンピュータに実行させるための画像合成処理プログラム。
(10)被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転する被合成画像回転ステップと、回転された被合成画像と入力画像とを合成するステップと、をコンピュータに実行させるための画像合成処理プログラム。
(11)被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転する被合成画像回転ステップと、回転された被合成画像と入力画像とを合成するステップと、をさらにコンピュータに実行させる前項9に記載の画像合成処理プログラム。
(12)入力画像の方向を判定する方向判定ステップを備え、前記被合成画像回転ステップでは、前記方向判定ステップによる判定結果に基づいて被合成画像の回転角度を決定する前項10または11に記載の画像合成処理プログラム。
(13)入力画像を任意の倍率に拡大もしくは縮小する入力画像変倍ステップを備え、画像合成ステップでは、前記入力画像変倍ステップにより変倍された入力画像と被合成画像とを合成する前項9〜12の何れかに記載の画像合成処理プログラム。
(14)被合成画像変倍ステップでは、前記入力画像変倍ステップによる入力画像の拡大もしくは縮小倍率と同じ倍率で被合成画像に変倍処理を施す前項13に記載の画像合成処理プログラム。
(15)入力画像を任意の角度で回転する入力画像回転ステップを備え、画像合成ステップでは、前記入力画像回転ステップにより回転された入力画像と被合成画像とを合成する前項9〜14の何れかに記載の画像合成処理プログラム。
(16)被合成画像回転ステップでは、前記入力画像回転ステップによる入力画像の回転角度と同じ角度で被合成画像に回転処理を施す前項15に記載の画像合成処理プログラム。
The above problem is solved by the following means.
(1) Composite image storage means for storing a composite image to be combined with an input image, and composite image scaling for enlarging or reducing the composite image stored in the composite image storage means to an arbitrary magnification And an image composition means for compositing the composite image scaled by the composite image scaling means with the input image.
(2) a composite image storage unit that stores a composite image to be combined with the input image, a composite image rotation unit that rotates the composite image stored in the composite image storage unit at an arbitrary angle, An image synthesizing apparatus comprising: an image synthesizing unit that synthesizes a synthesized image rotated by the synthesized image rotating unit and an input image.
(3) A synthesized image rotating means for rotating the synthesized image stored in the synthesized image storage means at an arbitrary angle, and the synthesized means is scaled by the synthesized image scaling means to rotate the synthesized image. 2. The image synthesizing apparatus according to
(4) The apparatus according to (2) or (3), further including a direction determination unit that determines a direction of the input image, wherein the combined image rotation unit determines a rotation angle of the combined image based on a determination result by the direction determination unit. Image composition device.
(5) An input image scaling unit for enlarging or reducing the input image to an arbitrary magnification is provided, and the image synthesis unit synthesizes the input image scaled by the input image scaling unit and the synthesized image. The image synthesis device according to any one of?
(6) The image synthesizer according to item 5 above, wherein the synthesized image scaling unit performs scaling processing on the synthesized image at the same magnification as the enlargement or reduction magnification of the input image by the input image scaling unit.
(7) An input image rotation unit that rotates an input image at an arbitrary angle, and the image synthesis unit combines any of the input image rotated by the input image rotation unit and the synthesized image. The image composition device described in 1.
(8) The image synthesizing apparatus according to item 7, wherein the synthesized image rotating unit performs a rotation process on the synthesized image at the same angle as the rotation angle of the input image by the input image rotating unit.
(9) a synthesized image scaling step for enlarging or reducing the synthesized image stored in the synthesized image storage means to an arbitrary magnification, and a step for synthesizing the scaled synthesized image and the input image; , An image composition processing program for causing a computer to execute.
(10) A synthesized image rotation step for rotating the synthesized image stored in the synthesized image storage means at an arbitrary angle, and a step for synthesizing the rotated synthesized image and the input image. An image composition processing program for execution.
(11) A computer further comprising: a composite image rotation step for rotating the composite image stored in the composite image storage means at an arbitrary angle; and a step of combining the rotated composite image and the input image. 10. The image composition processing program according to
(12) The method according to (10) or (11), further including a direction determination step for determining a direction of the input image, wherein the rotation angle of the combined image is determined based on a determination result in the direction determination step in the combined image rotation step. Image composition processing program.
(13) An input image scaling step for enlarging or reducing the input image to an arbitrary magnification is provided. In the image synthesis step, the input image scaled by the input image scaling step and the synthesized image are combined. The image composition processing program according to any one of to 12.
(14) The image composition processing program according to
(15) An input image rotation step for rotating the input image at an arbitrary angle, and in the image composition step, any one of the preceding
(16) The image composition processing program according to
前項(1)に記載の発明によれば、被合成画像記憶手段に記憶されている被合成画像を、任意の倍率に拡大もしくは縮小したのち、変倍された被合成画像と入力画像とを合成するから、被合成画像の変倍処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、変倍した被合成画像と入力画像とを合成することができる。 According to the invention described in the preceding item (1), the synthesized image stored in the synthesized image storage means is enlarged or reduced to an arbitrary magnification, and then the scaled synthesized image and the input image are synthesized. Therefore, the scaling process of the synthesized image can be performed independently of the input image, and the scaled synthesized image and the input image are synthesized without requiring frequent rewriting of the synthesized image storage means. can do.
前項(2)に記載の発明によれば、被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転したのち、回転された被合成画像と入力画像とを合成するから、被合成画像の回転処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、回転した被合成画像と入力画像とを合成することができる。 According to the invention described in the preceding item (2), the synthesized image stored in the synthesized image storage means is rotated by an arbitrary angle, and then the rotated synthesized image and the input image are synthesized. The synthesized image can be rotated regardless of the input image, and the rotated synthesized image and the input image can be synthesized without requiring frequent rewriting of the synthesized image storage means.
前項(3)に記載の発明によれば、被合成画像の変倍処理及び回転処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、変倍処理及び回転処理した被合成画像と入力画像とを合成することができる。 According to the invention described in the preceding item (3), it is possible to perform the scaling process and the rotation process of the synthesized image independently of the input image, and without frequently rewriting the synthesized image storage means, The combined image that has been subjected to the scaling process and the rotation process can be combined with the input image.
前項(4)に記載の発明によれば、入力画像の方向を判定する方向判定手段を備え、前記被合成画像回転手段は、前記方向判定手段による判定結果に基づいて被合成画像の回転角度を決定するから、入力画像の方向と被合成画像の方向とを自動的に合致させることができる。 According to the invention described in item (4) above, it is provided with direction determining means for determining the direction of the input image, and the combined image rotating means determines the rotation angle of the combined image based on the determination result by the direction determining means. Therefore, the direction of the input image and the direction of the synthesized image can be automatically matched.
前項(5)に記載の発明によれば、変倍された入力画像と、変倍及び/または回転された被合成画像とを合成することができる。 According to the invention described in the preceding item (5), the scaled input image and the scaled and / or rotated synthesized image can be synthesized.
前項(6)に記載の発明によれば、入力画像の拡大もしくは縮小倍率と同じ倍率で被合成画像を変倍するから、入力画像との大小関係を維持しながら被合成画像を合成することができる。 According to the invention described in item (6) above, since the synthesized image is scaled at the same magnification as the enlargement or reduction magnification of the input image, the synthesized image can be synthesized while maintaining the magnitude relationship with the input image. it can.
前項(7)に記載の発明によれば、回転された入力画像と、変倍及び/または回転された被合成画像とを合成することができる。 According to the invention described in item (7), the rotated input image and the combined image that has been scaled and / or rotated can be synthesized.
前項(8)に記載の発明によれば、入力画像の回転角度と同じ角度で被合成画像を回転するから、入力画像との配置関係を維持しながら被合成画像を合成することができる。 According to the invention described in item (8) above, since the synthesized image is rotated at the same angle as the rotation angle of the input image, the synthesized image can be synthesized while maintaining the positional relationship with the input image.
前項(9)に記載の発明によれば、被合成画像を任意の倍率に拡大もしくは縮小したのち、変倍された被合成画像と入力画像とを合成する処理をコンピュータに実行させることができるから、被合成画像の変倍処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、変倍した被合成画像と入力画像とを合成することができる。 According to the invention described in item (9) above, it is possible to cause the computer to execute a process of combining the scaled synthesized image and the input image after enlarging or reducing the synthesized image to an arbitrary magnification. The image to be synthesized can be scaled independently of the input image, and the scaled image to be synthesized and the input image can be synthesized without requiring frequent rewriting of the synthesized image storage means. Can do.
前項(10)に記載の発明によれば、被合成画像を任意の角度で回転したのち、回転された被合成画像と入力画像とを合成する処理をコンピュータに実行させることができるから、、被合成画像の回転処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、回転した被合成画像と入力画像とを合成することができる。 According to the invention described in item (10) above, since the combined image can be executed by the computer after the combined image is rotated by an arbitrary angle, the combined image and the input image can be executed. The rotation process of the synthesized image can be performed independently of the input image, and the rotated synthesized image and the input image can be synthesized without requiring frequent rewriting of the synthesized image storage means.
前項(11)に記載の発明によれば、被合成画像の変倍処理及び回転処理を入力画像とは無関係に行うことができ、被合成画像記憶手段の頻繁な書き換えを必要とすることなく、変倍処理及び回転処理した被合成画像と入力画像とを合成することができる。 According to the invention described in the above item (11), it is possible to perform the scaling process and the rotation process of the synthesized image independently of the input image, and without frequently rewriting the synthesized image storage unit, The combined image that has been subjected to the scaling process and the rotation process can be combined with the input image.
前項(12)に記載の発明によれば、入力画像の方向の判定結果に基づいて、被合成画像の回転方向を決定するから、入力画像の方向と被合成画像の方向とを自動的に合致させることができる。 According to the invention described in item (12) above, since the rotation direction of the combined image is determined based on the determination result of the direction of the input image, the direction of the input image and the direction of the combined image are automatically matched. Can be made.
前項(13)に記載の発明によれば、変倍された入力画像と、変倍及び/または回転された被合成画像とを合成することができる。 According to the invention described in the preceding item (13), the scaled input image and the scaled and / or rotated image to be synthesized can be synthesized.
前項(14)に記載の発明によれば、入力画像の拡大もしくは縮小倍率と同じ倍率で被合成画像を変倍するから、入力画像との大小関係を維持しながら被合成画像を合成することができる。 According to the invention described in item (14) above, since the composite image is scaled at the same magnification as the enlargement or reduction magnification of the input image, the composite image can be synthesized while maintaining the magnitude relationship with the input image. it can.
前項(15)に記載の発明によれば、回転された入力画像と、変倍及び/または回転された被合成画像とを合成することができる。 According to the invention described in the preceding item (15), the rotated input image and the combined image that has been scaled and / or rotated can be synthesized.
前項(16)に記載の発明によれば、入力画像の回転角度と同じ角度で被合成画像を回転するから、入力画像との配置関係を維持しながら被合成画像を合成することができる。 According to the invention described in item (16) above, since the synthesized image is rotated at the same angle as the rotation angle of the input image, the synthesized image can be synthesized while maintaining the positional relationship with the input image.
以下、この発明の一実施形態を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、この発明の一実施形態に係る画像合成装置を備えたカラー画像形成装置(以下、単に画像形成装置という)の電気的構成を示すブロック図である。なお、画像形成装置1は、例えばコピー機能、プリンタ機能、スキャナ機能、画像データ等のデータ送信機能等の複数の機能を有する多機能画像形成装置であるMFP(Multi Function Peripherals)等によって構成されている。
FIG. 1 is a block diagram showing an electrical configuration of a color image forming apparatus (hereinafter simply referred to as an image forming apparatus) provided with an image composition apparatus according to an embodiment of the present invention. The
画像形成装置1は、ネットワークインターフェイス部(ネットワークI/F)11、スキャナ部12、操作部13、記憶部14、印刷部15、CPU16、ROM17、RAM18、原稿方向検知センサ19を備えている。
The
前記ネットワークインターフェイス部11は、画像形成装置1をネットワーク2に接続するための通信手段として機能する。この実施形態では、ネットワークインターフェイス部11を介して、図示しないユーザ端末から送信されてきた画像データやその他のデータを受信可能となっている。
The
前記スキャナ部12は、モノクロまたはカラーの原稿を読み取って画像データに変換するものである。
The
前記操作部13は、タッチパネルを有する表示装置やキーボードで構成されており、表示機能及びユーザが操作を行うための機能を備えている。この実施形態では、ユーザが原稿をスキャナ部12で読み取らせてコピー等する場合に、操作部13を用いて、入力画像を拡大または縮小するための変倍処理や倍率を設定したり、画像を所定の角度で回転させる回転処理や回転角度を設定したり、その他の設定入力操作を行うことができるようになっている。
The
前記記憶部14は、スキャナ部12やユーザ端末から入力された画像データや、ユーザが操作部13を用いて入力した各種の設定データ等を記憶するほか、被合成画像の一つであるウォーターマーク画像を記憶するウォーターマーク画像記憶部231を備えている。
The
前記印刷部15は、前記スキャナ部12で読み取られた原稿の画像データや、ユーザ端末から送信されてきたプリントデータを、用紙に印刷するものである。
The
前記CPU16は、画像形成装置1の全体を統括的に制御するほか、この実施形態では、原稿方向検知センサ19からの信号に基づいて、スキャナ部12にセットされた原稿の向き(画像データの方向)を判定する処理を実行したり、さらには画像合成処理を実行する。画像合成処理については後述する。
In addition to the overall control of the
前記ROM17は、前記CPU16を動作させるためのプログラムやその他のデータが記憶されている。
The
前記RAM18は、CPU16の動作領域を確保するためのものである。
The
前記原稿方向検知センサ19は、スキャナ部12にセットされた原稿の方向(向き)を検出する。
The document
図2は、図1の画像形成装置1が有する画像合成装置の機能ブロック図である。
FIG. 2 is a functional block diagram of an image composition apparatus included in the
21はコントローラ、22は入力画像処理部、23はウォーターマーク画像処理部である。入力画像処理部22は、例えばスキャナ部12により読み取られた入力画像の変倍処理を行う入力画像変倍部221と、入力画像の回転処理を行う入力画像回転部222を備えている。ウォーターマーク画像処理部23は、前記ウォーターマーク画像記憶部231と、ウォーターマーク画像に変倍処理を施すウォーターマーク変倍部232と、ウォーターマーク画像に回転処理を施すウォーターマーク回転部233を備えている。
21 is a controller, 22 is an input image processing unit, and 23 is a watermark image processing unit. The input
ユーザにより指示された入力画像aに対する回転処理および変倍処理の設定を示す入力画像コントロール信号bが、入力画像処理部22の入力画像変倍部221および入力画像回転部222に送信される。
An input image control signal b indicating the setting of the rotation processing and scaling processing for the input image a instructed by the user is transmitted to the input
前記入力画像aは、前記入力画像変倍部221および入力画像回転部222により、設定された倍率での拡大もしくは縮小変倍処理と、設定された角度での回転処理が施され、変倍および回転後画像cとして出力される。入力画像変倍部221による入力画像の変倍方法、入力画像回転部222による入力画像の回転方法は公知であるので、その説明は省略する。
The input image a is subjected to an enlargement / reduction scaling process at a set magnification and a rotation process at a set angle by the input
一方、ウォーターマーク画像記憶部231はウォーターマークの画像を記憶しており、ウォーターマーク画像記憶部231から、入力画像の主走査および副走査領域を示す信号を基準としてウォーターマーク画像が読み出される。
On the other hand, the watermark
前記コントローラ21からは、ウォーターマーク画像の回転および変倍の設定を示すウォーターマークコントロール信号dがウォーターマーク変倍部232およびウォーターマーク回転部233に送られる。この実施形態では、ウォーターマークコントロール信号dによって示されるウォーターマークの回転および変倍は、前記入力画像aの回転角度及び変倍率と同じに設定されている。
From the
ウォーターマーク画像は、前記ウォーターマーク変倍部232およびウォーターマーク回転部233により、拡大もしくは縮小変倍処理と、回転処理が施され、変倍および回転後ウォーターマーク画像eとして出力される。
The watermark image is subjected to enlargement / reduction scaling processing and rotation processing by the
画像合成部24は、前記コントローラ21からのウォーターマーク生成指示信号fを受け、変倍および回転後画像cに変倍および回転後ウォーターマーク画像eを重畳して合成する。合成された画像は、ウォーターマーク重畳画像gとして出力される。
The
図3は、ウォーターマーク変倍部232で行われる縮小変倍のアルゴリズムを説明するものである。A1〜F6はウォーターマーク画像記憶部231に保持された36画素で構成されるウォーターマーク画像である。一例として1/3縮小変倍が選択された場合には、主走査方向および副走査方向にそれぞれ、3ドットごとに1ドットのデータを取得するように、ウォーターマーク形状記憶部231にアクセスする。
FIG. 3 illustrates an algorithm for reduction scaling performed by the
結果として、ウォーターマーク画像はA1、A4、D1、D4の4画素による画像に縮小変倍される。 As a result, the watermark image is reduced and scaled to an image having four pixels A1, A4, D1, and D4.
図4は、ウォーターマーク変倍部232で行われる拡大変倍のアルゴリズムを説明するための図である。A1〜B2はウォーターマーク画像記憶部231に保持されたウォーターマーク画像であり、一例として3倍拡大変倍が選択された場合には、主走査および副走査方向にそれぞれ 同じ記憶部アドレスの値を3ドット分繰り返すようにウォーターマーク形状記憶部231にアクセスし、結果としてウォーターマーク画像はA1〜B2の36画素による画像に拡大変倍される。
FIG. 4 is a diagram for explaining an algorithm for enlargement / reduction performed by the watermark enlargement /
図5は、ウォーターマーク回転部233での回転処理のアルゴリズムを説明するための図である。A1〜F6は36画素で構成されるウォーターマーク画像記憶部231に保持されたウォーターマーク画像であり、画素A1を基準位置として、主走査方向にxドット、副走査方向にyラインの位置の画素を、D度の角度で回転する場合には、ウォーターマーク画像記憶部231の読み出しアドレスは、
主走査アドレス=(回転なしの主走査アドレス)×Cos(D)−(回転なしの副走査アドレス)×Sin(D)
副走査アドレス=(回転なしの副走査アドレス)×Cos(D)+(回転なしの主走査アドレス)×Sin(D)
を新たな記憶部アドレスとする。
FIG. 5 is a diagram for explaining the algorithm of the rotation process in the
Main scanning address = (Main scanning address without rotation) × Cos (D) − (Sub scanning address without rotation) × Sin (D)
Sub-scanning address = (sub-scanning address without rotation) × Cos (D) + (main scanning address without rotation) × Sin (D)
Is a new storage unit address.
一例として、−60°に画像を回転する場合を示す。A1画素の(主走査アドレス,副走査アドレス)を(0,0)とすると、画素A6は(4,−1)としてあらわされる。 As an example, a case where an image is rotated by −60 ° is shown. If the (main scanning address, sub scanning address) of the A1 pixel is (0, 0), the pixel A6 is represented as (4, -1).
回転後のアドレスは、
主走査アドレス=4×Cos(−60°)−(−1)×Sin(−60°)=2−0.87=1.13
副走査アドレス=(−1)×Cos(−60°)+4×Sin(−60°)=−0.5−3.48=−3.98
丸め込みを行ない、回転後のアドレス=(1,−4)=画素E2 をウォーターマーク画像記憶部231から読み出す。
The address after rotation is
Main scanning address = 4 × Cos (−60 °) − (− 1) × Sin (−60 °) = 2-0.87 = 1.13
Sub scanning address = (− 1) × Cos (−60 °) + 4 × Sin (−60 °) = − 0.5−3.48 = −3.98
Rounding is performed, and the post-rotation address = (1, −4) = pixel E2 is read from the watermark
また、アドレスをある領域内で循環させることにより、ウォーターマーク画像を切れ目なく敷き詰めることができる。 Further, by circulating the address within a certain area, the watermark image can be spread without a break.
図6は、画素D3(2,−3)を−60°回転した場合を示す。 FIG. 6 shows a case where the pixel D3 (2, −3) is rotated by −60 °.
回転後のアドレスは、
主走査アドレス =3×Cos(−60°)−(−3)×Sin(−60°)=1.5−2.61=−1.11
副走査アドレス=(−3)×Cos(−60°)+3×Sin(−60°)=−1.5−2.61=−4.11
丸め込みを行ない、回転後のアドレス=(−1,−4)となるが、主走査アドレス−1は存在しないため、アドレスを循環させて(6,−4)=画素E6を記憶部231から読み出すことにより、切れ目なくウォーターマーク画像を構成することが可能である。
The address after rotation is
Main scanning address = 3 × Cos (−60 °) − (− 3) × Sin (−60 °) = 1.5−2.61 = −1.11
Sub scanning address = (− 3) × Cos (−60 °) + 3 × Sin (−60 °) = − 1.5−2.61 = −4.11
Rounding is performed and the post-rotation address = (− 1, −4), but since the main scanning address−1 does not exist, the address is circulated and (6−4) = the pixel E6 is read from the
図7は、図1に示したCPU16が実行する入力画像とウォーターマーク画像との合成処理の内容を示すフローチャートである。この処理は、CPU16がROM17等に格納された画像合成処理プログラムを実行することにより行われる。なお、以下の説明及び図面において、ステップを「S」と略記する。
FIG. 7 is a flowchart showing the contents of the composition process of the input image and the watermark image executed by the
S1において、ユーザによって入力画像の変倍が設定されたか否かを判断し、設定されていれば(S1の判断がYES)、S2で、入力画像を設定された倍率に拡大しあるいは縮小したのち、S3に進む。変倍が設定されていなければ(S1の判断がNO)、そのままS3に進む。 In S1, it is determined whether or not scaling of the input image has been set by the user. If it has been set (YES in S1), the input image is enlarged or reduced to the set magnification in S2. , Go to S3. If zooming is not set (NO at S1), the process proceeds to S3.
S3では、入力画像の回転が設定されたか否かを判断する。設定されていれば(S3の判断がYES)、S4で、設定された回転角度に入力画像を回転したのち、S5に進む。回転が設定されていなければ(S3の判断がNO)、そのままS5に進む。 In S3, it is determined whether or not rotation of the input image has been set. If it has been set (YES in S3), the input image is rotated to the set rotation angle in S4, and then the process proceeds to S5. If the rotation is not set (NO in S3), the process proceeds to S5.
S5では、入力画像に変倍処理がなされているか否かを判断し、なされていれば(S6の判断がYES)、S6で、入力画像に対するのと同じ変倍率で、ウォーターマーク画像に変倍処理を実行したのち、S7に進む。入力画像に変倍処理が施されていなければ(S5の判断がNO)、そのままS7に進む。 In S5, it is determined whether or not scaling processing has been performed on the input image. If so (YES in S6), scaling to a watermark image is performed at the same scaling factor as that for the input image in S6. After executing the process, the process proceeds to S7. If scaling has not been performed on the input image (NO in S5), the process proceeds directly to S7.
S7では、入力画像に回転処理がなされているか否かを判断し、なされていれば(S7の判断がYES)、S8で、入力画像に対するのと同じ角度で、ウォーターマーク画像に回転処理を実行したのち、S9に進む。入力画像に回転処理が施されていなければ(S7の判断がNO)、そのままS9に進む。 In S7, it is determined whether or not the input image has been rotated. If it has been determined (YES in S7), in S8, the watermark image is rotated at the same angle as the input image. After that, the process proceeds to S9. If the input image has not been subjected to rotation processing (NO at S7), the process proceeds directly to S9.
S9では、変倍、回転処理を施されあるいは施されていない入力画像と、入力画像と同じ倍率、回転角度で変倍、回転処理を施されあるいは施されていないウォーターマーク画像とを合成したのち、S10で、合成した画像データを印刷部15に送信して、合成処理を終了する。印刷部15は、送られてきた画像データを用紙に印刷する。
In S9, an input image that has not been subjected to scaling / rotation processing and a watermark image that has not been subjected to scaling / rotation processing at the same magnification and rotation angle as the input image are combined. In step S10, the combined image data is transmitted to the
このように、本実施の形態では、ウォーターマーク画像記憶部231から読み出したウォーターマーク画像を入力画像とは別に独立して変倍あるいは回転するから、ウォーターマーク画像記憶部231の内容を書き換える必要はなくなる。しかも、入力画像の変倍率、回転角度と同じ変倍率、回転角度でウォーターマーク画像に変倍処理や回転処理を実施するから、入力画像に対して常に適正な関係でウォーターマーク画像を合成することができる。
As described above, in the present embodiment, the watermark image read from the watermark
なお、上記実施形態では、入力画像の変倍率、回転角度と同じ変倍率、回転角度で変倍処理や回転処理を実施したが、入力画像の変倍処理の有無や変倍率、回転処理の有無や回転角度とは無関係に、ウォーターマーク画像の変倍率や回転角度を設定しても良い。 In the above embodiment, the scaling process and the rotation process are performed at the same scaling factor and rotation angle as the input image. However, the input image scaling process, the scaling ratio, and the rotation process are not performed. Regardless of the angle or rotation angle, the scaling factor or rotation angle of the watermark image may be set.
図8は、この発明の他の実施形態を示すものである。この実施形態では、スキャナ部12で読み込んだ原稿の方向に応じて、ウォーターマーク画像を自動的に回転させて入力画像と合成する場合を示すものである。
FIG. 8 shows another embodiment of the present invention. In this embodiment, a case where a watermark image is automatically rotated and combined with an input image in accordance with the direction of an original read by the
S21において、読み込んだ原稿の方向は基準の方向か否かを判断する。基準の方向であれば(S21の判断がYES)、ウォーターマーク画像に回転処理を施すことなくそのままS23に進む。基準の方向でなければ(S21の判断がNO)、S22で、原稿の方向に応じた回転処理をウォーターマーク画像に施した後、S23に進む。 In S21, it is determined whether or not the direction of the read original is the reference direction. If the direction is the reference direction (YES in S21), the process proceeds to S23 without performing the rotation process on the watermark image. If the direction is not the reference direction (NO in S21), the watermark image is subjected to a rotation process in accordance with the direction of the document in S22, and then the process proceeds to S23.
S23では、回転処理を施されあるいは施されていないウォーターマーク画像と入力画像とを合成したのち、S24では、合成した画像データを印刷部15に送信して、合成処理を終了する。印刷部15は、送られてきた画像データを用紙に印刷する。
In S23, the watermark image with or without the rotation process and the input image are combined, and in S24, the combined image data is transmitted to the
図8に示した実施形態では、原稿の方向に応じてウォーターマーク画像を回転させるから、原稿の方向とウォーターマーク画像の方向とを自動的に合致させることができる。 In the embodiment shown in FIG. 8, since the watermark image is rotated according to the direction of the document, the direction of the document and the direction of the watermark image can be automatically matched.
以上、本発明の一実施形態を説明したが、本発明は上記実施形態に限定されることはない。入力画像がスキャナ部12により読み込まれた原稿の画像である場合を示したが、ユーザ端末等の外部装置から送信されてきた画像データであっても良い。
Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment. Although the case where the input image is an image of a document read by the
1 画像形成装置
12 スキャナ部
13 操作部
14 記憶部
15 印刷部
16 CPU
19 原稿方向検知センサ
21 コントローラ
22 入力画像処理部
23 ウォーターマーク画像処理部
24 画像合成部
221 入力画像変倍部
222 入力画像回転部
231 ウォーターマーク画像記憶部
232 ウォーターマーク変倍部
233 ウォーターマーク回転部
DESCRIPTION OF
19 Document
Claims (16)
被合成画像記憶手段に記憶されている被合成画像を、任意の倍率に拡大もしくは縮小する被合成画像変倍手段と、
前記被合成画像変倍手段により変倍された被合成画像と入力画像とを合成する画像合成手段と、
を備えたことを特徴とする画像合成装置。 A synthesized image storage means for storing a synthesized image to be synthesized with the input image;
A combined image scaling means for enlarging or reducing the combined image stored in the combined image storage means to an arbitrary magnification;
Image combining means for combining the combined image scaled by the combined image scaling means and the input image;
An image composition device comprising:
被合成画像記憶手段に記憶されている被合成画像を、任意の角度で回転する被合成画像回転手段と、
前記被合成画像回転手段により回転された被合成画像と入力画像とを合成する画像合成手段と、
を備えたことを特徴とする画像合成装置。 A synthesized image storage means for storing a synthesized image to be synthesized with the input image;
A synthesized image rotating means for rotating the synthesized image stored in the synthesized image storage means at an arbitrary angle;
Image combining means for combining the combined image rotated by the combined image rotating means and the input image;
An image composition device comprising:
前記被合成画像回転手段は、前記方向判定手段による判定結果に基づいて被合成画像の回転角度を決定する請求項2または3に記載の画像合成装置。 A direction determining means for determining the direction of the input image;
The image composition device according to claim 2 or 3, wherein the composition image rotation means determines a rotation angle of the composition image based on a determination result by the direction determination means.
画像合成手段は、前記入力画像変倍手段により変倍された入力画像と被合成画像とを合成する請求項1〜4の何れかに記載の画像合成装置。 Provided with an input image scaling means for enlarging or reducing the input image to an arbitrary magnification,
The image composition device according to any one of claims 1 to 4, wherein the image composition means synthesizes the input image scaled by the input image scaling means and the composite image.
画像合成手段は、前記入力画像回転手段により回転された入力画像と被合成画像とを合成する請求項1〜6の何れかに記載の画像合成装置。 An input image rotating means for rotating the input image at an arbitrary angle;
The image synthesizing apparatus according to claim 1, wherein the image synthesizing unit synthesizes the input image rotated by the input image rotating unit and the synthesized image.
変倍された被合成画像と入力画像とを合成するステップと、
をコンピュータに実行させるための画像合成処理プログラム。 A combined image scaling step for enlarging or reducing the combined image stored in the combined image storage means to an arbitrary magnification;
Combining the scaled image to be combined with the input image;
Composition program for causing a computer to execute.
回転された被合成画像と入力画像とを合成するステップと、
をコンピュータに実行させるための画像合成処理プログラム。 A synthesized image rotation step for rotating the synthesized image stored in the synthesized image storage means at an arbitrary angle;
Combining the rotated combined image and the input image;
Composition program for causing a computer to execute.
回転された被合成画像と入力画像とを合成するステップと、
をさらにコンピュータに実行させる請求項9に記載の画像合成処理プログラム。 A synthesized image rotation step for rotating the synthesized image stored in the synthesized image storage means at an arbitrary angle;
Combining the rotated combined image and the input image;
The image composition processing program according to claim 9, further causing the computer to execute.
前記被合成画像回転ステップでは、前記方向判定ステップによる判定結果に基づいて被合成画像の回転角度を決定する請求項10または11に記載の画像合成処理プログラム。 A direction determining step for determining the direction of the input image;
The image composition processing program according to claim 10 or 11, wherein in the composition image rotation step, a rotation angle of the composition image is determined based on a determination result in the direction determination step.
画像合成ステップでは、前記入力画像変倍ステップにより変倍された入力画像と被合成画像とを合成する請求項9〜12の何れかに記載の画像合成処理プログラム。 An input image scaling step for enlarging or reducing the input image to an arbitrary magnification is provided.
The image composition processing program according to any one of claims 9 to 12, wherein in the image composition step, the input image scaled by the input image scaling step and the composite image are synthesized.
画像合成ステップでは、前記入力画像回転ステップにより回転された入力画像と被合成画像とを合成する請求項9〜14の何れかに記載の画像合成処理プログラム。 An input image rotation step for rotating the input image at an arbitrary angle;
The image composition processing program according to any one of claims 9 to 14, wherein in the image composition step, the input image rotated by the input image rotation step and the image to be combined are combined.
16. The image composition processing program according to claim 15, wherein in the composition image rotation step, the composition image is subjected to a rotation process at the same angle as the rotation angle of the input image in the input image rotation step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005104557A JP2006287609A (en) | 2005-03-31 | 2005-03-31 | Image composite apparatus and image composite processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005104557A JP2006287609A (en) | 2005-03-31 | 2005-03-31 | Image composite apparatus and image composite processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006287609A true JP2006287609A (en) | 2006-10-19 |
Family
ID=37409039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005104557A Pending JP2006287609A (en) | 2005-03-31 | 2005-03-31 | Image composite apparatus and image composite processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006287609A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009273095A (en) * | 2008-05-12 | 2009-11-19 | Konica Minolta Business Technologies Inc | Image processing apparatus, image data generating method, and image data generating program |
JP2011097362A (en) * | 2009-10-29 | 2011-05-12 | Sharp Corp | Image processing apparatus, image data output processing apparatus, and image processing method |
JP2016201652A (en) * | 2015-04-09 | 2016-12-01 | コニカミノルタ株式会社 | Image forming apparatus and image forming method |
-
2005
- 2005-03-31 JP JP2005104557A patent/JP2006287609A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009273095A (en) * | 2008-05-12 | 2009-11-19 | Konica Minolta Business Technologies Inc | Image processing apparatus, image data generating method, and image data generating program |
JP2011097362A (en) * | 2009-10-29 | 2011-05-12 | Sharp Corp | Image processing apparatus, image data output processing apparatus, and image processing method |
JP2016201652A (en) * | 2015-04-09 | 2016-12-01 | コニカミノルタ株式会社 | Image forming apparatus and image forming method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8861022B2 (en) | Image processing apparatus with preview display function, image processing method, and image processing program | |
JP4689431B2 (en) | Information processing apparatus, image processing method, and computer program | |
JP2007097171A (en) | Image forming apparatus and subtractive color printing method | |
JP2006287609A (en) | Image composite apparatus and image composite processing program | |
JP4615476B2 (en) | Image forming system and information processing apparatus | |
JP7077451B2 (en) | Image forming apparatus and control method of image forming apparatus, and program | |
JP2010008683A (en) | Image forming apparatus and information processing device | |
JP4608867B2 (en) | Image processing device | |
JP2023128405A (en) | Image formation apparatus and program | |
JP2009177307A (en) | Image forming apparatus and method for generating thumbnail image | |
JP2009253727A (en) | Image processing device, image forming device, and image processing program | |
JP4784635B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP2005130114A (en) | Image processing apparatus | |
JP2010213209A (en) | Image processing apparatus, method of controlling image processing apparatus, and control program of image processing apparatus | |
JP2010219764A (en) | Image operation display device and image-forming device | |
JP2009105492A (en) | Image processing apparatus and image forming apparatus | |
JP2011182319A (en) | Tint block image generating method and image processor, and image forming apparatus | |
JP4821645B2 (en) | Image processing system, image processing apparatus, and image processing program | |
JP2005130113A (en) | Image processing apparatus | |
JP2004348405A (en) | Information processing device and program | |
JP4900249B2 (en) | Image forming apparatus and image processing method | |
JP2009075853A (en) | Image processor and image processing program | |
JP2011139161A (en) | Image processing device and method of controlling the same | |
JP2005277587A (en) | Image forming apparatus and image scanner | |
JP2010074424A (en) | Image processing system and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060922 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071127 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080128 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080226 |