JP2005176036A - Image processing method - Google Patents

Image processing method Download PDF

Info

Publication number
JP2005176036A
JP2005176036A JP2003414704A JP2003414704A JP2005176036A JP 2005176036 A JP2005176036 A JP 2005176036A JP 2003414704 A JP2003414704 A JP 2003414704A JP 2003414704 A JP2003414704 A JP 2003414704A JP 2005176036 A JP2005176036 A JP 2005176036A
Authority
JP
Japan
Prior art keywords
image
processing
reduction
data
unit
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
JP2003414704A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Ono
光洋 小野
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 JP2003414704A priority Critical patent/JP2005176036A/en
Publication of JP2005176036A publication Critical patent/JP2005176036A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To accelerate an image processing, to improve image quality and to reduce a memory. <P>SOLUTION: An image processor is provided with a variable power rate calculation means for calculating a required variable power rate from an input image size and an output image size, a combining means for combining input image data, a reduction means for reducing combined image information, an enlargement means for enlarging the image information, and a color transformation means for transforming the signal value of input images to a color space suited to an output device and generating density image signals. In the image processor, in the case that the variable power rate obtained by the variable power rate calculation means is reduction, a reduction processing is performed to the combined input data at a reduction ratio, which is the maximum reduction rate not exceeding the obtained variable power rate and for which the reduction rate in respective vertical and horizontal directions is 1/2<SP>n</SP>(1 to n-th power of 2), the color transformation processing is performed to the reduced data, then the magnification processing is performed, and thus required output data are obtained. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像形成装置に関し、たとえば、入力されたカラー画像信号に対して色変換処理や拡大または縮小処理などを行なう画像処理装置に関し、詳しくは、記録ヘッドからインクを吐出して記録媒体上に記録情報を記録する記録装置にこの記録装置を制御するための制御プログラムを格納した記憶媒体に実装される画像処理プログラムに関する。   The present invention relates to an image forming apparatus, and more particularly to an image processing apparatus that performs color conversion processing, enlargement or reduction processing, etc., on an input color image signal. The present invention relates to an image processing program mounted on a storage medium storing a control program for controlling the recording apparatus in a recording apparatus that records recording information.

一般に、デジタルカメラに代表される入力機器で記録されたデジタル画像は、入力装置固有のサイズで記録されている。また、そのデジタル画像を出力する印字装置では、出力の印字媒体のサイズや一枚の媒体にどのくらいの数の画像を出力するのかという出力サイズと、また、どのくらいの解像度で色処理を行うのかといった出力装置固有の解像度の双方によりサイズが決定される。   In general, a digital image recorded by an input device represented by a digital camera is recorded in a size unique to the input device. In the printing device that outputs the digital image, the size of the output print medium, the output size of how many images are output on one medium, and the resolution at which the color processing is performed, etc. The size is determined by both the resolution specific to the output device.

一例を挙げると、入力装置の入力画像サイズが横2560画素、縦1920画素である画像を4x6 と呼ばれる横6 インチ、縦4インチの印刷媒体に印刷する場合で、出力装置の色処理の解像度が300DPI (Dot Per Inch)であるとする。この場合、出力装置から見た出力サイズは、横1800画素、縦1200画素であるので、入力画像を縮小処理し、縦方向にはみ出した部分を切り取り、色処理を施し出力していた。(例えば、特許文献1)
06−014285号公報
For example, when printing an image with an input device size of 2560 pixels wide and 1920 pixels high on a 6 x 4 x 4 inch print medium called 4x6, the color resolution of the output device is It is assumed that it is 300 DPI (Dot Per Inch). In this case, since the output size viewed from the output device is 1800 pixels wide and 1200 pixels high, the input image is subjected to reduction processing, a portion protruding in the vertical direction is cut out, color processing is performed, and output is performed. (For example, Patent Document 1)
No. 06-014285

しかしながら、上述の従来例では拡大縮小処理に関して、メモリ容量、処理速度、画質の点でいくつかの問題点があった。   However, the conventional example described above has some problems with respect to enlargement / reduction processing in terms of memory capacity, processing speed, and image quality.

第1に、画像を保持する記憶装置の容量の問題があげられる。一般に入力画像はJPEGに代表される画像フォーマットに基づいて符号化され記録媒体に記録されている。そのため、この画像フォーマットを復号し、元の信号値を得るデコード部から出力される画像サイズは元の記録された画像サイズであり、その後、拡大や縮小といった変倍処理部により変倍処理される。   First, there is a problem of the capacity of a storage device that holds an image. In general, an input image is encoded based on an image format represented by JPEG and recorded on a recording medium. Therefore, the image size output from the decoding unit that decodes this image format and obtains the original signal value is the original recorded image size, and is then subjected to scaling processing by a scaling processing unit such as enlargement or reduction .

