JP2000069278A - Image processing unit, image processing method and recording medium - Google Patents

Image processing unit, image processing method and recording medium

Info

Publication number
JP2000069278A
JP2000069278A JP10233358A JP23335898A JP2000069278A JP 2000069278 A JP2000069278 A JP 2000069278A JP 10233358 A JP10233358 A JP 10233358A JP 23335898 A JP23335898 A JP 23335898A JP 2000069278 A JP2000069278 A JP 2000069278A
Authority
JP
Japan
Prior art keywords
interpolation
pixel
pixels
image data
interpolated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10233358A
Other languages
Japanese (ja)
Other versions
JP3760634B2 (en
Inventor
Yumi Sekiguchi
ゆみ 関口
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP23335898A priority Critical patent/JP3760634B2/en
Publication of JP2000069278A publication Critical patent/JP2000069278A/en
Application granted granted Critical
Publication of JP3760634B2 publication Critical patent/JP3760634B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing unit that obtains a resolution- converted image of high image quality by a simple unit configuration without special preprocessing. SOLUTION: A magnification input section 1 inputs magnification and an image input section 2 inputs an image to a 1st interpolation processing section 5 and which applies interpolation processing to the inputted image in a main scanning direction, by using a 1st interpolation method and stores it in an intermediate buffer 7. A 2nd interpolation processing section 9 applies interpolation processing to the image stored in the intermediate buffer 7 in the sub scanning direction, by using a 2nd interpolation method and outputs the processed image to an image output section 11.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタル画像
の解像度を変換する際に用いて好適な画像処理装置、画
像処理方法および記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and a recording medium suitable for converting the resolution of a digital image.

【0002】[0002]

【従来の技術】画像の解像度変換処理技術は、入力機器
および出力機器間で取り扱われる画像の解像度が異なる
場合に入力原画像と同サイズの出力画像を得る際に必要
とされる技術であり、あるいは画像の拡大・縮小処理に
おいても用いられる技術である。そして、実際に多値デ
ィジタル画像の解像度を変換する方法として、ゼロ次ホ
ールド法、最近隣内挿法、共1次内挿法、3次たたみ込
み内挿法などが一般に知られている。図14および図1
5は、これらの解像度変換方法の概要を模式的に示した
ものである。これらの図では、原画像の画素(原画素と
称する)とこの原画像に対する補間処理によって解像度
変換がなされた画像の画素(変換画素と称する)との関
係について上段に示し、その下段には変換画素の濃度ま
たは輝度を表す画素値Pを求めるための演算式を提示し
ている。
2. Description of the Related Art Image resolution conversion processing is a technique required for obtaining an output image of the same size as an input original image when the resolution of an image handled between an input device and an output device is different. Alternatively, this technique is also used in image enlargement / reduction processing. As a method of actually converting the resolution of a multi-valued digital image, a zero-order hold method, a nearest neighbor interpolation method, a bilinear interpolation method, a tertiary convolution interpolation method, and the like are generally known. FIG. 14 and FIG.
FIG. 5 schematically shows the outline of these resolution conversion methods. In these figures, the upper part shows the relationship between the pixels of the original image (referred to as original pixels) and the pixels of the image (referred to as converted pixels) whose resolution has been converted by interpolation processing of the original image, and the lower part shows the conversion. An arithmetic expression for obtaining a pixel value P representing the density or luminance of a pixel is presented.

【0003】まず、図14(a)に示したように、ゼロ
次ホールド法は補間したい点(画素)の左上の原画素デ
ータを補間データとするアルゴリズムであり、また、最
近隣内挿法は補間したい点に最も近い原画素データを補
間データとするアルゴリズムである。この両者の画像解
像度変換方法では、解像度の変換後の画質はそれほど良
いとは言えないが、アルゴリズムが単純であるため高速
な画像の解像度変換処理が可能である。
First, as shown in FIG. 14A, the zero-order hold method is an algorithm in which original pixel data at the upper left of a point (pixel) to be interpolated is used as interpolation data. This is an algorithm in which original pixel data closest to a point to be interpolated is used as interpolation data. In both of these image resolution conversion methods, the image quality after the resolution conversion is not so good, but the algorithm is simple, so that high-speed image resolution conversion processing is possible.

【0004】次に、図14(b)に示したように、共1
次内挿法は補間したい点の周囲4点の原画素から1次元
演算(周囲4近傍画素との距離を考慮して線形関数によ
り重み付けを行い画素値を算出する演算)により補間デ
ータを求めるアルゴリズムである。この方法では、解像
度の変換後の画質は標準であり、処理速度も速くもなく
遅くもなく標準程度である。
[0004] Next, as shown in FIG.
The next interpolation method is an algorithm for obtaining interpolated data from one-dimensional operation (operation for weighting by a linear function in consideration of the distance to four neighboring pixels to calculate a pixel value) from original pixels at four points around a point to be interpolated. It is. In this method, the image quality after resolution conversion is standard, and the processing speed is neither fast nor slow, and is about the standard.

【0005】そして、図15に示したように、3次たた
み込み内挿法は内挿したい点の周囲16点の原画素から
3次演算(sinx/xを基本とするsinc関数を多項式
で近似した非線形関数を用いて、周囲16近傍画素の画
素値を補間データに反映させる演算)により補間データ
を求めるアルゴリズムである。この方法では、解像度変
換後の画質は比較的良好であるが、かなりの処理時間を
要し、ハードウェアに対する負荷が大きい。
As shown in FIG. 15, the cubic convolution interpolation method uses a polynomial to approximate a cubic operation (sinc function based on sinx / x) from 16 original pixels around the point to be interpolated. This is an algorithm for calculating interpolation data by using the obtained nonlinear function to calculate the pixel values of the 16 neighboring pixels in the interpolation data. In this method, the image quality after resolution conversion is relatively good, but a considerable processing time is required, and the load on hardware is large.

【0006】[0006]

【発明が解決しようとする課題】近年、パソコンやワー
クステーションで作成された多値画像データを高品位に
出力することが可能なプリンタが開発され、ユーザに供
給されている。一般にパソコンやワークステーションの
ディスプレイの解像度は75〜100dpi(1インチあ
たりのドット数)程度であり、一方、プリンタの解像度
は300〜1200dpi程度である。また、プリンタの
解像度は、高品位な出力を望む声と相まって年々高解像
度化する傾向にある。例えば、100dpiの解像度のデ
ィスプレイで表示されている画像を400dpiのプリン
タで出力し、その出力画像をディスプレイで表示されて
いる画像と同じ大きさにするためには解像度を4倍に変
換する処理を施す必要がある。
In recent years, printers capable of outputting high-quality multi-valued image data created by a personal computer or a workstation have been developed and supplied to users. Generally, the resolution of a display of a personal computer or a workstation is about 75 to 100 dpi (the number of dots per inch), while the resolution of a printer is about 300 to 1200 dpi. In addition, the resolution of the printer tends to increase year by year in combination with the demand for high quality output. For example, a process of outputting an image displayed on a display with a resolution of 100 dpi by a printer of 400 dpi and converting the resolution to four times in order to make the output image the same size as the image displayed on the display is performed. Need to be applied.

【0007】しかし、このように大きな解像度変換率に
なると、上記従来のゼロ次ホールド法または最近隣内挿
法を用いて解像度変換処理を行うと、補間によるブロッ
ク構造(モザイク状構造)が出力画像に現れる。また、
共1次内挿法では、原画像において急峻に画像データの
画素値が変化するエッジ部分がボケるという不都合があ
る。さらに、3次たたみ込み内挿法では、このエッジ部
のボケ具合は共1次内挿法に比べて多少改善されるが、
画像の濃度(濃淡)が緩やかに変化するグラデーション
部に疑似輪郭を発生する等の不都合がある。
However, when the resolution conversion rate becomes large as described above, if the resolution conversion processing is performed using the above-described conventional zero-order hold method or nearest neighbor interpolation method, a block structure (mosaic-like structure) by interpolation is output image. Appears in Also,
The bilinear interpolation method has a disadvantage that an edge portion where the pixel value of the image data changes sharply in the original image is blurred. Furthermore, in the third-order convolution interpolation method, the degree of blur at the edge portion is slightly improved as compared with the first-order interpolation method.
There are inconveniences such as generation of a pseudo contour in a gradation part where the density (shade) of the image changes gradually.

【0008】このような従来技術による補間方法を改良
する手段として、特開平7−50752号公報に開示さ
れた技術によると、補間すべき画素とその周辺画素から
なる原画像のブロックを抽出して、そのブロック内にエ
ッジが存在し、かつパターンマッチングによりブロック
内の2値化パターンと補間すべき画素位置とを照合した
結果として、一致するパターンがある場合は最近隣内挿
法の出力を選択し、それ以外の場合は共1次内挿法の出
力を選択する方法が提案されている。
According to the technique disclosed in Japanese Patent Application Laid-Open No. 7-50752, as a means for improving such a conventional interpolation method, a block of an original image consisting of a pixel to be interpolated and its surrounding pixels is extracted. If an edge exists in the block and the binarized pattern in the block is compared with the pixel position to be interpolated by pattern matching, and there is a matching pattern, the output of the nearest neighbor interpolation method is selected. Otherwise, there has been proposed a method of selecting an output of the bilinear interpolation method.

【0009】しかし、この方法では、補間手法を切り換
えるために種々の処理が必要であり、さらに出力画素を
1つ求めるために複数の手法による補間画素を求める必
要がある。したがって、処理のアルゴリズムが複雑にな
るとともに、高速に処理しようとすると、それなりのス
ペックのハードウェアを用意する必要がありコストもか
かる。
However, in this method, various processes are required to switch the interpolation method, and it is necessary to obtain interpolation pixels by a plurality of methods in order to obtain one output pixel. Therefore, the processing algorithm becomes complicated, and if the processing is to be performed at a high speed, it is necessary to prepare hardware having appropriate specifications, and the cost increases.

【0010】そこで、この発明は、このような従来の課
題に着目してなされたもので、上記のような特別な前処
理を必要とせず、単純な装置構成をもって高画質な解像
度変換画像を得ることができる画像処理装置、画像処理
方法および記録媒体を提供することを目的とするもので
ある。
Therefore, the present invention has been made in view of such a conventional problem, and does not require the special pre-processing as described above, and obtains a high-quality resolution-converted image with a simple apparatus configuration. It is an object of the present invention to provide an image processing apparatus, an image processing method, and a recording medium that can perform the processing.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、第1発明の画像処理装置は、入力画像データに補間
処理を行って出力する画像処理装置において、前記入力
画像データを第1の補間方法により第1の走査方向に沿
って補間して第1の補間画像データを出力する第1の補
間処理手段と、前記第1の補間画像データを第2の補間
方法により第2の走査方向に沿って補間して第2の補間
画像データを出力する第2の補間処理手段とを有するこ
とを特徴とするものである。
In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention is an image processing apparatus for performing an interpolation process on input image data and outputting the result. First interpolation processing means for interpolating along the first scanning direction by an interpolation method and outputting first interpolated image data, and converting the first interpolated image data into the second scanning direction by a second interpolation method And a second interpolation processing means for outputting the second interpolated image data by interpolating along.

【0012】第2発明の画像処理装置は、入力画像デー
タに補間処理を行って出力する画像処理装置において、
前記入力画像データの主走査方向の画素数がI、副走査
方向の画素数がJである場合にI行J列の画素の配置パ
ターンを想定し、この画素配置パターンの任意のi行目
と(i+1)行目の間に1ライン分の各画素を各補間位
置に補間するに際して、前記各補間位置に対する主走査
方向の周辺画素を参照し第1の補間方法により前記各画
素の補間を行う第1の補間処理手段と、前記第1の補間
処理手段により補間された前記1ライン分の画素のj列
目と(j+1)列目の間に画素を補間するに際して、当
該補間画素の周辺に存在する前記1ライン分の画素に属
する画素を参照し第2の補間方法により画素の補間を行
う第2の補間処理手段とを有することを特徴とするもの
である。
According to a second aspect of the present invention, there is provided an image processing apparatus for performing an interpolation process on input image data and outputting the result.
When the number of pixels in the main scanning direction of the input image data is I and the number of pixels in the sub-scanning direction is J, an arrangement pattern of pixels in I row and J column is assumed. When each pixel of one line is interpolated to each interpolation position during the (i + 1) th line, the interpolation of each pixel is performed by the first interpolation method with reference to the peripheral pixels in the main scanning direction at each interpolation position. When interpolating pixels between the j-th column and the (j + 1) -th column of the one-line pixel interpolated by the first interpolation processing means and the first interpolation processing means, And a second interpolation processing means for interpolating pixels by a second interpolation method with reference to existing pixels belonging to one line of pixels.

【0013】第3発明の画像処理装置は、上記第2発明
の画像処理装置において、前記画素配置パターンの任意
のi行目と(i+1)行目の間に1ライン分の各画素を
各補間位置に補間するに際して、前記各補間位置に対す
る主走査方向の周辺画素を参照し第3の補間方法により
前記各画素の補間を行う第3の補間処理手段と、前記第
1の補間処理手段により補間された前記1ライン分の画
素のj列目と(j+1)列目の間に画素を補間するに際
して、当該補間画素の周辺に存在する前記1ライン分の
画素に属する画素を参照し第4の補間方法により画素の
補間を行う第4の補間処理手段と、前記画素配置パター
ンのk行目と(k+1)行目の間に1ライン分の画素を
補間するに際して、前記第1の補間処理手段および前記
第2の補間処理手段を動作させるとともに、さらに前記
k行目と(k+1)行目の間の別のラインに1ライン分
の画素を補間するに際して、前記第3の補間処理手段お
よび前記第4の補間処理手段を動作させる手段とを有す
ることを特徴とするものである。
According to a third aspect of the present invention, in the image processing apparatus of the second aspect, each pixel of one line is interpolated between an arbitrary i-th row and an (i + 1) -th row of the pixel arrangement pattern. When interpolating to the position, third interpolation processing means for performing interpolation of each pixel by a third interpolation method with reference to peripheral pixels in the main scanning direction for each interpolation position, and interpolation by the first interpolation processing means When interpolating a pixel between the j-th column and the (j + 1) -th column of the one line pixel, the fourth pixel is referred to pixels belonging to the one line pixel existing around the interpolated pixel. Fourth interpolation processing means for interpolating pixels by an interpolation method, and the first interpolation processing means for interpolating one line of pixels between the k-th row and the (k + 1) -th row of the pixel arrangement pattern And the second interpolation processing means And further interpolating one line of pixels on another line between the k-th row and the (k + 1) -th row by operating the third interpolation processing means and the fourth interpolation processing means. And means for causing it to operate.

【0014】第4発明の画像処理装置は、上記第1〜3
発明の画像処理装置において、前記第1の補間方法およ
び前記第2の補間方法のうち、いずれか一方は参照され
た画素の画素値を用いて線形関数による補間演算により
画像データの補間を行うものであり、他方は参照された
画素の画素値を用いて非線形関数による補間演算により
画像データの補間を行うものであることを特徴とするも
のである。
An image processing apparatus according to a fourth aspect of the present invention is the image processing apparatus according to the first to third aspects.
In the image processing apparatus according to the invention, one of the first interpolation method and the second interpolation method performs interpolation of image data by an interpolation operation using a linear function using a pixel value of a referenced pixel. The other is characterized in that interpolation of image data is performed by interpolation using a non-linear function using the pixel value of a referenced pixel.

【0015】第5発明の画像処理装置は、上記第3発明
の画像処理装置において、前記第1の補間方法および前
記第2の補間方法のうち、いずれか一方は参照された画
素の画素値を用いて線形関数による補間演算により画像
データの補間を行うものであり、他方は参照された画素
の画素値を用いて非線形関数による補間演算により画像
データの補間を行うものであるとともに、前記第3の補
間方法および前記第4の補間方法のうち、いずれか一方
は参照された画素の画素値を用いて線形関数による補間
演算により画像データの補間を行うものであり、他方は
参照された画素の画素値を用いて非線形関数による補間
演算により画像データの補間を行うものであることを特
徴とするものである。
According to a fifth aspect of the present invention, in the image processing apparatus of the third aspect, one of the first interpolation method and the second interpolation method determines a pixel value of a referenced pixel. Is used to interpolate image data by an interpolation operation using a linear function, and the other is to interpolate image data by an interpolation operation using a non-linear function using the pixel value of a referenced pixel. One of the interpolation method and the fourth interpolation method is for performing interpolation of image data by an interpolation operation using a linear function using the pixel value of the referenced pixel, and the other is for performing interpolation of the referenced pixel. It is characterized in that image data is interpolated by an interpolation operation using a non-linear function using pixel values.

【0016】第6発明の画像処理装置は、入力画像デー
タに補間処理を行って出力する画像処理装置において、
前記入力画像データにおける補間位置に対して第1の走
査方向の周辺m画素の画素値を参照し、さらに前記補間
位置に対して第2の走査方向の周辺n画素の画素値を参
照することで、当該補間位置の画素の画素値を算出する
手段を有することを特徴とするものである。
According to a sixth aspect of the present invention, there is provided an image processing apparatus for performing an interpolation process on input image data and outputting the result.
By referring to the pixel values of the surrounding m pixels in the first scanning direction with respect to the interpolation position in the input image data, and further referring to the pixel values of the surrounding n pixels in the second scanning direction with respect to the interpolation position. And means for calculating a pixel value of a pixel at the interpolation position.

【0017】第7発明の画像処理方法は、入力画像デー
タに補間処理を行って出力する画像処理方法において、
前記入力画像データを第1の補間方法により第1の走査
方向に沿って補間して第1の補間画像データを出力する
過程と、前記第1の補間画像データを第2の補間方法に
より第2の走査方向に沿って補間して第2の補間画像デ
ータを出力する過程とを有することを特徴とするもので
ある。
An image processing method according to a seventh aspect of the present invention is an image processing method for performing interpolation processing on input image data and outputting the result.
A step of interpolating the input image data along a first scanning direction by a first interpolation method and outputting first interpolated image data; and a step of interpolating the first interpolated image data by a second interpolation method. And outputting the second interpolated image data by interpolating along the scanning direction.

【0018】第8発明の画像処理方法は、入力画像デー
タに補間処理を行って出力する画像処理方法において、
前記入力画像データの主走査方向の画素数がI、副走査
方向の画素数がJである場合にI行J列の画素の配置パ
ターンを想定し、この画素配置パターンの任意のi行目
と(i+1)行目の間に1ライン分の各画素を各補間位
置に補間するに際して、前記各補間位置に対する主走査
方向の周辺画素を参照し第1の補間方法により前記各画
素の補間を行う第1の過程と、前記第1の過程により補
間された前記1ライン分の画素のj列目と(j+1)列
目の間に画素を補間するに際して、当該補間画素の周辺
に存在する前記1ライン分の画素に属する画素を参照し
第2の補間方法により画素の補間を行う第2の過程とを
有することを特徴とするものである。
An image processing method according to an eighth aspect of the present invention is an image processing method for performing interpolation processing on input image data and outputting the result.
When the number of pixels in the main scanning direction of the input image data is I and the number of pixels in the sub-scanning direction is J, an arrangement pattern of pixels in I row and J column is assumed. When each pixel of one line is interpolated to each interpolation position during the (i + 1) th line, the interpolation of each pixel is performed by the first interpolation method with reference to the peripheral pixels in the main scanning direction at each interpolation position. When interpolating a pixel between the j-th column and the (j + 1) -th column of the pixels of the one line interpolated by the first process and the first process, the 1 that exists around the interpolated pixel A second step of interpolating pixels by a second interpolation method with reference to pixels belonging to pixels of the line.

【0019】第9発明の画像処理方法は、上記第8発明
の画像処理方法において、前記画素配置パターンの任意
のi行目と(i+1)行目の間に1ライン分の各画素を
各補間位置に補間するに際して、前記各補間位置に対す
る主走査方向の周辺画素を参照し第3の補間方法により
前記各画素の補間を行う第3の過程と、前記第3の過程
により補間された前記1ライン分の画素のj列目と(j
+1)列目の間に画素を補間するに際して、当該補間画
素の周辺に存在する前記1ライン分の画素に属する画素
を参照し第4の補間方法により画素の補間を行う第4の
過程と、前記画素配置パターンのk行目と(k+1)行
目の間に1ライン分の画素を補間するに際して、前記第
1の過程および前記第2の過程が実行されるとともに、
さらに前記k行目と(k+1)行目の間の別のラインに
1ライン分の画素を補間するに際して、前記第3の過程
および前記第4の過程が実行される第5の過程とを有す
ることを特徴とするものである。
A ninth aspect of the present invention is the image processing method according to the eighth aspect, wherein each pixel of one line is interpolated between an arbitrary i-th row and an (i + 1) -th row of the pixel arrangement pattern. When interpolating to a position, a third step of interpolating each pixel by a third interpolation method with reference to peripheral pixels in the main scanning direction with respect to each of the interpolation positions, and the one interpolated by the third step The j-th column of pixels for the line and (j
+1) a fourth process of performing pixel interpolation by a fourth interpolation method with reference to pixels belonging to the one-line pixel existing around the interpolated pixel when interpolating pixels between the columns; In interpolating one line of pixels between the k-th row and the (k + 1) -th row of the pixel arrangement pattern, the first step and the second step are executed,
Further, a fifth step in which the third step and the fourth step are executed when one line of pixels is interpolated to another line between the k-th row and the (k + 1) -th row. It is characterized by the following.

【0020】第10発明の画像処理方法は、上記第7〜
第9発明の画像処理方法において、前記第1の補間方法
および前記第2の補間方法のうち、いずれか一方は参照
された画素の画素値を用いて線形関数による補間演算に
より画像データの補間を行うものであり、他方は参照さ
れた画素の画素値を用いて非線形関数による補間演算に
より画像データの補間を行うものであることを特徴とす
るものである。
An image processing method according to a tenth aspect of the present invention is the image processing method according to the seventh to seventh aspects.
In an image processing method according to a ninth aspect, one of the first interpolation method and the second interpolation method performs interpolation of image data by an interpolation operation using a linear function using a pixel value of a referenced pixel. The other is to perform interpolation of image data by interpolation using a non-linear function using the pixel value of a referenced pixel.

【0021】第11発明の画像処理方法は、上記第9発
明の画像処理方法において、前記第1の補間方法および
前記第2の補間方法のうち、いずれか一方は参照された
画素の画素値を用いて線形関数による補間演算により画
像データの補間を行うものであり、他方は参照された画
素の画素値を用いて非線形関数による補間演算により画
像データの補間を行うものであるとともに、前記第3の
補間方法および前記第4の補間方法のうち、いずれか一
方は参照された画素の画素値を用いて線形関数による補
間演算により画像データの補間を行うものであり、他方
は参照された画素の画素値を用いて非線形関数による補
間演算により画像データの補間を行うものであることを
特徴とするものである。
An image processing method according to an eleventh aspect of the present invention is the image processing method according to the ninth aspect, wherein one of the first interpolation method and the second interpolation method determines a pixel value of a referenced pixel. Is used to interpolate image data by an interpolation operation using a linear function, and the other is to interpolate image data by an interpolation operation using a non-linear function using the pixel value of a referenced pixel. One of the interpolation method and the fourth interpolation method is for performing interpolation of image data by an interpolation operation using a linear function using the pixel value of the referenced pixel, and the other is for performing interpolation of the referenced pixel. It is characterized in that image data is interpolated by an interpolation operation using a non-linear function using pixel values.

【0022】第12発明の画像処理方法は、入力画像デ
ータに補間処理を行って出力する画像処理方法におい
て、前記入力画像データにおける補間位置に対して第1
の走査方向の周辺m画素の画素値を参照し、さらに前記
補間位置に対して第2の走査方向の周辺n画素の画素値
を参照することで当該補間位置の画素の画素値を算出す
る過程を有することを特徴とするものである。
According to a twelfth aspect of the present invention, in the image processing method for performing an interpolation process on input image data and outputting the same, a first position is determined with respect to an interpolation position in the input image data.
Calculating the pixel value of the pixel at the interpolation position by referring to the pixel value of the surrounding m pixels in the scanning direction and further referring to the pixel value of the surrounding n pixels in the second scanning direction with respect to the interpolation position It is characterized by having.

【0023】第13発明の記録媒体は、上記第7〜第1
2発明の画像処理方法を実行するプログラムを記録した
ものであり、この記録媒体として、FD,MO,CD−
ROM,DVD−RAM,テープメディア等種々の記録
媒体を用いることができる。
A recording medium according to a thirteenth aspect of the present invention is the recording medium according to the seventh to first aspects.
And a program for executing the image processing method according to the second aspect of the present invention.
Various recording media such as ROM, DVD-RAM, and tape media can be used.

【0024】[0024]

【発明の実施の形態】1.実施形態の原理 本発明の実施形態の前提として、実施形態で用いられる
補間処理の基本原理について説明する。以下の説明で
は、図3に示した2次元直交座標系を用いて各画素の位
置を表すものとする。すなわち、画像の左上の座標を原
点とし、この原点から下方向を主走査方向(i方向)、
右方向を副走査方向(j方向)とする。そして、この座
標系において、入力画像(原画像)の画素の座標を
(I,J)、出力画像(解像度変換画像)の画素の座標
を(i,j)と表すものとする。また、この座標系にお
いて、入力画像の右下の画素の座標を(Imax
max)、出力画像の右下の画素の座標を(imax,j
max)とする。さらに、入力画像の画素値をS(I,
J)、出力画像の画素値をD(i,j)と表すものとす
る。
BEST MODE FOR CARRYING OUT THE INVENTION Principle of Embodiment As a premise of an embodiment of the present invention, a basic principle of interpolation processing used in the embodiment will be described. In the following description, it is assumed that the position of each pixel is represented using the two-dimensional orthogonal coordinate system shown in FIG. That is, the upper left coordinate of the image is set as the origin, and the downward direction from this origin is the main scanning direction (i direction).
The right direction is the sub-scanning direction (j direction). In this coordinate system, the coordinates of the pixels of the input image (original image) are represented by (I, J), and the coordinates of the pixels of the output image (resolution-converted image) are represented by (i, j). In this coordinate system, the coordinates of the lower right pixel of the input image are represented by (I max ,
J max ), and the coordinates of the lower right pixel of the output image are (i max , j
max ). Further, the pixel value of the input image is represented by S (I,
J), and the pixel value of the output image is represented as D (i, j).

【0025】図1は、変換画素(補間画素)Pと原画素
P1,P2,・・・との位置関係を示したものである。
このように、変換画素Pは周囲4近傍画素P1,P2,
P3,P4で囲まれる矩形領域に対して−i方向に
i、+i方向にbi、−j方向にaj、+j方向にbj
距離を有した補間位置に置かれている。
FIG. 1 shows the positional relationship between a converted pixel (interpolated pixel) P and original pixels P1, P2,.
As described above, the converted pixel P is composed of four neighboring pixels P1, P2,
P3, the -i direction to the rectangular region surrounded by P4 a i, + i direction b i, are placed in the interpolation positions separated by a distance a j, + j direction b j to -j direction.

【0026】原画素に対してこのような補間位置にある
変換画素Pの画素値を求めるために、図2に示したよう
に、i方向とj方向に分けて補間処理を行う。まず、同
図(a)に示したように、i方向へのみ補間処理を施し
てi方向への変換画素PA,PBの画素値を求める。す
なわち、変換画素PAの画素値は、PAと同列(i方
向)上にある近傍画素の中から適宜選択した画素(参照
画素と称する)、例えば、画素P5,P1,P2,P6
の画素値とそれぞれの画素までの距離((ai+1),
i,bi,(bi+1))を考慮して、所定の補間演算
により算出される。同様に、変換画素PBの画素値は、
参照画素P7,P3,P4,P8の画素値とそれぞれの
画素までの距離を考慮して、所定の補間演算により算出
される。
In order to determine the pixel value of the converted pixel P at such an interpolation position with respect to the original pixel, as shown in FIG. 2, interpolation processing is performed in the i direction and the j direction separately. First, as shown in FIG. 7A, interpolation processing is performed only in the i direction to determine the pixel values of the converted pixels PA and PB in the i direction. That is, the pixel value of the converted pixel PA is a pixel (referred to as a reference pixel) appropriately selected from neighboring pixels on the same column (i direction) as PA, for example, the pixels P5, P1, P2, and P6.
And the distance to each pixel ((a i +1),
a i , b i , (b i +1)), and is calculated by a predetermined interpolation operation. Similarly, the pixel value of the conversion pixel PB is
It is calculated by a predetermined interpolation calculation in consideration of the pixel values of the reference pixels P7, P3, P4, and P8 and the distance to each pixel.

【0027】次に、同図(b)に示したように、求めた
i方向への複数の変換画素を参照してj方向へのみ補間
処理を施し、最終的な変換画素Pの画素値を求める。例
えば参照画素として2画素分とることにした場合には、
変換画素PA,PBの画素値と、変換画素Pとこれらの
画素までの距離aj,bjとを考慮して、変換画素PA,
PBの画素値を求めた際の補間演算式(第1の補間演算
式という)とは別の補間演算式(第2の補間演算式とい
う)により変換画素Pの画素値が算出される。
Next, as shown in FIG. 2B, interpolation processing is performed only in the j direction with reference to the plurality of converted pixels in the i direction, and the pixel value of the final converted pixel P is calculated. Ask. For example, if two pixels are used as reference pixels,
In consideration of the pixel values of the converted pixels PA and PB, and the converted pixels P and the distances a j and b j to these pixels, the converted pixels PA and PB are considered.
The pixel value of the converted pixel P is calculated by an interpolation formula (referred to as a second interpolation formula) different from the interpolation formula used for obtaining the pixel value of PB (referred to as a first interpolation formula).

【0028】なお、第1の補間演算式および第2の補間
演算式のいずれかに線形関数を用い、他方に非線形関数
を用いることができる。ここで、線形関数とは、変数
x,y,定数aに対して、 f(x+y)=f(x)+f(y) f(ax)=af(x) がともに成り立つような関数fのことをいい、非線形関
数とは、これら2式の少なくとも1つが成り立たない関
数fのことをいう。以下の実施形態では、線形関数とし
て共1次内挿法による演算式を用いて補間画素の値を求
め、さらに非線形関数として3次たたみ込み内挿法によ
る演算式により補間画素の値を求めているが、これらに
限定されず、線形関数、非線形関数ともに種々の関数を
用いることができる。
It should be noted that a linear function can be used for one of the first and second interpolation formulas, and a non-linear function can be used for the other. Here, a linear function is a function f such that f (x + y) = f (x) + f (y) and f (ax) = af (x) are satisfied for variables x, y, and constant a. And a non-linear function refers to a function f in which at least one of these two equations does not hold. In the following embodiment, the value of an interpolated pixel is obtained by using an arithmetic expression by a bilinear interpolation method as a linear function, and the value of an interpolated pixel is obtained by an arithmetic expression by a cubic convolution method as a nonlinear function. However, the present invention is not limited to these, and various functions can be used for both the linear function and the nonlinear function.

【0029】続いて、この発明の好ましい実施の形態に
ついて、以下、添付図面を参照しつつ詳細に説明する。 2.第1実施形態(画像処理装置A) 2.1.実施形態の構成 図5は、本実施形態の画像処理装置Aの構成を示したも
のである。この画像処理装置Aは、解像度を変換する際
の主走査方向および副走査方向の倍率Bj,Bjを入力す
るための倍率入力部1と、原画像データ(多値ディジタ
ル画像)を入力するための画像入力部2と、補間すべき
位置を決定するための補間位置決定部3と、第1の補間
処理の際に参照画素を選択する第1参照画素選択部4
と、第1の補間処理を行う第1補間処理部5と、第1の
補間処理の際に補間係数の選択を行う第1補間係数選択
部6と、第1の補間処理後のデータを格納するための中
間バッファ7と、第2の補間処理の際の参照画素を選択
する第2参照画素選択部8と、第2の補間処理を行う第
2補間手法部9と、第2の補間処理の際に補間係数を選
択する第2補間係数選択部10と、最終的な解像度変換
画像を出力する出力部11とを備えて構成される。この
画像処理装置Aにおいて、上記動作原理で説明したi方
向の補間処理が第1補間処理部5で行われ、次いでj方
向の補間処理が第2補間処理部9で行われる。
Next, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. 2. First embodiment (image processing apparatus A) 2.1. Configuration of Embodiment FIG. 5 shows a configuration of an image processing apparatus A of the present embodiment. The image processing apparatus A inputs a magnification input unit 1 for inputting magnifications B j , B j in the main scanning direction and the sub-scanning direction when converting the resolution, and inputs original image data (multi-valued digital image). Input unit 2, an interpolation position determination unit 3 for determining a position to be interpolated, and a first reference pixel selection unit 4 for selecting a reference pixel during the first interpolation processing
And a first interpolation processing unit 5 that performs a first interpolation process, a first interpolation coefficient selection unit 6 that selects an interpolation coefficient during the first interpolation process, and stores data after the first interpolation process. Buffer 7, a second reference pixel selection unit 8 for selecting a reference pixel in the second interpolation process, a second interpolation method unit 9 for performing the second interpolation process, and a second interpolation process. In this case, a second interpolation coefficient selection unit 10 for selecting an interpolation coefficient and an output unit 11 for outputting a final resolution-converted image are configured. In the image processing apparatus A, the interpolation processing in the i direction described in the above operation principle is performed by the first interpolation processing unit 5, and then the interpolation processing in the j direction is performed by the second interpolation processing unit 9.

【0030】2.2.実施形態の動作 2.2.1.基本動作シーケンス 図7は、画像処理装置Aにおいて、解像度変換処理を行
う際の基本的な動作のシーケンスを示したものである。
まず、倍率入力部1からi方向への倍率Biとj方向へ
の倍率Bjとが入力される(S10)。そして、画像入
力部2から原画像の画素値データS(I,J)とImax
とJmaxの値が入力される(S11)。そして、解像度
変換画像における右下端の座標(imax,jmax)が次式
により算出される(S12)。 imax=Bi(Imax+1)−1・・・(1) jmax=Bj(Jmax+1)−1・・・(2) さらに、iの初期値として0がセットされる(S1
3)。そして、次のステップS14以降の処理により主
走査方向であるi方向へ1ラインずつ補間処理が行われ
る。
2.2. Operation of Embodiment 2.2.1. Basic Operation Sequence FIG. 7 shows a basic operation sequence when performing resolution conversion processing in the image processing apparatus A.
First, a magnification B i in the i direction and a magnification B j in the j direction are input from the magnification input unit 1 (S10). Then, the pixel value data S (I, J) and I max of the original image are input from the image input unit 2.
And the value of Jmax are input (S11). Then, the coordinates (i max , j max ) of the lower right corner in the resolution converted image are calculated by the following equation (S12). i max = B i (I max +1) -1 (1) j max = B j (J max +1) -1 (2) Further, 0 is set as an initial value of i (S1).
3). Then, the interpolation processing is performed line by line in the i-direction, which is the main scanning direction, by the processing after the next step S14.

