[go: up one dir, main page]

JP2013038580A - Image processor and program - Google Patents

Image processor and program Download PDF

Info

Publication number
JP2013038580A
JP2013038580A JP2011172835A JP2011172835A JP2013038580A JP 2013038580 A JP2013038580 A JP 2013038580A JP 2011172835 A JP2011172835 A JP 2011172835A JP 2011172835 A JP2011172835 A JP 2011172835A JP 2013038580 A JP2013038580 A JP 2013038580A
Authority
JP
Japan
Prior art keywords
image data
image
composition
synthesis
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.)
Withdrawn
Application number
JP2011172835A
Other languages
Japanese (ja)
Inventor
Yuta Saito
裕太 斎藤
Hideki Shindo
秀規 進藤
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 JP2011172835A priority Critical patent/JP2013038580A/en
Publication of JP2013038580A publication Critical patent/JP2013038580A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

【課題】 文字印字やスタンプ印字などの合成用画像データと入力画像データとを画像合成するための画像処理装置を提供すること。
【解決手段】 本画像処理装置(10,120)は、入力画像データ200と、入力画像データと比較して小さな合成用画像データ210とを取得する手段と、上記合成用画像データから、入力画像データの画像に相当する領域を有し、合成用画像データの画像が所定領域に配置された合成対象画像データを生成する生成手段134と、取得される入力画像データと、生成される合成対象画像データとを用いて、合成用画像データの画像が入力画像データの上記所定領域に相当する領域に合成された合成画像220を生成する画像合成手段136とを含む。
【選択図】 図4
PROBLEM TO BE SOLVED: To provide an image processing apparatus for synthesizing image data for synthesis such as character printing or stamp printing and input image data.
An image processing apparatus (10, 120) includes: input image data 200; means for acquiring image data 210 that is smaller than input image data; and input image data from the image data for synthesis. A generation unit 134 that generates a synthesis target image data having a region corresponding to the data image and in which the image of the synthesis image data is arranged in a predetermined region, the acquired input image data, and the generated synthesis target image And an image composition unit 136 that uses the data to generate a composite image 220 in which the image of the image data for composition is combined with an area corresponding to the predetermined area of the input image data.
[Selection] Figure 4

Description

本発明は、画像合成技術に関し、より詳細には、文字印字やスタンプ印字などの合成用画像データと入力画像データとを画像合成するための画像処理装置、および該画像処理装置を実現するためのプログラムに関する。   The present invention relates to an image composition technique, and more specifically, an image processing apparatus for synthesizing image data for composition such as character printing and stamp printing and input image data, and for realizing the image processing apparatus. Regarding the program.

従来から、複合機などの画像処理装置において、スキャン画像やプリント画像などの入力画像に所定画像を合成する、画像合成機能が知られている。上記画像合成機能としては、例えば、日付け、頁番号、機密管理番号、「マル秘」などの文字印字や、丸秘などスタンプ印字を入力画像に合成して印刷出力する、スタンプ合成機能を挙げることができる。   2. Description of the Related Art Conventionally, an image composition function for synthesizing a predetermined image with an input image such as a scan image or a print image is known in an image processing apparatus such as a multifunction peripheral. Examples of the image compositing function include a stamp compositing function that synthesizes character printing such as date, page number, security management number, “secret”, and stamp printing such as “secret” into an input image and prints it out. be able to.

上記画像合成機能においては、入力画像および合成用画像の画像合成処理を行うため充分なメモリ容量を確保することを要す。一方、システムメモリやローカルメモリなど記憶装置の容量増加はコスト増大につながるため、画像合成処理を効率化して、消費メモリ量を削減したいという要望がある。   In the image composition function, it is necessary to secure a sufficient memory capacity for performing image composition processing of the input image and the composition image. On the other hand, an increase in the capacity of a storage device such as a system memory or a local memory leads to an increase in cost. Therefore, there is a demand for improving the efficiency of image composition processing and reducing the amount of memory consumed.

しかしながら、従来の画像合成技術では、入力画像と合成用画像とで、同サイズのメモリ領域を準備し、アプリケーションにおける画像解像度に比例したメモリ量を確保しなければならなかった。このため、従来の画像合成技術では、画像解像度の高精細化などに伴い、合成用画像のサイズとは無関係に消費メモリ量が増大していた。   However, in the conventional image composition technique, it is necessary to prepare memory areas of the same size for the input image and the composition image and to secure a memory amount proportional to the image resolution in the application. For this reason, in the conventional image composition technique, the amount of memory consumed has increased with an increase in the resolution of the image regardless of the size of the composition image.

上記消費メモリ量を削減する従来技術が幾つか知られており、特開2001−253134号公報(特許文献1)に開示される技術が知られている。特許文献1の技術は、空きメモリ量によってスタンプ印字画像データの数や大きさが制限され、もしくはメモリを増設する必要があり、コストアップが生じる場合が多かったという課題を解決する目的でなされたものである。特許文献1は、かかる目的を達成するべく、特定の画像データを圧縮状態で記憶手段に記憶し、この記憶手段に記憶されている特定の画像データを伸長して入力画像データに合成する技術を開示する。   Several conventional techniques for reducing the memory consumption amount are known, and a technique disclosed in Japanese Patent Laid-Open No. 2001-253134 (Patent Document 1) is known. The technique of Patent Document 1 was made for the purpose of solving the problem that the number and size of stamp print image data is limited by the amount of free memory, or that it is necessary to increase the memory, which often increases the cost. Is. In order to achieve this object, Patent Document 1 stores a technique for storing specific image data in a storage unit in a compressed state, and decompressing the specific image data stored in the storage unit and combining it with input image data. Disclose.

上記特許文献1に開示される従来技術によれば、消費メモリ容量を幾分削減することができる。しかしながら、特許文献1の従来技術は、メモリ上に展開した入力画像データと、メモリ上に展開した合成用画像データとをメモリ上で合成する技術である。このため、入力画像に合成画像が上書きされてしまうこと等により、入力画像データの再利用ができない場合が発生し、画像合成のたびに入力画像データを伸張してメモリに展開する必要があり、生産性の低下につながってしまうという点で不充分であった。上記入力画像データの再利用ができない場合としては、コピー部単位毎に異なるナンバリングを印字する機密管理ナンバリングを行うケースを挙げることができる。   According to the prior art disclosed in Patent Document 1, the memory consumption capacity can be somewhat reduced. However, the prior art disclosed in Patent Document 1 is a technique for synthesizing input image data developed on a memory and synthesis image data developed on a memory on the memory. For this reason, there is a case where the input image data cannot be reused because the composite image is overwritten on the input image, etc., and it is necessary to decompress the input image data and expand it in the memory each time the image is combined. It was insufficient in that it led to a decrease in productivity. An example of the case where the input image data cannot be reused is a case where security management numbering for printing different numbering for each copy unit is performed.

本発明は、上記従来技術における不充分な点に鑑みてなされたものであり、本発明は、入力画像データと合成用画像データとの画像合成において、合成用画像のサイズに応じた適切な消費メモリ量を確保するだけで画像合成を可能とし、ひいては、消費メモリ量の削減および画像合成処理の高速化が図られた画像処理装置、および該画像処理装置を実現するためのプログラムを提供することを目的とする。   The present invention has been made in view of the insufficiency in the prior art described above, and the present invention is suitable for the image composition of the input image data and the image data for composition, and appropriate consumption according to the size of the image for composition. To provide an image processing apparatus that enables image composition only by securing the amount of memory and, in turn, reduces the amount of memory consumed and speeds up image composition processing, and a program for realizing the image processing apparatus. With the goal.

本発明は、上記課題を解決するために、以下の特徴を有する画像処理装置を提供する。本画像処理装置は、入力画像データを取得する手段と、該入力画像データと比較して小さな合成用画像データを取得する手段とを含む。本画像処理装置は、さらに、上記合成用画像データから、上記入力画像データの画像に相当する領域を有し、該合成用画像データの画像が所定領域に配置された合成対象画像データを生成する生成手段を含む。本画像処理装置は、さらに、取得される入力画像データと、生成される合成対象画像データとを用いて、該合成用画像データの画像が入力画像データの上記所定領域に相当する領域に合成された合成画像を生成する画像合成手段を含む。   In order to solve the above problems, the present invention provides an image processing apparatus having the following features. The image processing apparatus includes means for acquiring input image data and means for acquiring image data for synthesis that is smaller than the input image data. The image processing apparatus further generates synthesis target image data having an area corresponding to the image of the input image data from the synthesis image data and in which the image of the synthesis image data is arranged in a predetermined area. Generating means. The image processing apparatus further synthesizes the image of the image data for synthesis into an area corresponding to the predetermined area of the input image data using the acquired input image data and the generated synthesis target image data. Image synthesizing means for generating the synthesized image.

本発明によれば、さらに、上記手段各々として機能する回路構成を実現するためのデバイス実行可能なプログラムを提供することができる。   According to the present invention, it is possible to further provide a device executable program for realizing a circuit configuration that functions as each of the above means.

上記構成によれば、合成用画像データと入力画像データとの画像合成を、合成用画像データについて必要最小限のメモリを確保するだけで実現可能となり、必要メモリ容量の削減および画像合成処理の高速化が図られる。   According to the above configuration, it is possible to achieve image composition between the composition image data and the input image data only by securing the necessary minimum memory for the composition image data, reducing the required memory capacity and increasing the image composition processing speed. Is achieved.

本実施形態による複合機のハードウェアおよびソフトウェアの概略構成を説明する図。2 is a diagram illustrating a schematic configuration of hardware and software of a multifunction machine according to the present embodiment. 本実施形態による複合機のハードウェア構成図とコピー動作時の画像データフローを示す図。2 is a diagram illustrating a hardware configuration of the multifunction peripheral according to the present embodiment and an image data flow during a copying operation. FIG. 本実施形態による複合機のハードウェア構成のうちのASICの詳細な機能ブロック図。FIG. 3 is a detailed functional block diagram of an ASIC in the hardware configuration of the multifunction peripheral according to the present embodiment. 第1の実施形態による合成回路の詳細な機能ブロック図。The detailed functional block diagram of the synthetic | combination circuit by 1st Embodiment. 第1の実施形態における画像合成処理を模式的に示す図。The figure which shows typically the image composition process in 1st Embodiment. 第2の実施形態による合成回路の詳細な機能ブロック図。The detailed functional block diagram of the synthetic | combination circuit by 2nd Embodiment. 第2の実施形態における画像合成処理を模式的に示す図。The figure which shows typically the image composition process in 2nd Embodiment. 第3の実施形態による合成回路の詳細な機能ブロック図。The detailed functional block diagram of the synthetic | combination circuit by 3rd Embodiment. 第3の実施形態における画像合成処理を模式的に示す図。The figure which shows typically the image composition process in 3rd Embodiment. 第4の実施形態における画像合成処理を模式的に示す図。The figure which shows typically the image composition process in 4th Embodiment. 第5の実施形態による合成回路の詳細な機能ブロック図。The detailed functional block diagram of the synthetic | combination circuit by 5th Embodiment. 第5の実施形態における画像合成処理を模式的に示す図。The figure which shows typically the image composition process in 5th Embodiment.

以下、図面を参照しながら、本発明の実施形態について説明するが、本発明の実施形態は、以下に説明する実施形態に限定されるものではない。なお、以下に説明する実施形態では、画像合成を実行する画像処理装置の一例として、コピー、スキャナ、プリンタおよびファクシミリなど画像に関する複数機能を備えた複合機について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the embodiments of the present invention are not limited to the embodiments described below. In the embodiment described below, as an example of an image processing apparatus that performs image composition, a multifunction peripheral having a plurality of image-related functions such as a copy, a scanner, a printer, and a facsimile will be described.