そのため、いったん複合化された入力信号値を保持するだけの記憶装置の容量を必要としていた。たとえば上述の例の場合、出力装置としては縦方向の1200画素分の記憶装置容量で出力を行えるが、入力装置側の画素数が多いため、1920画素分の記憶装置容量が必要となり、出力装置としては不要な記憶容量を必要としていた。   Therefore, it is necessary to have a capacity of a storage device that can hold a composite input signal value once. For example, in the case of the above-mentioned example, the output device can output with a storage device capacity of 1200 pixels in the vertical direction, but since the number of pixels on the input device side is large, a storage device capacity of 1920 pixels is required, and the output device As such, it required unnecessary storage capacity.

第2に、折り返しひずみと呼ばれる標本化の際の問題が挙げられる。一般的に拡大や縮小を行う変倍処理のアルゴリズムとしては、ニアレストネイバー(nearest neighbor)法、バイリニア(bilinear)法、キュービックコンボリューション(cubic convolution)法が知られている。これら補間方法は、サンプリング定理に基づいたsinc関数{sinc(x)/x}による補間を基本概念とした方法であり、演算上の負荷を軽減するためにsinc関数を近似した補間関数を原画像のサンプル点に対して畳み込むことによって、原画像のサンプル点の間を補間し、画素数を増減するものである。   Second, there is a problem in sampling called aliasing distortion. In general, a nearest neighbor method, a bilinear method, and a cubic convolution method are known as enlargement / reduction algorithms. These interpolation methods are based on interpolation based on the sinc function {sinc (x) / x} based on the sampling theorem, and an interpolation function approximating the sinc function is reduced to the original image in order to reduce the computational load. The number of pixels is increased or decreased by interpolating between the sample points of the original image.

上記ニアレストネイバー法は補間関数として矩形関数を用い、最も近いサンプルの値を出力の補間値とする方法であり、極めて簡単なロジック演算で実現できることが知られている。しかし一方では、縮小に際しては高周波成分により折り返しひずみといわれる画像劣化を引き起こしてしまう。この折り返しひずみの回避方法としては、ローパスフィルタにより高周波成分を除去する方法が一般的だが、処理の負荷がかかるため、ニアレストネイバの特徴である処理の高速性を損なってしまう。   The nearest neighbor method is a method in which a rectangular function is used as an interpolation function and the value of the nearest sample is used as an output interpolation value. It is known that the nearest neighbor method can be realized by an extremely simple logic operation. On the other hand, at the time of reduction, the high-frequency component causes image degradation called aliasing distortion. As a method for avoiding the aliasing distortion, a method of removing high-frequency components by a low-pass filter is generally used. However, since a processing load is applied, the high-speed processing characteristic of the nearest neighbor is impaired.

第3に、画像処理の速度の問題が挙げられる。高速化のためにニアレストネイバー法を用いても、折り返しひずみを除去するためにローパスフィルタ処理が必要になり、処理の高速化の妨げになることは上述のとおりであるが、もうひとつ画像処理の高速化を妨げる要因がある。上述のように、複合化を行った後に拡大や縮小処理をかけるために一度複合後の入力信号値を保持する記録領域を用意しなければないが、この記憶領域を用意せずに、複合化処理と変倍処理を同時に行うことも考えられる。しかしながらこの方法においては、変倍処理を行った後に出力装置固有の色処理を行い出力を行うため、拡大処理の場合、出力装置固有の色処理を行う処理画素数が増加してしまう。そのため、画像処理速度の低下という問題が発生する。   Thirdly, there is a problem of image processing speed. Even if the nearest neighbor method is used for speeding up, low-pass filter processing is required to remove aliasing distortion, which hinders speeding up of processing as described above. There is a factor that hinders the speedup. As described above, in order to perform enlargement / reduction processing after composite processing, a recording area for holding the input signal value after composite must be prepared, but the composite processing is performed without preparing this storage area. It is also conceivable to perform processing and scaling processing at the same time. However, in this method, since output processing is performed by performing color processing unique to the output device after scaling processing, in the case of enlargement processing, the number of processing pixels for performing color processing unique to the output device increases. Therefore, there arises a problem that the image processing speed is reduced.