【0031】この補間処理において、まず、第1補間処
理部5は第1の補間方法を用いてi方向への補間処理を
実行し、i行目の補間データを算出して中間バッファ7
に BUF(J)(J=0,1,2,・・・・・,Jmax)・・・(3) を格納する(S14)。次に、第2補間処理部9は、こ
の中間バッファ7に格納されたデータを受け取り、第2
の補間方法を用いてj方向への補間処理を行い、出力画
像のi行目のデータとして出力する(S15)。
In this interpolation processing, first, the first interpolation processing unit 5 executes the interpolation processing in the i direction using the first interpolation method, calculates the interpolation data of the i-th row, and
, BUF (J) (J = 0, 1, 2,..., J max ) (3) is stored (S14). Next, the second interpolation processing unit 9 receives the data stored in the intermediate buffer 7,
The interpolation processing in the j direction is performed using the interpolation method described above, and the data is output as the data on the i-th row of the output image (S15).

【0032】そして、iの値を1だけインクリメントし
て(S16)、iの値がimax以下であれば、ステップ
S14,S15による1ラインの処理が繰り返し行われ
る(S17→S14→S15→・・・)。そして、ステ
ップS17でiの値がimaxよりも大きいと判定された
時点で処理が終了する。そこで、i方向(主走査方向)
への補間処理であるステップS14の処理と、j方向
(副走査方向)への補間処理であるステップS15の処
理について、以下、項を分けて説明する。
Then, the value of i is incremented by 1 (S16), and if the value of i is equal to or less than imax , the processing of one line in steps S14 and S15 is repeated (S17 → S14 → S15 →.・ ・). Then, when it is determined in step S17 that the value of i is larger than i max , the process ends. Then, i direction (main scanning direction)
The processing in step S14, which is the interpolation processing for the image, and the processing in step S15, which is the interpolation processing in the j-direction (the sub-scanning direction), will be described separately below.