図1は、本実施形態による複合機のハードウェアおよびソフトウェアの概略構成を説明する図である。図1に示す複合機10は、複数のソフトウェア・コンポーネントからなるソフトウェア群12と、複合機起動部14と、複数のハードウェア・コンポーネントからなるハードウェア資源群16とを含んで構成される。   FIG. 1 is a diagram for explaining a schematic configuration of hardware and software of a multifunction machine according to the present embodiment. A multifunction device 10 shown in FIG. 1 includes a software group 12 composed of a plurality of software components, a multifunction device activation unit 14, and a hardware resource group 16 composed of a plurality of hardware components.

複合機起動部14は、複合機10の電源投入時に最初に実行され、アプリケーション層18およびプラットフォーム層20を起動する。複合機起動部14は、例えば、アプリケーション層18およびプラットフォーム層20の各ソフトウェア・コンポーネントに対応するプログラムを、ハードディスク装置(以下、HDDという。)などの外部記憶装置から読み出し、読み出した各プログラムをメモリ領域に転送して、当該複合機10を起動させる。   The multifunction device starting unit 14 is executed first when the multifunction device 10 is powered on, and starts the application layer 18 and the platform layer 20. For example, the multifunction machine starting unit 14 reads programs corresponding to the software components of the application layer 18 and the platform layer 20 from an external storage device such as a hard disk device (hereinafter referred to as HDD), and stores the read programs in the memory. Then, the MFP 10 is activated.

ハードウェア資源群16は、図1に示す実施形態では、モノクロ・レーザプリンタ(B&W LP)26と、カラー・レーザプリンタ(Color LP)28と、画像変換器30と、その他スキャナやファクシミリなどのハードウェア・リソース32とを含む。   In the embodiment shown in FIG. 1, the hardware resource group 16 includes a monochrome laser printer (B & W LP) 26, a color laser printer (Color LP) 28, an image converter 30, and other hardware such as a scanner and a facsimile. Hardware resource 32.

ソフトウェア群12は、アプリケーション層18と、プラットフォーム層20とを含んで構成される。アプリケーション層18およびプラットフォーム層20は、UNIX(登録商標)、Windows(登録商標)などの適切なオペレーティング・システム(以下、OSという。)上で動作する。   The software group 12 includes an application layer 18 and a platform layer 20. The application layer 18 and the platform layer 20 operate on an appropriate operating system (hereinafter referred to as an OS) such as UNIX (registered trademark) or Windows (registered trademark).

アプリケーション層18は、プリンタ、コピー、ファックシミリおよびスキャナなどの画像処理に関するユーザ・サービスにそれぞれ固有の処理を実行する各種ソフトウェア・コンポーネントを含む。アプリケーション層18には、図1に示す実施形態では、プリンタ・アプリケーション34と、コピー・アプリケーション36と、ファックシミリ・アプリケーション38と、スキャナ・アプリケーション40とが含まれる。   The application layer 18 includes various software components that execute processing specific to user services relating to image processing, such as printers, copies, fuckssimuli, and scanners. In the embodiment shown in FIG. 1, the application layer 18 includes a printer application 34, a copy application 36, a fucksimilar application 38, and a scanner application 40.

プラットフォーム層20は、アプリケーション層18からの処理要求を解釈して、ハードウェア資源の獲得要求を発生するコントロール・サービス層22と、システム・リソース・マネージャ(以下、SRMという。)58と、ハンドラ層24とを含む。SRM58は、ハードウェア資源群16の1以上のハードウェアの管理を行い、コントロール・サービス層22からの獲得要求を調停する。ハンドラ層24は、SRM58からの獲得要求に応答してハードウェア資源群16の管理を行う。   The platform layer 20 interprets a processing request from the application layer 18 and generates a hardware resource acquisition request, a system service manager (hereinafter referred to as SRM) 58, and a handler layer. 24. The SRM 58 manages one or more pieces of hardware in the hardware resource group 16 and arbitrates acquisition requests from the control service layer 22. The handler layer 24 manages the hardware resource group 16 in response to the acquisition request from the SRM 58.

コントロール・サービス層22は、図1に示す実施形態では、ネットワーク・コントロール・サービス(以下、NCSという。)42と、デリバリ・コントロール・サービス(以下、DCSという)44と、オペレーションパネル・コントロール・サービス(以下、OCSという。)46と、ファックシミリ・コントロール・サービス(以下、FCSという。)48と、エンジン・コントロール・サービス(以下、ECSという。)50と、メモリ・コントロール・サービス(以下、MCSという。)52と、ユーザインフォメーション・コントロール・サービス(以下、UCSという。)54と、システム・コントロール・サービス(以下、SCSという。)56とを含み、1以上のサービス・モジュールを含んで構成される。   In the embodiment shown in FIG. 1, the control service layer 22 includes a network control service (hereinafter referred to as NCS) 42, a delivery control service (hereinafter referred to as DCS) 44, and an operation panel control service. (Hereinafter referred to as “OCS”) 46, Facsimile Control Service (hereinafter referred to as FCS) 48, Engine Control Service (hereinafter referred to as ECS) 50, and Memory Control Service (hereinafter referred to as MCS). 52), a user information control service (hereinafter referred to as UCS) 54, and a system control service (hereinafter referred to as SCS) 56, including one or more service modules. The

プラットフォーム層20は、予め定義された関数により、アプリケーション層18からの処理要求を受信可能とするAPI(Application Programming Interface)66を有する。OSは、アプリケーション層18およびプラットフォーム層20の各ソフトウェア・コンポーネントをプロセスとして並列実行する。   The platform layer 20 includes an API (Application Programming Interface) 66 that can receive a processing request from the application layer 18 by a predefined function. The OS executes the software components of the application layer 18 and the platform layer 20 in parallel as processes.

NCS42のプロセスは、ネットワーク入出力を必要とするアプリケーションに対し、共通に利用可能なサービスを提供する。NCS42のプロセスは、より具体的には、各種プロトコルに従って、ネットワーク側から受信したデータを各アプリケーションに振り分け、また各アプリケーションからのデータをネットワーク側へ送信する際の仲介処理を実行する。NCS42は、例えば、ネットワークを介して接続されるネットワーク機器とのデータ通信を、httpd(HyperText Transfer Protocol Daemon)により、HTTP(HyperText Transfer Protocol)に従って制御することができる。   The process of the NCS 42 provides a service that can be commonly used for applications that require network input / output. More specifically, the process of the NCS 42 distributes data received from the network side to each application according to various protocols, and executes mediation processing when transmitting data from each application to the network side. For example, the NCS 42 can control data communication with a network device connected via a network according to HTTP (HyperText Transfer Protocol Daemon) according to HTTP (HyperText Transfer Protocol).

DCS44のプロセスは、蓄積文書の配信の制御を行う。OCS46のプロセスは、当該複合機10のオペレータと本体制御との間の情報伝達手段となるオペレーションパネルの制御を行う。FCS48のプロセスは、アプリケーション層18からPSTN(Public Switched Telephone Networks)網またはISDN(Integrated Services Digital Network)網を介したファクシミリ送受信、バックアップ用のメモリで管理されている各種ファクシミリ・スデータの登録や引用、ファクシミリ読み取り、ファクシミリ受信印刷などを行うためのAPIを提供する。   The process of the DCS 44 controls the distribution of stored documents. The process of the OCS 46 controls an operation panel serving as information transmission means between the operator of the multifunction machine 10 and the main body control. The process of the FCS 48 is performed by the application layer 18 to send and receive facsimiles via a PSTN (Public Switched Telephone Networks) network or ISDN (Integrated Services Digital Network) network, registration and citation of various facsimile data managed in a backup memory, An API for performing facsimile reading, facsimile reception printing, and the like is provided.

ECS50のプロセスは、モノクロ・レーザプリンタ26、カラー・レーザプリンタ28、ハードウェア・リソース32などを含むエンジン部(図1には示さず。)の制御を行う。MCS52のプロセスは、メモリの取得および開放、HDDの利用などのメモリ制御を行う。UCS54は、ユーザ情報の管理を行う。SCS56のプロセスは、アプリケーション管理、操作部制御、システム画面表示、LED表示、ハードウェア資源管理、割り込みアプリケーション制御などを行う。   The ECS 50 process controls an engine unit (not shown in FIG. 1) including a monochrome laser printer 26, a color laser printer 28, a hardware resource 32, and the like. The process of the MCS 52 performs memory control such as acquisition and release of memory and use of the HDD. The UCS 54 manages user information. The process of the SCS 56 performs application management, operation unit control, system screen display, LED display, hardware resource management, interrupt application control, and the like.

SRM58のプロセスは、SCS56とともに本複合機のシステム制御およびハードウェア資源群16の管理を行う。SRM58のプロセスは、例えば、モノクロ・レーザプリンタ26およびカラー・レーザプリンタ28などのハードウェア資源群16を利用する上位層からの獲得要求に従って調停を行い、実行制御を行う。   The process of the SRM 58 performs system control of the multifunction peripheral and management of the hardware resource group 16 together with the SCS 56. The process of the SRM 58 performs execution control by performing arbitration according to an acquisition request from an upper layer using the hardware resource group 16 such as the monochrome laser printer 26 and the color laser printer 28.

SRM58のプロセスは、より具体的には、獲得要求されたハードウェア資源群16の資源が利用可能であるか、すなわち他の獲得要求により利用されていないかどうかを判定する。SRM58のプロセスは、利用可能であれば、獲得要求された該資源が利用可能である旨を上位層に通知する。また、SRM58のプロセスは上位層からの獲得要求に対して、ハードウェア資源群16の各資源を利用するためのスケジューリングを行い、要求内容を直接実施する。上記要求内容には、例えば、プリンタ・エンジンによる紙搬送や作像動作、メモリ確保およびファイル生成などを挙げることができる。   More specifically, the process of the SRM 58 determines whether the resource of the requested hardware resource group 16 is available, that is, whether it is not used by another acquisition request. If the process of the SRM 58 is available, it notifies the upper layer that the requested resource is available. Further, the process of the SRM 58 performs scheduling for using each resource of the hardware resource group 16 in response to an acquisition request from an upper layer, and directly executes the request content. Examples of the request contents include paper conveyance and image forming operation by a printer engine, memory reservation, file generation, and the like.

ハンドラ層24は、ファックス・コントロール・ユニット・ハンドラ(以下、FCUHという。)60と、イメージ・メモリ・ハンドラ(以下、IMHという。)62と、メディア・エディット・ユーティリティ(以下、MEUという。)64とを含む。FCUH60は、上記ハードウェア・リソース32に含まれるファクシミリ・コントロール・ユニット(以下、FCUという。後述する。)の管理を行う。IMH62は、プロセスに対するメモリの割り振りおよびプロセスに割り振ったメモリの管理を行う。MEU64は、画像変換器30を制御する。SRM58およびFCUH60は、予め定義された関数によりハードウェア資源群16に対する処理要求を送信可能とするエンジンI/F68を利用して、ハードウェア資源群16の各資源に対する処理要求を行う。   The handler layer 24 includes a fax control unit handler (hereinafter referred to as FCUH) 60, an image memory handler (hereinafter referred to as IMH) 62, and a media edit utility (hereinafter referred to as MEU) 64. Including. The FCUH 60 manages a facsimile control unit (hereinafter referred to as FCU, which will be described later) included in the hardware resource 32. The IMH 62 allocates memory for the process and manages the memory allocated to the process. The MEU 64 controls the image converter 30. The SRM 58 and the FCUH 60 make a processing request for each resource of the hardware resource group 16 by using an engine I / F 68 that can transmit a processing request for the hardware resource group 16 by a predefined function.

複合機10は、各アプリケーション34〜40で共通的に必要な処理をプラットフォーム層20で一元的に処理することができる。   The multi-function device 10 can centrally process processes that are commonly required by the applications 34 to 40 in the platform layer 20.