さらに、拡大処理と縮小処理を色処理よりも先に実行する場合、拡大になる場合には処理対象画素が拡大処理によって増えてしまうために、処理速度の低下につながってしまう。また、色処理よりもあとに実行する場合でも、縮小になる場合に動揺に処理速度の低下につながってしまう。   Further, when the enlargement process and the reduction process are executed prior to the color process, if the enlargement process is performed, the processing target pixels increase due to the enlargement process, leading to a reduction in processing speed. Further, even when the processing is executed after the color processing, if the reduction is performed, the processing speed may be reduced.

本発明は上述した従来の技術の有するこのような問題点に鑑みてなされたものであり、目的とするところは、入力デバイスによらずに、最小の記憶容量で出力ができ、画像劣化を引き起こさない画像処理方法で、高速に出力のための色処理を行う印字方法を提供することにある。   The present invention has been made in view of the above-described problems of the prior art described above. The object of the present invention is to enable output with the minimum storage capacity regardless of the input device and cause image degradation. It is an object of the present invention to provide a printing method that performs color processing for output at high speed with no image processing method.

本発明は、上述の問題を解決するためのものであり、入力画像サイズと出力画像サイズから、必要な変倍率を計算する変倍率計算手段と、入力画像データを複合化する複合化手段と、複合化された画像情報を縮小する縮小手段と、画像情報を拡大する拡大手段と、入力画像の信号値を出力デバイスに適した色空間に変換し、濃度画像信号を生成する色変換手段とを具備した画像処理装置において、変倍率計算手段により求められた変倍率が縮小である場合に、複合化された入力データに対して、求められた変倍率を超えない最大の縮小率であり、かつ、縦横それぞれの方向の縮小率が、1/2である縮小率において縮小処理を行い、上述の縮小データに対して上述の色変換処理を行った後に、上述の拡大処理を行うことで、必要な出力データを得ることを特徴とする画像処理方法である。 The present invention is for solving the above-mentioned problem, a scaling factor calculating unit that calculates a necessary scaling factor from an input image size and an output image size, a compounding unit that combines input image data, Reduction means for reducing composite image information, enlargement means for enlarging image information, and color conversion means for converting a signal value of an input image into a color space suitable for an output device and generating a density image signal In the image processing apparatus provided, when the scaling factor determined by the scaling factor calculation means is a reduction, it is the maximum reduction ratio that does not exceed the determined scaling factor for the combined input data, and By performing the reduction process at a reduction ratio of 1/2 n in the vertical and horizontal directions, performing the above color conversion process on the above reduced data, and then performing the above enlargement process, Necessary output data This is an image processing method characterized by obtaining data.

以上詳述したように本発明の記録方法及び装置によれば、入力デバイスによらずに、最小の記憶容量で出力ができ、画像劣化を引き起こさない画像処理方法を用いて高速に出力のための色処理を行う印字方法を提供することにある。   As described above in detail, according to the recording method and apparatus of the present invention, it is possible to output with a minimum storage capacity regardless of the input device, and to output at high speed using an image processing method that does not cause image degradation. It is to provide a printing method for performing color processing.

本発明の実施の形態を図1〜図3に基づき説明する。   An embodiment of the present invention will be described with reference to FIGS.

図1は、本発明の一実施の形態に係るインクジェット方式の記録装置(プリンタ)の構成を示すブロック図である。図1において、10は制御部で、本記録装置の制御を司る。11はI/F(インターフェース)部で、このI/F部11とデジタルカメラやデジタルカメラで撮影された画像データを保持するメモリカードが接続され、本体制御部が印刷対象となる画像データをデジタルカメラもしくはメモリカードから読み出し、12の画像処理部へ送る。12は画像処理部で、I/F部11から送られてくる記録データ(多値画像データ)に関して、画像データの復号処理、縮小処理、色処理、を行うもので、メモリ、ASIC(Application Specific Integrated Circuit:特定用途向けIC)及びDSP(Digital Signal Processor)、RISC(Reduced Instruction Set Computer:縮小命令セットコンピュータ)チップ等で構成される。   FIG. 1 is a block diagram showing the configuration of an ink jet recording apparatus (printer) according to an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes a control unit that controls the recording apparatus. Reference numeral 11 denotes an I / F (interface) unit. The I / F unit 11 is connected to a memory card that holds image data captured by a digital camera or a digital camera, and the main body control unit digitally converts the image data to be printed. Read from the camera or memory card and send to 12 image processing units. An image processing unit 12 performs image data decoding processing, reduction processing, and color processing on the recording data (multi-valued image data) sent from the I / F unit 11, and includes memory, ASIC (Application Specific). It is composed of an integrated circuit (IC) for specific applications, a DSP (Digital Signal Processor), a RISC (Reduced Instruction Set Computer) chip, and the like.

