JP2006347012A - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP2006347012A
JP2006347012A JP2005176335A JP2005176335A JP2006347012A JP 2006347012 A JP2006347012 A JP 2006347012A JP 2005176335 A JP2005176335 A JP 2005176335A JP 2005176335 A JP2005176335 A JP 2005176335A JP 2006347012 A JP2006347012 A JP 2006347012A
Authority
JP
Japan
Prior art keywords
processing
printing
pixel
image
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005176335A
Other languages
Japanese (ja)
Inventor
Tomoyuki Watanabe
知行 渡辺
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005176335A priority Critical patent/JP2006347012A/en
Publication of JP2006347012A publication Critical patent/JP2006347012A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing device which can execute a color processing without image quality deterioration and also can rapidly perform a multiple variation processing suited for a rectangular region, even during performing a combination processing to combine a plurality of images. <P>SOLUTION: In an image combination processing, the order of the color processing and the multiple variation processing is changed depending on whether a combination pixel is of a transmitted color or not. Further, the combination processing is performed in a device non-dependent space. When the combination pixel is of the transmitted color, the multiple variation processing is executed after changing a color space to a base pixel without performing the combination processing. On the other hand, the combination processing is performed after the multiple variation processing, when the synthetic pixel is of the transmitted color. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は印刷装置に関するものである。   The present invention relates to a printing apparatus.

パソコンなどの印刷制御装置で作成されたデータを接続されるプリンタで印刷する場合、各印刷制御装置内のプリンタドライバにおいてプリンタが印刷可能なデータを作成し、プリンタに送信するシステムが一般的となっている。しかし近年にはこのシステムに加え、デジタルカメラ等のホスト装置を直接プリンタに接続して印刷するシステムや、プリンタに搭載されるリーダを介してメモリカード等のデータ保存デバイス内にあるデータから直接印刷を行うダイレクト印刷装置及びダイレクト印刷システムが出現している。   When printing data created by a print control device such as a personal computer with a connected printer, a system that creates data that can be printed by the printer in the printer driver in each print control device and sends the data to the printer is common. ing. In recent years, however, in addition to this system, printing is performed by directly connecting a host device such as a digital camera to a printer, or directly from data stored in a data storage device such as a memory card via a reader mounted on the printer. A direct printing apparatus and a direct printing system have been developed.

一方、上述したパソコン等を使用した印刷システムにおいては、各プリンタ特有のデータを作成するため、各システム内のプリンタドライバソフトウエア内において画像に対してCRT等他の色空間からプリンタ色空間への変換を行う色補正処理、プリンタ色空間内での変換を行う色変換処理、量子化処理などを施し、プリンタに最適なデータを生成するのが一般的である。   On the other hand, in the above-described printing system using a personal computer or the like, data specific to each printer is created. Therefore, in the printer driver software in each system, an image is transferred from another color space such as a CRT to the printer color space. In general, color correction processing for conversion, color conversion processing for conversion in the printer color space, quantization processing, and the like are performed to generate optimum data for the printer.

しかしながら上述したデジタルカメラやメモリカードなどから直接印刷を行うダイレクト印刷システムにおいてはホスト機器の能力に制限があるため機器内にプリンタドライバを搭載することが困難であることから、印刷対象画像をJPEG等の一般的な画像フォーマットとして印刷装置に送信し、印刷装置内で上記処理を施して印刷を行う手法がとられている。   However, in a direct printing system that performs printing directly from the above-described digital camera, memory card, or the like, it is difficult to mount a printer driver in the device because of the limited capability of the host device. A general image format is transmitted to a printing apparatus, and the above processing is performed in the printing apparatus to perform printing.

また近年のユーザニーズにより、単に画像を印刷するにとどまらず、複数の画像を合成して印刷を行う合成処理も可能となっている。   Further, according to recent user needs, not only printing an image but also a combining process for combining a plurality of images for printing is possible.

しかし一方ではプリンタ内に上述した処理を搭載することにより、プリンタの処理負荷が増大するという問題も生じる。一般的にはホストコンピュータの能力はプリンタの能力に勝るため、プリンタ内でホストコンピュータと同等な処理を行った場合には処理速度が落ちてしまうためである。本問題点を解消するために、例えば特許文献1にあげられるように、画像処理における色変換処理部と拡縮処理部の順序を入れ替える手法がとられている。
特開2004−194050号公報
However, on the other hand, there is a problem that the processing load of the printer increases by mounting the above-described processing in the printer. This is because the host computer generally has a higher capability than the printer, and the processing speed is reduced when processing equivalent to that of the host computer is performed in the printer. In order to solve this problem, as disclosed in Patent Document 1, for example, a technique is used in which the order of the color conversion processing unit and the enlargement / reduction processing unit in image processing is switched.
JP 2004-194050 A

しかしながら上記従来例の特許文献1では、色処理と拡縮処理の順序を入れ替えることで処理時間の短縮を図っているが、合成印刷時においては拡縮処理を色処理前に実行する必要があるため、処理時間を短縮することができないという問題が残る。このため本発明の目的は、複数画像を合成する合成処理時においても、画質劣化を起こさせることなく色処理を実行し、かつ矩形領域にあった変倍処理を実行することが可能である印刷装置を提供することにある。   However, in Patent Document 1 of the above-described conventional example, the processing time is shortened by switching the order of the color processing and the enlargement / reduction processing. However, the enlargement / reduction processing needs to be executed before the color processing at the time of composite printing. The problem remains that the processing time cannot be shortened. Therefore, an object of the present invention is to perform printing that can execute color processing without causing deterioration in image quality and can perform scaling processing that fits in a rectangular area even during the combining processing of combining a plurality of images. To provide an apparatus.