図2は、本実施形態による複合機のハードウェア構成図とコピー動作時の画像データフローを示す図である。図2に示す複合機10は、コントローラ100と、オペレーションパネル150と、FCU152と、画像変換器30と、スキャナ・エンジンおよびプロッタ・エンジンが含まれるエンジン部160とを含み構成される。   FIG. 2 is a diagram illustrating a hardware configuration diagram of the multifunction peripheral according to the present embodiment and an image data flow during a copy operation. 2 includes a controller 100, an operation panel 150, an FCU 152, an image converter 30, and an engine unit 160 including a scanner engine and a plotter engine.

コントローラ100は、CPU110と、システムメモリ(MEM−P)やローカルメモリ(MEM−C)からなるメモリ112と、ASIC(Application Specific Integrated Circuit)120と、ハードディスク装置(HDD)114と、ROM(Read Only Memory)116と、NIC(Network Interface Card)118を含む。   The controller 100 includes a CPU 110, a memory 112 including a system memory (MEM-P) and a local memory (MEM-C), an ASIC (Application Specific Integrated Circuit) 120, a hard disk device (HDD) 114, and a ROM (Read Only). Memory) 116 and NIC (Network Interface Card) 118.

オペレーションパネル150は、コントローラ100のASIC120に接続されている。画像変換器30、FCU152、エンジン部160その他図示しないUSBデバイス、IEEE1394デバイスは、コントローラ100のASIC120にPCIバス接続されている。ASIC120には、メモリ112およびHDD114が接続されるとともに、CPUチップセットのノース・ブリッジを介してCPU110が接続されている。   The operation panel 150 is connected to the ASIC 120 of the controller 100. The image converter 30, the FCU 152, the engine unit 160, and other USB devices and IEEE 1394 devices (not shown) are connected to the ASIC 120 of the controller 100 via a PCI bus. The ASIC 120 is connected to the memory 112 and the HDD 114, and is also connected to the CPU 110 via the north bridge of the CPU chipset.

CPU110は、複合機10の全体制御を行う。ROM116は、各種制御プログラムを格納する。NIC118は、複合機10を外部のネットワークと接続する。メモリ112は、複合機10の作業メモリ、描画用メモリ、コピー用画像バッファ、符号バッファとして用いられる。   The CPU 110 performs overall control of the multifunction machine 10. The ROM 116 stores various control programs. The NIC 118 connects the multifunction machine 10 to an external network. The memory 112 is used as a working memory, a drawing memory, a copy image buffer, and a code buffer of the multifunction machine 10.

CPU110は、ROM116やHDD114などから各種制御プログラムを読み出し、メモリ112に展開する。これにより、CPU110は、図1に示したNCS42、DCS44、OCS46、FCS48、ECS50、MCS52、UCS54、SCS56、SRM58、FCUH60、IMH62およびMEU64をOS上にそれぞれプロセスとして起動して実行する。CPU110は、さらに、アプリケーション層18のプリンタ・アプリケーション34、コピー・アプリケーション36、ファクシミリ・アプリケーション38およびスキャナ・アプリケーション40を起動して実行する。   The CPU 110 reads various control programs from the ROM 116, the HDD 114, and the like, and loads them in the memory 112. Thereby, the CPU 110 starts and executes the NCS 42, DCS 44, OCS 46, FCS 48, ECS 50, MCS 52, UCS 54, SCS 56, SRM 58, FCUH 60, IMH 62, and MEU 64 shown in FIG. The CPU 110 further activates and executes the printer application 34, the copy application 36, the facsimile application 38, and the scanner application 40 in the application layer 18.

画像の読み取りは、コピー・アプリケーション36、ファクシミリ・アプリケーション38およびスキャナ・アプリケーション40において要求が発生し、プラットフォーム層20を通じて行われる。プリンタ・アプリケーション34は、NCS42を経由して、NIC118を介して接続された外部端末からの印刷データを受信し、プラットフォーム層20を通じて、ハードウェア資源を使用して、メモリ112やHDD114に書き込む。   Reading of an image is performed through the platform layer 20 when a request is generated in the copy application 36, the facsimile application 38, and the scanner application 40. The printer application 34 receives print data from an external terminal connected via the NIC 118 via the NCS 42, and writes it to the memory 112 and the HDD 114 using hardware resources via the platform layer 20.

エンジン部160は、ASIC162と、画像読み取りを行うためのCCD164と、画像形成を行うための作像制御部166とを含む。コントローラ100が備えるASIC120には、エンジン部160のCCD164で読み取られて生成された画像データ、HDD114やメモリ112から読み取った画像データ、NIC118を介して接続される外部端末から受信した画像データが入力される。以下、これらASIC120に入力される画像データを総称して入力画像データという。ASIC120は、上記入力画像データに対して、各種画像処理を施すとともに、本実施形態による画像合成処理を実行することができる。   The engine unit 160 includes an ASIC 162, a CCD 164 for reading an image, and an image forming control unit 166 for forming an image. The ASIC 120 included in the controller 100 receives image data read and generated by the CCD 164 of the engine unit 160, image data read from the HDD 114 and the memory 112, and image data received from an external terminal connected via the NIC 118. The Hereinafter, the image data input to the ASIC 120 is collectively referred to as input image data. The ASIC 120 can perform various kinds of image processing on the input image data and can execute the image composition processing according to the present embodiment.

HDD114は、ASIC120が実行する画像合成処理において、入力画像データに合成させるため画像データを格納することができ、該画像データがASIC120によって読み出される。以下、入力画像データに画像合成される画像データを合成用画像データとして参照する。このような合成用画像データとしては、日付、頁番号、機密管理番号、「マル秘」などの文字印字、丸秘などスタンプ印字などの画像データを挙げることができる。なお、日付、頁番号、機密管理番号などの文字印字については、予めHDD114などに画像データとして格納されていることは必ずしも要せず、適宜、フォントデータなどから生成されてもよい。   The HDD 114 can store image data to be combined with input image data in the image combining process executed by the ASIC 120, and the image data is read by the ASIC 120. Hereinafter, image data to be combined with input image data is referred to as image data for synthesis. Examples of the image data for synthesis include image data such as date, page number, security management number, character printing such as “secret”, and stamp printing such as secret. Note that character printing such as date, page number, and security management number does not necessarily have to be stored in advance in the HDD 114 as image data, and may be generated from font data or the like as appropriate.

以下、図3、図5を参照して、上述したASIC120による画像合成処理を含む処理動作について説明する。なお、以下の説明では、処理動作の一例として、コピー動作を例に説明するが、プリント動作、ファクシミリ送信動作、ファクシミリ受信動作、スキャナ動作など種々の画像処理動作に対して適用することができる。   Hereinafter, with reference to FIGS. 3 and 5, processing operations including the above-described image composition processing by the ASIC 120 will be described. In the following description, a copy operation will be described as an example of the processing operation. However, the present invention can be applied to various image processing operations such as a print operation, a facsimile transmission operation, a facsimile reception operation, and a scanner operation.

コピー動作においては、複合機10のオペレータが、オペレーションパネル150を操作して、コピー動作開始を指示したことに応答して、以下に示す処理フローが実行される。   In the copying operation, the processing flow shown below is executed in response to the operator of the multifunction machine 10 operating the operation panel 150 and instructing the start of the copying operation.

まず、第1のステップとして、コピー対象の原稿が、CCD164により画像読み取りされて、デジタル・データに変換される。変換されたデジタル・データ(以下、入力画像データという。)が、エンジン部160のASIC162およびコントローラ100のASIC120を経由して、一旦メモリ112に保存される。   First, as a first step, an original to be copied is read by the CCD 164 and converted into digital data. The converted digital data (hereinafter referred to as input image data) is temporarily stored in the memory 112 via the ASIC 162 of the engine unit 160 and the ASIC 120 of the controller 100.

第2のステップとして、例えばHDD114に保存されている文字印字やスタンプ印字のための合成用画像データが、HDD114等から読み出されてメモリ112に保存される。   As a second step, for example, image data for synthesis for character printing or stamp printing stored in the HDD 114 is read from the HDD 114 or the like and stored in the memory 112.

第3のステップとして、CPU110の制御の下、メモリ112に蓄積された入力画像データと合成用画像データとが、ASIC120に入力され、画像合成処理が施される。画像合成処理により生成された合成後の画像データ(以下、合成画像データと参照する。)が、作像制御部116に転送されて、その合成画像が転写材上に転写される。   As a third step, under the control of the CPU 110, the input image data and the composition image data stored in the memory 112 are input to the ASIC 120, and an image composition process is performed. The combined image data generated by the image combining process (hereinafter referred to as combined image data) is transferred to the image forming control unit 116, and the combined image is transferred onto the transfer material.

図3は、本実施形態による複合機のハードウェア構成のうち、ASIC120の詳細な機能ブロックを表す図である。本実施形態におけるASIC120は、画像データの圧縮および伸張を実行する圧縮伸張器122と、画像データの編集を行う編集器124と、回転器126と、入力器128と、出力器130とを含む。回転器126は、画像データに画像回転を施すブロックである。入力器128は、エンジン部160のCCD164で読み取られた入力画像データをメモリ112へ入力するブロックである。出力器130は、画像データのエンジン部160への出力を行うブロックである。   FIG. 3 is a diagram illustrating detailed functional blocks of the ASIC 120 in the hardware configuration of the multifunction machine according to the present embodiment. The ASIC 120 in this embodiment includes a compression / decompression unit 122 that performs compression and expansion of image data, an editing unit 124 that edits image data, a rotator 126, an input unit 128, and an output unit 130. The rotator 126 is a block that performs image rotation on the image data. The input device 128 is a block for inputting input image data read by the CCD 164 of the engine unit 160 to the memory 112. The output device 130 is a block that outputs image data to the engine unit 160.

本実施形態によるASIC120は、さらに、図3に示すように、合成回路132を備えており、合成回路132は、入力画像データと合成用画像データとを画像合成する画像合成処理を実行する。なお、合成回路132は、編集器124および出力器130により利用されて、画像データの画像編集処理または画像データのエンジン部160への出力の前処理として、画像合成を実行することができる。   As shown in FIG. 3, the ASIC 120 according to the present embodiment further includes a combining circuit 132, and the combining circuit 132 executes image combining processing for combining the input image data and the combining image data. Note that the composition circuit 132 can be used by the editor 124 and the output device 130 to execute image composition as a preprocessing for image data editing processing or image data output to the engine unit 160.

本実施形態においては、合成用画像データのサイズにかかわらず、入力画像データに必要なメモリ量と同サイズのメモリ領域を合成用画像データのために確保するというメモリ合成手法は採用しない。代わりに、合成用画像データに応じた適切なメモリ量を確保し、ASIC120の合成回路132において画像合成を行う手法を採用する。以下、本実施形態によるASICで実行される画像合成処理について、図4および図5を参照しながら、より詳細に説明する。   In the present embodiment, regardless of the size of the composition image data, a memory composition method that secures a memory area for the composition image data having the same size as the memory amount necessary for the input image data is not employed. Instead, a method of securing an appropriate amount of memory according to the image data for composition and performing image composition in the composition circuit 132 of the ASIC 120 is employed. Hereinafter, image synthesis processing executed by the ASIC according to the present embodiment will be described in more detail with reference to FIGS. 4 and 5.

図4は、本実施形態による合成回路132の詳細な機能ブロック図である。図4に示すように、合成回路132は、余白データ生成部134と、合成部136と、パラメータ設定部138とを含んで構成される。   FIG. 4 is a detailed functional block diagram of the synthesis circuit 132 according to the present embodiment. As illustrated in FIG. 4, the synthesis circuit 132 includes a margin data generation unit 134, a synthesis unit 136, and a parameter setting unit 138.