【0033】2.2.2.主走査方向への補間処理 図9は、図7に示したステップS14の処理フロー(補
間演算過程)を示している。まず、i方向に関して変換
画素の手前に位置する周辺原画素の座標値Iと、この原
画素から変換画素までのi方向の距離aiと、変換画素
からi方向に対して座標値I+1を有する次の周辺原画
素までの距離biとが次式によって算出される(S10
0)。なお、原画素と変換画素の位置関係およびI,a
i,biの関係は既に説明した図1に示した通りである。 I=(int)i/Bi ・・・(4) ai=(float)(i/Bi)−I・・・(5) bi=1−ai ・・・(6) ここで、(int)は小数点以下を切り捨て整数値で表
記することを示し、(float)は浮動小数点で表記
することを示す。
2.2.2. FIG. 9 shows the processing flow (interpolation calculation process) of step S14 shown in FIG. First, it has a coordinate value I of a peripheral original pixel located in front of the conversion pixel in the i direction, a distance a i in the i direction from the original pixel to the conversion pixel, and a coordinate value I + 1 from the conversion pixel in the i direction. and the distance b i to the next surrounding original pixels is calculated by the following equation (S10
0). Note that the positional relationship between the original pixel and the converted pixel and I, a
i, the relationship of b i is as shown in FIG. 1 already described. I = (int) i / B i ··· (4) a i = (float) (i / B i) -I ··· (5) b i = 1-a i ··· (6) , where , (Int) indicates that the fractional part is represented by a truncated integer value, and (float) indicates that the representation is represented by a floating point.