印刷制御装置やデジタルカメラ等の入力装置、及び入力装置と接続可能な印刷装置を設ける。接続にはUSBやパラレル等のインターフェースを使用する。本印刷装置内には入力装置から送信される印刷対象データの受信手段を設ける。更に内蔵される読み込み装置に装着されているメモリカードなどの記憶媒体からのデータ読み出し手段を設け、本記憶媒体からもデータを入力することが可能である仕組みを含んでいても構わない。   An input device such as a print control device or a digital camera, and a printing device connectable with the input device are provided. For connection, an interface such as USB or parallel is used. The printing apparatus includes a receiving unit for receiving print target data transmitted from the input device. Further, it may include a mechanism for providing data reading means from a storage medium such as a memory card mounted on a built-in reading device and inputting data from this storage medium.

次に本印刷装置内に、印刷対象データを印刷装置特有のデータに変換する画像処理装置を設ける。本画像処理装置は印刷対象データに対して、復号化処理、縮小処理、回転処理、色空間変換、色変換処理、拡大処理、量子化処理などを施した後、エンジン部において印刷を行う。更に、本画像処理装置内に複数画像を合成する手段と、印刷指定が合成印刷か否かを判断する手段を設ける。   Next, an image processing apparatus that converts print target data into data unique to the printing apparatus is provided in the printing apparatus. The image processing apparatus performs decoding processing, reduction processing, rotation processing, color space conversion, color conversion processing, enlargement processing, quantization processing, and the like on the print target data, and then performs printing in the engine unit. Furthermore, means for synthesizing a plurality of images and means for determining whether the print designation is composite printing are provided in the image processing apparatus.

以上の手段を用いて、まず印刷方法が合成印刷か否かを判断し、合成印刷である場合には、印刷対象となるベース画像及びフレーム画像に対してそれぞれ復号化処理および色空間変換を施してデバイス非依存の色空間に変換する。次に画像の出力矩形領域に従いそれぞれの画像に対して変倍処理を施した後、画像合成処理を行う。次に合成された画像に対し、デバイス依存カラー空間への色空間変換処理や量子化処理を施し、エンジン部において印刷を行う。一方合成印刷でない場合には、まず印刷対象となるベース画像に対して復号化処理および色空間変換を施してデバイス非依存の色空間に変換する。次にデバイス依存カラー空間への色空間変換処理を施した後に変倍処理を行う。その後量子化処理を施し、エンジン部において印刷を行う。   Using the above means, it is first determined whether or not the printing method is composite printing. If composite printing is performed, decoding processing and color space conversion are performed on the base image and frame image to be printed, respectively. To device-independent color space. Next, each image is subjected to a scaling process according to the output rectangular area of the image, and then an image composition process is performed. Next, the synthesized image is subjected to color space conversion processing and quantization processing into a device-dependent color space, and printing is performed in the engine unit. On the other hand, if it is not composite printing, the base image to be printed is first subjected to decoding processing and color space conversion to be converted into a device-independent color space. Next, after performing color space conversion processing to the device-dependent color space, scaling processing is performed. Thereafter, quantization processing is performed, and printing is performed in the engine unit.

以上の手段を設けることにより、フレーム合成印刷時においては、適切な合成処理を行う一方で、フレーム合成印刷でない場合には色空間変換処理の回数を削減し高速な印刷を行うことのできる印刷装置を提供することが可能となる。   By providing the above means, a printing apparatus capable of performing high-speed printing by reducing the number of color space conversion processes when performing frame-combined printing while performing appropriate composition processing during frame-composite printing. Can be provided.

更に合成印刷時においては、合成処理対象となる画素に対して透過率を把握し、透過率100%か否かにより変倍処理と色処理の順序を入れ替える手段を設けることにより、色処理の回数を削減し高速な印刷を行うことのできる印刷装置を提供することが可能となる。   Furthermore, at the time of composite printing, the number of times of color processing is determined by providing means for grasping the transmittance for the pixel to be combined and changing the order of scaling processing and color processing depending on whether the transmittance is 100% or not. Thus, it is possible to provide a printing apparatus that can perform high-speed printing.

さらに説明すれば、本発明の技術内容は以下の構成を備えることにより前記課題を解決できた。   If it demonstrates further, the technical content of this invention could solve the said subject by providing the following structures.

(1)複数の入力画像データに対して、復号化処理、回転処理、縮小処理を実行し、1もしくは複数のラスタラインデータを生成する画像データ生成手段と、生成された複数画像の1ラスタライン画像データに対して、それぞれ色空間変換処理、色変換処理、変倍処理を実行しバッファ上に配置する手段と、複数の画像に対し拡大処理後の画像を合成する合成手段と、合成した画像に対し量子化処理を実行し印刷を行う印刷手段を備えることを特徴とする印刷装置。   (1) Image data generation means for executing decoding processing, rotation processing, and reduction processing on a plurality of input image data to generate one or a plurality of raster line data, and one raster line of the generated plurality of images A means for executing color space conversion processing, color conversion processing, and scaling processing on image data and placing them on a buffer, a combining means for combining images after enlargement processing with a plurality of images, and a combined image A printing apparatus comprising: a printing unit that performs a quantization process on the printer and performs printing.

本発明の実施の形態に係る印刷装置では、フレーム合成印刷時においては、適切な合成処理を行う一方で、フレーム合成印刷でない場合には色空間変換処理の回数を削減し高速な印刷を行うことのできる印刷装置を提供することが可能となる。   In the printing apparatus according to the embodiment of the present invention, an appropriate composition process is performed at the time of frame composition printing, and if the frame composition printing is not performed, the number of color space conversion processes is reduced and high-speed printing is performed. Therefore, it is possible to provide a printing apparatus that can perform printing.

更に合成印刷時においては、合成処理対象となる画素に対して透過率を把握し、透過率100%か否かにより変倍処理と色処理の順序を入れ替える手段を設けることにより、色処理の回数を削減し高速な印刷を行うことのできる印刷装置を提供することが可能となる。   Furthermore, at the time of composite printing, the number of times of color processing is determined by providing means for grasping the transmittance for the pixel to be combined and changing the order of scaling processing and color processing depending on whether the transmittance is 100% or not. Thus, it is possible to provide a printing apparatus that can perform high-speed printing.

以下、添付図面に従って本発明に係わる第一の実施形態を詳細に説明する。   Hereinafter, a first embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