図2は、12で図1で12として示されていた画像処理部の内部の構造を表すブロック図である。本実施例では、各処理が独立したタスクとしてソフトウェアで実現されている。処理の流れを簡単に説明しながら、各処理ブロックの機能を説明する。   FIG. 2 is a block diagram showing the internal structure of the image processing unit shown as 12 in FIG. In this embodiment, each process is realized by software as an independent task. The function of each processing block will be described while briefly explaining the flow of processing.

21は、復号/縮小処理部である。入力された画像データは、この復号/縮小処理部により復号処理され、Y,Cb,CrやR,G,Bといった信号値に変換され、記録された画像の画素ならびに従って逐次メモリに展開されていく。また、縮小処理の場合、この復号/縮小処理部において必要な縮小率で縮小処理を行う。縮小処理は、処理の高速化のため一定の縮小率の縮小のみで処理を行い、その結果をメモリに展開していく。一定の縮小率とは、縦横それぞれの方向に、50%、25%、12.5%、...と1/2の縮小処理である。この縮小率の処理処理であれば、加算とシフト演算による割り算のみを用いて容易に実装することができ、さらに、高速に処理を行うことができる。上述の、復号処理と縮小処理を施されたデータは、バッファ26に格納される。ここで、縮小処理をしているため、実質上の画像周波数が半分に落ちていることから、ローパスフィルタの効果を得ることができる。 Reference numeral 21 denotes a decryption / reduction processing unit. The input image data is decoded by the decoding / reduction processing unit, converted into signal values such as Y, Cb, Cr, R, G, and B, and recorded on the pixels of the recorded image and accordingly sequentially expanded in the memory. Go. In the case of reduction processing, the decoding / reduction processing unit performs reduction processing at a necessary reduction rate. In the reduction processing, processing is performed only by reduction at a certain reduction rate in order to increase the processing speed, and the result is developed in a memory. The constant reduction ratio is 50%, 25%, 12.5%,. . . And 1/2 n reduction processing. With this reduction rate processing, it can be easily implemented using only division by addition and shift operations, and processing can be performed at high speed. The data subjected to the decoding process and the reduction process described above is stored in the buffer 26. Here, since the reduction process is performed, the actual image frequency has dropped to half, so the effect of the low-pass filter can be obtained.

次に、バッファ26に格納されたデータは、23の色処理部から読み込まれる。色処理部では、輝度データとして格納されていた画像データを変換し、濃度データとしている。必要な縮小処理よりもより縮小されているため、色処理を行う画素数が少なくてすむことから、色処理の高速化が実現できる。色処理部の出力は、そのまま24の拡大処理部へ渡り、拡大処理部において必要な拡大処理を行った後に、27の出力バッファに格納される。このあと、図示していないが、誤差拡散処理を行い2値化したのちに印字ヘッドへと送信される。   Next, the data stored in the buffer 26 is read from the 23 color processing units. The color processing unit converts the image data stored as the luminance data into density data. Since the reduction is performed more than necessary reduction processing, the number of pixels to be subjected to color processing can be reduced, so that the color processing can be speeded up. The output of the color processing unit is passed directly to 24 enlargement processing units, and after necessary enlargement processing is performed in the enlargement processing unit, it is stored in 27 output buffers. Thereafter, although not shown in the figure, error diffusion processing is performed and binarized, and then transmitted to the print head.

以上処理の流れを簡単に説明したが、次に、具体例を挙げて処理を詳細に説明する。   The process flow has been briefly described above. Next, the process will be described in detail with a specific example.

入力データは、JPEG と呼ばれるフォーマットで符号化された画像データであり、そのサイズは縦横それぞれ2560x1920 である。PCカードに保存されているこの画像データが保存されているものとして、出力装置の色処理解像度が300DPIであり、さらに利用者の設定した出力の設定値は、出力媒体が4x6インチの用紙に一枚の画像をいっぱいに引き伸ばしてふちのないように出力する場合を想定して説明する。   The input data is image data encoded in a format called JPEG, and its size is 2560x1920 in both vertical and horizontal directions. Assuming that the image data stored in the PC card is stored, the color processing resolution of the output device is 300 DPI, and the output setting value set by the user is the same on a 4 × 6 inch output medium. A description will be given on the assumption that a single image is fully stretched and output without any margins.