【0034】次にJの初期値として0がセットされると
(S101)、i方向への1ライン分の補間処理が開始
される。まず、I=0の場合は、次式 BUF(J)=k1(ai)×S(0,J)+k2(ai
×S(0,J)+k3(bi)×S(1,J)+k
4(bi)×S(2,J) により補間画素の値が1画素ずつ算出され、中間バッフ
ァ7に格納される(S102→S103)。そして、J
の値を1だけインクリメントして(S104)、J>J
maxとなるまで繰り返し処理が行われ(S103→S1
04→S105→S103→S104→・・・・)、中
間バッファ7に1ライン分の補間データが格納される。
Next, when 0 is set as the initial value of J (S101), interpolation processing for one line in the i direction is started. First, when I = 0, the following equation BUF (J) = k 1 (a i ) × S (0, J) + k 2 (a i )
× S (0, J) + k 3 (b i ) × S (1, J) + k
The value of the interpolated pixel is calculated for each pixel by 4 (b i ) × S (2, J) and stored in the intermediate buffer 7 (S102 → S103). And J
Is incremented by 1 (S104), and J> J
The processing is repeated until the value reaches max (S103 → S1).
04 → S105 → S103 → S104 →...), And one line of interpolation data is stored in the intermediate buffer 7.

【0035】ここで、上記i方向の補間係数k1〜k4
値は、第1補間係数選択部6において次式により算出さ
れる。 k1(ai)=f1(ai) k2(ai)=f2(ai) k3(bi)=f2(bi) k4(bi)=f1(bi) ただし、 f1(x)=4−8(1+x)+5(1+x)2−(1+
x)3 f2(x)=1−2x2+x3 とする。これらの補間係数k1〜k4は変換画素から周辺
原画素までのi方向の距離に応じて算出される係数であ
る。第1補間係数選択部6に上記関数f1(x),f
2(x)を記憶させておくことで、補間係数k1〜k4
値を求めることができる。ただし、i方向の倍率Bi
よって、予め(ai,bi)の組が決定されるから、これ
らの(ai,bi)に対応するk1〜k4の値を記述した係
数テーブルを求めておくことが望ましい。
Here, the values of the interpolation coefficients k 1 to k 4 in the i direction are calculated by the first interpolation coefficient selector 6 according to the following equation. k 1 (a i ) = f 1 (a i ) k 2 (a i ) = f 2 (a i ) k 3 (b i ) = f 2 (b i ) k 4 (b i ) = f 1 (b i) However, f 1 (x) = 4-8 (1 + x) +5 (1 + x) 2 - (1+
x) 3 f 2 (x) = 1-2x 2 + x 3 These interpolation coefficients k 1 to k 4 are coefficients calculated according to the distance in the i direction from the converted pixel to the peripheral original pixel. The function f 1 (x), f
By storing 2 (x), the values of the interpolation coefficients k 1 to k 4 can be obtained. However, since the set of (a i , b i ) is determined in advance by the magnification B i in the i direction, a coefficient table describing the values of k 1 to k 4 corresponding to these (a i , b i ) It is desirable to ask for.

【0036】次に、I=Imax−1の場合は、次式 BUF(J)=k1(ai)×S(Imax−2,J)+k2
(ai)×S(Imax−1,J)+k3(bi)×S(I
max,J)+k4(bi)×S(Imax,J) により補間画素の値が1画素ずつ算出され、中間バッフ
ァ7に格納される(S102→S106→S107)。
そして、Jの値を1だけインクリメントして(S10
8)、J>Jmaxとなるまで繰り返し処理が行われ(S
107→S108→S109→S107→S108→・
・・・)、中間バッファ7に1ライン分の補間データが
格納される。
Next, when I = I max -1, the following equation BUF (J) = k 1 (a i ) × S (I max −2, J) + k 2
(A i ) × S (I max− 1, J) + k 3 (b i ) × S (I
max , J) + k 4 (b i ) × S (I max , J) The value of the interpolation pixel is calculated pixel by pixel and stored in the intermediate buffer 7 (S102 → S106 → S107).
Then, the value of J is incremented by 1 (S10
8) Repeat processing is performed until J> Jmax (S
107 → S108 → S109 → S107 → S108 →
..), One line of interpolation data is stored in the intermediate buffer 7.

【0037】また、I=Imaxの場合は、次式 BUF(J)=k1(ai)×S(Imax−1,J)+k2
(ai)×S(Imax,J)+k3(bi)×S(Imax
J)+k4(bi)×S(Imax,J) により補間画素の値が1画素ずつ算出され、中間バッフ
ァ7に格納される(S102→S106→S110→S
111)。そして、Jの値を1だけインクリメントして
(S112)、J>Jmaxとなるまで繰り返し処理が行
われ(S111→S112→S113→S111→S1
12→・・・・)、中間バッファ7に1ライン分の補間
データが格納される。
When I = I max , the following equation is used: BUF (J) = k 1 (a i ) × S (I max −1, J) + k 2
(A i ) × S (I max , J) + k 3 (b i ) × S (I max ,
J) + k 4 (b i ) × S (I max , J), the value of the interpolated pixel is calculated for each pixel and stored in the intermediate buffer 7 (S 102 → S 106 → S 110 → S
111). Then, by incrementing the value of J by 1 (S112), repeating the process until J> J max is performed (S111 → S112 → S113 → S111 → S1
12 →...), The interpolation data for one line is stored in the intermediate buffer 7.

【0038】0<I<Imaxの場合は、次式 BUF(J)=k1(ai)×S(I−1,J)+k
2(ai)×S(I,J)+k3(bi)×S(I+1,
J)+k4(bi)×S(I+2,J) により補間画素の値が1画素ずつ算出され、中間バッフ
ァ7に格納される(S102→S106→S110→S
114)。そして、Jの値を1だけインクリメントして
(S115)、J>Jmaxとなるまで繰り返し処理が行
われ(S114→S115→S116→S114→S1
15→・・・・)、中間バッファ7に1ライン分の補間
データが格納される。このようにして主走査方向の1ラ
イン分の補間処理が終了し、中間バッファ7に格納され
た1ラインのデータに対する副走査方向への補間処理に
移行する。
[0038] 0 <I <For I max, the following equation BUF (J) = k 1 ( a i) × S (I-1, J) + k
2 (a i ) × S (I, J) + k 3 (b i ) × S (I + 1,
J) + k 4 (b i ) × S (I + 2, J), the value of the interpolated pixel is calculated pixel by pixel and stored in the intermediate buffer 7 (S 102 → S 106 → S 110 → S
114). Then, by incrementing the value of J by 1 (S115), repeating the process until J> J max is performed (S114 → S115 → S116 → S114 → S1
15 →...), The interpolation data for one line is stored in the intermediate buffer 7. Thus, the interpolation processing for one line in the main scanning direction is completed, and the processing shifts to the interpolation processing in the sub-scanning direction for the data of one line stored in the intermediate buffer 7.

【0039】2.2.3.副走査方向への補間処理図1
0は、図7に示したステップS15の処理フロー(補間
演算過程)を示している。jの初期値として0がセット
されると(S200)、ステップS201以降のj方向
へ1画素ずつ補間画素の画素値を算出する処理が開始さ
れる。
2.2.3. Fig. 1 Interpolation processing in the sub-scanning direction
0 indicates the processing flow (interpolation calculation process) of step S15 shown in FIG. When 0 is set as the initial value of j (S200), the process of calculating the pixel value of the interpolated pixel one by one in the j direction after step S201 is started.

【0040】まず、図1に示したJ,aj,bjの値が、
次式により算出される(S201)。 J=(int)j/Bj ・・・(7) aj=(float)(j/Bj)−J・・・(8) bj=1−aj ・・・(9)
First, the values of J, a j and b j shown in FIG.
It is calculated by the following equation (S201). J = (int) j / B j (7) a j = (float) (j / B j ) -J (8) b j = 1-a j (9)

【0041】そして、J=Jmaxの場合は、 D(I,J)=BUF(Jmax) により出力画像の画素値が算出される(S202→S2
03)。一方、J<Jmaxの場合は、 D(I,J)=bj×BUF(J)+aj×BUF(J+
1) により出力画像の画素値が算出される(S202→S2
04)
[0041] Then, J = in the case of J max, D (I, J ) = output image pixel value by BUF (J max) is calculated (S202 → S2
03). On the other hand, if J < Jmax , D (I, J) = b j × BUF (J) + a j × BUF (J +
1) is used to calculate the pixel value of the output image (S202 → S2)
04)

【0042】続いて、jの値を1だけインクリメントし
て(S205)、j>jmaxとなるまで、上記S201
〜S205までの処理が繰り返し行われ、中間バッファ
7に格納された1ライン分のデータに対するj方向へ補
間処理が終了し、出力画像のi行目の画像データの作成
が終了する。
Subsequently, the value of j is incremented by 1 (S205), and the above-mentioned S201 is repeated until j> jmax.
The processing from S205 to S205 is repeatedly performed, and the interpolation processing in the j direction is completed for the data of one line stored in the intermediate buffer 7, and the creation of the i-th image data of the output image is completed.