(実施の形態1)
図1は、本発明の実施の形態に係わる印刷装置内における本発明を最も明確に表す図である。図1における101と107はJPEGデータ、108はPNGデータ、102と109及び110は復号化処理、103と111及び112は色空間変換処理、104と116は色変換処理、105と113及び114は拡大処理、106と117は量子化処理である。なお本図では一例としてJPEGデータとPNGデータを使用するがデータフォーマットを規定するものではない。
(Embodiment 1)
FIG. 1 is a diagram that most clearly represents the present invention in a printing apparatus according to an embodiment of the present invention. In FIG. 1, 101 and 107 are JPEG data, 108 is PNG data, 102 and 109 and 110 are decoding processes, 103 and 111 and 112 are color space conversion processes, 104 and 116 are color conversion processes, and 105, 113, and 114 are Enlargement processing 106 and 117 is quantization processing. In this figure, JPEG data and PNG data are used as an example, but the data format is not specified.

更に詳細に説明する。101〜106は非合成時の印刷処理フローであり、107〜117は合成時の印刷処理フローである。まず101のデータに対して、102において復号化処理が実行される。この時出力画像枠に応じて回転及び縮小の処理が実行される場合もある。復号化処理からは複数ラインのデータが生成されるが、各ラスタラインごとに以降の処理が実行される。103では復号化された1ラスタラインデータに対して色空間変換処理が実行されRGB等の色空間データが生成される。104ではデバイス依存カラーへの色変換処理が実行され印刷装置に依存したデータが生成される。本拡大処理は出力矩形領域と元画像のサイズが異なる場合に必要となる処理である。次に106において量子化処理が施され、印刷可能なデータが生成される。本処理フローにより色空間変換及び色変換処理を拡大前の画像(画素数)に対して処理を行うことが可能となり、処理の高速化が図れることとなる。   Further details will be described. Reference numerals 101 to 106 denote print processing flows at the time of non-combination, and reference numerals 107 to 117 denote print processing flows at the time of composition. First, decryption processing is performed on the data 101 at 102. At this time, rotation and reduction processing may be executed according to the output image frame. A plurality of lines of data are generated from the decoding process, but the subsequent processes are executed for each raster line. In 103, color space conversion processing is executed on the decoded one raster line data to generate color space data such as RGB. In 104, color conversion processing into device-dependent colors is executed, and data dependent on the printing apparatus is generated. This enlargement process is necessary when the output rectangular area and the original image have different sizes. Next, a quantization process is performed at 106 to generate printable data. With this processing flow, color space conversion and color conversion processing can be performed on an image (number of pixels) before enlargement, and the processing speed can be increased.

次に107〜117は合成時の印刷処理フローである。107及び108のデータは109及び110において復号化処理が実行される。この時出力画像枠に応じて回転及び縮小の処理が実行される場合もある。復号化処理からは複数ラインのデータが生成されるが、各ラスタラインごとに以降の処理が実行される。111及び112では復号化された1ラスタラインデータに対して色空間変換処理が実行されRGB、RGBα等の色空間データが生成される。次に113及び114においてそれぞれの画像に対して拡大処理を施し、合成可能なサイズに変換を行う。115においては画像の合成処理を行い、116に色変換処理を経た後、117の量子化処理において印刷可能なデータが生成される。本処理により透過率(αなど)などを含むデータに対してデバイス非依存の色空間での合成が可能となるのである。   Next, reference numerals 107 to 117 are print processing flows at the time of composition. The data 107 and 108 are decrypted at 109 and 110. At this time, rotation and reduction processing may be executed according to the output image frame. A plurality of lines of data are generated from the decoding process, but the subsequent processes are executed for each raster line. In 111 and 112, color space conversion processing is performed on the decoded one raster line data to generate color space data such as RGB and RGBα. Next, in 113 and 114, each image is enlarged and converted into a size that can be combined. In 115, image synthesis processing is performed. After color conversion processing in 116, printable data is generated in 117 quantization processing. This processing makes it possible to synthesize data including transmittance (such as α) in a device-independent color space.

図2は、本発明の実施の形態に係わる印刷装置が動作するハードウエアの構成図である。本発明の実施の形態に係わる印刷装置は、印刷対象データを提供するためのホスト装置201、本発明の手段を含む印刷装置203、及びホスト装置と印刷装置を接続する双方向インターフェース202で構成される。ホスト装置201は、PC等のコンピュータのみならず、例えばデジタルカメラやスキャナ等のダイレクト印刷を行う場合のホスト機器である。   FIG. 2 is a configuration diagram of hardware on which the printing apparatus according to the embodiment of the present invention operates. A printing apparatus according to an embodiment of the present invention includes a host apparatus 201 for providing print target data, a printing apparatus 203 including means of the present invention, and a bidirectional interface 202 that connects the host apparatus and the printing apparatus. The The host device 201 is not only a computer such as a PC but also a host device for performing direct printing such as a digital camera or a scanner.

次に同図を用いてデータの流れについて説明する。ホスト装置としてデジタルカメラを使用する場合、同ホスト装置において撮影されたデータ、もしくは内蔵するメモリカード等の領域に保存されているデータが、双方向インターフェースを介して印刷装置に送信する。この時ホスト装置からは印刷対象データに加え、印刷時の付加情報もあわせて印刷装置に送信されるものとする。この付加情報には印刷データに付随する様々な情報の他に、印刷データを紙面上に表現するためのレイアウト情報、印刷設定情報などが含まれるのである。   Next, the data flow will be described with reference to FIG. When a digital camera is used as the host device, data captured by the host device or data stored in an area such as a built-in memory card is transmitted to the printing device via the bidirectional interface. At this time, in addition to the print target data, additional information at the time of printing is also transmitted from the host device to the printing device. This additional information includes, in addition to various information accompanying the print data, layout information for expressing the print data on the paper, print setting information, and the like.