合成回路132には、入力画像データ200と、入力画像データ200に合成させる合成用画像データ210とが入力される。本実施形態においては、合成用画像データ210は、入力画像データ200と同一サイズのものに限定されず、入力画像データ200に比較して小さなサイズを有するものを直接用いることができる。合成回路132は、本実施形態において、入力画像データを取得する手段および合成用画像データを取得する手段を構成する。   The combining circuit 132 receives input image data 200 and combining image data 210 to be combined with the input image data 200. In the present embodiment, the composition image data 210 is not limited to the same size as the input image data 200, and the image data 210 having a smaller size than the input image data 200 can be directly used. In the present embodiment, the composition circuit 132 constitutes means for obtaining input image data and means for obtaining image data for composition.

入力画像データ200および合成用画像データ210は、各色nビット(例えば8ビット)のRGBデータと、適宜判別用の分離データ(XA_IN、XB_IN)とから構成される。RGBデータは、図4では、入力画像データ200については、RA_IN、GA_IN、BA_INで表され、合成用画像データ210については、RB_IN、GB_IN、BB_INで表されている。上記分離データ(XA_IN、XB_IN)は、画像データの色、文字、写真の種別などを示すデータとして用いられるデータである。   The input image data 200 and the composition image data 210 are composed of RGB data of n bits (for example, 8 bits) for each color and separation data (XA_IN, XB_IN) for discrimination as appropriate. In FIG. 4, the RGB data is represented by RA_IN, GA_IN, and BA_IN for the input image data 200, and is represented by RB_IN, GB_IN, and BB_IN for the image data for synthesis 210. The separation data (XA_IN, XB_IN) is data used as data indicating the color, character, photo type, and the like of image data.

パラメータ設定部138は、入力画像データの画像(以下、入力画像という。)中の、合成用画像データの画像(以下、合成用画像という。)が合成される領域(以下、合成領域という。)の位置、該合成領域(合成画像)の大きさ、合成方法などのパラメータを、後述する余白データ生成部134および合成部136に設定する。上記パラメータとしては、例えば、入力画像における合成用画像を合成する合成領域の主走査および副走査の開始画素位置、合成用画像(合成領域)の主走査および副走査の画素数、並びに合成用画像の合成方法を規定する指定値を挙げることができる。   The parameter setting unit 138 is an area (hereinafter referred to as a composite area) in which an image of composite image data (hereinafter referred to as a composite image) in an input image data image (hereinafter referred to as an input image). , The size of the synthesis area (composite image), and the parameters such as the synthesis method are set in the margin data generation unit 134 and the synthesis unit 136 described later. The above parameters include, for example, the main scanning and sub-scanning start pixel positions of the composition area for compositing the composition image in the input image, the number of main scanning and sub-scanning pixels of the composition image (composition area), and the composition image. The specified value that defines the synthesis method of.

上記合成方法としては、上書き合成および透かし合成が挙げられる。上書き合成とは、入力画像中の上記合成領域を合成用画像で上書きする合成方法である。透かし合成とは、入力画像と合成用画像の画素値の大きい方を選択する合成方法であり、より具体的には、写真の上に文字を合成しても写真上に文字が透けて見えるような合成処理である。   Examples of the synthesis method include overwrite synthesis and watermark synthesis. Overwriting composition is a composition method in which the composition area in an input image is overwritten with a composition image. Watermark composition is a composition method that selects the larger pixel value of the input image and composition image. More specifically, even if characters are composed on the photo, the characters can be seen through the photo. This is a compositing process.

余白データ生成部134は、合成回路132に入力された合成用画像データ(RB_IN、GB_IN、BB_IN、XB_IN)から、上記入力画像データ200の画像に相当する領域サイズを有する合成対象画像データ(RC_IN、GC_IN、BC_IN、XC_IN)を生成する。余白データ生成部134は、より具体的には、上記パラメータ設定部138からのパラメータ設定を受けて、上記合成対象画像データに対し、入力画像データ中の合成領域に相当する領域以外の領域を埋める余白データを生成し、該余白データで合成用画像データ210を補完する。これにより、上記合成用画像データ210の画像が上記合成領域に相当する領域に配置され、かつ上記入力画像データ200の画像に相当する領域サイズを有する合成対象画像データが生成される。   The margin data generation unit 134 uses the image data for synthesis (RB_IN, GB_IN, BB_IN, XB_IN) input to the synthesis circuit 132, and the image data to be synthesized (RC_IN, having area size corresponding to the image of the input image data 200). GC_IN, BC_IN, XC_IN). More specifically, the margin data generation unit 134 receives the parameter setting from the parameter setting unit 138 and fills the synthesis target image data with a region other than the region corresponding to the synthesis region in the input image data. Margin data is generated, and the composition image data 210 is complemented with the margin data. As a result, the synthesis target image data having the area size corresponding to the image of the input image data 200 is generated in which the image of the synthesis image data 210 is arranged in the area corresponding to the synthesis area.

上記余白データによる合成用画像データ210の補完は、ASIC120が備える余白追加機能により実現することができる。また、補完される余白部分は、後続する画像合成において、入力画像データの画素値が優先して選択される部分である。余白は、白、黒または透過を意味する色値としてデータが構成される。   Complementation of the composition image data 210 with the margin data can be realized by a margin addition function provided in the ASIC 120. In addition, the blank portion to be complemented is a portion in which the pixel value of the input image data is preferentially selected in the subsequent image composition. The margin is composed of data as white, black, or a color value meaning transparency.

合成部136には、合成回路132に入力された入力画像データ(RA_IN、GA_IN、BA_IN、XA_IN)と、上記余白データ生成部134が出力する合成対象画像データ(RC_IN、GC_IN、BC_IN、XC_IN)が入力される。合成部136は、これら画像データを用いて、上記合成用画像が入力画像中の上記合成領域に合成された合成画像を生成する。合成部136は、より具体的には、上記合成対象画像データと入力画像データとのRGBデータおよび分離データの合成処理を行って、合成画像データ(R_OUT、G_OUT、B_OUT、X_OUT)を出力する。   The synthesis unit 136 includes the input image data (RA_IN, GA_IN, BA_IN, XA_IN) input to the synthesis circuit 132 and the synthesis target image data (RC_IN, GC_IN, BC_IN, XC_IN) output from the margin data generation unit 134. Entered. The synthesizing unit 136 uses these image data to generate a synthesized image in which the synthesizing image is synthesized with the synthesis area in the input image. More specifically, the synthesizing unit 136 performs a synthesizing process of RGB data and separation data of the synthesis target image data and the input image data, and outputs synthesized image data (R_OUT, G_OUT, B_OUT, X_OUT).

以下、図5を参照しながら、本実施形態による画像合成処理について、より詳細に説明する。図5は、本実施形態における画像合成処理を模式的に示す図である。図5に示すように、例えばCPU110の制御の下、入力画像データ200および合成用画像データ210が、合成回路132に入力される。このとき、入力画像のサイズを規定する設定情報、入力画像中の合成領域を規定する設定情報(Left(L),Top(T),Width(W),Height(H))が、例えばCPU110により与えられる。合成回路132においてパラメータ設定部138は、与えられた設定情報に従い、余白データ生成部134に対し、合成領域の主走査方向の開始画素位置(Left)、副走査方向の開始画素位置(Top)、合成用画像の主走査方向の画素数(Width)および副走査方向の画素数(Height)などのパラメータを設定する。また、パラメータ設定部138は、与えられた設定情報に従って、合成方法を合成部136に設定する。   Hereinafter, the image composition processing according to the present embodiment will be described in more detail with reference to FIG. FIG. 5 is a diagram schematically showing image composition processing in the present embodiment. As shown in FIG. 5, for example, the input image data 200 and the composition image data 210 are input to the composition circuit 132 under the control of the CPU 110. At this time, setting information for defining the size of the input image and setting information for defining the composite area in the input image (Left (L), Top (T), Width (W), Height (H)) are provided by the CPU 110, for example. Given. In the synthesizing circuit 132, the parameter setting unit 138 instructs the margin data generation unit 134 according to the given setting information to start pixel position (Left) in the main scanning direction, start pixel position (Top) in the sub-scanning direction, Parameters such as the number of pixels in the main scanning direction (Width) and the number of pixels in the sub-scanning direction (Height) of the composite image are set. Further, the parameter setting unit 138 sets the synthesis method in the synthesis unit 136 according to the given setting information.

余白データ生成部134は、副走査方向の第1のラインから開始画素位置(Top)前まで、各ラインが空白値で埋められた余白データを生成する。余白データ生成部134は、副走査方向の開始画素位置(Top)以降−終了画素位置(Top+Height)以前の区間については、合成用画像データの各ラインが画素列として含まれるデータを生成する。より具体的には、余白データ生成部134は、主走査方向の開始画素位置(Left)−終了画素位置(Left+Width)の領域に合成用画像データの画素列を含み、それ以外の領域が空白値で埋められたデータを生成する。主走査方向の第1の画素から開始画素位置(Left)前までの領域および終了画素位置(Left+Width)後から終端位置までの領域は、余白値で埋められる。余白データ生成部134は、副走査方向の終了画素位置(Top+Height)を加算した画素位置)後から最終のラインまで、各ラインが空白値で埋められた余白データを生成する。   The margin data generation unit 134 generates margin data in which each line is filled with a blank value from the first line in the sub-scanning direction to the start pixel position (Top). The margin data generation unit 134 generates data in which each line of image data for synthesis is included as a pixel column for a section after the start pixel position (Top) in the sub-scanning direction and before the end pixel position (Top + Height). . More specifically, the margin data generation unit 134 includes the pixel sequence of the image data for synthesis in the region of the start pixel position (Left) −the end pixel position (Left + Width) in the main scanning direction, and the other regions Generate data padded with blank values. An area from the first pixel in the main scanning direction to the start pixel position (Left) and an area from the end pixel position (Left + Width) to the end position are filled with blank values. The margin data generation unit 134 generates margin data in which each line is filled with blank values from the end pixel position (the pixel position obtained by adding the end pixel position (Top + Height) in the sub-scanning direction) to the last line.

合成部136は、パラメータとして設定された合成方法にて、入力画像データ(RA_IN、GA_IN、BA_IN、XA_IN)と、合成対象画像データ(RC_IN、GC_IN、BC_IN、XC_IN)とを合成処理する。この際に、上記空白値については、入力画像データ200中の画素値が選択され、合成領域については、上記設定された合成方法にて合成用画像が合成される。   The synthesizing unit 136 synthesizes the input image data (RA_IN, GA_IN, BA_IN, XA_IN) and the synthesis target image data (RC_IN, GC_IN, BC_IN, XC_IN) by a synthesis method set as a parameter. At this time, for the blank value, a pixel value in the input image data 200 is selected, and for the synthesis region, a synthesis image is synthesized by the set synthesis method.

上述までの第1の実施形態によれば、入力画像データと合成用画像データとが、ASIC120内の合成回路にて余白作成機能を用いて画像合成が実現される。このとき、合成用画像データは、入力画像データと同じサイズを有している必要はなく、入力画像と比較して小さなサイズを有する合成用画像データをそのまま使用することができる。このため、メモリ112上には、合成用画像データについては、そのサイズに応じたメモリ容量だけが確保される。したがって、上記実施形態によれば、サイズの異なる画像間の画像合成が最小限のメモリ消費で実現され、その際の読み出し負荷も軽減され、画像合成処理を高速化することができる。   According to the first embodiment described above, the image synthesis of the input image data and the image data for synthesis is realized using the margin creation function in the synthesis circuit in the ASIC 120. At this time, the composition image data does not need to have the same size as the input image data, and the composition image data having a smaller size than the input image can be used as it is. For this reason, only the memory capacity corresponding to the size of the image data for synthesis is secured on the memory 112. Therefore, according to the above-described embodiment, image synthesis between images of different sizes can be realized with a minimum amount of memory consumption, the reading load at that time can be reduced, and the image synthesis process can be speeded up.