まず、28に示される変倍率計算部により変倍率が計算される。この場合の変倍率は、入力データが2560x1920、出力が、4x6インチ300DPIなので、印刷媒体の長い辺を画像の長い辺にそろえると、1800x1200 の画素数になる。横と縦のそれぞれの拡大/縮小率は、1800/2560 = 0.703125,1200/1920 = 0.625 となる。ふちのないように印刷するために、拡大/縮小率として0.703125 の縮小変換を行い、上下方向に余る部分は切ることとする。ここで、変倍率計算部は縮小処理である場合に、所望の縮小率を超えない縮小率で、1/2の縮小率になる縮小率を縮小処理部に指示する。この場合の縮小率は、0.5(1/2)が上述の条件を満たす縮小率であるので、0.5 を縮小処理部に指示する。また、縮小率処理部はこの縮小率で処理を行うため、変倍率計算部では、この縮小率から、必要な大きさに拡大するための拡大率を再度計算する。この場合、0.5 に縮小された画像を、所望の縮小率0.703125 に拡大する拡大率が必要なので、0.703125/0.5=1.40625 の拡大率となる。ここで求められた拡大率を、拡大率計算部に指示する事により、入力画像が1/2の縮小処理をされた後に、拡大処理部で拡大され、必要な出力画像のサイズへと変換される。 First, a scaling factor is calculated by a scaling factor calculator shown in FIG. In this case, since the input data is 2560 × 1920 and the output is 4 × 6 inches 300 DPI, if the long side of the print medium is aligned with the long side of the image, the number of pixels becomes 1800 × 1200. The horizontal and vertical enlargement / reduction ratios are 1800/2560 = 0.703125, 1200/1920 = 0.625. In order to print without borders, the reduction conversion is 0.703125 as the enlargement / reduction ratio, and the remainder in the vertical direction is cut off. Here, in the case of the reduction process, the scaling factor calculation unit instructs the reduction processing unit to use a reduction rate that does not exceed a desired reduction rate and a reduction rate of 1/2 n . The reduction ratio in this case is 0.5 (1/2 n ), which is a reduction ratio that satisfies the above-described conditions, so 0.5 is instructed to the reduction processing unit. Further, since the reduction rate processing unit performs processing at this reduction rate, the scaling factor calculation unit recalculates the enlargement rate for enlarging to a necessary size from this reduction rate. In this case, since an enlargement ratio for enlarging an image reduced to 0.5 to a desired reduction ratio of 0.703125 is necessary, the enlargement ratio is 0.703125 / 0.5 = 1.40625. By instructing the enlargement factor obtained here to the enlargement factor calculator, the input image is reduced by 1/2 n , then enlarged by the enlargement processor, and converted to the required output image size. Is done.

次に、復号処理部が印刷対象となるデータをインタフェース部を通じて取得しデコード処理を行う。ここで、縮小処理であるので、復号された画像はそのまま入力バッファに格納されるのではなく、縮小処理部において縮小処理を行った後に格納される。縮小処理はまず、一画素分デコードした後に、得られた値を縮小率にしたがってシフト演算を行う。この場合は、1ビットシフトを行う。次に必要な画素数分だけデコードしたかを判定する。この場合、横方向に2画素必要なのでもう一度画素値を取得し先ほどと同様にシフトして足しこんでいく。この処理を横方向に進めていくが、本実施例では、JPEG フォーマットであるために、8x8画素を基本単位(MCU)として複合化されているため、4回ループした後に2列目の画素のデコード処理になる。2列目も先ほどと同様に処理を進める。ここで、1/2 の画素のデコードが終了したので、入力のバッファへと書き出す。同様の処理を進めていくことにより、複合化と縮小の処理を行っていく。ここで、1/2の縮小処理を行うことによって、ローパスフィルタと同様の効果を得ることができる。 Next, the decoding processing unit acquires data to be printed through the interface unit and performs decoding processing. Here, since it is a reduction process, the decoded image is not stored in the input buffer as it is, but is stored after the reduction process in the reduction processing unit. In the reduction process, after one pixel is decoded, the obtained value is subjected to a shift operation according to the reduction rate. In this case, 1-bit shift is performed. Next, it is determined whether the necessary number of pixels have been decoded. In this case, since two pixels are required in the horizontal direction, the pixel value is obtained once again and shifted in the same manner as before. Although this processing proceeds in the horizontal direction, in this embodiment, since it is a JPEG format, 8 × 8 pixels are combined as a basic unit (MCU). Decode processing. The second row is processed in the same manner as before. Here, since the decoding of 1/2 pixel is completed, it is written to the input buffer. By proceeding with the same process, the process of decomposing and reducing is performed. Here, the same effect as the low-pass filter can be obtained by performing the reduction process of 1 / 2n .