またホスト装置を用いずに印刷を行う形態も可能である。印刷装置203内には後述する図3におけるメモリ装置や操作パネル等の手段を含む場合もあり、この場合にはメモリ装置から印刷データを読み出し、上述のような情報を操作パネルから入手して印刷印刷装置単独での印刷が可能となるのである。   Further, it is possible to perform printing without using a host device. The printing device 203 may include means such as a memory device and an operation panel in FIG. 3 described later. In this case, print data is read from the memory device, and the above information is obtained from the operation panel and printed. This makes it possible to print with the printing device alone.

図3は、上述した図2の印刷装置の内部構成を示す説明図である。   FIG. 3 is an explanatory diagram showing the internal configuration of the printing apparatus of FIG. 2 described above.

印刷装置は、CPU301、ROM302、Flush ROM303、RAM304、CFコントローラ306、CF I/F307、操作パネル308、操作パネルコントローラ309、通信装置310、通信装置コントローラ311、表示装置312、表示装置コントローラ313、印字装置314、印字装置コントローラ315で構成されている。   The printing device includes a CPU 301, a ROM 302, a flash ROM 303, a RAM 304, a CF controller 306, a CF I / F 307, an operation panel 308, an operation panel controller 309, a communication device 310, a communication device controller 311, a display device 312, a display device controller 313, and printing. An apparatus 314 and a printer controller 315 are included.

以下詳細に説明を行う。   This will be described in detail below.

CPU301によって読み出しのみ可能であるROM302や、書き換え可能なFlush ROM303に格納される制御プログラムまたは制御手順が実行されるとき、RAM304がCPU301の演算、論理判断における各種データを一時的に記憶するワークメモリとして用いられる。   When a control program or control procedure stored in the ROM 302 that can only be read by the CPU 301 or the rewritable flash ROM 303 is executed, the RAM 304 serves as a work memory that temporarily stores various data in the calculation and logic judgment of the CPU 301. Used.

本発明の復号化処理、色空間変換処理、色変換処理、拡大処理、レイアウト処理、量子化処理などのプログラムは、ROM301あるいはFlush ROM302に格納されており、各々のプログラムにより生成されるデータ、例えば、レイアウト情報、JPEGファイルやPNGファイルの復号化結果、色空間変換結果、色変換結果、拡大結果、量子化結果などは、RAM303のそれぞれの保存領域に保存される。   Programs such as decoding processing, color space conversion processing, color conversion processing, enlargement processing, layout processing, and quantization processing according to the present invention are stored in the ROM 301 or the flash ROM 302, and data generated by each program, for example, The layout information, the decoding result of the JPEG file or the PNG file, the color space conversion result, the color conversion result, the enlargement result, the quantization result, and the like are stored in respective storage areas of the RAM 303.

CF I/F307は、コンパクトフラッシュ(登録商標)カードのインターフェースであり、CFコントローラ306により駆動制御され、コンパクトフラッシュ(登録商標)カードに格納されたデジタルカメラ撮影JPEG画像の情報を、RAM上に読み出す為に使用される。   The CF I / F 307 is an interface of a compact flash (registered trademark) card, and is driven and controlled by the CF controller 306, and reads information on a JPEG image captured by a digital camera stored in the compact flash (registered trademark) card onto the RAM. Used for the purpose.

操作パネルコントローラ309は、操作者の指示を伝えるための入力インターフェースであり、操作した内容は、操作パネル308に表示され、印刷実行ボタン押下にて、印刷処理が起動される。   The operation panel controller 309 is an input interface for transmitting an operator's instruction. The operated content is displayed on the operation panel 308, and the printing process is started when the print execution button is pressed.

通信装置310は、ホスト装置と印刷装置間の通信を行うための装置であり、通信装置コントローラ311で駆動制御され、ホスト装置からの操作およびデータを受信すると共に、印刷装置からの応答ステータスを返信する目的で使用される。印刷の操作指示は、前記操作パネル部からに加えて、ホスト装置からの印刷実行ボタン押下によっても、行なえるようなシステム構成となっている。   The communication device 310 is a device for performing communication between the host device and the printing device. The communication device 310 is driven and controlled by the communication device controller 311, receives operations and data from the host device, and returns a response status from the printing device. Used for the purpose. In addition to the operation panel unit, a print operation instruction can be performed by pressing a print execution button from the host device.

表示装置312は、表示装置コントローラ313で駆動制御され、前記CFより読み出された画像やエラーメッセージなどを表示するための出力装置であり、小型カラー液晶などが使用されている。   The display device 312 is an output device that is driven and controlled by the display device controller 313 and displays an image read from the CF, an error message, and the like, and uses a small color liquid crystal or the like.

印字装置314は装着された用紙に対して、装置内のヘッド、インクを使用して記録出力する装置部である。操作パネル308あるいはデジタルカメラからの印刷処理は、各インターフェースから受信した情報により、CPU301がROM302あるいはFlush ROM303の印刷制御プログラムを実行し、印字装置コントローラ315を駆動制御することにより、印字装置内のインクヘッドを動作させ、用紙に対してインクヘッド内のインクを噴射することを繰り返すことにより行われる。   The printing device 314 is a device unit that records and outputs the mounted paper using a head and ink in the device. In the printing process from the operation panel 308 or the digital camera, the CPU 301 executes the printing control program of the ROM 302 or the flash ROM 303 according to the information received from each interface, and drives the printing device controller 315 to control the ink in the printing device. This is done by operating the head and repeatedly ejecting ink in the ink head onto the paper.

内部バス316は、CPU301から印字装置314での機器間で通信するための、共通通信路であり、印刷装置内の全ての機器間の通信は、この内部バスを経由して行われる構成となっている。   The internal bus 316 is a common communication path for communicating between devices in the printing device 314 from the CPU 301, and communication between all devices in the printing device is performed via this internal bus. ing.