なお、上述までの実施形態は、合成用画像をそのまま入力画像に合成するものとして説明してきた。しかしながら、他の実施形態では、同様の仕組みを用いることにより、合成用画像をタイル状に並べて入力画像に合成することもできる。以下、図6および図7を参照しながら、第2の実施形態による画像合成処理について説明する。なお、以下に説明する第2の実施形態は、第1の実施形態と同様の構成を備えているため、以下、相違点を中心に説明する。第2の実施形態の複合機10は、より具体的には、図1および図2に示したものと同様のソフトウェア構成およびハードウェア構成を備え、第2の実施形態のASIC120は、図3に示すものと同様の構成を備える。   In the above-described embodiments, the synthesis image is directly synthesized with the input image. However, in another embodiment, by using a similar mechanism, it is also possible to arrange the synthesis images in a tile shape and synthesize them with the input image. Hereinafter, the image composition processing according to the second embodiment will be described with reference to FIGS. 6 and 7. In addition, since 2nd Embodiment demonstrated below is equipped with the structure similar to 1st Embodiment, it demonstrates below centering on difference. More specifically, the MFP 10 of the second embodiment has the same software configuration and hardware configuration as those shown in FIGS. 1 and 2, and the ASIC 120 of the second embodiment is shown in FIG. A configuration similar to that shown is provided.

図6は、第2の実施形態による合成回路132の詳細な機能ブロック図である。図6に示す第2の実施形態による合成回路132は、図4に示したものと同様に、余白データ生成部134と、合成部136と、パラメータ設定部138とを含んで構成される。図6に示す実施形態では、複合機10は、さらに、繰り返し制御部140を備える。合成部136には、合成回路132に入力された第1入力画像データが入力されるが、第2の実施形態においては、上記繰り返し制御部140の制御の下、さらに、合成部136が一旦出力した合成画像データ220が入力画像データ200に代えて入力される。   FIG. 6 is a detailed functional block diagram of the synthesis circuit 132 according to the second embodiment. The synthesizing circuit 132 according to the second embodiment shown in FIG. 6 includes a margin data generating unit 134, a synthesizing unit 136, and a parameter setting unit 138, similar to that shown in FIG. In the embodiment shown in FIG. 6, the multifunction machine 10 further includes a repetition control unit 140. The first input image data input to the combining circuit 132 is input to the combining unit 136. In the second embodiment, the combining unit 136 temporarily outputs the data under the control of the repetitive control unit 140. The combined image data 220 is input instead of the input image data 200.

繰り返し制御部140は、合成画像データを第2の入力画像データとして、合成領域の位置を変更させながら、画像合成を繰り返し行わせる制御を行う。上記制御においては、繰り返し制御部140は、上記余白データ生成部134により第2合成対象画像データを生成させ、合成部136により上記第2入力画像データ(第1合成画像データ)と第2合成対象画像データとを合成させる。繰り返し制御部140は、CPU110による処理またはASIC120内の回路機能として構成することができる。   The repetition control unit 140 performs control to repeatedly perform image composition while changing the position of the composition area using the composite image data as second input image data. In the above control, the repetition control unit 140 causes the margin data generation unit 134 to generate second synthesis target image data, and the synthesis unit 136 causes the second input image data (first synthesis image data) and the second synthesis target data to be generated. Combine with image data. The repetitive control unit 140 can be configured as a process by the CPU 110 or a circuit function in the ASIC 120.

余白データ生成部134は、繰り返し制御部140の制御の下、合成回路132に入力された合成用画像データから、上記入力画像データ200の画像に相当する領域サイズを有する合成対象画像データを生成する処理を繰り返す。パラメータ設定部138は、繰り返し制御部140の制御の下、余白データ生成部134に対し、与えられた設定情報から合成領域の位置、該合成領域(合成画像)の大きさなどのパラメータを繰り返し設定する。   The margin data generation unit 134 generates synthesis target image data having a region size corresponding to the image of the input image data 200 from the synthesis image data input to the synthesis circuit 132 under the control of the repetition control unit 140. Repeat the process. The parameter setting unit 138 repeatedly sets parameters such as the position of the composite region and the size of the composite region (composite image) from the given setting information to the margin data generation unit 134 under the control of the repeat control unit 140. To do.

第2の実施形態による合成部136は、上記繰り返し制御部140の制御の下、合成用画像の画像合成を繰り返すことにより、合成用画像をタイル状に並べて入力画像に合成することができる。合成部136は、より詳細には、上記合成用画像が入力画像中の所定の合成領域に合成された合成画像を生成し、さらに、上記合成用画像が別の合成領域に合成された合成画像をさらに生成し、これを所定回数繰り返す。   The synthesizing unit 136 according to the second embodiment can synthesize the synthesizing images into tiles and synthesize the input images by repeating the image synthesizing of the synthesizing images under the control of the repetitive control unit 140. More specifically, the composition unit 136 generates a composite image in which the composite image is combined with a predetermined composite region in the input image, and further, the composite image is combined with another composite region. Is further generated, and this is repeated a predetermined number of times.

以下、図7を参照しながら、第2の実施形態による画像合成処理について、より詳細に説明する。図7は、第2の実施形態における画像合成処理を模式的に示す図である。図7に示すように、第2の実施形態においては、おおもとの第1入力画像データ200と、合成用画像データ210とが合成回路132に入力される。   Hereinafter, the image composition processing according to the second embodiment will be described in more detail with reference to FIG. FIG. 7 is a diagram schematically illustrating image composition processing according to the second embodiment. As shown in FIG. 7, in the second embodiment, the original first input image data 200 and the composition image data 210 are input to the composition circuit 132.

このとき、合成用画像のサイズを規定する設定情報(Width,Height)、繰り返し条件を規定する設定情報(Left,Top,Main_Interval,Sub_Interval,Main_Rep,Sub_Rep)が、例えばCPU110から繰り返し制御部140に与えられる。Main_IntervalおよびSub_Intervalは、それぞれ、主走査および副走査における繰り返し画素間隔を指定する値である。Main_RepおよびSub_Repは、それぞれ、主走査および副走査における繰り返し回数を指定する値である。なお、図示の例では、副査方向に可能な限り繰り返すことを意味する設定値「Sub_Rep=full」が設定されており、主走査方向に繰り返し制御を行わないことを意味する設定値「Main_Rep=false」が設定されている。   At this time, setting information (Width, Height) for specifying the size of the image for synthesis and setting information (Left, Top, Main_Interval, Sub_Interval, Main_Rep, Sub_Rep) for specifying the repetition condition are given from the CPU 110 to the repetition control unit 140, for example. It is done. Main_Interval and Sub_Interval are values that specify repetitive pixel intervals in main scanning and sub-scanning, respectively. Main_Rep and Sub_Rep are values that specify the number of repetitions in main scanning and sub scanning, respectively. In the example shown in the figure, the setting value `` Sub_Rep = full '' which means repeating as much as possible in the sub-scanning direction is set, and the setting value `` Main_Rep = full '' which means that repeated control is not performed in the main scanning direction. "false" is set.

繰り返し制御部140は、各繰り返しサイクルにおいて、入力画像中の合成用画像が合成される合成領域を規定する設定情報(Left(L),Top(T),Width(W),Height(H))を生成し、パラメータ設定部138に与える。合成回路132においてパラメータ設定部138は、繰り返すサイクル毎に、上記与えられた設定情報に従って、余白データ生成部134に、合成領域の主走査の開始画素位置(Left)、副走査の開始画素位置(Top)、合成用画像の主走査の画素数(Width)および副走査の画素数(Height)のパラメータを設定する。   The repetitive control unit 140 sets setting information (Left (L), Top (T), Width (W), Height (H)) that defines a compositing region in which a compositing image in the input image is composited in each repetitive cycle. Is generated and given to the parameter setting unit 138. In the synthesizing circuit 132, the parameter setting unit 138 causes the margin data generation unit 134 to send the start pixel position (Left) and sub-scan start pixel position (sub-scan) (in the synthesis area) according to the given setting information for each cycle. Top), the parameters of the main scanning pixel number (Width) and the sub-scanning pixel number (Height) of the composite image are set.

第1のサイクルでは、余白データ生成部134は、所定大きさ(Height,Width)の合成用画像が開始画素位置(Top1,Left1)に配置された第1合成対象画像データを生成し、合成部136は、第1合成対象画像データと、第1入力画像データとを画像合成する。生成された第1合成画像データは、メモリを経由して、第2入力画像データとして合成回路132に入力される。第1のサイクルでは、第1合成画像データを格納するためのメモリ領域が別途確保される。   In the first cycle, the margin data generation unit 134 generates first synthesis target image data in which a synthesis image having a predetermined size (Height, Width) is arranged at the start pixel position (Top1, Left1), and the synthesis unit 136 synthesizes the first composition target image data and the first input image data. The generated first combined image data is input to the combining circuit 132 as second input image data via the memory. In the first cycle, a memory area for storing the first composite image data is secured separately.

第2のサイクルでは、余白データ生成部134は、上記と同様に、所定大きさ(Height,Width)の合成用画像が開始画素位置(Top2,Left2)に配置された第2合成対象画像データを生成し、合成部136は、第2合成対象画像データと、第2入力画像データとを画像合成する。第2のサイクルで生成された第2合成画像データは、メモリを経由して、第3入力画像データとして合成回路132に入力される。なお、第1のサイクルでは第1合成画像データを格納するためのメモリ領域が別途確保されたが、第2のサイクルを含む以降のサイクルでは、第1のサイクルで確保したメモリ領域が使用される。第3および第4のサイクルについても同様であり、最終的に、合成用画像が4行で配列して入力画像に合成された最終合成画像データが得られる。   In the second cycle, the margin data generation unit 134 obtains the second synthesis target image data in which the synthesis image having a predetermined size (Height, Width) is arranged at the start pixel position (Top2, Left2) in the same manner as described above. The composition unit 136 synthesizes the second composition target image data and the second input image data. The second combined image data generated in the second cycle is input to the combining circuit 132 as third input image data via the memory. Note that a memory area for storing the first composite image data is separately secured in the first cycle, but in the subsequent cycles including the second cycle, the memory area secured in the first cycle is used. . The same applies to the third and fourth cycles. Finally, final synthesized image data in which the synthesis images are arranged in four rows and synthesized with the input image is obtained.

機密管理ナンバリングのような機能においては、部数管理を行うための番号を1面に配列させることがある。上述した第2の実施形態によれば、必要最小限のメモリ消費で、合成用画像がタイル状に1面に配列された状態で画像合成を実現することができる。   In a function such as security management numbering, numbers for managing the number of copies may be arranged on one surface. According to the second embodiment described above, it is possible to realize image composition in a state in which images for composition are arranged on one surface in a tile shape with the minimum necessary memory consumption.

なお、上述までの実施形態は、ひとつの合成用画像を入力画像に合成するものとして説明してきた。しかしながら、他の実施形態では、合成用画像が複数ある場合について拡張することができる。以下、図8および図9を参照しながら、第3の実施形態による画像合成処理について説明する。なお、以下に説明する第3の実施形態は、第1の実施形態と同様の構成を備えているため、以下、相違点を中心に説明する。   In the above-described embodiments, the description has been made assuming that one synthesis image is synthesized with the input image. However, in other embodiments, the case where there are a plurality of images for composition can be expanded. Hereinafter, the image composition processing according to the third embodiment will be described with reference to FIGS. 8 and 9. In addition, since 3rd Embodiment demonstrated below is equipped with the structure similar to 1st Embodiment, it demonstrates below centering on difference.