次に、色処理部が処理を行う。色処理部では、JPEG フォーマットの画像ファイルをデコードして得られた Y,Cb,Cr の輝度データを、本実施例のプリンタで用いるシアン、マゼンタ、イエローに変換する。変換を行ったデータは、一度中間バッファに格納される。   Next, the color processing unit performs processing. The color processing unit converts the Y, Cb, and Cr luminance data obtained by decoding the JPEG format image file into cyan, magenta, and yellow used in the printer of this embodiment. The converted data is once stored in the intermediate buffer.

次に、拡大処理部が中間バッファから処理済のデータを取得し、拡大処理を行い誤差拡散処理部へと渡す。本実施例では、前述のバイリニアによる補完演算を実装している。拡大処理が終わったデータ列は2値化処理部へと渡され、誤差拡散法により2値化され印字制御部へと渡される。
画像処理部12における処理の最終段でドットパターンに展開された印字データは、メモリコントローラによりメモリ部14に一旦蓄積される。このメモリ部14は図示しない記録ヘッドが主走査方向に1回スキャンして記録を行うために必要な1バンド分以上のメモリから構成されており、本実施霊においては、記録ヘッドの副走査方向のノズル数が128ノズルで、主走査方向に1回スキャンで記録できる最大ドット数が8kドットであるため、
128(ノズル)×8k(ドット)×4(色)=4MBit
のメモリ容量を持つことになる。また、このメモリ部14への印字データの書き込み/読み出しは、画像処理部12のDSP若しくはRISCチップの制御の下にメモリコントローラにより行われ、メモリ部14に対してアドレス信号及び書き込み/読み出しタイミング信号が生成される。また、メモリ部14からの印字データの読み出しは、印字ヘッド制御部15に出力される。この印字ヘッド制御部15は、印字ヘッド部17でのインク吐出のタイミング信号やヒートパルスを制御部10の制御の基に生成する。
Next, the enlargement processing unit acquires processed data from the intermediate buffer, performs enlargement processing, and passes it to the error diffusion processing unit. In the present embodiment, the above-described bilinear complementary operation is implemented. The data string that has undergone the enlargement process is passed to the binarization processing unit, binarized by the error diffusion method, and passed to the print control unit.
The print data developed into a dot pattern at the final stage of processing in the image processing unit 12 is temporarily stored in the memory unit 14 by the memory controller. The memory unit 14 is composed of a memory of one band or more necessary for a recording head (not shown) to scan once in the main scanning direction and perform recording. In this embodiment, the recording head is in the sub-scanning direction. No. of nozzles is 128 nozzles, and the maximum number of dots that can be recorded in one scan in the main scanning direction is 8k dots.
128 (nozzles) x 8k (dots) x 4 (colors) = 4MBit
Will have a memory capacity of Further, writing / reading of print data to / from the memory unit 14 is performed by a memory controller under the control of the DSP or RISC chip of the image processing unit 12, and an address signal and write / read timing signal are transmitted to the memory unit 14. Is generated. Further, the reading of the print data from the memory unit 14 is output to the print head control unit 15. The print head control unit 15 generates an ink ejection timing signal and a heat pulse from the print head unit 17 based on the control of the control unit 10.

印字ヘッド部17は各色インクに対応する記録ヘッドからなり、制御部10及び印字ヘッド制御部15によりヒータ部を加熱してインクを吐出することで記録用紙上への画像記録を行う。この印字ヘッド部17は実際にはモータ駆動部16のキャリッジ上に取り付けられている。モータ駆動部16は、図示しない記録ヘッドを主走査方向に移動させるためのキャリッジ部及びキャリッジ駆動部と、記録用紙の給紙部、記録用紙搬送部、記録用紙排出部、記録ヘッドのインク詰まりを回復するための回復ユニット部から構成されている。18は操作パネルで、給紙、排紙、記録用紙選択等を指示するためのスイッチ類及び本記録装置の状態を表示する表示部とからなる。   The print head unit 17 includes a recording head corresponding to each color ink, and heats a heater unit by the control unit 10 and the print head control unit 15 to discharge the ink, thereby recording an image on a recording sheet. The print head unit 17 is actually mounted on the carriage of the motor drive unit 16. The motor driving unit 16 detects ink clogging of a carriage unit and a carriage driving unit for moving a recording head (not shown) in the main scanning direction, a recording sheet feeding unit, a recording sheet conveying unit, a recording sheet discharging unit, and a recording head. Consists of a recovery unit for recovery. An operation panel 18 includes switches for instructing paper feed, paper discharge, recording paper selection, and the like, and a display unit for displaying the status of the recording apparatus.