次に上述した印刷装置内における本発明に係わる処理について、図2、図4〜図6を用いて詳述する。図4は本発明の印刷装置からの出力例である。本例は画像Aと画像Bを合成して1出力矩形上に合成して印刷を行った場合の結果(画像C)である。画像Aがベース画像であり、画像Bはベース画像に対して上のレイアに配置されるフレーム画像である。本図では画像B内の白矩形領域に透過率100%が指定されており、その矩形を囲むグレー領域に透過率0%が指定されている。このため、出力結果は透過値100%の領域にベース画像が現れ、0%の領域はフレーム画像がそのまま印字されることとなる。   Next, processing according to the present invention in the above-described printing apparatus will be described in detail with reference to FIGS. 2 and 4 to 6. FIG. 4 shows an output example from the printing apparatus of the present invention. This example is a result (image C) when the image A and the image B are combined and printed on one output rectangle. Image A is a base image, and image B is a frame image arranged in the upper layer with respect to the base image. In this figure, a transmittance of 100% is designated for the white rectangular area in the image B, and a transparency of 0% is designated for the gray area surrounding the rectangle. For this reason, in the output result, the base image appears in the region where the transmission value is 100%, and the frame image is printed as it is in the region where the value is 0%.

次に本処理の流れは、まず図2において201ホスト装置から画像のデータが印刷装置203へと送信される。またデータの入手は上述したように印刷装置内にある保存領域からでも構わない。また印刷装置での印刷データの入手時にあわせて、ホスト装置もしくは内蔵する操作パネルから付随する情報の入手も行われる。   Next, in this processing flow, first, in FIG. 2, image data is transmitted from the host device 201 to the printing device 203. The data can be obtained from a storage area in the printing apparatus as described above. Accompanying the acquisition of print data with the printing apparatus, the accompanying information is also acquired from the host apparatus or the built-in operation panel.

次に入手されたデータを印刷するまでの一連の流れについて図5を用いて説明する。図5におけるAは、非合成時の内部の処理フローである。入手されたデータはデバイス非依存の色空間(例えばRGB)からデバイス依存の色空間(例えばCMYK)に変換され、その後拡大処理が施されて、レイアウト処理へと渡される。色空間変換処理は全ての画像に対して同一の処理を行うため、対象画素数を削減することで全体の処理速度を向上させることが可能である。このため非合成時には出力矩形に合わせるための拡大処理を色空間変換処理後に行うことで、色空間変換処理の対象画素数を削減することが可能となるのである。   Next, a series of flow until the obtained data is printed will be described with reference to FIG. A in FIG. 5 is an internal processing flow at the time of non-synthesis. The obtained data is converted from a device-independent color space (for example, RGB) to a device-dependent color space (for example, CMYK), and then subjected to enlargement processing and passed to layout processing. Since the color space conversion process performs the same process for all images, the overall processing speed can be improved by reducing the number of target pixels. For this reason, at the time of non-combination, the enlargement process for matching with the output rectangle is performed after the color space conversion process, so that the number of target pixels of the color space conversion process can be reduced.

次に図5におけるBは、合成時の内部処理フローである。本処理は画像の合成印刷であるため、処理対象の画像にはB−1のベース画像(最背面画像)とB−2のフレーム画像(上位画像)がある。また画像にはα値(透過率)を含むことも可能である。画像合成には前述の透過率の反映も考慮する必要があるため、CMYKのようなデバイス依存色空間ではなくデバイス非依存の色空間(例えばRGB)で行われる必要がある。   Next, B in FIG. 5 is an internal processing flow at the time of composition. Since this processing is image composite printing, there are B-1 base images (backmost images) and B-2 frame images (upper images) as images to be processed. The image can also include an α value (transmittance). In image synthesis, it is necessary to consider the reflection of the above-described transmittance. Therefore, it is necessary to use a device-independent color space (for example, RGB) instead of a device-dependent color space such as CMYK.

以上を鑑み、B−1においては、まずデバイス非依存の色空間への変換処理を施し、例えばRGB空間のデータを用意する。次に拡大処理において出力矩形の大きさに拡大を施す。一方B−2のフレーム画像に対しては、透過率を表現できる例えばRGBα空間のデータを用意し、同様に出力矩形の大きさに拡大を施す。次に同一空間であるRGB空間においてα値を反映した合成処理を施す。合成後のデータはデバイス非依存のRGB空間のデータであるため、その後にデバイス依存色空間であるCMYK空間への変換処理を施すこととなるのである。以上の処理により、図4に示すような合成処理が可能となるのである。   In view of the above, in B-1, first, conversion processing to a device-independent color space is performed, for example, RGB space data is prepared. Next, the size of the output rectangle is enlarged in the enlargement process. On the other hand, for the B-2 frame image, for example, RGBα space data capable of expressing the transmittance is prepared, and the size of the output rectangle is similarly enlarged. Next, a synthesis process reflecting the α value is performed in the RGB space which is the same space. Since the synthesized data is data in a device-independent RGB space, conversion processing to a CMYK space that is a device-dependent color space is performed thereafter. By the above processing, the composition processing as shown in FIG. 4 becomes possible.

次に、上記の如く構成された本発明の実施の形態に係る印刷装置において、図6のフローチャートを用いて処理フローを詳述する。   Next, in the printing apparatus according to the embodiment of the present invention configured as described above, the processing flow will be described in detail using the flowchart of FIG.

図6は本処理のメインフローを表す処理である。まず処理開始時に601において合成印刷か否かの判断を行う。合成印刷でない場合には602に進み、出力画像に対する全ての処理が終了したか否かを判断し、終了している場合には、610に進み終了する。一方全ての処理が終了していない場合には、603に進み画像のデコード処理を実行する。例えばデータがJPEGデータである場合にはデコード処理によりYCbCrのデータを入手することとなる。次に604においてデバイス非依存の色空間への変換処理を行い(例えばRGB空間)、その後605においてデバイス色空間(例えばCMYK)への変換処理を行う。更に606において出力矩形領域に合うように拡大処理を実行し、607においてレイアウト処理(例えばメモリへの出力)を実行する。次に608において量子化処理を実行した後、609においてエンジン部への出力処理を行い602に戻るのである。本処理フローでは、拡大処理をデバイス色空間で行うため、その前処理となる色空間変換処理を拡大前の画素数に対して処理を行うこととなり、色空間変換処理の高速化が可能となる。   FIG. 6 is a process showing the main flow of this process. First, at the start of processing, it is determined in 601 whether or not it is composite printing. If it is not composite printing, the process proceeds to 602, where it is determined whether all processing for the output image has been completed. If it has been completed, the process proceeds to 610, where it ends. On the other hand, if all the processes have not been completed, the process proceeds to 603 to execute an image decoding process. For example, when the data is JPEG data, YCbCr data is obtained by decoding processing. Next, in 604, conversion processing to a device-independent color space (for example, RGB space) is performed, and in 605, conversion processing to a device color space (for example, CMYK) is performed. Further, in 606, enlargement processing is executed so as to fit the output rectangular area, and in 607, layout processing (for example, output to a memory) is executed. Next, after the quantization process is executed in 608, the output process to the engine unit is executed in 609, and the process returns to 602. In this processing flow, since the enlargement process is performed in the device color space, the color space conversion process that is the pre-processing is performed on the number of pixels before the enlargement, and the color space conversion process can be speeded up. .