図8は、第3の実施形態による合成回路132の詳細な機能ブロック図である。図8に示す合成回路132は、第1の実施形態と同様に、余白データ生成部134と、合成部136と、パラメータ設定部138とを含む。第3の実施形態においては、合成回路132には、入力画像データ200と、複数の合成用画像データ210とが入力される。図8に示す例では、2つの合成用画像210a,210bが入力されている。合成用画像データ210a,210bは、それぞれ、入力画像データ200に比較して小さなサイズを有するものを直接用いることができる。   FIG. 8 is a detailed functional block diagram of the synthesis circuit 132 according to the third embodiment. The synthesis circuit 132 shown in FIG. 8 includes a margin data generation unit 134, a synthesis unit 136, and a parameter setting unit 138, as in the first embodiment. In the third embodiment, input image data 200 and a plurality of composition image data 210 are input to the composition circuit 132. In the example shown in FIG. 8, two synthesis images 210a and 210b are input. As the composition image data 210a and 210b, those having a smaller size than the input image data 200 can be directly used.

パラメータ設定部138は、各合成用画像毎に、入力画像中の合成領域の位置、該合成領域(合成画像)の大きさ、合成方法などのパラメータを余白データ生成部134および合成部136に設定する。   The parameter setting unit 138 sets parameters such as the position of the synthesis area in the input image, the size of the synthesis area (synthesized image), and the synthesis method in the margin data generation unit 134 and the synthesis unit 136 for each synthesis image. To do.

余白データ生成部134は、合成回路132に入力された各合成用画像データ(RBn_IN,GB_IN,BBn_IN,XBn_IN:ここでnは、Nを合成用画像の数として、1‥Nの自然数である。)から、上記入力画像に相当する領域サイズを有する合成対象画像データ(RC_IN、GC_IN、BC_IN、XC_IN)を生成する。余白データ生成部134は、より具体的には、上記パラメータ設定部138からのパラメータ設定を受けて、入力画像中の複数の合成領域に相当する領域以外の領域を埋める余白データを生成し、該余白データで複数の合成用画像データ210a,210bを補完する。これにより、各合成用画像が対応する各合成領域に相当する領域に配置され、かつ上記入力画像データ200の画像に相当する領域サイズを有する1つの合成対象画像データが生成される。   The margin data generating unit 134 is a combination of image data (RBn_IN, GB_IN, BBn_IN, XBn_IN: where n is the number of images for synthesis, 1 to N) input to the synthesis circuit 132. ) To generate compositing target image data (RC_IN, GC_IN, BC_IN, XC_IN) having a region size corresponding to the input image. More specifically, the margin data generation unit 134 receives the parameter setting from the parameter setting unit 138, generates margin data that fills an area other than the area corresponding to the plurality of synthesis areas in the input image, and The plurality of compositing image data 210a and 210b are complemented with the margin data. Thus, one compositing target image data is generated in which each compositing image is arranged in a region corresponding to each corresponding compositing region and has a region size corresponding to the image of the input image data 200.

合成部136には、合成回路132に入力された入力画像データ(RA_IN,GA_IN,BA_IN,XA_IN)と、上記余白データ生成部134が出力する合成対象画像データ(RC_IN,GC_IN,BC_IN,XC_IN)とが入力される。合成部136は、上記合成用画像各々が入力画像データ中の上記合成領域各々に合成された合成画像を生成し、合成画像データ(R_OUT、G_OUT、B_OUT、X_OUT)として出力する。   The synthesis unit 136 includes input image data (RA_IN, GA_IN, BA_IN, XA_IN) input to the synthesis circuit 132 and synthesis target image data (RC_IN, GC_IN, BC_IN, XC_IN) output from the margin data generation unit 134. Is entered. The synthesizing unit 136 generates a synthesized image in which each of the synthesis images is synthesized with each of the synthesis regions in the input image data, and outputs the synthesized image data (R_OUT, G_OUT, B_OUT, X_OUT).

以下、図9を参照しながら、本実施形態による画像合成処理について、より詳細に説明する。図9は、第3の実施形態における画像合成処理を模式的に示す図である。図9に示すように、入力画像データ200および複数の合成用画像データ210が合成回路132に入力される。このとき、入力画像中の各合成領域を規定する設定情報(Left(L),Top(T),Width(W),Height(H))が、例えばCPU110により与えられる。   Hereinafter, the image composition processing according to the present embodiment will be described in more detail with reference to FIG. FIG. 9 is a diagram schematically illustrating image composition processing according to the third embodiment. As shown in FIG. 9, input image data 200 and a plurality of composition image data 210 are input to the composition circuit 132. At this time, setting information (Left (L), Top (T), Width (W), Height (H)) for defining each composite area in the input image is given by, for example, the CPU 110.

合成回路132においてパラメータ設定部138は、与えられた設定情報に従って、余白データ生成部134に、各合成領域について、主走査の開始画素位置(Left1,Left2)、副走査の開始画素位置(Top1,Top2)、合成用画像の主走査の画素数(Width1,Width2)および副走査の画素数(Height1,Height2)のパラメータを設定する。   In the synthesizing circuit 132, the parameter setting unit 138 causes the margin data generation unit 134 to perform the main scanning start pixel position (Left1, Left2) and the sub-scanning start pixel position (Top1, Top2), the parameters of the number of main scanning pixels (Width1, Width2) and the number of subscanning pixels (Height1, Height2) of the composition image are set.

余白データ生成部134は、各合成用画像の副走査方向の開始画素位置(Top)以降−終了画素位置(Top+Height)以前の区間いずれにも該当しない区間については、各ラインが空白値で埋められた余白データを生成する。余白データ生成部134は、各合成用画像の副走査方向の開始画素位置(Top)以降−終了画素位置(Top+Height)以前の区間に該当する区間については、合成用画像データの各ラインが画素列として含まれるデータを生成する。ここで、複数の合成用画像が重なる領域が存在する場合は、デフォルトとしてまたは予め定められた優先すべき側の合成用画像データの画素値を優先して上書き合成し、あるいは透かし合成を行う。そして、合成部136は、パラメータとして設定された合成方法にて、上記生成された合成対象画像データと、入力画像データとを合成処理する。   The margin data generation unit 134 has a blank value for each line in a section that does not correspond to any section after the start pixel position (Top) in the sub-scanning direction and before the end pixel position (Top + Height) in each composite image. Generates padded margin data. For the section corresponding to the section from the start pixel position (Top) in the sub-scanning direction to the end pixel position (Top + Height) in the sub-scanning direction of each compositing image, the margin data generation unit 134 displays each line of the compositing image data. Data included as a pixel column is generated. Here, when there is an area where a plurality of compositing images overlap, a pixel value of the compositing image data to be preferentially given as a default or preferentially is overwritten or watermarked. Then, the synthesizing unit 136 performs a synthesizing process on the generated synthesis target image data and the input image data by a synthesis method set as a parameter.

上述までの実施形態によれば、複数の合成用画像データが、ASIC120内の合成回路にて、余白作成機能を用いて入力画像データに画像合成される。このとき、複数の合成用画像データは、それぞれ入力画像データと同じサイズを有する必要はなく、それぞれ小さなサイズを有する合成用画像データをそのまま使用することができる。したがって、上記第3の実施形態によれば、サイズの異なる3以上の画像間の画像合成を、最小限のメモリ消費で実現することができる。   According to the embodiments described above, a plurality of compositing image data is combined with the input image data using the margin generation function in the combining circuit in the ASIC 120. At this time, the plurality of compositing image data does not need to have the same size as the input image data, and the compositing image data having a small size can be used as they are. Therefore, according to the third embodiment, image composition between three or more images having different sizes can be realized with a minimum of memory consumption.

また、他の実施形態では、さらに、第2の実施形態および第3の実施形態を組み合わせて、図10に示す第4の実施形態による画像合成処理を実現することもできる。以下に説明する第4の実施形態は、第1の実施形態と同様の構成を備えているため、以下、相違点を中心に説明する。   In another embodiment, the image synthesis processing according to the fourth embodiment shown in FIG. 10 can be realized by further combining the second embodiment and the third embodiment. Since the fourth embodiment described below has the same configuration as that of the first embodiment, the following description will focus on differences.

図10は、第4の実施形態における画像合成処理を模式的に示す図である。図10に示すように、第1入力画像データと、複数の合成用画像データとが合成回路132に入力される。なお、図10に示す例では、2つの合成用画像が入力されている。各合成用画像データは、第1入力画像データに比較して小さなサイズを有するものを直接用いることができる。   FIG. 10 is a diagram schematically illustrating an image composition process according to the fourth embodiment. As shown in FIG. 10, the first input image data and a plurality of composition image data are input to the composition circuit 132. In the example shown in FIG. 10, two images for composition are input. As the image data for synthesis, those having a smaller size than the first input image data can be directly used.

このとき、各合成用画像のサイズを規定する設定情報(Width1,Height1,Width2,Height2)、繰り返し条件を規定する設定情報(Left1,Top1,Left2,Top2,Main_Interval,Sub_Interval,Main_Rep,Sub_Rep)が、例えばCPU110から繰り返し制御部140に与えられる。Main_IntervalおよびSub_Interval、並びにMain_RepおよびSub_Repは、説明する実施形態では、合成画像に共通して与えられている。   At this time, setting information (Width1, Height1, Width2, Height2) specifying the size of each composition image, setting information (Left1, Top1, Left2, Top2, Main_Interval, Sub_Interval, Main_Rep, Sub_Rep) specifying the repetition condition are For example, it is given from the CPU 110 to the repetitive control unit 140. Main_Interval and Sub_Interval, and Main_Rep and Sub_Rep are commonly given to the composite image in the embodiment to be described.

第4実施形態による繰り返し制御部140は、第3の実施形態と同様に、各繰り返しサイクルにおいて、複数の合成用画像各々について、合成領域を規定する設定情報(Left(L),Top(T),Width(W),Height(H))をパラメータ設定部138に与える。パラメータ設定部138は、繰り返すサイクル毎に、上記与えられた設定情報に従って、余白データ生成部134に、各合成領域について、主走査の開始画素位置(Left1m,Left2m)、副走査の開始画素位置(Top1m,Top2m)、合成用画像の主走査の画素数(Width1,Width2)および副走査の画素数(Height1,Height2)のパラメータを設定する。ここでmは、Mを繰り返し数として、1‥Mの自然数である。   Similar to the third embodiment, the iterative control unit 140 according to the fourth embodiment sets setting information (Left (L), Top (T)) that defines a composition area for each of a plurality of composition images in each repetition cycle. , Width (W), Height (H)) to the parameter setting unit 138. For each repeated cycle, the parameter setting unit 138 instructs the margin data generation unit 134 according to the setting information given above for each composite region to start pixel position (Left1m, Left2m) and subscanning start pixel position ( Top1m, Top2m), the number of main scanning pixels (Width1, Width2) and the number of sub-scanning pixels (Height1, Height2) of the composition image are set. Here, m is a natural number of 1.

第1のサイクルでは、余白データ生成部134は、所定大きさ(Height1,Width1)の第1合成用画像が開始画素位置(Top11,Left11)に配置され、所定大きさ(Height2,Width2)の第2合成用画像が開始画素位置(Top21,Left21)に配置された第1合成対象画像データを生成する。合成部136は、第1合成対象画像データと、第1入力画像データとを画像合成し、第1合成画像データを出力する。   In the first cycle, the margin data generation unit 134 arranges the first composition image having a predetermined size (Height1, Width1) at the start pixel position (Top11, Left11), and the first data having the predetermined size (Height2, Width2). The first compositing target image data in which the two compositing images are arranged at the start pixel position (Top21, Left21) is generated. The combining unit 136 combines the first combining target image data and the first input image data, and outputs the first combined image data.