【0043】2.3.実施形態の効果 このような本実施形態の画像処理装置Aを用いることに
より次のような効果が得られる。 (1)画像処理装置Aにおける解像度変換処理では、あ
る方向にエッジ部の鮮鋭化の効果を有する3次たたみ込
み内挿法を用いた処理を行い、その方向とは別の方向に
は平滑化の効果を有する共1次内挿法を用いているため
に、共1次内挿法のみを用いた場合に生じるジャギーや
エッジ部のボケを防止できるとともに、3次たたみ込み
内挿法のみを用いた場合に生じるグラデーション部の擬
似輪郭等を防止することができる。したがって、全体と
して高画質な出力画像が得られる。 (2)また、3次たたみ込み内挿法を主走査方向、副走
査方向ともに適用した場合に比べると、参照画素数が半
減し、解像度変換処理に要する時間が大幅に短縮され
る。 (3)さらに、解像度変換処理に伴う特別な前処理やパ
ラメータ等の設定は不要なので、ハードウェアの回路構
成が単純化され、安価な装置で高速に処理することがで
きる。 (4)そして、原稿の性質を前もって判断し、エッジの
より多い方向に3次たたみ込み内挿法、もう一方の方向
に共1次内挿法を適用することにより、さらに高画質な
出力画像を得ることができる。
2.3. Effects of Embodiment The following effects can be obtained by using the image processing apparatus A according to the present embodiment. (1) In the resolution conversion processing in the image processing apparatus A, processing using a cubic convolution interpolation method having an effect of sharpening an edge portion in a certain direction is performed, and smoothing is performed in a direction different from the direction. The use of bilinear interpolation, which has the effect of (1), can prevent jaggies and blurring at edges when only bilinear interpolation is used, and use only cubic convolution. It is possible to prevent a pseudo contour or the like of a gradation portion which occurs when the gradation portion is used. Therefore, a high-quality output image can be obtained as a whole. (2) The number of reference pixels is reduced by half, and the time required for the resolution conversion processing is greatly reduced as compared with the case where the cubic convolution interpolation method is applied in both the main scanning direction and the sub-scanning direction. (3) Further, since special preprocessing and setting of parameters and the like associated with the resolution conversion processing are unnecessary, the hardware circuit configuration is simplified, and high-speed processing can be performed with an inexpensive device. (4) By judging the nature of the document in advance and applying the cubic convolution interpolation method to the direction with more edges and the primary interpolation method to the other direction, a higher quality output image is obtained. Can be obtained.

【0044】3.第2実施形態(画像処理装置B) 第2実施形態の画像処理装置Bの構成は、図5に示した
画像処理装置Aの構成と同様である。また、基本的な動
作シーケンスも、図7に示したものと同様である。さら
に、副走査方向の補間処理についても画像処理装置Aの
場合と同様、図10に示したフローに基づいて実行され
る。従って、主走査方向の補間処理の詳細を中心に説明
する。
3. Second Embodiment (Image Processing Apparatus B) The configuration of an image processing apparatus B of the second embodiment is the same as the configuration of the image processing apparatus A shown in FIG. Also, the basic operation sequence is the same as that shown in FIG. Further, the interpolation processing in the sub-scanning direction is executed based on the flow shown in FIG. Therefore, the interpolation processing in the main scanning direction will be mainly described in detail.

【0045】3.1.主走査方向の補間処理 図11は、図7に示したステップS14の処理フロー
(補間演算過程)を示している。まず、図1に示した
I,ai,biの値が(4)(5)(6)式に基づいて算
出される(S300)。次にJの初期値として0がセッ
トされると(S301)、主走査方向の補間処理が開始
される。
3.1. Interpolation Processing in Main Scanning Direction FIG. 11 shows a processing flow (interpolation calculation process) of step S14 shown in FIG. First, I shown in FIG. 1, a i, the value of b i (4) (5) (6) is calculated based on the equation (S300). Next, when 0 is set as the initial value of J (S301), interpolation processing in the main scanning direction is started.

【0046】まず、I=Imaxの場合は、次式 BUF(J)=S(Imax,J) ・・・(10) により補間画素の値が1画素ずつ算出され、中間バッフ
ァ7に格納される(S302→S303)。そして、J
の値が1だけインクリメントされ(S304)、J>J
maxとなるまで、これらの処理が繰り返し行われ(S3
03→S304→S305→S303→S304→・・
・・)、中間バッファ7に1ライン分の補間データが格
納される。
First, when I = I max , the value of the interpolated pixel is calculated pixel by pixel according to the following equation: BUF (J) = S (I max , J) (10) and stored in the intermediate buffer 7. (S302 → S303). And J
Is incremented by 1 (S304), and J> J
These processes are repeatedly performed until the value becomes max (S3
03 → S304 → S305 → S303 → S304 → ...
..), one line of interpolation data is stored in the intermediate buffer 7.

【0047】I<Imaxの場合は、次式 BUF(J)=k1(ai)×S(I,J)+k2(ai
×S(I+1,J) により1画素ずつ変換画素の値が算出され、中間バッフ
ァ7に格納される(S306)。ここで、k1,k2は、
第1補間係数部選択部6において、次式により算出され
る。 k1(ai)=f(ai) k2(ai)=1−f(ai) ただし、f(x)=(cos(πx)+1)/2 図4は、この関数f(x)の概形を表すグラフであり、
この関数を用いて補間係数を決めることによりエッジ部
分が鮮鋭化される。これらの補間係数は、第1実施形態
において説明した補間係数k1〜k4と同様にテーブル化
して、第1補間係数選択部6に記憶させておくことがで
きる。
If I <I max , the following equation BUF (J) = k 1 (a i ) × S (I, J) + k 2 (a i )
The value of the converted pixel is calculated for each pixel by × S (I + 1, J) and stored in the intermediate buffer 7 (S306). Here, k 1 and k 2 are
In the first interpolation coefficient section selection section 6, it is calculated by the following equation. k 1 (a i ) = f (a i ) k 2 (a i ) = 1−f (a i ) where f (x) = (cos (πx) +1) / 2 FIG. x is a graph representing the general form of
The edge part is sharpened by determining the interpolation coefficient using this function. These interpolation coefficients can be tabulated similarly to the interpolation coefficients k 1 to k 4 described in the first embodiment, and can be stored in the first interpolation coefficient selection unit 6.

【0048】そして、Jの値が1だけインクリメントさ
れ(S307)、J>Jmaxとなるまでこれらの処理が
繰り返し行われ(S306→S307→S308→S3
06→S307→・・・・)、中間バッファ7に1ライ
ン分の補間データが格納される。
[0048] Then, the value of J is incremented by 1 (S307), J> J max become until these processes are repeated (S306 → S307 → S308 → S3
06 → S307 →...), One line of interpolation data is stored in the intermediate buffer 7.

【0049】3.2.実施形態の効果 (1)本実施形態の画像処理装置Bでは、エッジ部の鮮
鋭化の効果を有するcos関数による内挿法を用い、も
う一方の方向には平滑化の効果を有する共1次内挿法を
用いることにより、共1次内挿法のみを用いて解像度変
換処理を行った場合に生じるジャギーやエッジ部のボケ
を防止することができ、高画質な画像を得ることができ
る。 (2)また、画像処理装置Aの場合と同様、解像度変換
に伴う特別な前処理やパラメータ等の設定は不要である
ため、ハードウェアの回路構成が単純化される。 (3)原稿の性質を前もって判断し、エッジの多い方向
にcos関数による内挿法、もう一方の方向に共1次内
挿法を用いて解像度変換処理を行うことにより、さらに
高画質な出力画像を得ることができる。
3.2. Effects of Embodiment (1) The image processing apparatus B of the present embodiment uses an interpolation method based on a cos function having an effect of sharpening an edge portion, and has a primary function having a smoothing effect in the other direction. By using the interpolation method, it is possible to prevent jaggies and blurring of an edge portion that occur when the resolution conversion processing is performed using only the bilinear interpolation method, and a high-quality image can be obtained. (2) As in the case of the image processing apparatus A, since special pre-processing and setting of parameters and the like are not required for the resolution conversion, the circuit configuration of the hardware is simplified. (3) Higher quality image output by judging the nature of the document in advance and performing resolution conversion processing using the cos function in the direction with many edges and coprimary interpolation in the other direction Images can be obtained.

【0050】4.第3実施形態(画像処理装置C) 4.1.実施形態の構成 図6は、本実施形態の画像処理装置Cの構成を示したも
のである。この画像処理装置Cは、解像度を変換する際
の主走査方向および副走査方向の倍率Bj,Bjを入力す
るための倍率入力部1と、原画像データ(多値ディジタ
ル画像)を入力するための画像入力部2と、補間すべき
位置を決定するための補間位置決定部3と、第1の補間
処理の際の参照画素を選択する第1参照画素選択部4
と、第1の補間処理を行う第1補間処理部5と、第1の
補間処理の際に補間係数の選択を行う第1補間係数選択
部6と、解像度変換処理中のデータを格納しておくため
の中間バッファ7と、第2の参照画素を選択するための
第2参照画素選択部8と、第2の補間手法を用いて補間
処理を行う第2補間手法部9と、第2の補間係数を選択
する第2補間係数選択部10と、最終的な解像度変換画
像を出力する出力部11と方向選択部12とを備えて構
成される。
4. Third embodiment (image processing apparatus C) 4.1. Configuration of Embodiment FIG. 6 shows a configuration of an image processing apparatus C of the present embodiment. This image processing apparatus C inputs a magnification input unit 1 for inputting magnifications B j , B j in the main scanning direction and the sub-scanning direction when converting the resolution, and inputs original image data (multi-valued digital image). Input unit 2, an interpolation position determining unit 3 for determining a position to be interpolated, and a first reference pixel selecting unit 4 for selecting a reference pixel in the first interpolation processing
And a first interpolation processing unit 5 for performing a first interpolation process, a first interpolation coefficient selection unit 6 for selecting an interpolation coefficient at the time of the first interpolation process, and storing data during a resolution conversion process. An intermediate buffer 7, a second reference pixel selection unit 8 for selecting a second reference pixel, a second interpolation method unit 9 for performing an interpolation process using a second interpolation method, and a second A second interpolation coefficient selection unit 10 for selecting an interpolation coefficient, an output unit 11 for outputting a final resolution-converted image, and a direction selection unit 12 are provided.

【0051】入力された倍率に応じて、解像度変換後の
画素位置は補間位置決定部3で計算され、解像度変換画
素が出力画像の画素の配列において偶数行のライン上に
あるのか、奇数行のライン上にあるのかを判定して、そ
の結果を示す信号を方向選択部12に送る。方向選択部
12では、解像度変換画素が偶数ライン上にある場合に
はAを選択し、奇数ラインにある場合にはBを選択す
る。そして、上記Aが選択された場合には、第1補間処
理部5で補間処理が行われた後、第2補間処理部9で補
間処理が行われ、出力部11に転送される。一方、上記
Bが選択された場合には、第2補間処理部9で補間処理
が行われた後、第1補間処理部5で補間処理が行われ、
出力部11に転送される。
In accordance with the input magnification, the pixel position after the resolution conversion is calculated by the interpolation position determining unit 3, and whether the resolution-converted pixel is on an even-numbered line or an odd-numbered line in the pixel array of the output image. It is determined whether the line is on the line, and a signal indicating the result is sent to the direction selecting unit 12. The direction selection unit 12 selects A when the resolution conversion pixel is on an even line, and selects B when the resolution conversion pixel is on an odd line. When A is selected, the interpolation processing is performed by the first interpolation processing unit 5, the interpolation processing is performed by the second interpolation processing unit 9, and the result is transferred to the output unit 11. On the other hand, when the above B is selected, after the interpolation processing is performed by the second interpolation processing unit 9, the interpolation processing is performed by the first interpolation processing unit 5,
The data is transferred to the output unit 11.

【0052】4.2.実施形態の動作 4.2.1.基本動作シーケンス 図8は、画像処理装置Cにおける解像度変換処理の基本
的な動作シーケンスを示したものである。本実施形態で
は、図1に示した変換画素の画素値を求めるために、1
ライン毎にi方向およびj方向の参照画素数および補間
方法を変更するものとする。
4.2. Operation of Embodiment 4.2.1. Basic Operation Sequence FIG. 8 shows a basic operation sequence of the resolution conversion process in the image processing device C. In the present embodiment, in order to obtain the pixel value of the conversion pixel shown in FIG.
It is assumed that the number of reference pixels in the i direction and the j direction and the interpolation method are changed for each line.

【0053】まず、倍率入力部1からi方向への倍率B
iとj方向への倍率Bjとが入力される(S20)。そし
て、画像入力部2から原画像の画素値データS(I,
J)とImaxとJmaxの値が入力される(S21)。そし
て、解像度変換画像における右下端の座標(imax,j
max)が(1),(2)式により算出される(S2
2)。さらに、iの初期値として0がセットされる(S
23)。そして、次のステップS24以降の処理により
主走査方向であるi方向へ1ラインずつ補間処理が行わ
れる。
First, the magnification B from the magnification input unit 1 in the i direction
The i and the magnification B j in the j direction are input (S20). Then, the pixel value data S (I,
J) and the value of I max and J max are input (S21). Then, the coordinates (i max , j) of the lower right corner in the resolution-converted image
max ) is calculated by the equations (1) and (2) (S2
2). Further, 0 is set as the initial value of i (S
23). Then, the interpolation processing is performed line by line in the i direction, which is the main scanning direction, by the processing of the next step S24 and subsequent steps.