一方601において合成印刷と判断された場合には610に進み、出力画像に対する全ての処理が終了したか否かを判断し、終了している場合には621に進み全ての処理を終了する。処理が終了していない場合には、611においてベース画像の、また612においてフレーム画像のデコード処理を行い、613と614において、合成可能な色空間への変換処理を行う。例えばベース画像はRGBであり、透過値を指定可能なフレーム画像はRGBαである。次に615と616において出力矩形サイズに合うようにそれぞれの画像に対して拡大処理を実行する。それぞれの原画像サイズにより拡大率は異なるが、拡大後のサイズは等しいサイズとなるように拡大処理を実行する。次に617において合成処理を実行する。この時の合成処理には透過率が反映され、例えば図4のような合成結果となるのである。次に合成した画像データに対してデバイス依存色空間への変換処理を618において実行した後、619において量子化処理を実行する。量子化されたデータは620においてエンジンにより出力され610に戻る。合成処理はデバイス非依存の色空間において実行する必要があるが、本処理のようなフローを実現することで可能となるのである。   On the other hand, if it is determined in 601 that it is composite printing, the process proceeds to 610, where it is determined whether or not all the processes for the output image have been completed, and if completed, the process proceeds to 621 and all the processes are terminated. If the processing has not been completed, the base image is decoded at 611 and the frame image is decoded at 612, and conversion processing to a color space that can be synthesized is performed at 613 and 614. For example, the base image is RGB, and the frame image for which the transmission value can be specified is RGBα. Next, in 615 and 616, enlargement processing is performed on each image so as to fit the output rectangular size. Although the enlargement ratio varies depending on the size of each original image, enlargement processing is executed so that the sizes after enlargement become equal. Next, in 617, a composition process is executed. The composition processing at this time reflects the transmittance, and for example, a composition result as shown in FIG. 4 is obtained. Next, a conversion process to a device-dependent color space is performed on the synthesized image data in 618, and then a quantization process is performed in 619. The quantized data is output by the engine at 620 and returns to 610. The synthesizing process needs to be executed in a device-independent color space, but can be realized by realizing a flow like this process.

以上詳述した図6におけるフローを繰り返すことにより、合成印刷時には透過値を反映した合成画像の生成が可能であり、また非合成時には処理を高速に行うことが可能となるのである。   By repeating the flow in FIG. 6 described in detail above, it is possible to generate a composite image reflecting the transmission value during composite printing, and it is possible to perform processing at high speed during non-compositing.

次に上述した本発明の合成処理について、その高速化を目的とした合成処理方法について説明する。図7は本発明の合成処理方法の流れを表す図である。本合成処理方法は、図1においては111から116における処理として用いることが可能である。   Next, a synthesis processing method for the purpose of speeding up the above-described synthesis processing of the present invention will be described. FIG. 7 is a diagram showing the flow of the composition processing method of the present invention. This synthesis processing method can be used as the processing from 111 to 116 in FIG.

図7のAが、ベース画像とフレーム画像を合成した場合の例である。ベース画像は1〜3の異なったデータで、またフレーム画像も○と×の異なったデータで構成されている。なおフレーム画像の×は100%透過の画素、○はそれ以外の画素を示している。出力矩形枠に合わせて拡大した場合に、それぞれの画像が2倍拡大となる場合を考えると、合成結果に示すように、最初の2画素はベース画像の画素が出力され、次の2画素は合成した結果の画素、そして最後の2画素は再びベース画像の画素がそのまま出力される結果となる。つまりフレーム画像において100%透過となっている画素は対象となるベース画像の画素がそのまま出力されることとなるのである。なお合成結果にはアンダーラインで示しているが、これは結果がデバイス依存色空間への変換処理も施された状態を示している。   FIG. 7A shows an example in which the base image and the frame image are combined. The base image is composed of 1 to 3 different data, and the frame image is composed of different data of ○ and ×. In the frame image, “X” indicates 100% transparent pixels, and “◯” indicates other pixels. Considering the case where each image is doubled when enlarged to fit the output rectangular frame, as shown in the synthesis result, the first two pixels are the base image pixels, and the next two pixels are As a result of the synthesis, and the last two pixels, the pixel of the base image is output as it is again. That is, the pixel of 100% transmission in the frame image is output as it is as the pixel of the target base image. Note that the synthesis result is indicated by an underline, but this indicates that the result has also been converted to a device-dependent color space.

図7のBは、図7のAの処理におけるデータの変化を表した図である。まず(1)において、フレーム画像の拡大処理を実行する。この時に100%透過か否かの判断処理も行われる。次に(2)において、100%透過でない画素に対しては、対象となるベース画像を拡大し合成処理を施す。次に(3)において、合成した画素のみに対して色空間変換処理を実行施す。また100%透過である画素はそのままである。次に(4)において100%透過であった画素に対して対象となるベース画像の画素に対して色空間変換処理を実行し、次に拡大処理を実行した結果をバッファに出力する。   FIG. 7B is a diagram showing data changes in the process of FIG. 7A. First, in (1), a frame image enlargement process is executed. At this time, a process for determining whether or not the transmission is 100% is also performed. Next, in (2), for a pixel that is not 100% transparent, the target base image is enlarged and combined. Next, in (3), color space conversion processing is executed only for the synthesized pixels. A pixel that is 100% transparent remains as it is. Next, in (4), the color space conversion process is executed for the pixel of the target base image for the pixel that is 100% transparent, and the result of the enlargement process is output to the buffer.