第2のサイクルでは、上記第1合成画像データが第2入力データとして入力される。余白データ生成部134は、所定大きさ(Height1,Width1)の第1合成用画像が開始画素位置(Top12,Left12)に配置され、所定大きさ(Height2,Width2)の第2合成用画像が開始画素位置(Top22,Left22)に配置された第2合成対象画像データを生成する。合成部136は、第2合成対象画像データと、第1入力画像データとを画像合成し、第3入力画像データとして合成回路132に入力される。第3および第4のサイクルのついても同様であり、最終的に、複数の合成用画像が各4行に配列して入力画像に合成された最終合成画像データが得られる。   In the second cycle, the first composite image data is input as second input data. The margin data generation unit 134 arranges a first composition image having a predetermined size (Height1, Width1) at a start pixel position (Top12, Left12), and starts a second composition image having a predetermined size (Height2, Width2). Second synthesis target image data arranged at the pixel position (Top22, Left22) is generated. The synthesizing unit 136 synthesizes the second synthesis target image data and the first input image data, and inputs them to the synthesis circuit 132 as third input image data. The same applies to the third and fourth cycles. Finally, final composite image data in which a plurality of composite images are arranged in four rows and combined with the input image is obtained.

上述した第4の実施形態によれば、機密管理ナンバリングのような機能において、必要最小限のメモリ消費で、上記のように複数の合成用画像がタイル状に1面に配列された状態で画像合成を実現することができる。   According to the fourth embodiment described above, in a function such as security management numbering, a plurality of compositing images are arranged in a tiled manner on a single surface as described above with a minimum memory consumption. Synthesis can be realized.

さらに、他の実施形態では、図11および図12に示すような第5の実施形態を実現することもできる。以下に説明する第5の実施形態は、第1の実施形態と同様の構成を備えているため、以下、相違点を中心に説明する。図11は、第5の実施形態による合成回路132の詳細な機能ブロック図である。図11に示す第5の実施形態による合成回路132は、図4に示したものと同様に、余白データ生成部134と、合成部136と、パラメータ設定部138とを含む。第5の実施形態においては、合成回路132には、入力画像データ200と、複数の合成用画像データ210−1〜210−nとが入力される。   Furthermore, in another embodiment, the fifth embodiment as shown in FIGS. 11 and 12 can be realized. The fifth embodiment to be described below has the same configuration as that of the first embodiment, and therefore the following description will focus on the differences. FIG. 11 is a detailed functional block diagram of the synthesis circuit 132 according to the fifth embodiment. The synthesis circuit 132 according to the fifth embodiment shown in FIG. 11 includes a margin data generation unit 134, a synthesis unit 136, and a parameter setting unit 138, similar to that shown in FIG. In the fifth embodiment, input image data 200 and a plurality of image data for synthesis 210-1 to 210-n are input to the synthesis circuit 132.

図11に示す実施形態では、複合機10は、さらに、配列制御部142を備える。合成部136には、合成回路132に入力された第1入力画像データが入力されるが、第5の実施形態においては、上記配列制御部142の制御の下、合成部136が一旦出力した合成画像データが、さらに入力画像データに代えて入力される。   In the embodiment shown in FIG. 11, the multifunction machine 10 further includes an array control unit 142. The first input image data input to the combining circuit 132 is input to the combining unit 136. In the fifth embodiment, the combining unit 136 once outputs the combination under the control of the array control unit 142. Image data is further input instead of the input image data.

配列制御部142は、与えられた複数の合成用画像の配列設定に従って、上記複数の合成用画像データの合成用画像各々を配置する合成領域を決定し、入力する合成用画像データを制御し、該合成用画像データの合成位置を制御する。上記配列設定は、合成用画像の並べ方を規定するものであり、例えば、合成用画像データを識別する識別値の1次元または2次元配列として構成することができる。例えば、4つの合成用画像を4行1列に配列させる場合は、(1,2,3,4)のように構成することができる。   The arrangement control unit 142 determines a synthesis area in which each of the synthesis images of the plurality of synthesis image data is arranged according to the given arrangement setting of the plurality of synthesis images, controls the synthesis image data to be input, The composition position of the composition image data is controlled. The array setting defines how to arrange the composition images, and can be configured as, for example, a one-dimensional or two-dimensional array of identification values for identifying the composition image data. For example, when four images for composition are arranged in four rows and one column, they can be configured as (1, 2, 3, 4).

余白データ生成部134は、第1の実施形態と同様に、合成回路132に入力された合成用画像データから、上記入力画像データ200の画像に相当する領域サイズを有する合成対象画像データを生成することを繰り返す。パラメータ設定部138は、余白データ生成部134に対し、与えられた設定情報から合成領域の位置、該合成領域(合成画像)の大きさなどのパラメータを繰り返し設定する。   As in the first embodiment, the margin data generation unit 134 generates synthesis target image data having a region size corresponding to the image of the input image data 200 from the synthesis image data input to the synthesis circuit 132. Repeat that. The parameter setting unit 138 repeatedly sets parameters such as the position of the synthesis area and the size of the synthesis area (synthesis image) from the given setting information to the margin data generation unit 134.

第5の実施形態による合成部136は、上記配列制御部142の制御の下、複数の合成用画像の画像合成を繰り返すことにより、入力される複数の合成用画像を配列設定に従ってタイル状に並べて入力画像データに合成することができる。合成部136は、より詳細には、一の合成用画像が入力画像中の一の合成領域に合成された合成画像を生成し、さらに、他の合成用画像が他の合成領域に合成された合成画像をさらに生成し、これを所定回数繰り返す。   The composition unit 136 according to the fifth embodiment repeats image composition of a plurality of composition images under the control of the array control unit 142, thereby arranging a plurality of composition images to be tiled according to the array setting. It can be combined with the input image data. More specifically, the combining unit 136 generates a composite image in which one composite image is combined with one composite region in the input image, and another composite image is combined with another composite region. A composite image is further generated, and this is repeated a predetermined number of times.

以下、図12を参照しながら、第5の実施形態による画像合成処理について、より詳細に説明する。図12は、第5の実施形態における画像合成処理を模式的に示す図である。図12に示すように、第1入力画像データと、複数の合成用画像データとのいずれかが合成回路132に入力される。なお、図12に示す例では、4つの合成用画像が順次入力されている。   Hereinafter, the image composition processing according to the fifth embodiment will be described in more detail with reference to FIG. FIG. 12 is a diagram schematically illustrating image composition processing according to the fifth embodiment. As shown in FIG. 12, either the first input image data or a plurality of composition image data is input to the composition circuit 132. In the example shown in FIG. 12, four synthesis images are sequentially input.

このとき、各合成用画像のサイズを規定する設定情報(Width,Height)、繰り返し条件を規定する設定情報(Left,Top,Main_Interval,Sub_Interval,Main_Rep,Sub_Rep)および配列設定(Arrangement)が、例えばCPU110から配列制御部142に与えられる。Arrangementは、図に示す例では、ID=2の合成用画像、ID=1の合成用画像、ID=4の合成用画像、ID=3の合成用画像が順に4行1列で並べられることを規定している。Main_Interval、Sub_Interval、Main_RepおよびSub_Repについては、第2の実施形態と同様であるため、詳細な説明は割愛する。   At this time, setting information (Width, Height) specifying the size of each image for synthesis, setting information (Left, Top, Main_Interval, Sub_Interval, Main_Rep, Sub_Rep) specifying the repetition condition, and array setting (Arrangement) are, for example, the CPU 110. To the array control unit 142. In the example shown in the figure, the Arrangement has an ID = 2 composition image, an ID = 1 composition image, an ID = 4 composition image, and an ID = 3 composition image arranged in order of 4 rows and 1 column. Is stipulated. Since Main_Interval, Sub_Interval, Main_Rep, and Sub_Rep are the same as those in the second embodiment, detailed description thereof is omitted.

配列制御部142は、各繰り返しサイクルにおいて、合成用画像データを合成回路に入力し、合成用画像を識別する識別値(ID)、入力画像中の合成用画像が合成される合成領域を規定する設定情報(Left(L),Top(T),Width(W),Height(H))をパラメータ設定部138に与える。合成回路132においてパラメータ設定部138は、繰り返すサイクル毎に、上記与えられた設定情報に従って、余白データ生成部134に、合成領域の主走査の開始画素位置(Left)、副走査の開始画素位置(Top)、合成用画像の主走査の画素数(Width)および副走査の画素数(Height)のパラメータを設定する。画像合成は、説明する実施形態では、最も若いIDの合成用画像データから行うこととするが、特に限定されるものではなく、他の実施形態では、配置される順序に応じて行うこともできる。   In each repetition cycle, the array control unit 142 inputs the composition image data to the composition circuit, defines an identification value (ID) for identifying the composition image, and a composition area in which the composition image in the input image is composed. Setting information (Left (L), Top (T), Width (W), Height (H)) is given to the parameter setting unit 138. In the synthesizing circuit 132, the parameter setting unit 138 causes the margin data generation unit 134 to send the start pixel position (Left) and sub-scan start pixel position (sub-scan) (in the synthesis area) according to the given setting information for each cycle. Top), the parameters of the main scanning pixel number (Width) and the sub-scanning pixel number (Height) of the composite image are set. In the embodiment to be described, the image composition is performed from the image data for composition of the youngest ID, but is not particularly limited, and in other embodiments, the image composition can be performed according to the arrangement order. .

第1のサイクルでは、余白データ生成部134は、ID=1で識別される、所定大きさ(Height1,Width1)の第1合成用画像が、開始画素位置(Top11,Left11。第2行目に対応する。)に配置された第1合成対象画像データを生成する。合成部136は、第1合成対象画像データと、第1入力画像データとを画像合成し、第1合成画像データを出力する。   In the first cycle, the margin data generation unit 134 determines that the first composite image having a predetermined size (Height1, Width1) identified by ID = 1 is the start pixel position (Top11, Left11, second line). The first compositing target image data arranged in (1) is generated. The combining unit 136 combines the first combining target image data and the first input image data, and outputs the first combined image data.

第2のサイクルでは、上記第1合成画像データが第2入力データとして入力される。余白データ生成部134は、ID=2で識別される、所定大きさ(Height2,Width2)の第2合成用画像が、開始画素位置(Top12,Left12。第1行目に対応する。)に配置された第2合成対象画像データを生成する。当該サイクルでは、合成部136は、第2合成対象画像データと、第2入力画像データとを画像合成し、第2合成画像データを出力する。第3および第4のサイクルのついても同様であり、最終的に、上方から第2、第1、第4および第3の順に合成用画像が配列されて第1入力画像データの入力画像に合成された最終合成画像データが得られる。   In the second cycle, the first composite image data is input as second input data. In the margin data generation unit 134, the second composition image having a predetermined size (Height2, Width2) identified by ID = 2 is arranged at the start pixel position (Top12, Left12, corresponding to the first row). The second image data to be synthesized is generated. In the cycle, the combining unit 136 combines the second combining target image data and the second input image data, and outputs the second combined image data. The same applies to the third and fourth cycles. Finally, the synthesis images are arranged in the order of the second, first, fourth, and third from the top and synthesized into the input image of the first input image data. The final composite image data is obtained.

上述した第5の実施形態によれば、必要最小限のメモリ消費で、上記のように複数の合成用画像を任意に組み合わせて1面に配列した状態で画像合成を実現することができる。   According to the fifth embodiment described above, image composition can be realized in a state where a plurality of compositing images are arbitrarily combined and arranged on one surface as described above, with a minimum required memory consumption.