以上の処理により、印字データが作成されて記録用紙上への印字が行われる。
尚、本実施の形態では、拡大処理として、バイリニア法を実装したが、本発明はこれに限られるものではなく、他の拡大処理アルゴリズム(ニアレストネイバ法、キュービックコンボリューション法、等)でも良いことは言うまでもない。
Through the above processing, print data is created and printing on the recording paper is performed.
In this embodiment, the bilinear method is implemented as the enlargement processing, but the present invention is not limited to this, and other enlargement processing algorithms (nearest neighbor method, cubic convolution method, etc.) may be used. Needless to say.

また、本実施の形態に係る記録装置は、記憶媒体に格納された制御プログラムをコンピュータが読み出して実行することにより、上述した本実施の形態の機能が実現されるものであるが、本発明はこれに限定されるものではなく、前記制御プログラムの指示に基づきコンピュータ上で稼働しているOS(オペレーティングシステム)等の実際の処理の一部または全部を行い、その処理によって上述した本実施の形態の機能が実現される場合も含まれることは言うまでもない。   In addition, the recording apparatus according to the present embodiment realizes the above-described functions of the present embodiment by causing a computer to read and execute a control program stored in a storage medium. The present embodiment is not limited to this, and part or all of actual processing such as an OS (operating system) running on the computer is performed based on an instruction of the control program, and the above-described embodiment is performed by the processing. It goes without saying that the case where the function is realized is also included.

また、画像データの復号処理をはじめとして、各処理部はソフトウェアではなくハードウェアとして実装されてる場面も多いが、本発明はこれら処理部の実装の形態によるものではない。   In addition, there are many cases where each processing unit is implemented not as software but as hardware, including image data decoding processing, but the present invention is not based on the implementation form of these processing units.

本発明の第一実施例に係るインクジェット記録装置の説明図。1 is an explanatory diagram of an ink jet recording apparatus according to a first embodiment of the present invention. 本発明の画像処理の簡単な流れ図。3 is a simple flowchart of image processing according to the present invention.

符号の説明Explanation of symbols

10 プリンタの制御プログラム
11 画像ファイル入力デバイスとのインタフェース部
12 画像処理部
13 ユーザーがプリンタに印刷指示を行う操作パネル
14 画像情報等を保持するメモリとメモリ制御部
15 印字ヘッドの制御部
16 紙送りや印字ヘッドの走査等を行うモータの制御部
17 印字ヘッド
21 画像ファイルの復号処理と縮小処理
22 入力画像ファイルの受信バッファ
23 入力画像信号を出力画像信号に変換する色処理部
24 拡大処理部
25 誤差拡散を行う色処理部
26 画像データの処理途中情報を格納する中間バファ
28 入力画像サイズと出力画像サイズから縮小率と拡大率を計算する変倍率計算部
10 Printer control program
11 Interface part with image file input device
12 Image processing section
13 Operation panel for user to instruct the printer to print
14 Memory for storing image information and memory control unit
15 Print head controller
16 Motor control unit for paper feeding and print head scanning
17 Print head
21 Decoding and reducing image files
22 Input image file receive buffer
23 Color processor that converts input image signals to output image signals
24 Enlargement processing section
25 Color processing unit for error diffusion
26 Intermediate buffer for storing image data in-process information
28 Scaling factor calculator that calculates the reduction ratio and enlargement ratio from the input image size and output image size

Claims (1)