次に、上記の如く構成された本発明の実施の形態2に係る印刷装置において、図6及び図8のフローチャートを用いて処理フローを詳述する。   Next, in the printing apparatus according to Embodiment 2 of the present invention configured as described above, the processing flow will be described in detail with reference to the flowcharts of FIGS.

図8は図6の610から621の一連の処理において、合成処理及びデバイス依存色空間への変換処理として配置可能な処理である。まず801において全ラスタの合成処理が終了したか否の判断処理を行う。処理が終了していない場合には、802に進み、後述する803から807までの処理がフレーム画像の注目ラスタの全画素に対して終了しているか否かの判断を行う。終了していない場合には、803において対象画素は100%透過か否かの判断を行い、透過であれば806に進み連続100%透過画素カウンタをインクリメントして802に戻る。一方100%透過でない場合には804に進み、透過画素カウンタが一定量を越えているかの判断を行う。一定量越えていれば、807に進みその起点と終点を記憶しカウンタをクリアし、また注目画素を出力矩形枠に合わせて拡大した後、拡大結果バッファに出力して802に戻る。一方、一定量を越えていない場合には、カウンタ分の複数画素及び注目している100%透過ではない画素を出力矩形枠に合わせて拡大し、拡大結果バッファに出力した後、カウンタをクリアし802に戻る。以上の処理が終了した状態が、図7ではB−(1)となる。   FIG. 8 is a process that can be arranged as a composition process and a conversion process to a device-dependent color space in the series of processes 610 to 621 in FIG. First, in 801, it is determined whether or not all rasters have been combined. If the process has not been completed, the process proceeds to 802, where it is determined whether the processes from 803 to 807, which will be described later, have been completed for all the pixels of the target raster of the frame image. If not completed, it is determined in 803 whether or not the target pixel is 100% transparent. If it is transparent, the process proceeds to 806 and the continuous 100% transparent pixel counter is incremented and the process returns to 802. On the other hand, if it is not 100% transmissive, the process proceeds to 804 and it is determined whether the transmissive pixel counter exceeds a certain amount. If it exceeds a certain amount, the process proceeds to 807, where the starting point and end point are stored, the counter is cleared, and the target pixel is enlarged in accordance with the output rectangular frame, and then output to the enlargement result buffer and returned to 802. On the other hand, if it does not exceed a certain amount, the multiple pixels for the counter and the pixel of interest that is not 100% transparent are enlarged to fit the output rectangular frame, output to the enlarged result buffer, and then the counter is cleared. Return to 802. The state in which the above processing is completed is B- (1) in FIG.

次に802において全ての画素が終了したと判断された場合には808に進み、後述する809から813までの処理がフレーム画像の1ラスタ全画素に対して終了したか否かの判断処理を行う。終了していない場合には809において対象画素が記憶した連続エリア内か否かの判断を行い、エリア内であれば808の戻る、一方エリア外であれば810に進み、ベース画像の合成対象画素を拡大する。次に811において合成処理を行った後に(図7ではB−(2)終了)、812においてデバイス非依存色空間からデバイス依存色空間への変換処理を行い、813でバッファに出力した後808に戻る。以上の処理が終了した状態が、図7ではB−(3)となる。   Next, when it is determined in step 802 that all the pixels have been completed, the processing proceeds to step 808, and processing for determining whether or not the processing from 809 to 813, which will be described later, has been completed for all the raster pixels of the frame image is performed. . If not completed, a determination is made in 809 as to whether or not the target pixel is within the stored continuous area. If the target pixel is within the area, the process returns to 808. To enlarge. Next, after performing composition processing in 811 (end of B- (2) in FIG. 7), conversion processing from a device-independent color space to a device-dependent color space is performed in 812, output to a buffer in 813, and then to 808 Return. The state in which the above processing is completed is B- (3) in FIG.

次に808において全ての画素が終了したと判断された場合には814に進み、記憶していた全ての連続エリアに対する処理が終了したか否かの判断処理を行う。終了していない場合には815において対象ベース画素のデバイス非依存空間からデバイス依存空間への色変換処理を行う。次に816において本画像の拡大処理を行ったのち、817において拡大画素数分のデバイス依存データを出力して801に戻る。   Next, when it is determined in 808 that all the pixels have been completed, the process proceeds to 814, and determination processing is performed to determine whether or not the processing for all the continuous areas stored has been completed. If not completed, color conversion processing from the device-independent space of the target base pixel to the device-dependent space is performed in 815. Next, after enlarging the main image in 816, device dependent data for the number of enlarged pixels is output in 817 and the process returns to 801.

以上が図8におけるフローの説明である。   The above is the description of the flow in FIG.

以上詳述した図6及び図8におけるフローを繰り返すことにより、合成印刷時にも色空間変換処理を削減することが可能ととなり、処理の高速化を図ることができる。以上が本実施例1における印刷装置内の動作である。   By repeating the flow in FIG. 6 and FIG. 8 described in detail above, it is possible to reduce the color space conversion process even at the time of composite printing, and the processing speed can be increased. The above is the operation in the printing apparatus according to the first embodiment.

本発明の印刷装置内の処理フローを示す図The figure which shows the processing flow in the printing apparatus of this invention. 本発明の印刷装置が動作するハードウエア構成図Hardware configuration diagram in which the printing apparatus of the present invention operates 本発明の印刷装置内の内部構成図FIG. 1 is an internal configuration diagram of a printing apparatus according to the present invention 第一の実施例における合成結果Synthesis result in the first embodiment 第一の実施例における合成処理のフロー図Flow chart of composition processing in the first embodiment 第一の実施例における内部処理フローを示すフローチャートFlowchart showing the internal processing flow in the first embodiment 第一の実施例における高速化の内部処理を示すフロー図Flow chart showing internal processing for speeding up in the first embodiment 第一の実施例における高速化の内部処理フローを示すフローチャートFlowchart showing the internal processing flow for speeding up in the first embodiment