以上説明した実施形態によれば、入力画像データと合成用画像データとの画像合成において、合成用画像のサイズに応じた適切な消費メモリ量を確保するだけで画像合成を可能とし、ひいては、消費メモリ量の削減および画像合成処理の高速化が図られた画像処理装置、および該画像処理装置を実現するためのプログラムを提供することができる。   According to the embodiment described above, in the image composition of the input image data and the image data for composition, it is possible to perform image composition only by securing an appropriate memory consumption amount corresponding to the size of the image for composition. It is possible to provide an image processing apparatus in which the amount of memory is reduced and the speed of image composition processing is increased, and a program for realizing the image processing apparatus.

なお、画像合成を行う合成回路は、上述したようにASICとして実装することができ、他の実施形態では、フィールド・プログラマブル・ゲート・アレイ(FPGA)などのプログラマブル・ロジック・デバイス(PLD)上に実装することができる。PLDとして実装する場合には、上記回路構成をPDL上に実現するためにPDLにダウンロードする回路構成データ(ビットストリームデータ)、回路構成データを生成するためのHDL(Hardware Description Language)、VHDL(Very High Speed Integrated Circuits) HDL)、(Verilog-HDL)により記述されたデータなどのプログラムを記録する記録媒体により配布することができる。また、上述した実施形態では、複合機が画像処理装置であるとしているが、他の実施形態による画像処理装置は、上記ASIC120単体として構成されてもよい。   Note that a synthesis circuit that performs image synthesis can be implemented as an ASIC as described above, and in other embodiments on a programmable logic device (PLD) such as a field programmable gate array (FPGA). Can be implemented. When implemented as a PLD, circuit configuration data (bit stream data) downloaded to the PDL for realizing the above circuit configuration on the PDL, HDL (Hardware Description Language) for generating the circuit configuration data, VHDL (Very High Speed Integrated Circuits) HDL) and (Verilog-HDL) can be distributed by a recording medium that records programs such as data described in (Verilog-HDL). In the above-described embodiment, the multifunction peripheral is an image processing apparatus. However, an image processing apparatus according to another embodiment may be configured as the ASIC 120 alone.

これまで本発明を、特定の実施形態および実施例をもって説明してきたが、本発明は、上述した実施形態または実施例に限定されるものではなく、他の実施形態、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。   The present invention has been described above with specific embodiments and examples. However, the present invention is not limited to the above-described embodiments or examples, and other embodiments, additions, modifications, deletions, etc. It can be changed within the range that can be conceived by those skilled in the art, and any embodiment is included in the scope of the present invention as long as the effects and effects of the present invention are exhibited.

10…複合機、12…ソフトウェア群、14…複合機起動部、16…ハードウェア資源群、18…アプリケーション層、20…プラットフォーム層、22…コントロール・サービス層、24…ハンドラ層、26…モノクロ・レーザプリンタ、28…カラー・レーザプリンタ、30…画像変換器、32…ハードウェア・リソース、34…プリンタ・アプリケーション、36…コピー・アプリケーション、38…ファックシミリ・アプリケーション、40…スキャナ・アプリケーション、42…NCS、44…DCS、46…OCS、48…FCS、50…ECS、52…MCS、54…UCS、56…SCS、58…SRM、60…FCUH、62…IMH、64…MEU、66…API、68…エンジンI/F、100…コントローラ、110…CPU、112…メモリ、114…HDD、116…ROM、118…NIC、120…ASIC、122…圧縮伸張器、124…編集器、126…回転器、128…入力器、130…出力器、132…合成回路、134…余白データ生成部、136…合成部、138…パラメータ設定部、140…繰り返し制御部、142…配列制御部、150…オペレーションパネル、152…FCU、160…エンジン部、162…ASIC、164…CCD、166…作像制御部、200…入力画像データ、210…合成用画像データ、220…合成画像データ DESCRIPTION OF SYMBOLS 10 ... MFP, 12 ... Software group, 14 ... MFP starter, 16 ... Hardware resource group, 18 ... Application layer, 20 ... Platform layer, 22 ... Control service layer, 24 ... Handler layer, 26 ... Monochrome Laser printer, 28 ... color laser printer, 30 ... image converter, 32 ... hardware resources, 34 ... printer application, 36 ... copy application, 38 ... facsimile application, 40 ... scanner application, 42 ... NCS, 44 ... DCS, 46 ... OCS, 48 ... FCS, 50 ... ECS, 52 ... MCS, 54 ... UCS, 56 ... SCS, 58 ... SRM, 60 ... FCUH, 62 ... IMH, 64 ... MEU, 66 ... API, 68 ... Engine I / F, 100 ... Controller, 11 ... CPU, 112 ... memory, 114 ... HDD, 116 ... ROM, 118 ... NIC, 120 ... ASIC, 122 ... compressor, 124 ... editor, 126 ... rotor, 128 ... input device, 130 ... output device, 132 ... Composition circuit, 134 ... Margin data generation unit, 136 ... Composition unit, 138 ... Parameter setting unit, 140 ... Repetition control unit, 142 ... Array control unit, 150 ... Operation panel, 152 ... FCU, 160 ... Engine unit, 162 ... ASIC, 164... CCD, 166... Image formation control unit, 200... Input image data, 210.

特開2001−253134号公報JP 2001-253134 A

Claims (7)

入力画像データを取得する手段と、
前記入力画像データと比較して小さな合成用画像データを取得する手段と、
前記合成用画像データから、前記入力画像データの画像に相当する領域を有し、前記合成用画像データの画像が所定領域に配置された合成対象画像データを生成する生成手段と、
取得される前記入力画像データと、生成される前記合成対象画像データとを用いて、前記合成用画像データの画像が前記入力画像データの前記所定領域に相当する領域に合成された合成画像を生成する画像合成手段と
を含む、画像処理装置。
Means for obtaining input image data;
Means for obtaining image data for synthesis smaller than the input image data;
Generating means for generating, from the composition image data, composition target image data having an area corresponding to the image of the input image data and having the image of the composition image data arranged in a predetermined area;
Using the acquired input image data and the generated synthesis target image data, generate a synthesized image in which the image of the synthesis image data is synthesized with an area corresponding to the predetermined area of the input image data An image processing apparatus, comprising:
前記生成手段は、前記合成対象画像データ中の前記所定領域以外の領域を埋めるための余白データを生成し、該余白データで前記合成用画像データを補完することにより、前記合成対象画像データを生成する手段であることを特徴とする、請求項1に記載の画像処理装置。   The generating means generates margin data for filling an area other than the predetermined area in the composition target image data, and generates the composition target image data by complementing the composition image data with the margin data. The image processing apparatus according to claim 1, wherein the image processing apparatus is a means for performing the processing. 前記合成画像の画像データを第2の入力画像データとして、前記所定領域の位置を変更させながら、前記生成手段により第2の合成対象画像データを生成させ、前記画像合成手段により前記第2の入力画像データと前記第2の合成対象画像データとから第2の合成画像を生成させる制御を行う、繰り返し制御手段をさらに含む、請求項1または2に記載の画像処理装置。   Using the image data of the synthesized image as second input image data, the second image data to be synthesized is generated by the generating means while changing the position of the predetermined area, and the second input by the image synthesizing means. The image processing apparatus according to claim 1, further comprising a repetitive control unit that performs control for generating a second composite image from the image data and the second composition target image data. 前記合成用画像データは、複数あり、対応する数の所定領域が設定されることを特徴とする、請求項1〜3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein there are a plurality of the composition image data, and a corresponding number of predetermined areas are set. 前記合成用画像データは、複数あり、前記画像処理装置は、さらに、
前記複数の合成用画像データの画像配列を規定する配列設定に従って、前記複数の合成用画像データの画像各々を配置する所定領域を決定し、前記複数の合成用画像データの合成配置を制御する配列制御手段を含む、請求項1〜3のいずれか1項に記載の画像処理装置。
There are a plurality of the composition image data, and the image processing apparatus further includes:
An array for determining a predetermined area in which each of the plurality of compositing image data images is arranged in accordance with an arrangement setting that defines an image arrangement of the plurality of compositing image data, and for controlling a composite arrangement of the plurality of compositing image data The image processing apparatus according to claim 1, comprising a control unit.
前記入力画像データを取得する手段、前記合成用画像データを取得する手段、前記生成手段および前記画像合成手段は、上記各手段の機能を備える回路として、特定用途向け集積回路またはプログラマブル・ロジック・デバイス上に構成されることを特徴とする、請求項1〜5のいずれか1項に記載の画像処理装置。   The means for acquiring the input image data, the means for acquiring the image data for synthesis, the generation means, and the image synthesis means are integrated circuits for specific applications or programmable logic devices as circuits having the functions of the respective means. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured as described above. 入力画像データを取得する手段、
前記入力画像データと比較して小さな合成用画像データを取得する手段、
前記合成用画像データから、前記入力画像データの画像に相当する領域を有し、前記合成用画像データの画像が所定領域に配置された合成対象画像データを生成する生成手段、および
取得される前記入力画像データと、生成される前記合成対象画像データとを用いて、前記合成用画像データの画像が前記入力画像データの前記所定領域に相当する領域に合成された合成画像を生成する画像合成手段
として機能する回路構成を実現するためのデバイス実行可能なプログラム。
Means for acquiring input image data;
Means for obtaining image data for synthesis smaller than the input image data;
Generating means for generating image data to be combined having an area corresponding to the image of the input image data from the image data for combining, and the image of the image data for combining arranged in a predetermined area; and Image combining means for generating a combined image in which an image of the image data for combining is combined with a region corresponding to the predetermined region of the input image data, using the input image data and the generated image data to be combined A device-executable program for realizing a circuit configuration that functions as a device.
JP2011172835A 2011-08-08 2011-08-08 Image processor and program Withdrawn JP2013038580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011172835A JP2013038580A (en) 2011-08-08 2011-08-08 Image processor and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011172835A JP2013038580A (en) 2011-08-08 2011-08-08 Image processor and program

Publications (1)

Publication Number Publication Date
JP2013038580A true JP2013038580A (en) 2013-02-21

Family

ID=47887771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011172835A Withdrawn JP2013038580A (en) 2011-08-08 2011-08-08 Image processor and program

Country Status (1)

Country Link
JP (1) JP2013038580A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021068346A (en) * 2019-10-28 2021-04-30 株式会社リコー Communication terminal, communication system, data sharing method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021068346A (en) * 2019-10-28 2021-04-30 株式会社リコー Communication terminal, communication system, data sharing method and program
JP7400345B2 (en) 2019-10-28 2023-12-19 株式会社リコー Communication terminals, communication systems, data sharing methods and programs

Similar Documents

Publication Publication Date Title
US8472051B2 (en) Image forming apparatus and method for displaying preview image of top page of multiple sub-jobs of a print job
CN101640743B (en) Image processing device and preview display method
CN101237513B (en) Image processing device and image processing method
JP4125208B2 (en) Image processing apparatus and image processing method
US8373907B2 (en) Image processing apparatus including a usage-log managing unit for managing usage log information about a processed image data and image processing method
JP4966248B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer program
US7307762B2 (en) Image input/output control method and image input/output apparatus
JP5164368B2 (en) Image processing apparatus and image processing method
JP4927010B2 (en) Image output apparatus, image output method, and image output program
JP4991449B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
JP2006262078A (en) Image processing device
JP2007282215A (en) Image processing apparatus and method
US20030133090A1 (en) Image reading apparatus
EP2148498A1 (en) Image forming apparatus and image forming method
JP2013038580A (en) Image processor and program
JP5325902B2 (en) Image forming apparatus
JP2005110020A (en) Image input / output device, memory management method, program, and image forming apparatus
JP3432153B2 (en) Image processing apparatus and image processing method
JP4146541B2 (en) Image reading device
JP2006174170A (en) Image processing apparatus and image processing method
JP2006157806A (en) Image processing device
JP2004128879A (en) Image transmission device and image transmission method
JP2007129428A (en) Image processing apparatus and image processing method
JP2006287707A (en) Image processing device
JP2007028064A (en) Image forming apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104