【0054】この補間処理において、iの値が偶数、つ
まり主走査方向に偶数行目のラインを処理する場合に
は、まず、第1の補間方法を用いてi方向の補間処理を
行い、i行目のデータを取得して中間バッファ7に格納
する(S25)。次に、この中間バッファ7に格納され
たデータに対して、第2の補間方法を用いてj方向への
補間処理を行い、出力画像のi行目のデータとして出力
する(S26)。
In this interpolation processing, when the value of i is an even number, that is, when processing an even-numbered line in the main scanning direction, first, the first interpolation method is used to perform the i-direction interpolation processing. The data of the line is acquired and stored in the intermediate buffer 7 (S25). Next, the data stored in the intermediate buffer 7 is subjected to interpolation processing in the j-direction using the second interpolation method, and is output as data on the i-th row of the output image (S26).

【0055】一方、この補間処理において、iの値が奇
数、つまり主走査方向に奇数行目のラインを処理する場
合には、まず、第3の補間方法を用いてi方向の補間処
理を行い、i行目のデータを取得して中間バッファ7に
格納する(S27)。次に、この中間バッファ7に格納
されたデータに対して、第4の補間方法を用いてj方向
への補間処理を行い、出力画像のi行目のデータとして
出力する(S28)。
On the other hand, in this interpolation processing, when the value of i is an odd number, that is, when an odd-numbered line is processed in the main scanning direction, first, the interpolation processing in the i-direction is performed using the third interpolation method. , I-th row data is acquired and stored in the intermediate buffer 7 (S27). Next, the data stored in the intermediate buffer 7 is subjected to interpolation processing in the j direction using the fourth interpolation method, and is output as the data on the i-th row of the output image (S28).

【0056】これらステップS25,S26の処理、ま
たはステップS27,S28の処理が終了すると、iの
値を1だけインクリメントして(S29)、iの値がi
max以下であれば、ステップS25,S26の処理(i
の値が偶数の場合)、またはステップS27,S28の
処理(iの値が奇数の場合)による1ラインの処理が繰
り返し行われる。そして、ステップS30でiの値がi
maxよりも大きいと判定された時点で処理が終了する。
本実施形態においては、iの値が偶数である場合の、ス
テップS25,S26の処理は、画像処理装置Aの場合
と同様である。すなわち、ステップS25では、図9に
示したS100〜S116までの処理が実行され、ステ
ップS26では、図10に示したステップS200〜S
206までの処理が実行される。
When the processing of steps S25 and S26 or the processing of steps S27 and S28 is completed, the value of i is incremented by 1 (S29), and the value of i becomes i
If not more than max , the processing of steps S25 and S26 (i
Is repeated, the processing of one line by the processing of steps S27 and S28 (when the value of i is odd) is repeatedly performed. Then, in step S30, the value of i is i
The process ends when it is determined to be larger than max .
In the present embodiment, the processing of steps S25 and S26 when the value of i is an even number is the same as that of the image processing apparatus A. That is, in step S25, the processes from S100 to S116 shown in FIG. 9 are executed, and in step S26, the processes in steps S200 to S116 shown in FIG.
The processing up to 206 is executed.

【0057】したがって、iの値が奇数である場合のi
方向(主走査方向)への補間処理であるステップS27
の処理と、j方向(副走査方向)への補間処理であるス
テップS28の処理について、以下、項を分けて説明す
る。
Therefore, when the value of i is an odd number, i
Step S27 which is an interpolation process in the direction (main scanning direction)
And the processing in step S28, which is interpolation processing in the j-direction (sub-scanning direction), will be described separately below.

【0058】4.2.2.奇数ラインの場合の主走査方
向への補間処理 ステップS27の処理は図12のフローに従って実行さ
れる。同図に示したように、まず、I,ai,biの値が
(4)〜(6)式により算出される(S400)。次に
Jの初期値0がセットされ(S401)。主走査方向へ
の1ライン分の補間処理が開始される。
4.2.2. Interpolation Processing in the Main Scanning Direction for Odd Lines The processing in step S27 is executed according to the flow in FIG. As shown in the figure, first, I, a i, the value of b i is calculated by (4) to (6) below (S400). Next, an initial value 0 of J is set (S401). Interpolation processing for one line in the main scanning direction is started.

【0059】まず、I=Imaxの場合は、(10)式に
より補間画素の値が1画素ずつ算出され、中間バッファ
7に格納される(S403)。そして、Jの値が1だけ
インクリメントされ(S404)、J>Jmaxとなるま
で、これらの処理が繰り返し行われ(S403→S40
4→S405→S403→S404→・・・・)、中間
バッファ7に1ライン分の補間データが格納される。
[0059] First, in the case of I = I max is the value of the interpolation pixel by (10) is calculated pixel by pixel, is stored in the intermediate buffer 7 (S403). Then, the value of J is incremented by 1 (S404), J> J max and until these processes are repeated (S403 → S40
4 → S405 → S403 → S404 →...), And one line of interpolation data is stored in the intermediate buffer 7.

【0060】I<Imaxの場合は、次式 BUF(J)=bi×S(I,J)+ai×S(I+1,
J) により1画素ずつ変換画素の値が算出され、中間バッフ
ァ7に格納される(S406)。そして、Jの値が1だ
けインクリメントされ(S407)、J>Jmaxとなる
まで、これらの処理が繰り返し行われ(S406→S4
07→S408→S406→S407→・・・・)、中
間バッファ7に1ライン分の補間データが格納される。
[0060] I <For I max, the following equation BUF (J) = b i × S (I, J) + a i × S (I + 1,
J), the value of the converted pixel is calculated pixel by pixel and stored in the intermediate buffer 7 (S406). Then, the value of J is incremented by 1 (S407), J> J max and until these processes are repeated (S406 → S4
07 → S408 → S406 → S407 →...), And one line of interpolation data is stored in the intermediate buffer 7.

【0061】4.2.3.奇数ラインの場合の副走査方
向への補間処理 ステップS28の処理は図13のフローに従って実行さ
れる。同図に示したように、まず、jの初期値として0
がセットされ(S500)、副走査方向への補間処理が
開始される。まず、J,aj,bjの値が(7)〜(9)
式により算出される(S501)。そして、算出された
Jの値によって、以下の演算式により補間画素の画素値
が求められる。
4.2.3. Interpolation processing in the sub-scanning direction in the case of an odd line The processing in step S28 is executed according to the flow in FIG. As shown in the figure, first, as the initial value of j, 0
Is set (S500), and the interpolation process in the sub-scanning direction is started. First, the values of J, a j and b j are (7) to (9)
It is calculated by an equation (S501). Then, based on the calculated value of J, the pixel value of the interpolation pixel is obtained by the following arithmetic expression.

【0062】J=0の場合は、次式 D(i,j)=k1(aj)×BUF(0)+k2(aj
×BUF(0)+k3(bj)×BUF(1)+k
4(bj)×BUF(2) により変換画素の画素値が算出される(S502→S5
03)。
When J = 0, the following equation is obtained: D (i, j) = k 1 (a j ) × BUF (0) + k 2 (a j )
× BUF (0) + k 3 (b j ) × BUF (1) + k
4 (b j ) × BUF (2) is used to calculate the pixel value of the converted pixel (S502 → S5
03).

【0063】J=Jmax−1の場合は、次式 D(i,j)=k1(aj)×BUF(Jmax−2)+k2
(aj)×BUF(Jmax−1)+k3(bj)×BUF
(Jmax)+k4(bj)×BUF(Jmax) により変換画素の画素値が算出される(S502→S5
04→S505)。
[0063] J = case of J max -1, the formula D (i, j) = k 1 (a j) × BUF (J max -2) + k 2
(A j ) × BUF (J max −1) + k 3 (b j ) × BUF
The pixel value of the converted pixel is calculated by (J max ) + k 4 (b j ) × BUF (J max ) (S502 → S5)
04 → S505).

【0064】J=Jmaxの場合は、次式 D(i,j)=k1(aj)×BUF(Jmax−1)+k2
(aj)×BUF(Jmax)+k3(bj)×BUF(J
max)+k4(bj)×BUF(Jmax) により変換画素の画素値が算出される(S502→S5
04→S506→S507)。
[0064] J = For J max, the following equation D (i, j) = k 1 (a j) × BUF (J max -1) + k 2
(A j ) × BUF (J max ) + k 3 (b j ) × BUF (J
max ) + k 4 (b j ) × BUF (J max ) to calculate the pixel value of the converted pixel (S502 → S5)
04 → S506 → S507).

【0065】それ以外の場合は、 D(i,j)=k1(aj)×BUF(J−1)+k
2(aj)×BUF(J)+k3(bj)×BUF(J+
1)+k4(bj)×BUF(J+2) により変換画素の画素値が算出される(S502→S5
04→S506→S508)。
In other cases, D (i, j) = k 1 (a j ) × BUF (J−1) + k
2 (a j ) × BUF (J) + k 3 (b j ) × BUF (J +
1) The pixel value of the converted pixel is calculated by + k 4 (b j ) × BUF (J + 2) (S502 → S5)
04 → S506 → S508).

【0066】以上のステップS503,S505,S5
07,S508のいずれかの処理が終了すると、jの値
が1だけインクリメントされてJ>Jmaxとなるまで、
S501〜S509までの処理が繰り返し行われ、i行
目の補間画素データが出力される。
The above steps S503, S505, S5
07 or S508, the value of j is incremented by 1 until J> Jmax .
The processing of S501 to S509 is repeatedly performed, and the interpolation pixel data of the i-th row is output.

【0067】4.3.実施形態の効果 (1)本実施形態では補間画素が出力画像の偶数ライン
にあたる場合は、主走査方向に3次たたみ込み内挿法、
副走査方向に共1次内挿法を用い、奇数ラインにあたる
場合は、主走査方向に共1次内挿法、副走査方向に3次
たたみ込み内挿法を用いて補間処理を行った結果、ある
一方向にのみ鮮鋭化、他方向にのみ平滑化された偏った
画像が得られるということはなく、どちらの方向にも均
等に鮮鋭化かつ平滑化された画像が得られる。 (2)したがって、ジャギーの発生やグラデーション部
における擬似輪郭の発生を防止することができ、高画質
な画像を得ることができる。 (3)また、本実施形態の解像度変換方法では、特別な
前処理やパラメータは不要であるため、ハードウェアの
回路構成が単純化される。
4.3. Effects of Embodiment (1) In this embodiment, when the interpolated pixel corresponds to an even-numbered line of the output image, the third-order convolution interpolation method in the main scanning direction is used.
In the case of an odd-numbered line using bi-primary interpolation in the sub-scanning direction, the result of performing interpolation using bi-primary interpolation in the main scanning direction and tertiary convolution in the sub-scanning direction A biased image that is sharpened only in one direction and smoothed only in another direction is not obtained, and an image that is uniformly sharpened and smoothed in both directions is obtained. (2) Therefore, the occurrence of jaggies and the occurrence of false contours in the gradation portion can be prevented, and a high-quality image can be obtained. (3) In the resolution conversion method of the present embodiment, no special preprocessing or parameters are required, so that the hardware circuit configuration is simplified.

【0068】5.変形例 この発明は上記実施形態に限定されるものではなく、例
えば以下のような種々の変形が可能である。
5. Modifications The present invention is not limited to the above embodiment, and various modifications such as the following are possible.