符号の説明Explanation of symbols

101、107 JPEGデータ
108 PNGデータ
102、109、110 復号化処理
103、111、112 色空間変換処理
104、116 色変換処理
105、113、114 拡大処理
106、117 量子化処理
115 合成処理
202 双方向インターフェース
203 印刷装置
301 CPU
302 ROM
303 Flush ROM
304 RAM
306 CFコントローラ
307 CF I/F
308 操作パネル
309 操作パネルコントローラ
310 通信装置
311 通信装置コントローラ
312 表示装置
313 表示装置コントローラ
314 印字装置
315 印字装置コントローラ
101, 107 JPEG data 108 PNG data 102, 109, 110 Decoding processing 103, 111, 112 Color space conversion processing 104, 116 Color conversion processing 105, 113, 114 Enlargement processing 106, 117 Quantization processing 115 Composition processing 202 Bidirectional Interface 203 Printing device 301 CPU
302 ROM
303 Flush ROM
304 RAM
306 CF controller 307 CF I / F
308 Operation Panel 309 Operation Panel Controller 310 Communication Device 311 Communication Device Controller 312 Display Device 313 Display Device Controller 314 Printing Device 315 Printing Device Controller

Claims (4)

複数の入力画像データに対して、復号化処理、回転処理、縮小処理を実行し、1もしくは複数のラスタラインデータを生成する画像データ生成手段と、生成された複数画像の1ラスタライン画像データに対して、それぞれ色空間変換処理、色変換処理、変倍処理を実行しバッファ上に配置する手段と、複数の画像に対し拡大処理後の画像を合成する合成手段と、合成した画像に対し量子化処理を実行し印刷を行う印刷手段を備えることを特徴とする印刷装置。   Image data generating means for executing decoding processing, rotation processing, and reduction processing on a plurality of input image data to generate one or a plurality of raster line data, and one raster line image data of the generated plurality of images On the other hand, there are means for executing color space conversion processing, color conversion processing, and scaling processing on the buffer, combining means for combining the images after enlargement processing with respect to a plurality of images, and quantum processing for the combined images. A printing apparatus comprising: a printing unit that executes printing and performs printing. 請求項1に記載する合成手段は、透過率が指定可能である画像を合成画像の一つとして含むことを特徴とする請求項1に記載の印刷装置。   The printing apparatus according to claim 1, wherein the combining unit includes an image whose transmittance can be specified as one of the combined images. 請求項1に記載する合成手段は、デバイス非依存な色空間において合成処理が行われることを特徴とする請求項1または請求項2に記載の印刷装置。   3. The printing apparatus according to claim 1, wherein the synthesizing unit performs synthesis processing in a device-independent color space. 請求項2に記載する合成手段は、合成後の各画素の結果が下地画素と同じになる場合にはその画素における請求項1に記載する変倍処理を合成後の画素に対して実行し、また下地画素と同じにならない場合には合成処理前に実行することを特徴とする請求項1〜請求項3いずれかに記載の印刷装置。   If the result of each pixel after synthesis is the same as that of the background pixel, the synthesizing unit described in claim 2 executes the scaling process described in claim 1 for that pixel on the pixel after synthesis, The printing apparatus according to any one of claims 1 to 3, wherein the printing apparatus is executed before the composition processing when the pixel is not the same as the background pixel.
JP2005176335A 2005-06-16 2005-06-16 Printing device Withdrawn JP2006347012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005176335A JP2006347012A (en) 2005-06-16 2005-06-16 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005176335A JP2006347012A (en) 2005-06-16 2005-06-16 Printing device

Publications (1)

Publication Number Publication Date
JP2006347012A true JP2006347012A (en) 2006-12-28

Family

ID=37643351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005176335A Withdrawn JP2006347012A (en) 2005-06-16 2005-06-16 Printing device

Country Status (1)

Country Link
JP (1) JP2006347012A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103822A (en) * 2008-10-24 2010-05-06 Fuji Xerox Co Ltd Image processing device, image forming apparatus and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103822A (en) * 2008-10-24 2010-05-06 Fuji Xerox Co Ltd Image processing device, image forming apparatus and program

Similar Documents

Publication Publication Date Title
JP4960900B2 (en) Information processing apparatus and image forming apparatus
EP2278449A2 (en) Apparatus, method, system and storage medium for setting print status
US9176935B2 (en) Image forming apparatus capable of displaying print preview on screen
JP4367418B2 (en) Print control device
JP2001063155A (en) Printer host, print command generator and medium storing program
JP4761566B2 (en) Image processing apparatus and method, program and medium
JP2005243003A (en) Image processing method and image processor
JP2006347012A (en) Printing device
JP2019217695A (en) Image formation device and image formation method therefor, and program
US9041962B2 (en) Imaging forming apparatus, image forming system, and program that enables data to be edited and processed
JP5171973B2 (en) Information processing apparatus and control method thereof
JP6882099B2 (en) Image processing equipment, image processing methods and programs
JP2005070957A (en) Conversion control unit and conversion control program
JP4063152B2 (en) Print command creation device and storage medium storing program thereof
JP4429097B2 (en) Information processing apparatus, information processing method, and information processing program
JP2008213406A (en) Printing processor, printing processing method, and its program
JP2010238086A (en) Image input/output device, print preview display method, and print preview display program
JP2014197349A (en) Picture processing device, information processing method, and program
JP2005275671A (en) Printing controller, printing control method and printing control program-recorded medium
JP2007140953A (en) Information processor, image forming system, and data generating method
JP2009017268A (en) Still image generation apparatus and still image generation method
JP4821576B2 (en) Information processing apparatus and information processing method
JP4323885B2 (en) Printing apparatus, printing control method, storage medium, and program
JP2023019455A (en) Program, information processing apparatus, and control method
JP2006085415A (en) Image processor, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080902