入力画像サイズと出力画像サイズから、必要な変倍率を計算する変倍率計算手段と、入力画像データを複合化する複合化手段と、複合化された画像情報を縮小する縮小手段と、画像情報を拡大する拡大手段と、入力画像の信号値を出力デバイスに適した色空間に変換し、濃度画像信号を生成する色変換手段とを具備した画像処理装置において、変倍率計算手段により求められた変倍率が縮小である場合に、複合化された入力データに対して、求められた変倍率を超えない最大の縮小率であり、かつ、縦横それぞれの方向の縮小率が、1/2である縮小率において縮小処理を行い、上述の縮小データに対して上述の色変換処理を行った後に、上述の拡大処理を行うことで、必要な出力データを得ることを特徴とする画像処理方法。 A scaling factor calculating unit that calculates a necessary scaling factor from an input image size and an output image size, a compounding unit that combines input image data, a reduction unit that reduces the combined image information, and image information In an image processing apparatus comprising an enlarging means for enlarging and a color converting means for converting a signal value of an input image into a color space suitable for an output device and generating a density image signal, the variable obtained by the scaling factor calculating means is obtained. When the magnification is reduction, the maximum reduction ratio that does not exceed the obtained scaling ratio is obtained for the combined input data, and the reduction ratio in each of the vertical and horizontal directions is 1/2 n . An image processing method characterized in that reduction processing is performed at a reduction ratio, and after performing the above-described color conversion processing on the above-described reduction data, the above-described enlargement processing is performed to obtain necessary output data.
JP2003414704A 2003-12-12 2003-12-12 Image processing method Withdrawn JP2005176036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003414704A JP2005176036A (en) 2003-12-12 2003-12-12 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003414704A JP2005176036A (en) 2003-12-12 2003-12-12 Image processing method

Publications (1)

Publication Number Publication Date
JP2005176036A true JP2005176036A (en) 2005-06-30

Family

ID=34734428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003414704A Withdrawn JP2005176036A (en) 2003-12-12 2003-12-12 Image processing method

Country Status (1)

Country Link
JP (1) JP2005176036A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007109204A (en) * 2005-09-15 2007-04-26 Fujitsu Ltd Image processor and image processing method
JP2007166560A (en) * 2005-12-17 2007-06-28 Fuji Xerox Co Ltd Apparatus, method, and program for image processing and storage medium
JP2008028550A (en) * 2006-07-19 2008-02-07 Ricoh Co Ltd Image processor, image processing method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007109204A (en) * 2005-09-15 2007-04-26 Fujitsu Ltd Image processor and image processing method
US8630511B2 (en) 2005-09-15 2014-01-14 Spansion Llc Image processing apparatus and method for image resizing matching data supply speed
JP2007166560A (en) * 2005-12-17 2007-06-28 Fuji Xerox Co Ltd Apparatus, method, and program for image processing and storage medium
KR100816709B1 (en) * 2005-12-17 2008-03-27 후지제롯쿠스 가부시끼가이샤 Image processing apparatus, image processing method, image processing program and storage medium
US7710619B2 (en) 2005-12-17 2010-05-04 Fuji Xerox Co., Ltd. Image processing apparatus and method that performs differential scaling on picture regions than on text and line regions to enhance speed while preserving quality
JP4623300B2 (en) * 2005-12-17 2011-02-02 富士ゼロックス株式会社 Image processing apparatus and image processing program
JP2008028550A (en) * 2006-07-19 2008-02-07 Ricoh Co Ltd Image processor, image processing method, and program

Similar Documents

Publication Publication Date Title
JPH0640080A (en) Printer
JP2008035502A (en) Multifunctional printer and image processing method
US20130188200A1 (en) Image Forming Apparatus Capable of Displaying Print Preview on Screen
JP2009296352A (en) Image processor, method for processing image and image forming device
JP2005176036A (en) Image processing method
JP5644062B2 (en) Image processing device
JP2007129613A (en) Image processing apparatus and method therefor, and image forming apparatus
US9041962B2 (en) Imaging forming apparatus, image forming system, and program that enables data to be edited and processed
CN1214134A (en) Printing appts. and method for saving printing material
JPH09289584A (en) Method for processing picture and its device
JPH10207645A (en) Method for controlling output and device therefor and picture formation device equipped with the same device and storage medium for storing program for executing the same method
JP5599033B2 (en) Image processing apparatus and method, and program
JP3184639B2 (en) Image processing apparatus and method
JP2007310607A (en) Image processing apparatus, method and program
KR100208385B1 (en) Apparatus and method for buffering data by dividing text and picture data
JPH06262818A (en) Image processing device
JPH10164469A (en) Image enhancing device, image enhancing method and video printer
JP3066928B2 (en) Image processing apparatus and image processing method
JP3262367B2 (en) Image processing method
JPH08123633A (en) Color image printing system
JP2003001787A (en) Device and method for processing image and stencil printing equipment using the device
JP2004082602A (en) Printer
JP2000305741A (en) Device and method for recording and storage medium
JPH11196267A (en) Image output device and image output method
JP2003036445A (en) Image processor

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: 20070306