【0069】(1)画像処理装置Aにおける第1の解像
度変換処理では、主走査方向へ周辺4原画素を参照して
3次たたみ込み内挿法を用いて変換画素を求め、この過
程で求められた副走査方向の変換画素のうちの2画素を
参照して共1次内挿法を用いて、副走査方向の変換画素
を求めることによって、最終的な出力画素としたが、主
走査方向と副走査方向で用いる補間方法を入れ換えても
よい。すなわち、まず、主走査方向に2画素参照して共
1次内挿法を用い、その後、副走査方向へ4画素参照し
て3次たたみ込み内挿法を用いて、最終的な出力画素を
求めてもよい。 (2)同様に、画像処理装置Bにおいても、主走査方向
における補間方法と副走査方向の補間方法とを入れ換え
て補間処理を実行してもよい、 (3)画像処理装置Cでは、1ラインごと交互に主走査
方向の補間方法および副走査方向の2種類の補間方法を
変えることとしたが、複数行ごとにまとめて補間方法を
変えるようにしてもよい、また、これらの補間方法を1
ラインごとにランダムに変えるようにしてもよい。 (4)画像処理装置Cの補間処理において、補間係数と
してi方向へ4画素、j方向へ2画素の計8画素を参照
するような補間係数1と、i方向へ2画素、j方向へ4
画素の計8画素を参照するような補間係数2を定めてお
き、所定のライン毎にこれらの補間係数1と補間係数2
とを交互に用いながら画像を出力するようにしてもよ
い。 (5)画像処理装置A〜Cでは、公知の共1次内挿法お
よび3次たたみ込み内挿法で用いられる補間係数を採用
しているが、補間係数の決定の仕方は、これらに限らず
任意で構わない(線画、イラスト、自然画、抽象画など
入力原画像の種類や画像のパターンやテクスチャなどに
応じて種々の補間係数の変更が可能である)。 (6)これに関連して、画像処理装置A〜Cでは、主走
査方向の補間と副走査方向の補間において補間係数を決
定するに際し、いずれかに一方の線形関数を用い、他方
に非線形関数を用いることとしたが、補間に関する効果
が異なるものであれば、ともに非線形関数の関数を用い
ることとしてもよい。 (7)画像処理装置A〜Cにおける補間処理では、1ラ
イン分の中間バッファを確保して、主走査方向に1ライ
ンずつ補間処理を行ったが、複数ライン分の中間バッフ
ァを確保して、複数ラインの補間処理を一度に実行する
ことが可能である。また、中間バッファを介さず、直接
出力画像用に確保されたメモリ上の領域で補間画素のデ
ータを書き込むことも可能である。 (8)画像処理装置A〜Cにおける入力画像データとし
て、面順次データを想定したが、画素順次データ、ライ
ン順次データはもとより、ランレングスデータについて
も、面順次データに変換後、本実施形態の解像度変換処
理を実行することができる。
(1) In the first resolution conversion processing in the image processing apparatus A, conversion pixels are obtained by using cubic convolution interpolation with reference to four peripheral pixels in the main scanning direction. The final output pixel is obtained by obtaining the converted pixel in the sub-scanning direction using the bilinear interpolation method with reference to two of the converted pixels in the sub-scanning direction. And the interpolation method used in the sub-scanning direction may be interchanged. That is, first, the primary output method is used to refer to two pixels in the main scanning direction, and then the final output pixels are used to refer to four pixels in the sub-scanning direction and use tertiary convolution interpolation. You may ask. (2) Similarly, in the image processing apparatus B, the interpolation method in the main scanning direction and the interpolation method in the sub-scanning direction may be exchanged to execute the interpolation processing. (3) In the image processing apparatus C, one line Although the two types of interpolation methods in the main scanning direction and the sub-scanning direction are alternately changed every time, the interpolation method may be changed for each of a plurality of rows.
It may be changed randomly for each line. (4) In the interpolation processing of the image processing apparatus C, an interpolation coefficient 1 that refers to a total of eight pixels, i.e., four pixels in the i direction and two pixels in the j direction, and two pixels in the i direction and four in the j direction.
An interpolation coefficient 2 that refers to a total of 8 pixels is determined, and these interpolation coefficients 1 and 2 are set for each predetermined line.
The image may be output while alternately using. (5) In the image processing apparatuses A to C, the interpolation coefficients used in the well-known bilinear interpolation method and the cubic convolution interpolation method are adopted, but the method of determining the interpolation coefficients is not limited to these. (It is possible to change various interpolation coefficients according to the type of the input original image such as a line drawing, an illustration, a natural image, an abstract image, and the pattern or texture of the image). (6) In connection with this, in the image processing apparatuses A to C, when determining the interpolation coefficient in the interpolation in the main scanning direction and the interpolation in the sub-scanning direction, one of the linear functions is used and the other is a non-linear function. Is used, but a function of a non-linear function may be used as long as the effect on interpolation is different. (7) In the interpolation processing in the image processing apparatuses A to C, an intermediate buffer for one line is secured and the interpolation processing is performed line by line in the main scanning direction. It is possible to execute interpolation processing for a plurality of lines at once. Further, it is also possible to directly write the data of the interpolated pixel in an area on the memory reserved for the output image without passing through the intermediate buffer. (8) Although plane-sequential data is assumed as input image data in the image processing apparatuses A to C, not only pixel-sequential data and line-sequential data but also run-length data are converted into plane-sequential data, A resolution conversion process can be performed.

【0070】[0070]

【発明の効果】この発明によれば、特別な前処理を必要
とせず、単純な装置構成で解像度変換処理を行い、高画
質な出力画像を得ることができる。
According to the present invention, a high-quality output image can be obtained by performing resolution conversion processing with a simple apparatus configuration without requiring special preprocessing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 変換画素の画素値を算出する際に参照される
変換画素と周辺4原画素との位置関係を示した図であ
る。
FIG. 1 is a diagram illustrating a positional relationship between a converted pixel and four surrounding original pixels that are referred to when calculating a pixel value of the converted pixel.

【図2】 i方向への補間処理において参照されるi方
向へのみ変換した時の画素位置および変換画素の周辺画
素からのi方向に関する位置を示す図である。
FIG. 2 is a diagram showing a pixel position when conversion is performed only in the i direction referred to in the interpolation processing in the i direction and a position in the i direction from a peripheral pixel of a converted pixel.

【図3】 この発明の実施形態で画素位置を表すために
用いられる座標系を示したものである。
FIG. 3 shows a coordinate system used to represent a pixel position in the embodiment of the present invention.

【図4】 この発明の第2実施形態において補間係数を
求める際の関数のグラフの概形を示したものである。
FIG. 4 is a diagram schematically illustrating a graph of a function used for obtaining an interpolation coefficient in a second embodiment of the present invention.

【図5】 この発明の第1実施形態に係る画像処理装置
Aおよび第2実施形態に係る画像処理装置Bのブロック
図である。
FIG. 5 is a block diagram of an image processing apparatus A according to the first embodiment of the present invention and an image processing apparatus B according to the second embodiment.

【図6】 この発明の第3実施形態に係る画像処理装置
Cのブロック図である。
FIG. 6 is a block diagram of an image processing apparatus C according to a third embodiment of the present invention.

【図7】 同上画像処理装置Aおよび画像処理装置Bに
おける補間処理の基本動作を示したフローチャートであ
る。
FIG. 7 is a flowchart showing a basic operation of an interpolation process in the image processing apparatus A and the image processing apparatus B;

【図8】 同上画像処理装置Cにおける補間処理の基本
動作を示したフローチャートである。
FIG. 8 is a flowchart showing a basic operation of an interpolation process in the image processing apparatus C;

【図9】 同上画像処理装置Aにおいて、i方向の補間
処理の流れを示したフローチャートである。
FIG. 9 is a flowchart showing a flow of an i-direction interpolation process in the image processing apparatus A;

【図10】 同上画像処理装置Aにおいて、j方向の補
間処理の流れを示したフローチャートである。
FIG. 10 is a flowchart showing a flow of an interpolation process in the j direction in the image processing apparatus A.

【図11】 同上画像処理装置Bにおいて、i方向の補
間処理の流れを示したフローチャートである。
FIG. 11 is a flowchart showing a flow of an i-direction interpolation process in the image processing apparatus B;

【図12】 画像処理装置Cの補間処理において、奇数
ラインが処理される場合のi方向の補間処理の流れを示
したフローチャートである。
FIG. 12 is a flowchart showing a flow of an i-direction interpolation process when an odd line is processed in the interpolation process of the image processing apparatus C;

【図13】 画像処理装置Cの補間処理において、奇数
ラインが処理される場合のj方向の補間処理の流れを示
したフローチャートである。
FIG. 13 is a flowchart illustrating a flow of an interpolation process in the j direction when an odd line is processed in the interpolation process of the image processing apparatus C;

【図14】 (a)は公知のゼロ次ホールド法および最
近隣内挿法の概要を説明するための図であり、(b)
は、同じく公知の4点補間法(共1次内挿法)の概要を
説明するための図である。
14A is a diagram for explaining an outline of a known zero-order hold method and a nearest neighbor interpolation method, and FIG.
FIG. 3 is a diagram for explaining an outline of a known four-point interpolation method (bilinear interpolation method).

【図15】 公知の16点補間法(3次たたみ込み内挿
法)の概要を説明するための図である。
FIG. 15 is a diagram for explaining an outline of a known 16-point interpolation method (third-order convolution interpolation method).

【符号の説明】[Explanation of symbols]

1 倍率入力部 2 画像入力部 3 補間位置決定部 4 第1参照画素選択部 5 第1補間処理部 6 第1補間係数選択部 7 中間バッファ 8 第2参照画素選択部 9 第2補間処理部 10 第2補間係数選択部 11 画像出力部 12 方向選択部 Reference Signs List 1 magnification input unit 2 image input unit 3 interpolation position determination unit 4 first reference pixel selection unit 5 first interpolation processing unit 6 first interpolation coefficient selection unit 7 intermediate buffer 8 second reference pixel selection unit 9 second interpolation processing unit 10 Second interpolation coefficient selection unit 11 Image output unit 12 Direction selection unit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データに補間処理を行って出力
する画像処理装置において、 前記入力画像データを第1の補間方法により第1の走査
方向に沿って補間して第1の補間画像データを出力する
第1の補間処理手段と、 前記第1の補間画像データを第2の補間方法により第2
の走査方向に沿って補間して第2の補間画像データを出
力する第2の補間処理手段と、 を有することを特徴とする画像処理装置。
1. An image processing apparatus for performing interpolation processing on input image data and outputting the same, wherein the input image data is interpolated along a first scanning direction by a first interpolation method to obtain first interpolated image data. A first interpolation processing means for outputting, and a second interpolation method for converting the first interpolated image data into a second
2. Interpolation processing means for interpolating along the scanning direction and outputting second interpolated image data.
【請求項2】 入力画像データに補間処理を行って出力
する画像処理装置において、 前記入力画像データの主走査方向の画素数がI、副走査
方向の画素数がJである場合にI行J列の画素の配置パ
ターンを想定し、この画素配置パターンの任意のi行目
と(i+1)行目の間に1ライン分の各画素を各補間位
置に補間するに際して、前記各補間位置に対する主走査
方向の周辺画素を参照し第1の補間方法により前記各画
素の補間を行う第1の補間処理手段と、 前記第1の補間処理手段により補間された前記1ライン
分の画素のj列目と(j+1)列目の間に画素を補間す
るに際して、当該補間画素の周辺に存在する前記1ライ
ン分の画素に属する画素を参照し第2の補間方法により
画素の補間を行う第2の補間処理手段と、 を有することを特徴とする画像処理装置。
2. An image processing apparatus for performing interpolation processing on input image data and outputting the same, wherein the number of pixels in the main scanning direction of the input image data is I, and the number of pixels in the sub-scanning direction is J. Assuming an arrangement pattern of pixels in a column, when interpolating each pixel of one line to each interpolation position between an arbitrary i-th row and an (i + 1) -th row of this pixel arrangement pattern, First interpolation processing means for interpolating each of the pixels by a first interpolation method with reference to peripheral pixels in the scanning direction, and j-th column of pixels of the one line interpolated by the first interpolation processing means When the pixel is interpolated between the (j) and (j + 1) th columns, the second interpolation is performed by referring to the pixels belonging to the one-line pixel existing around the interpolated pixel and by the second interpolation method. Processing means, and An image processing device.
【請求項3】 請求項2に記載の画像処理装置におい
て、 前記画素配置パターンの任意のi行目と(i+1)行目
の間に1ライン分の各画素を各補間位置に補間するに際
して、前記各補間位置に対する主走査方向の周辺画素を
参照し第3の補間方法により前記各画素の補間を行う第
3の補間処理手段と、 前記第1の補間処理手段により補間された前記1ライン
分の画素のj列目と(j+1)列目の間に画素を補間す
るに際して、当該補間画素の周辺に存在する前記1ライ
ン分の画素に属する画素を参照し第4の補間方法により
画素の補間を行う第4の補間処理手段と、 前記画素配置パターンのk行目と(k+1)行目の間に
1ライン分の画素を補間するに際して、前記第1の補間
処理手段および前記第2の補間処理手段を動作させると
ともに、さらに前記k行目と(k+1)行目の間の別の
ラインに1ライン分の画素を補間するに際して、前記第
3の補間処理手段および前記第4の補間処理手段を動作
させる手段と、 を有することを特徴とする画像処理装置。
3. The image processing apparatus according to claim 2, wherein each pixel of one line is interpolated at each interpolation position between an arbitrary i-th row and an (i + 1) -th row of the pixel arrangement pattern. Third interpolation processing means for performing interpolation of each pixel by a third interpolation method with reference to peripheral pixels in the main scanning direction with respect to each interpolation position; and the one line interpolated by the first interpolation processing means When the pixel is interpolated between the j-th column and the (j + 1) -th column of the pixel, the pixel interpolating by the fourth interpolation method with reference to the pixels belonging to the one-line pixel existing around the interpolated pixel A first interpolation processing unit and a second interpolation unit for interpolating one line of pixels between the k-th row and the (k + 1) -th row of the pixel arrangement pattern. Activate the processing means Means for operating the third interpolation processing means and the fourth interpolation processing means when interpolating one line of pixels on another line between the k-th row and the (k + 1) -th row; An image processing apparatus comprising:
【請求項4】 請求項1〜3のいずれかに記載の画像処
理装置において、 前記第1の補間方法および前記第2の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あることを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, wherein: the first interpolation method and the second interpolation method
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. An image processing apparatus for performing interpolation of (1).
【請求項5】 請求項3に記載の画像処理装置におい
て、 前記第1の補間方法および前記第2の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あるとともに、 前記第3の補間方法および前記第4の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あることを特徴とする画像処理装置。
5. The image processing apparatus according to claim 3, wherein, among the first interpolation method and the second interpolation method,
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. And among the third interpolation method and the fourth interpolation method,
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. An image processing apparatus for performing interpolation of (1).
【請求項6】 入力画像データに補間処理を行って出力
する画像処理装置において、 前記入力画像データにおける補間位置に対して第1の走
査方向の周辺m画素の画素値を参照し、さらに前記補間
位置に対して第2の走査方向の周辺n画素の画素値を参
照することで当該補間位置の画素の画素値を算出する手
段を有することを特徴とする画像処理装置。
6. An image processing apparatus for performing an interpolation process on input image data and outputting the result, referring to pixel values of peripheral m pixels in a first scanning direction with respect to an interpolation position in the input image data, further comprising: An image processing apparatus, comprising: means for calculating a pixel value of a pixel at the interpolation position by referring to a pixel value of n peripheral pixels in a second scanning direction with respect to the position.
【請求項7】 入力画像データに補間処理を行って出力
する画像処理方法において、 前記入力画像データを第1の補間方法により第1の走査
方向に沿って補間して第1の補間画像データを出力する
過程と、 前記第1の補間画像データを第2の補間方法により第2
の走査方向に沿って補間して第2の補間画像データを出
力する過程と、 を有することを特徴とする画像処理方法。
7. An image processing method for performing interpolation processing on input image data and outputting the input image data, wherein the input image data is interpolated along a first scanning direction by a first interpolation method to obtain first interpolated image data. Outputting the first interpolated image data by a second interpolation method.
Outputting a second interpolated image data by interpolating along the scanning direction of the image processing method.
【請求項8】 入力画像データに補間処理を行って出力
する画像処理方法において、 前記入力画像データの主走査方向の画素数がI、副走査
方向の画素数がJである場合にI行J列の画素の配置パ
ターンを想定し、この画素配置パターンの任意のi行目
と(i+1)行目の間に1ライン分の各画素を各補間位
置に補間するに際して、前記各補間位置に対する主走査
方向の周辺画素を参照し第1の補間方法により前記各画
素の補間を行う第1の過程と、 前記第1の過程により補間された前記1ライン分の画素
のj列目と(j+1)列目の間に画素を補間するに際し
て、当該補間画素の周辺に存在する前記1ライン分の画
素に属する画素を参照し第2の補間方法により画素の補
間を行う第2の過程と、 を有することを特徴とする画像処理方法。
8. An image processing method for performing interpolation processing on input image data and outputting the result, wherein the number of pixels in the main scanning direction of the input image data is I and the number of pixels in the sub-scanning direction is J. Assuming an arrangement pattern of pixels in a column, when interpolating each pixel of one line to each interpolation position between an arbitrary i-th row and an (i + 1) -th row of this pixel arrangement pattern, A first step of interpolating each of the pixels by a first interpolation method with reference to peripheral pixels in the scanning direction, and a j-th column of pixels of the one line interpolated by the first step and (j + 1) A second process of interpolating pixels by a second interpolation method with reference to pixels belonging to the one line of pixels existing around the interpolated pixel when interpolating pixels between columns. An image processing method comprising:
【請求項9】 請求項8に記載の画像処理方法におい
て、 前記画素配置パターンの任意のi行目と(i+1)行目
の間に1ライン分の各画素を各補間位置に補間するに際
して、前記各補間位置に対する主走査方向の周辺画素を
参照し第3の補間方法により前記各画素の補間を行う第
3の過程と、 前記第1の補間処理手段により補間された前記1ライン
分の画素のj列目と(j+1)列目の間に画素を補間す
るに際して、当該補間画素の周辺に存在する前記1ライ
ン分の画素に属する画素を参照し第4の補間方法により
画素の補間を行う第4の過程と、 前記画素配置パターンのk行目と(k+1)行目の間に
1ライン分の画素を補間するに際して、前記第1の過程
および前記第2の過程が実行されるとともに、 さらに前記k行目と(k+1)行目の間の別のラインに
1ライン分の画素を補間するに際して、前記第3の過程
および前記第4の過程が実行される第5の過程と、 を有することを特徴とする画像処理方法。
9. The image processing method according to claim 8, wherein each pixel of one line is interpolated at each interpolation position between an arbitrary i-th row and an (i + 1) -th row of the pixel arrangement pattern. A third step of interpolating each of the pixels by a third interpolation method with reference to peripheral pixels in the main scanning direction for each of the interpolation positions, and pixels of the one line interpolated by the first interpolation processing means When the pixel is interpolated between the j-th column and the (j + 1) -th column, the pixel is interpolated by the fourth interpolation method with reference to the pixels belonging to the one-line pixel existing around the interpolated pixel. In a fourth step, when interpolating one line of pixels between the k-th row and the (k + 1) -th row of the pixel arrangement pattern, the first step and the second step are executed, Further, the k-th row and (k + 1) In interpolating one line of pixels on another line between the eyes, the image processing method characterized by having a a fifth step of the third process and the fourth process is executed.
【請求項10】 請求項7〜9に記載の画像処理方法に
おいて、 前記第1の補間方法および前記第2の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あることを特徴とする画像処理方法。
10. The image processing method according to claim 7, wherein, among the first interpolation method and the second interpolation method,
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. An image processing method for performing interpolation of
【請求項11】 請求項9に記載の画像処理方法におい
て、 前記第1の補間方法および前記第2の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あるとともに、 前記第3の補間方法および前記第4の補間方法のうち、
いずれか一方は参照された画素の画素値を用いて線形関
数による補間演算により画像データの補間を行うもので
あり、他方は参照された画素の画素値を用いて非線形関
数による補間演算により画像データの補間を行うもので
あることを特徴とする画像処理方法。
11. The image processing method according to claim 9, wherein, among the first interpolation method and the second interpolation method,
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. And among the third interpolation method and the fourth interpolation method,
Either one performs image data interpolation by a linear function using the pixel value of the referenced pixel, and the other performs image data interpolation by a non-linear function using the pixel value of the referenced pixel. An image processing method for performing interpolation of
【請求項12】 入力画像データに補間処理を行って出
力する画像処理方法において、 前記入力画像データにおける補間位置に対して第1の走
査方向の周辺m画素の画素値を参照し、さらに前記補間
位置に対して第2の走査方向の周辺n画素の画素値を参
照することで当該補間位置の画素の画素値を算出する過
程を有することを特徴とする画像処理方法。
12. An image processing method for performing interpolation processing on input image data and outputting the result, wherein a pixel value of peripheral m pixels in a first scanning direction is referred to for an interpolation position in the input image data, and the interpolation is further performed. An image processing method comprising: calculating a pixel value of a pixel at an interpolation position by referring to a pixel value of n pixels in a vicinity in a second scanning direction with respect to the position.
【請求項13】 請求項7〜12に記載の画像処理方法
を実行するプログラムを記録した記録媒体。
13. A recording medium on which a program for executing the image processing method according to claim 7 is recorded.
JP23335898A 1998-08-19 1998-08-19 Image processing apparatus, image processing method, and recording medium Expired - Fee Related JP3760634B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23335898A JP3760634B2 (en) 1998-08-19 1998-08-19 Image processing apparatus, image processing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23335898A JP3760634B2 (en) 1998-08-19 1998-08-19 Image processing apparatus, image processing method, and recording medium

Publications (2)

Publication Number Publication Date
JP2000069278A true JP2000069278A (en) 2000-03-03
JP3760634B2 JP3760634B2 (en) 2006-03-29

Family

ID=16953907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23335898A Expired - Fee Related JP3760634B2 (en) 1998-08-19 1998-08-19 Image processing apparatus, image processing method, and recording medium

Country Status (1)

Country Link
JP (1) JP3760634B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005312014A (en) * 2004-03-24 2005-11-04 Canon Inc Resolution converting method
US7158134B2 (en) 2000-09-05 2007-01-02 Minolta Co., Ltd. Image processing apparatus and image processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158134B2 (en) 2000-09-05 2007-01-02 Minolta Co., Ltd. Image processing apparatus and image processing method
JP2005312014A (en) * 2004-03-24 2005-11-04 Canon Inc Resolution converting method
CN100382560C (en) * 2004-03-24 2008-04-16 佳能株式会社 Resolution converting method
JP4500707B2 (en) * 2004-03-24 2010-07-14 キヤノン株式会社 Image data processing device
US7831110B2 (en) 2004-03-24 2010-11-09 Canon Kabushiki Kaisha Resolution converting method

Also Published As

Publication number Publication date
JP3760634B2 (en) 2006-03-29

Similar Documents

Publication Publication Date Title
JP3276886B2 (en) Generating pixel values for enlarged destination images
EP0949585A2 (en) Apparatus and method for image data interpolation
JP3865165B2 (en) How to enlarge / reduce image data
JPH0863592A (en) Scaling method of binary image
KR100818718B1 (en) Image processing device, and computer-readable recording medium having recorded thereon image processing program
JP4947351B2 (en) Image processing apparatus and program
US20190206024A1 (en) Method and device for interpolating image
US9217949B2 (en) Image variable magnification device and image variable magnification method
JP4500707B2 (en) Image data processing device
JP3760634B2 (en) Image processing apparatus, image processing method, and recording medium
JP2009004952A (en) Image processing device and program
JP4265363B2 (en) Image processing device
JP3200351B2 (en) Image processing apparatus and method
JP3045134B2 (en) Image data interpolation apparatus, image data interpolation method, and medium recording image data interpolation program
JP4629057B2 (en) Image processing device
JP2004304543A (en) Halftoning processing method and halftoning processing system
JPH10327315A (en) Image processing unit
JPH07221976A (en) Smoothing magnification processing method for binary image data
JP3962029B2 (en) Image data reduction apparatus and method
JPH07107268A (en) Image processing device
JP3678319B2 (en) Image density converter
JP5134585B2 (en) Scaling image generating apparatus and scaling image generating method
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof
JP4355706B2 (en) Resolution conversion processing method for binary image
JP4069300B2 (en) Image data enlargement device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060102

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140120

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees