JP2002300377A - Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program - Google Patents

Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program

Info

Publication number
JP2002300377A
JP2002300377A JP2001097764A JP2001097764A JP2002300377A JP 2002300377 A JP2002300377 A JP 2002300377A JP 2001097764 A JP2001097764 A JP 2001097764A JP 2001097764 A JP2001097764 A JP 2001097764A JP 2002300377 A JP2002300377 A JP 2002300377A
Authority
JP
Japan
Prior art keywords
image data
interpolation
thinning
color difference
pixel group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001097764A
Other languages
Japanese (ja)
Inventor
Maiko Yamada
麻衣子 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001097764A priority Critical patent/JP2002300377A/en
Publication of JP2002300377A publication Critical patent/JP2002300377A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation

Abstract

PROBLEM TO BE SOLVED: To provide an image data thinning out/interpolation device that interpolates color image data with high image quality at a high-speed. SOLUTION: (1) An original image recorded on an HDD is read under the instruction from a CPU1, (2) and the CPU1 reads an image on a RAM1 and compresses the image. (3) The CPU1 writes the compressed data to other areas of the RAM1. (4) A RAM2 in a printer records the compressed data under the instruction of the CPU1. (5) A CPU2 in the printer reads the compressed data to obtain a decoded value and to expand the image. (6) The CPU2 writes data after expansion to the RAM2. (7) Then the printer prints out the expanded data by a prescribed procedure of 'applying variable power'.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、カラー画像デー
タの間引き・補間をおこなう画像データ間引き・補間装
置、画像データ間引き・補間方法、画像データ間引き・
補間プログラム、および画像データ間引き・補間プログ
ラムを記録したコンピュータ読み取り可能な記録媒体に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data thinning / interpolating apparatus for thinning / interpolating color image data, an image data thinning / interpolating method, and an image data thinning / interpolating method.
The present invention relates to an interpolation program and a computer-readable recording medium that records an image data thinning / interpolation program.

【0002】[0002]

【従来の技術】従来、たとえば特開平7−221993
号公報に記載の『カラー画像データの間引き方法及び装
置、並びにカラー画像データの圧縮方法』にあるよう
に、圧縮時に間引きをおこない、伸張時に単一の方法で
補間することが知られている。
2. Description of the Related Art Conventionally, for example, Japanese Unexamined Patent Application Publication No.
It is known that a thinning method is used at the time of compression and interpolation is performed by a single method at the time of decompression, as described in “Method and Apparatus for Thinning out Color Image Data and Method for Compressing Color Image Data” described in Japanese Unexamined Patent Publication (Kokai) No. H10-26095.

【0003】しかし、間引きの程度が大きく、補間する
エリアの広い場合は単一の方法による補間では画質が落
ちてしまう。また、補間後の画質を維持するためには間
引きにも工夫が必要である。
However, when the degree of thinning is large and the area to be interpolated is wide, the image quality is deteriorated by the interpolation using a single method. Also, in order to maintain the image quality after interpolation, it is necessary to devise thinning.

【0004】そこで、本願は間引きをする際に、3つの
成分の間引き位置を変化させたり、複数の補間法(たと
えば「コンピュータ画像処理入門」に記載されてある3
つの補間法(最近傍法・線形補間法・三次補間法))を
組み合わせる。
Accordingly, in the present application, when thinning out, the thinning position of three components is changed, and a plurality of interpolation methods (for example, 3 methods described in "Introduction to Computer Image Processing").
And two interpolation methods (nearest neighbor method, linear interpolation method, and cubic interpolation method).

【0005】[0005]

【発明が解決しようとする課題】ここで、使用する補間
方法の数や補間方法の組み合わせ方は輝度成分、色差成
分の順に精度を高めるようにする。また、色差成分同士
でも精度を変えることが望ましい。
Here, the number of interpolation methods to be used and the combination of the interpolation methods are to improve the accuracy in the order of the luminance component and the color difference component. It is also desirable to change the accuracy between the color difference components.

【0006】たとえば、色変換がRCTの場合、R=U
+G,G=Y-((U+V)/4(,B=V+Gである。これ
は、量子化後のU,Vの値にYUV逆変換を施せば、復
号されたR'G'B'の値が得られるが、当然原RGBの
値とR'G'B'の値の間には誤差が生じ、かかる誤差が
観察者によって色の誤差(たとえば公知のLab空間での
色差,以下Lab色差と呼ぶ)として知覚される。
For example, when the color conversion is RCT, R = U
+ G, G = Y-((U + V) / 4 (, B = V + G. This is because if the UUV value after quantization is subjected to the YUV inverse transform, the decoded R ' Although the value of G'B 'is obtained, an error naturally occurs between the value of the original RGB and the value of R'G'B', and such an error causes a color error (for example, in a known Lab space) by an observer. Color difference, hereinafter referred to as Lab color difference).

【0007】量子化の度合いが小さい場合には、生じる
色の誤差も小さく、観察者も知覚できないことが多い。
しかし、量子化の度合い(圧縮率)を大きくしたい場合に
は、色の誤差が知覚可能なレベルに達するため、色差
U,Vで精度を変える。この3つの成分の特性に合った
補間方法を選択することにより高速かつ高画質なカラー
画像データ補間ができる。
[0007] When the degree of quantization is small, the resulting color error is small and the observer often cannot perceive it.
However, when it is desired to increase the degree of quantization (compression ratio), the color error reaches a perceptible level, so that the accuracy is changed by the color differences U and V. By selecting an interpolation method that matches the characteristics of these three components, high-speed and high-quality color image data interpolation can be performed.

【0008】この発明は、上記課題に鑑みてなされたも
のであって、高速かつ高画質なカラー画像データ補間を
おこなうことが可能な画像データ間引き・補間装置、画
像データ間引き・補間方法、画像データ間引き・補間プ
ログラム、および画像データ間引き・補間プログラムを
記録したコンピュータ読み取り可能な記録媒体を提供す
ることを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has been made in consideration of the above-described problems, and has an image data thinning / interpolating apparatus capable of performing high-speed and high-quality color image data interpolation, an image data thinning / interpolating method, and image data. It is an object of the present invention to provide a computer-readable recording medium on which a thinning / interpolation program and image data thinning / interpolation program are recorded.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、請求項1に記載の発明にかかる画像データ間引き・
補間装置は、間引かれたカラー画像データをもちいて、
原画素群のデータを補間する画像データ間引き・補間装
置であって、輝度成分は二つ以上の補間方法で補間し、
二つの色差成分は輝度成分の補間方法の種類以下の方法
で補間することを特徴とする。
According to a first aspect of the present invention, there is provided an apparatus for thinning image data, comprising the steps of:
The interpolation device uses the thinned color image data,
An image data decimation / interpolation device for interpolating data of an original pixel group, wherein a luminance component is interpolated by two or more interpolation methods,
It is characterized in that the two color difference components are interpolated by the following method of the type of the interpolation method of the luminance component.

【0010】また、請求項2に記載の発明にかかる画像
データ間引き・補間装置は、間引かれたカラー画像デー
タをもちいて、原画素群のデータを補間する画像データ
間引き・補間装置であって、輝度成分と一方の色差成分
は二つ以上の補間方法で補間し、もう一方の色差成分は
輝度成分と一方の色差成分の補間方法の種類以下の方法
で補間することを特徴とする。
According to a second aspect of the present invention, there is provided an image data thinning / interpolating apparatus for interpolating original pixel group data using thinned color image data. The luminance component and one chrominance component are interpolated by two or more interpolation methods, and the other chrominance component is interpolated by a method equal to or less than the type of interpolation method between the luminance component and one chrominance component.

【0011】また、請求項3に記載の発明にかかる画像
データ間引き・補間装置は、前記輝度成分は二つの補間
方法で補間し、二つの色差成分は一つの方法で補間する
ことを特徴とする。
According to a third aspect of the present invention, in the image data thinning / interpolating apparatus, the luminance component is interpolated by two interpolation methods, and the two color difference components are interpolated by one method. .

【0012】また、請求項4に記載の発明にかかる画像
データ間引き・補間装置は、前記輝度成分は二つの補間
方法で補間し、一方の色差成分は一つの補間方法で補間
し、もう一方の色差成分は一方の色差成分に適用した補
間方法とは異なる補間方法で補間することを特徴とす
る。
According to a fourth aspect of the present invention, in the image data thinning / interpolating apparatus, the luminance component is interpolated by two interpolation methods, one color difference component is interpolated by one interpolation method, and the other color difference component is interpolated by another interpolation method. The color difference component is interpolated by an interpolation method different from the interpolation method applied to one color difference component.

【0013】また、請求項5に記載の発明にかかる画像
データ間引き・補間装置は、前記輝度成分と一方の色差
成分は二つの補間方法で補間し、もう一方の補間方法は
一つの補間方法で補間することを特徴とする。
According to a fifth aspect of the present invention, in the image data thinning / interpolating apparatus, the luminance component and one color difference component are interpolated by two interpolation methods, and the other interpolation method is one interpolation method. It is characterized by interpolation.

【0014】また、請求項6に記載の発明にかかる画像
データ間引き・補間装置は、カラー画像データについ
て、原画素群のデータを間引く画像データ間引き・補間
装置であって、輝度成分と二つの色差成分において、そ
れぞれの間引く範囲の画素群が重なる画素のないことを
特徴とする。
According to a sixth aspect of the present invention, there is provided an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data, the image data thinning / interpolating apparatus comprising a luminance component and two color differences. In the component, there is no pixel in which each pixel group in the thinning range overlaps.

【0015】また、請求項7に記載の発明にかかる画像
データ間引き・補間装置は、カラー画像データについ
て、原画素群のデータを間引く画像データ間引き・補間
装置であって、輝度成分と一方の色差成分ともう一方の
色差成分において、それぞれの間引く範囲の画素群が重
なる画素のないことを特徴とする。
According to a seventh aspect of the present invention, there is provided an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data, the image data thinning / interpolating apparatus comprising a luminance component and one color difference. In the component and the other color difference component, there is no pixel in which the pixel groups in the respective thinning ranges overlap.

【0016】また、請求項8に記載の発明にかかる画像
データ間引き・補間装置は、カラー画像データについ
て、原画素群のデータを間引く画像データ間引き・補間
装置であって、輝度成分と二つの色差成分において、そ
れぞれの間引く範囲の画素群が最小限となることを特徴
とする。
An image data thinning / interpolating apparatus according to the invention of claim 8 is an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data, wherein a luminance component and two color difference In the components, the number of pixel groups in each thinning range is minimized.

【0017】また、請求項9に記載の発明にかかる画像
データ間引き・補間装置は、カラー画像データについ
て、原画素群のデータを間引く画像データ間引き・補間
装置であって、輝度成分と一方の色差成分ともう一方の
色差成分において、それぞれの間引く範囲の画素群が最
小限となることを特徴とする。
According to a ninth aspect of the present invention, there is provided an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data, the image data thinning / interpolating apparatus comprising a luminance component and one color difference. In the component and the other color difference component, the number of pixels in the range to be thinned out is minimized.

【0018】また、請求項10に記載の発明にかかる画
像データ間引き・補間装置は、カラー画像データについ
て、原画素群のデータを間引く画像データ間引き・補間
装置であって、輝度成分と色差成分と色差成分の間引く
範囲の画素群がそれぞれドット分散型であることを特徴
とする。
According to a tenth aspect of the present invention, there is provided an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data. It is characterized in that the pixel groups in the range in which the color difference components are thinned out are of the dot dispersion type.

【0019】また、請求項11に記載の発明にかかる画
像データ間引き・補間装置は、前記輝度成分と二つの色
差成分をそれぞれ最近傍法で復元することを特徴とす
る。
An image data thinning / interpolating apparatus according to the present invention is characterized in that the luminance component and the two color difference components are respectively restored by a nearest neighbor method.

【0020】また、請求項12に記載の発明にかかる画
像データ間引き・補間装置は、請求項6〜9のいずれか
一つにおける輝度成分における間引く範囲の画素群、あ
るいは、請求項7または9における一方の色差成分にお
ける間引く範囲の画素群に隣接する画素を最近傍法で復
元することを特徴とする。
According to a twelfth aspect of the present invention, there is provided the image data thinning / interpolating apparatus according to any one of the sixth to ninth aspects, wherein a pixel group in a thinning range of a luminance component is provided. The method is characterized in that pixels adjacent to a pixel group in a thinning range in one color difference component are restored by a nearest neighbor method.

【0021】また、請求項13に記載の発明にかかる画
像データ間引き・補間装置は、前記最近傍法で復元する
以外の他の画素を線形補間法で復元することを特徴とす
る。
According to a thirteenth aspect of the present invention, there is provided the image data thinning / interpolating apparatus, wherein pixels other than those of the nearest neighbor method are restored by a linear interpolation method.

【0022】また、請求項14に記載の発明にかかる画
像データ間引き・補間装置は、前記最近傍法で復元する
以外の他の画素を三次補間法で復元することを特徴とす
る。
An image data thinning-out / interpolating apparatus according to the invention of claim 14 is characterized in that pixels other than the ones restored by the nearest neighbor method are restored by a cubic interpolation method.

【0023】また、請求項15に記載の発明にかかる画
像データ間引き・補間装置は、二つまたは一方の色差成
分を前記最近傍法で復元することを特徴とする。
According to a fifteenth aspect of the present invention, in the image data thinning / interpolating apparatus, two or one color difference components are restored by the nearest neighbor method.

【0024】また、請求項16に記載の発明にかかる画
像データ間引き・補間装置は、一方の色差成分を前記最
近傍法で復元し、もう一方の色差成分を前記三次補間法
で復元することを特徴とする。
According to a sixteenth aspect of the present invention, the image data thinning-out / interpolating apparatus restores one color difference component by the nearest neighbor method and restores another color difference component by the cubic interpolation method. Features.

【0025】また、請求項17に記載の発明にかかる画
像データ間引き・補間装置は、前記輝度成分における第
1の画素群をXy×Yy画素、第2の画素群をm×n画
素とし、一方の色差成分における第3の画素群をXu×
Yu画素、第4の画素群をmu×nu画素とし、もう一方
の色差成分における第5の画素群をXv×Yv画素、第
6の画素群をmv×nv画素としたことを特徴とする。
According to a seventeenth aspect of the present invention, in the image data thinning / interpolating apparatus, the first pixel group in the luminance component is Xy × Yy pixels, and the second pixel group is m × n pixels. Xu ×
It is characterized in that the Yu pixel, the fourth pixel group are mu × nu pixels, the fifth pixel group in the other color difference component is Xv × Yv pixels, and the sixth pixel group is mv × nv pixels.

【0026】また、請求項18に記載の発明にかかる画
像データ間引き・補間装置は、前記m、前記n、前記X
y、前記Yyが、m−Xy≧3,n−Yy≧3もしくは
2x<m,2y<nであることを特徴とする。
The image data thinning-out / interpolating apparatus according to the eighteenth aspect of the present invention provides the image data thinning / interpolating apparatus, wherein
y, wherein Yy is m−Xy ≧ 3, n−Yy ≧ 3 or 2x <m, 2y <n.

【0027】また、請求項19に記載の発明にかかる画
像データ間引き・補間方法は、間引かれたカラー画像デ
ータについて、原画素群のデータを補間する装置であっ
て、輝度成分は二つ以上の補間方法、二つの色差成分は
輝度成分の補間方法の数以下であることを特徴とする。
The image data thinning / interpolating method according to the present invention is an apparatus for interpolating original pixel group data for thinned color image data, wherein the luminance component has two or more luminance components. , Wherein the two color difference components are equal to or less than the number of luminance component interpolation methods.

【0028】また、請求項20に記載の発明にかかる画
像データ間引き・補間方法は、カラー画像データについ
て、原画素群のデータを間引く装置であって、輝度成分
における第1の範囲の画素群が二つの色差成分における
第3,5の範囲の画素群と重なる画素がないことを特徴
とする。
According to a twentieth aspect of the present invention, there is provided an image data thinning / interpolating method for thinning out data of an original pixel group for color image data, wherein a pixel group in a first range in a luminance component is selected. It is characterized in that there are no pixels overlapping the third and fifth pixel groups in the two color difference components.

【0029】また、請求項21に記載の発明にかかる画
像データ間引き・補間方法は、カラー画像データについ
て、原画素群のデータを間引く装置であって、輝度成分
における第1の範囲の画素群と二つの色差成分における
第3,5の範囲の画素群の重なる画素が最小限となるこ
とを特徴とする。
According to a twenty-first aspect of the present invention, there is provided an image data thinning / interpolating apparatus for thinning out data of an original pixel group for color image data, wherein a pixel group in a first range in a luminance component is extracted. A feature is that the number of overlapping pixels of the third and fifth pixel groups in the two color difference components is minimized.

【0030】また、請求項22に記載の発明にかかる画
像データ間引き・補間方法は、カラー画像データについ
て、原画素群のデータを間引く装置であって、輝度成分
と色差成分と色差成分の第1,3,5の範囲の画素群が
それぞれドット分散型であることを特徴とする。
An image data thinning / interpolating method according to the invention of claim 22 is an apparatus for thinning out data of an original pixel group for color image data, wherein a first component of a luminance component, a color difference component, and a color difference component is provided. , 3, and 5 are of a dot dispersion type.

【0031】また、請求項23に記載の発明にかかる画
像データ間引き・補間プログラムは、コンピュータに請
求項1〜18に記載の画像データ間引き・補間装置の機
能を実現させることを特徴とする。
According to a twenty-third aspect of the present invention, an image data decimation / interpolation program causes a computer to realize the functions of the image data decimation / interpolation device according to the first to eighteenth aspects.

【0032】また、請求項24に記載の発明にかかるコ
ンピュータ読み取り可能な記録媒体は、請求項23に記
載されたプログラムを記録したことを特徴とする。
[0032] A computer-readable recording medium according to a twenty-fourth aspect of the present invention is characterized by recording the program according to the twenty-third aspect.

【0033】また、請求項25に記載の発明にかかる画
像データ間引き・補間プログラムは、コンピュータに請
求項19〜22に記載の画像データ間引き・補間方法の
機能を実現させることを特徴とする。
According to a twenty-fifth aspect of the present invention, an image data thinning / interpolating program causes a computer to realize the functions of the image data thinning / interpolating method according to the nineteenth to twenty-second aspects.

【0034】また、請求項26に記載の発明にかかるコ
ンピュータ読み取り可能な記録媒体は、請求項25に記
載されたプログラムを記録したことを特徴とする。
According to a twenty-sixth aspect of the present invention, a computer-readable recording medium has recorded thereon the program according to the twenty-fifth aspect.

【0035】このようにして、請求項1に記載の発明に
よれば、間引かれたカラー画像データをもちいて、原画
素群のデータを補間する装置であって、輝度成分は二つ
以上の補間方法、二つの色差成分は輝度成分の補間方法
の数以下であるので、輝度成分を色差成分よりも補間方
法の数を多くすることで、高画質とすることができる。
Thus, according to the first aspect of the present invention, there is provided an apparatus for interpolating data of an original pixel group using thinned color image data, wherein two or more luminance components are used. Since the interpolation method and the two color difference components are equal to or less than the number of the luminance component interpolation methods, high image quality can be achieved by increasing the number of the interpolation methods for the luminance component compared to the color difference components.

【0036】また、請求項2に記載の発明によれば、間
引かれたカラー画像データをもちいて、原画素群のデー
タを補間する装置であって、輝度成分と一方の色差成分
は二つ以上の補間方法、もう一方の色差成分は輝度成分
と一方の色差成分の補間方法の数以下であるため、二つ
の色差成分それぞれの特性によって、補間方法の数を変
化させることで、高画質とすることができる。
According to the second aspect of the present invention, there is provided an apparatus for interpolating data of an original pixel group using thinned color image data, wherein a luminance component and one color difference component are two. Since the above interpolation method and the other color difference component are equal to or less than the number of interpolation methods for the luminance component and one color difference component, by changing the number of interpolation methods according to the characteristics of each of the two color difference components, high image quality and can do.

【0037】また、請求項3に記載の発明によれば、請
求項1において、輝度成分は二つの補間方法で補間し、
二つの色差成分は一つの方法で補間するため、3成分を
すべて同じ方法で補間するのと比べて、高速かつ高画質
にすることができる。
According to the third aspect of the present invention, in the first aspect, the luminance component is interpolated by two interpolation methods.
Since the two color difference components are interpolated by one method, high speed and high image quality can be achieved as compared with the case where all three components are interpolated by the same method.

【0038】また、請求項4に記載の発明によれば、請
求項1において、輝度成分は二つの補間方法で補間し、
一方の色差成分は一つの補間方法で補間し、もう一方の
色差成分は一方の色差成分に適用した補間方法とは異な
る補間方法で補間するため、二つの色差成分を同じ補間
方法で復元するのと比べて、それぞれの成分の特性に合
った補間方法を選択することができるため、高画質にす
ることができる。
According to a fourth aspect of the present invention, in the first aspect, the luminance component is interpolated by two interpolation methods.
Since one color difference component is interpolated by one interpolation method and the other color difference component is interpolated by an interpolation method different from the interpolation method applied to one color difference component, two color difference components are restored by the same interpolation method. As compared with, an interpolation method suitable for the characteristics of each component can be selected, so that high image quality can be achieved.

【0039】また、請求項5に記載の発明によれば、請
求項2において、輝度成分と一方の色差成分は二つの補
間方法で補間し、もう一方の補間方法は一つの補間方法
で補間するため、もう一方の色差成分を一つの方法で復
元するのと比べて、高速かつ高画質にすることができ
る。
According to a fifth aspect of the present invention, in the second aspect, the luminance component and one color difference component are interpolated by two interpolation methods, and the other interpolation method is interpolated by one interpolation method. Therefore, it is possible to achieve high speed and high image quality as compared with the case where the other color difference component is restored by one method.

【0040】また、請求項6に記載の発明によれば、カ
ラー画像データについて、原画素群のデータを間引く装
置であって、輝度成分と二つの色差成分において、それ
ぞれの間引く範囲の画素群が重なる画素のないので、3
成分とも同じ位置に情報を持つのと比べて広い範囲で情
報を持つことで、まったく情報をもたない画素の数を減
らし、補間による画質劣化を低減させることができる。
According to the invention described in claim 6, there is provided an apparatus for thinning out data of an original pixel group for color image data, wherein a pixel group in a thinning-out range for each of a luminance component and two color difference components is provided. Since there are no overlapping pixels, 3
By having information over a wider range than having information at the same position for both components, it is possible to reduce the number of pixels that have no information at all and reduce image quality degradation due to interpolation.

【0041】また、請求項7に記載の発明によれば、カ
ラー画像データについて、原画素群のデータを間引く装
置であって、輝度成分と一方の色差成分ともう一方の色
差成分において、それぞれの間引く範囲の画素群が重な
る画素のないので、色差の2成分を同じ位置に情報を持
つのと比べてより広い範囲で情報を持つことで、まった
く情報をもたない画素の数を減らし、画質劣化をより低
減させることができる。
According to the seventh aspect of the present invention, there is provided an apparatus for thinning out data of an original pixel group for color image data, wherein each of a luminance component, one color difference component, and another color difference component is provided. Since there is no overlapping pixel group in the thinning range, by holding information in a wider range compared to having two components of color difference at the same position, the number of pixels having no information is reduced, and image quality is reduced. Deterioration can be further reduced.

【0042】また、請求項8に記載の発明によれば、カ
ラー画像データについて、原画素群のデータを間引く装
置であって、輝度成分と二つの色差成分において、それ
ぞれの間引く範囲の画素群が最小限となるので、3成分
とも同じ位置に情報を持つのと比べてある程度広い範囲
に情報を持たせることで、まったく情報をもたない画素
の数を減らし、画質劣化をほどほどに低減させることが
できる。
According to the eighth aspect of the present invention, there is provided an apparatus for thinning out data of an original pixel group for color image data, wherein a pixel group in a thinning range of each of a luminance component and two color difference components is provided. By minimizing the number of pixels that have no information at all, by reducing the number of pixels that have no information at all, by reducing the number of pixels that have no information at all, compared to having the information at the same position in all three components Can be.

【0043】また、請求項9に記載の発明によれば、カ
ラー画像データについて、原画素群のデータを間引く装
置であって、輝度成分と一方の色差成分ともう一方の色
差成分において、それぞれの間引く範囲の画素群が最小
限となるので、色差の2成分を同じ位置に情報を持つの
と比べてある程度広い範囲に情報を持たせることで、ま
ったく情報をもたない画素の数を減らし、より画質劣化
を低減させることができる。
According to the ninth aspect of the present invention, there is provided an apparatus for thinning out data of an original pixel group from color image data, wherein each of a luminance component, one color difference component, and another color difference component is provided. Since the number of pixels in the range to be thinned is minimized, the number of pixels having no information is reduced by providing information in a somewhat wide range as compared to having two components of color difference at the same position, Image quality deterioration can be further reduced.

【0044】また、請求項10に記載の発明によれば、
カラー画像データについて、原画素群のデータを間引く
装置であって、輝度成分と色差成分と色差成分の間引く
範囲の画素群がそれぞれドット分散型であるので、まっ
たく情報をもたない画素の数を理想的に分散すること
で、高画質とすることができる。
According to the tenth aspect of the present invention,
For color image data, this is a device for thinning out the data of the original pixel group, and since the pixel groups in the range in which the luminance component, the color difference component, and the color difference component are thinned out are each of the dot dispersion type, the number of pixels having no information at all is determined. By ideally dispersing, high image quality can be obtained.

【0045】また、請求項11に記載の発明によれば、
請求項10において、輝度成分と二つの色差成分をそれ
ぞれ最近傍法で復元するので、輝度成分に最近傍法のみ
もちいることである程度高速を保つことができる。
According to the eleventh aspect of the present invention,
In the tenth aspect, since the luminance component and the two color difference components are respectively restored by the nearest neighbor method, it is possible to maintain a high speed to some extent by using only the nearest neighbor method for the luminance component.

【0046】また、請求項12に記載の発明によれば、
請求項6〜9において、輝度成分における間引く範囲の
画素群、請求項7,9において、一方の色差成分におけ
る間引く範囲の画素群に隣接する画素を最近傍法で復元
するので、最近傍法で復元する画素が少ないことで速度
は落ちるが、ジャギーがあまり目立たなく画質をある程
度保つことができる。
According to the twelfth aspect of the present invention,
In the sixth to ninth aspects, a pixel group in a thinning range in a luminance component is restored. In the seventh and ninth aspects, a pixel adjacent to a pixel group in a thinning range in one color difference component is restored by a nearest neighbor method. Although the number of pixels to be restored is small, the speed is reduced, but the image quality can be maintained to a certain extent without jaggies being noticeable.

【0047】また、請求項13に記載の発明によれば、
請求項12において、最近傍法で復元する以外の他の画
素を線形補間法で復元するので、輝度Y成分または色差
V成分をすべて最近傍法で復元するのと比べて、ある程
度の速度を保ちつつ画質を保つことができる。
According to the thirteenth aspect of the present invention,
In the twelfth aspect, since pixels other than those restored by the nearest neighbor method are restored by the linear interpolation method, a certain speed is maintained as compared with restoring all the luminance Y component or color difference V component by the nearest neighbor method. While maintaining the image quality.

【0048】また、請求項14に記載の発明によれば、
請求項12において、最近傍法で復元する以外の他の画
素を三次補間法で復元するので、線形補間法で復元する
のと比べて速度は落ちるが画質が向上することができ
る。
According to the fourteenth aspect of the present invention,
In the twelfth aspect, since pixels other than those restored by the nearest neighbor method are restored by the cubic interpolation method, the image quality can be improved although the speed is lower than that of the pixel restored by the linear interpolation method.

【0049】また、請求項15に記載の発明によれば、
請求項6〜9において、二つまたは一方の色差成分を最
近傍法で復元するので、二つまたは一つの色差成分をす
べて最近傍法で復元することで速度を保つことができ
る。
According to the fifteenth aspect of the present invention,
Since the two or one color difference components are restored by the nearest neighbor method, the speed can be maintained by restoring all the two or one color difference components by the nearest neighbor method.

【0050】また、請求項16に記載の発明によれば、
請求項7,9において、一方の色差成分を最近傍法で復
元し、もう一方の色差成分を三次補間法で復元するの
で、一方の色差成分をすべて最近傍法で復元するのと比
べて速度は落ちるが、高画質とすることができる。
According to the sixteenth aspect of the present invention,
10. The method according to claim 7, wherein one of the color difference components is restored by the nearest neighbor method and the other color difference component is restored by the cubic interpolation method. But the image quality can be improved.

【0051】また、請求項17に記載の発明によれば、
請求項13,14において、輝度成分における第1の画
素群をXy×Yy画素、第2の画素群をm×n画素と
し、一方の色差成分における第3の画素群をXu×Yu画
素、第4の画素群をmu×nu画素とし、もう一方の色差
成分における第5の画素群をXv×Yv画素、第6の画
素群をmv×nv画素としたので、矩形とすることで、
簡易な形態であるため高速に補間することができる。
According to the seventeenth aspect of the present invention,
In Claims 13 and 14, the first pixel group in the luminance component is Xy × Yy pixels, the second pixel group is m × n pixels, and the third pixel group in one color difference component is Xu × Yu pixels. Since the fourth pixel group is mu × nu pixels, the fifth pixel group in the other color difference component is Xv × Yv pixels, and the sixth pixel group is mv × nv pixels,
Since it is a simple form, interpolation can be performed at high speed.

【0052】また、請求項18に記載の発明によれば、
請求項17において、m−Xy≧3,n−Yy≧3もし
くは2x<m,2y<nであるので、画素の幅が開くこ
とで高速かつ画質を維持するという効果を保つことがで
きる。
According to the eighteenth aspect of the present invention,
In claim 17, since m−Xy ≧ 3, n−Yy ≧ 3 or 2x <m, 2y <n, the effect of maintaining the high speed and maintaining the image quality by widening the pixel width can be maintained.

【0053】また、請求項19に記載の発明によれば、
請求項1に記載の画像補間方法の提案であり、3成分を
すべて同じ方法で補間するのと比べて、高速かつ高画質
にすることができる。
According to the nineteenth aspect of the present invention,
This is a proposal of the image interpolation method according to claim 1, wherein high-speed and high-quality images can be obtained as compared with the case where all three components are interpolated by the same method.

【0054】また、請求項20に記載の発明によれば、
請求項6に記載の画像圧縮方法の提案であり、3成分と
も同じ範囲に情報を持つのと比べて広い範囲で情報を持
つことで、まったく情報をもたない画素による画質劣化
をほどほどに低減させることができる。
According to the twentieth aspect of the present invention,
7. An image compression method according to claim 6, wherein the three components have information in a wide range as compared with having information in the same range, so that the image quality degradation due to pixels having no information is reduced moderately. Can be done.

【0055】また、請求項21に記載の発明によれば、
請求項8に記載の画像圧縮方法の提案であり、ある程度
広い範囲に情報を持たせることで、まったく情報をもた
ない画素による画質劣化をほどほどに低減させることが
できる。
According to the twenty-first aspect of the present invention,
This is a proposal of the image compression method according to claim 8, in which information is provided in a wide range to some extent, so that image quality deterioration due to a pixel having no information can be reduced moderately.

【0056】また、請求項22に記載の発明によれば、
請求項10に記載の画像圧縮方法の提案であり、成分を
それぞれドット分散型にすることで補間方法を簡易にす
ることができる。
According to the twenty-second aspect of the present invention,
This is a proposal of the image compression method according to claim 10, wherein the interpolation method can be simplified by making each component a dot dispersion type.

【0057】また、請求項23または25に記載の発明
は、コンピュータに上記各機能を実現させることができ
る。
According to the twenty-third or twenty-fifth aspect of the present invention, a computer can realize each of the above functions.

【0058】また、請求項24または26に記載の発明
にかかるコンピュータ読み取り可能な記録媒体によれ
ば、上記の機能をコンピュータに実行させるプログラム
を記録したことで、そのプログラムをコンピュータ読み
取り可能となり、これによって、上記動作をコンピュー
タによって実現することができる。
According to the computer-readable recording medium of the invention according to claim 24 or 26, by recording a program for causing a computer to execute the above functions, the program can be read by a computer. Thus, the above operation can be realized by a computer.

【0059】[0059]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかる画像データ間引き・補間装置、画像データ
間引き・補間方法、画像データ間引き・補間プログラ
ム、および画像データ間引き・補間プログラムを記録し
たコンピュータ読み取り可能な記録媒体の好適な実施の
形態について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to the accompanying drawings, an image data thinning / interpolating apparatus, an image data thinning / interpolating method, an image data thinning / interpolating program, and an image data thinning / interpolating program according to the present invention will be described below. A preferred embodiment of the computer-readable recording medium described above will be described in detail.

【0060】図14は本願にかかる装置構成の例を示し
たものである。データバスを介して、HDD、RAM1
(PC内)、CPU1(PC内)、プリンタが接続されてい
る。オリジナル画像のプリントアウトに際し、圧縮さ
れ、圧縮後のデータがプリンタに送信される。プリンタ
への送信データ量が低減されるため、送信時間が短縮さ
れ、圧縮・伸張に要する時間を加味しても、高速なプリ
ントが可能になる。
FIG. 14 shows an example of an apparatus configuration according to the present invention. HDD, RAM1 via data bus
(Within the PC), the CPU 1 (within the PC), and the printer are connected. When the original image is printed out, the data is compressed and the compressed data is transmitted to the printer. Since the amount of data to be transmitted to the printer is reduced, the transmission time is shortened, and high-speed printing is possible even in consideration of the time required for compression and decompression.

【0061】図1および図2は本実施の形態(実施の形
態1)の内容を示したものである。カラー画像データに
ついて、図1は輝度成分、図2は二つの色差成分につい
ての間引き位置の図である。なお、図中に示されるまず
数字は、説明の便宜上、かっこ書きの数字で示すことに
する。すなわち、は(1)とする。他の数字も同様と
する。
FIG. 1 and FIG. 2 show the contents of the present embodiment (Embodiment 1). FIG. 1 is a diagram showing thinning positions for color image data, and FIG. 2 is a diagram showing thinning positions for two color difference components. It is to be noted that, first, numerals shown in the drawings are indicated by numerals in parentheses for convenience of explanation. That is, (1) is set. The same applies to other numbers.

【0062】ここで、輝度成分と二つの色差成分の黒色
部分は重なる画素がないようにする。これによって、3
成分とも同じ範囲に情報を持つのと比べて広い範囲で情
報を持つことで、まったく情報をもたない画素による画
質劣化を低減させる。
Here, there is no pixel overlapping the black portion of the luminance component and the two color difference components. This gives 3
By having information over a wider range than having both components in the same range, image quality degradation due to pixels having no information at all is reduced.

【0063】ここで、3つの成分とも5×5画素を1単
位とする。図1について、黒色部分である2×2画素か
ら5×5画素を生成するとき、黒色部分以外の補間を一
つ以上の方法で補間する。
Here, each of the three components has 5 × 5 pixels as one unit. Referring to FIG. 1, when generating 5 × 5 pixels from 2 × 2 pixels which are black portions, interpolation other than the black portions is performed by one or more methods.

【0064】また、図2について、黒色部分である2×
2画素から5×5画素を生成するとき一つの方法で補間
する。まず、図1の黒色部分の2辺に隣接している画素
を灰色部分とする場合、灰色部分をある方法で補間し、
白色部分を他の方法で補間する。
Referring to FIG. 2, the black portion 2 ×
When generating 5 × 5 pixels from two pixels, interpolation is performed by one method. First, when a pixel adjacent to two sides of the black portion in FIG. 1 is set as a gray portion, the gray portion is interpolated by a certain method,
Interpolate the white part by another method.

【0065】灰色部分に最近傍法、白色部分に線形補間
法をもちいた。灰色部分は隣接している黒色部分のデー
タをそのまま補間し、白色部分は(9)=((1)+
(2))/2,(10)=((5)+(7))/2,
(11)=((3)+(4))/2,(12)=
((5)+(6))/2,(13)=((7)+
(8))/2,(14)=((6)+(8))/2,
(15)=((12)+(13))/2として補間す
る。
The nearest neighbor method was used for gray parts, and the linear interpolation method was used for white parts. The gray part is obtained by directly interpolating the data of the adjacent black part, and the white part is (9) = ((1) +
(2)) / 2, (10) = ((5) + (7)) / 2,
(11) = ((3) + (4)) / 2, (12) =
((5) + (6)) / 2, (13) = ((7) +
(8)) / 2, (14) = ((6) + (8)) / 2
Interpolation is performed as (15) = ((12) + (13)) / 2.

【0066】つぎに、図2の白色部分を復元するために
最近傍法をもちいた。これは、白色部分は黒色部分のデ
ータをそのまま補間する。これによって、輝度成分をす
べて最近傍法で復元するのと比べて、速度を保ちつつ、
ジャギーがあまり目立たなく画質をある程度保つことが
できる。
Next, the nearest neighbor method was used to restore the white portion of FIG. In this method, the white portion directly interpolates the data of the black portion. As a result, compared to restoring all the luminance components by the nearest neighbor method, while maintaining the speed,
The image quality can be maintained to a certain extent without the jaggy being noticeable.

【0067】ここで、輝度成分におけるXy×Yy画素
からm×n画素を生成するとしたとき、m−Xy≧3,
n−Yy≧3もしくは2x<m,2y<nかつX≦Xy,
Y≦Yyであることで、補間法を組み合わせることによ
る効果がある(請求項18)。よって、図15は実施の
形態1の内容について、上記の処理の流れを示したもの
である。
Here, when it is assumed that m × n pixels are generated from Xy × Yy pixels in the luminance component, m−Xy ≧ 3,
n−Yy ≧ 3 or 2x <m, 2y <n and X ≦ Xy,
When Y ≦ Yy, there is an effect by combining the interpolation methods. Therefore, FIG. 15 shows the flow of the above-described processing for the contents of the first embodiment.

【0068】図3,4は実施の形態1の内容を示したも
のである。カラー画像データについて、図3は輝度成
分、図4は二つの色差成分についての間引き位置の図で
ある。ここで、輝度成分と二つの色差成分の黒色部分は
重なる画素が最小限になるようにする。
FIGS. 3 and 4 show the contents of the first embodiment. FIG. 3 is a diagram showing the thinning positions of the color image data, and FIG. Here, the pixels overlapping the black portions of the luminance component and the two color difference components are minimized.

【0069】3成分とも同じ位置に情報を持つのと比べ
てある程度広い範囲に情報を持たせることで、まったく
情報をもたない画素の数を減らし、画質劣化をほどほど
に低減させる。
By providing information in a somewhat wide range as compared with having information at the same position for all three components, the number of pixels having no information is reduced, and image quality degradation is reduced moderately.

【0070】ここで、3つの成分とも5×5画素を1単
位とする。図3について、黒色部分である3×3画素か
ら5×5画素を生成するとき、黒色部分以外の補間を一
つ以上の方法で補間する。また、図4について、黒色部
分である3×3画素から5×5画素を生成するとき一つ
の方法で補間する
Here, 5 × 5 pixels are defined as one unit for all three components. Referring to FIG. 3, when generating 5 × 5 pixels from 3 × 3 pixels which are black portions, interpolation other than the black portions is performed by one or more methods. Referring to FIG. 4, when generating 5 × 5 pixels from 3 × 3 pixels which are black portions, interpolation is performed by one method.

【0071】まず、図3の黒色部分の2辺に隣接してい
る画素を灰色部分とする場合、灰色部分を第1の方法で
補間し、白色部分を第1以外の方法で補間する。灰色部
分に最近傍法、白色部分に線形補間法をもちいた。
First, when a pixel adjacent to two sides of the black portion in FIG. 3 is set as a gray portion, the gray portion is interpolated by the first method, and the white portion is interpolated by a method other than the first method. The nearest neighbor method was used for gray parts, and the linear interpolation method was used for white parts.

【0072】灰色部分は隣接している黒色部分のデータ
をそのまま補間し、白色部分は(7)=((1)+
(4))/2,(8)=((2)+(5))/2,
(9)=((3)+(6))/2として補間する。
The gray part is obtained by directly interpolating the data of the adjacent black part, and the white part is (7) = ((1) +
(4)) / 2, (8) = ((2) + (5)) / 2
Interpolation is performed as (9) = ((3) + (6)) / 2.

【0073】つぎに、図4の白色部分を復元するために
最近傍法をもちいた。これは、白色部分は黒色部分のデ
ータをそのまま補間する。これによって、輝度Y成分を
すべて最近傍法で復元するのと比べて、速度は落ちる
が、ジャギーがあまり目立たなく画質をある程度保つこ
とができる。
Next, the nearest neighbor method was used to restore the white portion of FIG. In this method, the white portion directly interpolates the data of the black portion. As a result, as compared with the case where all the luminance Y components are restored by the nearest neighbor method, the speed is reduced, but the image quality can be maintained to a certain extent with less jaggies.

【0074】ここで、輝度成分におけるXy×Yy画素
からm×n画素を生成するとしたとき、m−Xy≧3,
n−Yy≧3もしくは2x<m,2y<nかつX≦Xy,
Y≦Yyであることで、補間法を組み合わせることによ
る効果がある。
Here, when it is assumed that m × n pixels are generated from Xy × Yy pixels in the luminance component, m−Xy ≧ 3,
n−Yy ≧ 3 or 2x <m, 2y <n and X ≦ Xy,
When Y ≦ Yy, there is an effect by combining the interpolation methods.

【0075】よって、図15は上記実施の形態1の内容
について、上記の処理の流れを示したものである。
FIG. 15 shows the flow of the above-described processing for the contents of the first embodiment.

【0076】図5,6,7は実施の形態2にかかる発明
の実施例を示したものである。カラー画像データについ
て、図5は輝度成分、図6は一方の色差成分、図7はも
う一方の色差成分についての間引き位置の図である。こ
こで、3つの成分とも黒色部分は重なる画素がないよう
にする。
FIGS. 5, 6, and 7 show examples of the invention according to the second embodiment. Regarding the color image data, FIG. 5 shows a luminance component, FIG. 6 shows one color difference component, and FIG. 7 shows a thinning position of another color difference component. Here, it is assumed that there is no pixel in which the black portions of all three components overlap.

【0077】これによって、色差の2成分を同じ位置に
情報を持つのと比べてより広い範囲で情報を持つこと
で、まったく情報をもたない画素の数を減らし、画質劣
化をより低減させる。
As a result, by holding information in a wider range than when two components of color difference are held at the same position, the number of pixels having no information is reduced, and image quality deterioration is further reduced.

【0078】ここで、5×5画素を1単位とする。図5
について、黒色部分である2×2画素から5×5画素を
生成するとき、黒色部分以外の補間を一つ以上の方法で
補間する。また、図6,7について、黒色部分である2
×2画素から5×5画素を生成するときそれぞれ一つず
つ異なる方法で補間する。
Here, 5 × 5 pixels are defined as one unit. FIG.
When generating 5 × 5 pixels from 2 × 2 pixels which are black portions, interpolation other than the black portions is performed by one or more methods. 6 and 7, the black portion 2
When generating 5 × 5 pixels from × 2 pixels, they are interpolated by different methods one by one.

【0079】図5の黒色部分の2辺に隣接している画素
を灰色部分とする場合、灰色部分を第1の方法で補間
し、白色部分を第1以外の方法で補間する。灰色部分に
最近傍法、白色部分に三次補間法をもちいる。
When a pixel adjacent to two sides of the black portion in FIG. 5 is set as a gray portion, the gray portion is interpolated by the first method, and the white portion is interpolated by a method other than the first method. The nearest neighbor method is used for gray parts, and the cubic interpolation method is used for white parts.

【0080】すなわち、灰色部分は隣接している黒色部
分のデータをそのまま補間する。また、(1)〜(1
6)をそれぞれ点G〜Vとし、(17)を点Zとする。
点Zの周囲の16点G〜Vをもちい、以下の式によって
(17)に補間する。
That is, in the gray part, the data of the adjacent black part is directly interpolated. Also, (1) to (1)
6) are points G to V, and (17) is a point Z.
Using the 16 points G to V around the point Z, interpolation is made to (17) by the following equation.

【0081】f(Z)=f(G)C(xG―xZ)C(yG―
yZ)+f(H)C(xH―xZ)C(yH―yZ)+‥‥+
f(V)C(xV―xZ)C(yV―yZ)
F (Z) = f (G) C (xG-xZ) C (yG-
yZ) + f (H) C (xH-xZ) C (yH-yZ) + ‥‥ +
f (V) C (xV-xZ) C (yV-yZ)

【0082】 C(t)= 1−2t2+|t|3 (0≦|t|<1)C (t) = 1-2t2 + | t | 3 (0 ≦ | t | <1)

【0083】 C(t)= 4−8|t|+5t2―|t|3 (1≦|t|<2)C (t) = 4-8 | t | + 5t2- | t | 3 (1 ≦ | t | <2)

【0084】 C(t)= 0 (2≦|t|)C (t) = 0 (2 ≦ | t |)

【0085】ここでC(t)は、サンプリング定理を構
成する関数sinπx/πxの近似式であり、式はR、
G、Bの各成分ごとに使用される。16点の情報をもち
いて補間するため、線形補間をもちいるよりも速度は落
ちるが、ぼやけを低減させ高画質となる。なお、前記所
定は表示装置の表示能力や観察距離等の条件によって決
定されるものであり、前記値は例にすぎない。
Here, C (t) is an approximate expression of a function sinπx / πx constituting the sampling theorem.
Used for each of the components G and B. Since interpolation is performed using 16 points of information, the speed is lower than when linear interpolation is used, but blurring is reduced and high image quality is obtained. The predetermined value is determined by conditions such as the display capability of the display device and the observation distance, and the above values are merely examples.

【0086】つぎに、図6の白色部分を復元するために
最近傍法をもちいた。これは、白色部分は黒色部分のデ
ータをそのまま補間する。また、図7の白色部分を復元
するために三次補間法をもちいた。
Next, the nearest neighbor method was used to restore the white portion of FIG. In this method, the white portion directly interpolates the data of the black portion. In addition, a cubic interpolation method was used to restore the white portion in FIG.

【0087】これは、図5と同様に補間する。これによ
って、一方の色差成分を最近傍法で復元するのと比べて
速度はかなり落ちるが、高画質となる。
This is interpolated as in FIG. As a result, the speed is considerably reduced as compared with the case where one of the color difference components is restored by the nearest neighbor method, but the image quality is high.

【0088】ここで、輝度成分におけるXy×Yy画素
からm×n画素を生成するとしたとき、m−Xy≧3,
n−Yy≧3もしくは2x<m,2y<nかつX≦Xy,
Y≦Yyであることで、補間法を組み合わせることによ
る効果がある。
Here, when it is assumed that m × n pixels are generated from Xy × Yy pixels in the luminance component, m−Xy ≧ 3,
n−Yy ≧ 3 or 2x <m, 2y <n and X ≦ Xy,
When Y ≦ Yy, there is an effect by combining the interpolation methods.

【0089】よって、図16は実施の形態2にかかる発
明の実施例について、上記の処理の流れを示したもので
ある。
FIG. 16 shows the flow of the above-mentioned processing in the example of the invention according to the second embodiment.

【0090】図8,9,10は実施の形態3の内容を示
したものである。カラー画像データについて、図8は輝
度成分、図9は一方の色差成分、図10はもう一方の色
差成分についての間引き位置の図である。ここで、3つ
の成分の黒色部分は重なる画素が最小限になるようにす
る。
FIGS. 8, 9, and 10 show the contents of the third embodiment. FIG. 8 is a diagram illustrating the thinning position of the color image data, FIG. 9 is a diagram illustrating the thinning position of one color difference component, and FIG. Here, the black portions of the three components are arranged such that overlapping pixels are minimized.

【0091】色差の2成分を同じ位置に情報を持つのと
比べてある程度広い範囲に情報を持たせることで、まっ
たく情報をもたない画素の数を減らし、より画質劣化を
低減させる。
By providing information in a wider range to some extent as compared to having two components of color difference at the same position, the number of pixels having no information is reduced, and image quality deterioration is further reduced.

【0092】ここで、5×5画素を1単位とする。図
8,10について、黒色部分である3×3画素から5×
5画素を生成するとき、黒色部分以外の補間を一つ以上
の方法で補間する。また、図9について、黒色部分であ
る3×3画素から5×5画素を生成するときそれぞれ一
つずつ異なる方法で補間する。
Here, 5 × 5 pixels are defined as one unit. 8 and 10, 3 × 3 pixels, which are black portions, are converted to 5 ×
When generating five pixels, interpolation other than the black part is performed by one or more methods. Referring to FIG. 9, when generating 5 × 5 pixels from 3 × 3 pixels which are black portions, interpolation is performed one by one using a different method.

【0093】まず、図8,10の黒色部分の2辺に隣接
している画素を灰色部分とする場合、灰色部分をある方
法で補間し、白色部分を他の方法で補間する。灰色部分
に最近傍法、白色部分に線形補間をもちいた。
First, when a pixel adjacent to two sides of the black portion in FIGS. 8 and 10 is set as a gray portion, the gray portion is interpolated by a certain method and the white portion is interpolated by another method. The nearest neighbor method was used for the gray part, and the linear interpolation was used for the white part.

【0094】灰色部分は隣接している黒色部分のデータ
をそのまま補間し、白色部分は(7)=((1)+
(4))/2,(8)=((2)+(5))/2,
(9)=((3)+(6))/2として補間する。
In the gray part, the data of the adjacent black part is directly interpolated, and in the white part, (7) = ((1) +
(4)) / 2, (8) = ((2) + (5)) / 2
Interpolation is performed as (9) = ((3) + (6)) / 2.

【0095】つぎに、図9の白色部分を復元するために
最近傍法をもちいた。これは、白色部分は黒色部分のデ
ータをそのまま補間する。これによって、色差V成分を
最近傍法のみでするのと比べて速度は少し落ちるが、ジ
ャギーがあまり目立たなくなり画質をある程度向上させ
る。
Next, the nearest neighbor method was used to restore the white portion of FIG. In this method, the white portion directly interpolates the data of the black portion. As a result, although the speed is slightly reduced as compared with the case where the color difference V component is obtained only by the nearest neighbor method, jaggies become less noticeable and the image quality is improved to some extent.

【0096】よって、図17は実施の形態3にかかる発
明の実施例について、上記の処理の流れを示したもので
ある。
FIG. 17 shows the flow of the above-mentioned processing in the example of the invention according to the third embodiment.

【0097】図11,12,13は実施の形態4の内容
を示したものである。カラー画像データについて、図1
1は輝度成分、図12は一方の色差成分、図13はもう
一方の色差成分についての間引き位置の図である。3つ
の成分を図11,12,13のようにドット分散型にす
る。
FIGS. 11, 12, and 13 show the contents of the fourth embodiment. FIG. 1 shows color image data.
1 is a luminance component, FIG. 12 is a diagram of one color difference component, and FIG. 13 is a diagram of a thinning position of another color difference component. The three components are of a dot dispersion type as shown in FIGS.

【0098】これによって、まったく情報をもたない画
素の数を理想的に分散することで、高画質とすることが
でき、3成分とも最近傍法によって復元する。ここで、
白色部分は黒色部分のデータをそのまま補間する。これ
は、輝度成分にも最近傍法をもちいることで、高速にす
る。
Thus, by ideally dispersing the number of pixels having no information at all, high image quality can be achieved, and all three components are restored by the nearest neighbor method. here,
For the white part, the data of the black part is directly interpolated. This is to increase the speed by using the nearest neighbor method for the luminance component.

【0099】よって、図18は実施の形態4の内容につ
いて、上記の処理の流れを示したものである。
FIG. 18 shows the flow of the above processing for the contents of the fourth embodiment.

【0100】また、図14は本願にかかる装置構成の例
を示したものである。データバスを介して、HDD、R
AM1(PC内)、CPU1(PC内)、プリンタが接続さ
れている。オリジナル画像のプリントアウトに際し、圧
縮され、圧縮後のデータがプリンタに送信される。プリ
ンタへの送信データ量が低減されるため、送信時間が短
縮され、圧縮・伸張に要する時間を加味しても、高速な
プリントが可能になる。
FIG. 14 shows an example of an apparatus configuration according to the present invention. HDD, R via data bus
AM1 (in PC), CPU1 (in PC), and printer are connected. When the original image is printed out, the data is compressed and the compressed data is transmitted to the printer. Since the amount of data to be transmitted to the printer is reduced, the transmission time is shortened, and high-speed printing is possible even in consideration of the time required for compression and decompression.

【0101】HDD上に記録されたオリジナル画像
は、CPUからの命令によってRAM上に読み込まれ
る。
The original image recorded on the HDD is read into the RAM according to a command from the CPU.

【0102】CPU1は、RAM1上の画像を読み込
み、圧縮をおこなう。
The CPU 1 reads an image on the RAM 1 and performs compression.

【0103】CPU1は、圧縮後のデータをRAM1
上の別の領域に書き込む。
The CPU 1 stores the compressed data in the RAM 1
Write to another area above.

【0104】CPU1からの命令によって、圧縮後の
データがプリンタ内のRAM2上に記録される。
The data after compression is recorded on the RAM 2 in the printer in accordance with an instruction from the CPU 1.

【0105】プリンタ内のCPU2は、圧縮後のデー
タを読み込み、復号値を得、画像の伸張をおこなう。
The CPU 2 in the printer reads the compressed data, obtains a decoded value, and expands the image.

【0106】CPU2は、伸張後のデータをRAM2
上に書き込む。
The CPU 2 stores the expanded data in the RAM 2
Write on top.

【0107】その後プリンタは、伸張されたデータを
所定の手順[変倍がかかる]でプリントアウトする。
Thereafter, the printer prints out the decompressed data according to a predetermined procedure [magnification is applied].

【0108】以上説明したように、本実施の形態によれ
ば、間引かれたカラー画像データをもちいて、原画素群
のデータを補間する装置であって、輝度成分は二つ以上
の補間方法、二つの色差成分は輝度成分の補間方法の数
以下であるので、輝度成分を色差成分よりも補間方法の
数を多くすることで、高画質とすることができる。
As described above, according to the present embodiment, there is provided an apparatus for interpolating data of an original pixel group using thinned color image data. Since the two color difference components are equal to or less than the number of luminance component interpolation methods, high image quality can be achieved by increasing the number of interpolation methods for the luminance components compared to the color difference components.

【0109】また、本実施の形態によれば、間引かれた
カラー画像データをもちいて、原画素群のデータを補間
する装置であって、輝度成分と一方の色差成分は二つ以
上の補間方法、もう一方の色差成分は輝度成分と一方の
色差成分の補間方法の数以下であるため、二つの色差成
分それぞれの特性によって、補間方法の数を変化させる
ことで、高画質とすることができる。
Further, according to the present embodiment, there is provided an apparatus for interpolating data of an original pixel group using thinned color image data, wherein a luminance component and one color difference component are two or more interpolation components. Method, the other color difference component is equal to or less than the number of interpolation methods for the luminance component and one color difference component, so that high image quality can be obtained by changing the number of interpolation methods according to the characteristics of each of the two color difference components. it can.

【0110】また、本実施の形態によれば、輝度成分は
二つの補間方法で補間し、二つの色差成分は一つの方法
で補間するため、3成分をすべて同じ方法で補間するの
と比べて、高速かつ高画質にすることができる。
Further, according to the present embodiment, the luminance component is interpolated by two interpolation methods, and the two chrominance components are interpolated by one method, so that all three components are interpolated by the same method. , High speed and high image quality.

【0111】また、本実施の形態によれば、輝度成分は
二つの補間方法で補間し、一方の色差成分は一つの補間
方法で補間し、もう一方の色差成分は一方の色差成分に
適用した補間方法とは異なる補間方法で補間するため、
二つの色差成分を同じ補間方法で復元するのと比べて、
それぞれの成分の特性に合った補間方法を選択すること
ができるため、高画質にすることができる。
According to the present embodiment, the luminance component is interpolated by two interpolation methods, one color difference component is interpolated by one interpolation method, and the other color difference component is applied to one color difference component. Since interpolation is performed using an interpolation method different from the interpolation method,
Compared to reconstructing two color difference components using the same interpolation method,
Since an interpolation method suitable for the characteristics of each component can be selected, high image quality can be achieved.

【0112】また、本実施の形態によれば、輝度成分と
一方の色差成分は二つの補間方法で補間し、もう一方の
補間方法は一つの補間方法で補間するため、もう一方の
色差成分を一つの方法で復元するのと比べて、高速かつ
高画質にすることができる。
According to the present embodiment, the luminance component and one color difference component are interpolated by two interpolation methods, and the other interpolation method is interpolated by one interpolation method. Higher speed and higher image quality can be achieved as compared with the case where restoration is performed by one method.

【0113】また、本実施の形態によれば、カラー画像
データについて、原画素群のデータを間引く装置であっ
て、輝度成分と二つの色差成分において、それぞれの間
引く範囲の画素群が重なる画素のないので、3成分とも
同じ位置に情報を持つのと比べて広い範囲で情報を持つ
ことで、まったく情報をもたない画素の数を減らし、補
間による画質劣化を低減させることができる。
Further, according to the present embodiment, an apparatus for thinning out the data of the original pixel group from the color image data is provided. Since there is no information, it is possible to reduce the number of pixels having no information at all and to reduce the image quality deterioration due to interpolation by having information in a wider range than when all three components have information at the same position.

【0114】また、本実施の形態によれば、カラー画像
データについて、原画素群のデータを間引く装置であっ
て、輝度成分と一方の色差成分ともう一方の色差成分に
おいて、それぞれの間引く範囲の画素群が重なる画素の
ないので、色差の2成分を同じ位置に情報を持つのと比
べてより広い範囲で情報を持つことで、まったく情報を
もたない画素の数を減らし、画質劣化をより低減させる
ことができる。
Further, according to the present embodiment, an apparatus for thinning out the data of the original pixel group from the color image data, wherein the luminance component, the one color difference component and the other color difference component have the respective thinning ranges Since there is no overlapping pixel group, having two pieces of color difference information in the same position and having information over a wider range reduces the number of pixels that have no information at all and reduces image quality degradation. Can be reduced.

【0115】また、本実施の形態によれば、カラー画像
データについて、原画素群のデータを間引く装置であっ
て、輝度成分と二つの色差成分において、それぞれの間
引く範囲の画素群が最小限となるので、3成分とも同じ
位置に情報を持つのと比べてある程度広い範囲に情報を
持たせることで、まったく情報をもたない画素の数を減
らし、画質劣化をほどほどに低減させることができる。
Further, according to the present embodiment, an apparatus for thinning out the data of the original pixel group from the color image data, wherein the number of pixels in the thinning-out range of each of the luminance component and the two color difference components is minimized. Therefore, by providing information in a somewhat wider range than when all three components have information at the same position, the number of pixels having no information can be reduced, and image quality degradation can be reduced moderately.

【0116】また、本実施の形態によれば、カラー画像
データについて、原画素群のデータを間引く装置であっ
て、輝度成分と一方の色差成分ともう一方の色差成分に
おいて、それぞれの間引く範囲の画素群が最小限となる
ので、色差の2成分を同じ位置に情報を持つのと比べて
ある程度広い範囲に情報を持たせることで、まったく情
報をもたない画素の数を減らし、より画質劣化を低減さ
せることができる。
Further, according to the present embodiment, an apparatus for thinning out the data of the original pixel group from the color image data, wherein the luminance component, one of the color difference components and the other color difference component has the respective thinning ranges. Since the number of pixels is minimized, the number of pixels that have no information is reduced by providing information in a somewhat wider range than when two components of color difference are stored in the same position, thereby further deteriorating image quality. Can be reduced.

【0117】また、本実施の形態によれば、カラー画像
データについて、原画素群のデータを間引く装置であっ
て、輝度成分と色差成分と色差成分の間引く範囲の画素
群がそれぞれドット分散型であるので、まったく情報を
もたない画素の数を理想的に分散することで、高画質と
することができる。
Further, according to the present embodiment, an apparatus for thinning out the data of the original pixel group from the color image data, wherein each of the pixel groups in the range in which the luminance component, the color difference component and the color difference component are thinned out is of a dot dispersion type. Since there is an ideal number of pixels having no information at all, high image quality can be achieved.

【0118】また、本実施の形態によれば、輝度成分と
二つの色差成分をそれぞれ最近傍法で復元するので、輝
度成分に最近傍法のみもちいることである程度高速を保
つことができる。
Further, according to the present embodiment, since the luminance component and the two color difference components are respectively restored by the nearest neighbor method, it is possible to maintain a high speed to some extent by using only the nearest neighbor method for the luminance component.

【0119】また、本実施の形態によれば、輝度成分に
おける間引く範囲の画素群、一方の色差成分における間
引く範囲の画素群に隣接する画素を最近傍法で復元する
ので、最近傍法で復元する画素が少ないことで速度は落
ちるが、ジャギーがあまり目立たなく画質をある程度保
つことができる。
Further, according to the present embodiment, pixels adjacent to a pixel group in a thinning range of a luminance component and pixels adjacent to a pixel group in a thinning range of one color difference component are restored by a nearest neighbor method. Although the number of pixels is small, the speed is reduced, but the image quality can be maintained to some extent without jaggies being noticeable.

【0120】また、本実施の形態によれば、最近傍法で
復元する以外の他の画素を線形補間法で復元するので、
輝度Y成分または色差V成分をすべて最近傍法で復元す
るのと比べて、ある程度の速度を保ちつつ画質を保つこ
とができる。
According to the present embodiment, pixels other than those restored by the nearest neighbor method are restored by the linear interpolation method.
Compared with the case where all of the luminance Y component or the color difference V component is restored by the nearest neighbor method, the image quality can be maintained while maintaining a certain speed.

【0121】また、本実施の形態によれば、最近傍法で
復元する以外の他の画素を三次補間法で復元するので、
線形補間法で復元するのと比べて速度は落ちるが画質が
向上することができる。
According to the present embodiment, pixels other than those restored by the nearest neighbor method are restored by the cubic interpolation method.
The image quality can be improved though the speed is reduced as compared with the case where restoration is performed by the linear interpolation method.

【0122】また、本実施の形態によれば、二つまたは
一方の色差成分を最近傍法で復元するので、二つまたは
一つの色差成分をすべて最近傍法で復元することで速度
を保つことができる。
Further, according to the present embodiment, since two or one of the color difference components is restored by the nearest neighbor method, the speed is maintained by restoring all the two or one color difference components by the nearest neighbor method. Can be.

【0123】また、本実施の形態によれば、一方の色差
成分を最近傍法で復元し、もう一方の色差成分を三次補
間法で復元するので、、一方の色差成分をすべて最近傍
法で復元するのと比べて速度は落ちるが、高画質とする
ことができる。
According to the present embodiment, one of the chrominance components is restored by the nearest neighbor method, and the other chrominance component is restored by the cubic interpolation method. Although the speed is lower than that of the restoration, the image quality can be improved.

【0124】また、本実施の形態によれば、輝度成分に
おける第1の画素群をXy×Yy画素、第2の画素群を
m×n画素とし、一方の色差成分における第3の画素群
をXu×Yu画素、第4の画素群をmu×nu画素とし、も
う一方の色差成分における第5の画素群をXv×Yv画
素、第6の画素群をmv×nv画素としたので、矩形と
することで、簡易な形態であるため高速に補間すること
ができる。
According to the present embodiment, the first pixel group in the luminance component is Xy × Yy pixels, the second pixel group is m × n pixels, and the third pixel group in one color difference component is Xu × Yu pixels, the fourth pixel group is mu × nu pixels, the fifth pixel group in the other color difference component is Xv × Yv pixels, and the sixth pixel group is mv × nv pixels. By doing so, interpolation can be performed at high speed because of the simple form.

【0125】また、本実施の形態によれば、m−Xy≧
3,n−Yy≧3もしくは2x<m,2y<nであるの
で、画素の幅が開くことで高速かつ画質を維持するとい
う効果を保つことができる。
According to the present embodiment, m−Xy ≧
Since 3, n−Yy ≧ 3 or 2x <m, 2y <n, it is possible to maintain the effect of maintaining the image quality at high speed by widening the pixel width.

【0126】また、画像データ間引き・補間方法は、あ
らかじめ用意されたコンピュータ読み取り可能なプログ
ラムであってもよく、またそのプログラムをパーソナル
コンピュータやワークステーションなどのコンピュータ
で実行することによって実現される。このプログラム
は、HD(ハードディスク)、FD(フロッピー(登録
商標)ディスク)、CD−ROM、MO、DVDなどの
コンピュータで読み取り可能な記録媒体に記録され、コ
ンピュータによって記録媒体から読み出されることによ
って実行される。また、このプログラムは、インターネ
ットなどのネットワークを介して配布することが可能な
伝送媒体であってもよい。
Further, the image data thinning / interpolating method may be a computer-readable program prepared in advance, and is realized by executing the program on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as an HD (hard disk), FD (floppy (registered trademark) disk), CD-ROM, MO, or DVD, and is executed by being read from the recording medium by the computer. You. Further, the program may be a transmission medium that can be distributed via a network such as the Internet.

【0127】[0127]

【発明の効果】以上説明したように、請求項1に記載の
装置においては、輝度成分を色差成分よりも補間方法の
数を多くすることで、高画質とすることができるという
効果を奏する。
As described above, the apparatus according to the first aspect has an effect that high image quality can be obtained by increasing the number of interpolation methods for the luminance component and the color difference component.

【0128】また、請求項2に記載の装置においては、
二つの色差成分それぞれの特性によって、補間方法の数
を変化させることで、高画質とすることができるという
効果を奏する。
Further, in the device according to the second aspect,
By changing the number of interpolation methods depending on the characteristics of each of the two color difference components, there is an effect that high image quality can be achieved.

【0129】また、請求項3に記載の装置においては、
3成分をすべて同じ方法で補間するのと比べて、高速か
つ高画質にすることができるという効果を奏する。
Further, in the device according to the third aspect,
As compared with the case where all three components are interpolated by the same method, there is an effect that high speed and high image quality can be achieved.

【0130】また、請求項4に記載の装置においては、
二つの色差成分を同じ補間方法で復元するのと比べて、
それぞれの成分の特性に合った補間方法を選択すること
で、高画質にすることができるという効果を奏する。
Further, in the device according to the fourth aspect,
Compared to reconstructing two color difference components using the same interpolation method,
By selecting an interpolation method suitable for the characteristics of each component, there is an effect that high image quality can be achieved.

【0131】また、請求項5に記載の装置においては、
もう一方の色差成分を一つの方法で復元するのと比べ
て、高速かつ高画質にすることができるという効果を奏
する。
In the apparatus according to the fifth aspect,
As compared with the case where the other color difference component is restored by one method, an effect that high speed and high image quality can be obtained is achieved.

【0132】また、請求項6に記載の装置においては、
3成分とも同じ位置に情報を持つのと比べて広い範囲で
情報を持つことで、まったく情報をもたない画素の数を
減らし、補間による画質劣化を低減させることができる
という効果を奏する。
In the apparatus according to the sixth aspect,
By having information in a wider range than when all three components have information at the same position, it is possible to reduce the number of pixels having no information at all and to reduce the deterioration of image quality due to interpolation.

【0133】また、請求項7に記載の装置においては、
色差の2成分を同じ位置に情報を持つのと比べてより広
い範囲で情報を持つことで、まったく情報をもたない画
素の数を減らし、画質劣化をより低減させることができ
るという効果を奏する。
In the apparatus according to the seventh aspect,
By having information over a wider range than having two components of color difference at the same position, it is possible to reduce the number of pixels having no information at all and to reduce image quality deterioration. .

【0134】また、請求項8に記載の装置においては、
3成分とも同じ位置に情報を持つのと比べてある程度広
い範囲に情報を持たせることで、まったく情報をもたな
い画素の数を減らし、画質劣化をほどほどに低減させる
ことができるという効果を奏する。
In the apparatus according to the eighth aspect,
By providing information in a somewhat wider range as compared to having information at the same position for all three components, the number of pixels having no information can be reduced and the image quality degradation can be reduced moderately. .

【0135】また、請求項9に記載の装置においては、
色差の2成分を同じ位置に情報を持つのと比べてある程
度広い範囲に情報を持たせることで、まったく情報をも
たない画素の数を減らし、より画質劣化を低減させるこ
とができるという効果を奏する。
Further, in the device according to the ninth aspect,
By providing information in a wider range to some extent than having two components of color difference at the same position, the effect of reducing the number of pixels having no information at all and reducing image quality deterioration can be reduced. Play.

【0136】また、請求項10に記載の装置において
は、まったく情報をもたない画素の数を理想的に分散す
ることで、高画質とすることができるという効果を奏す
る。
Further, in the device according to the tenth aspect, by dispersing the number of pixels having no information at all ideally, there is an effect that high image quality can be obtained.

【0137】また、請求項11に記載の装置において
は、輝度成分に最近傍法のみもちいることである程度高
速を保つことができるという効果を奏する。
In the apparatus according to the eleventh aspect, the use of only the nearest neighbor method for the luminance component has an effect that a high speed can be maintained to some extent.

【0138】また、請求項12に記載の装置において
は、最近傍法で復元する画素が少ないことで速度は落ち
るが、ジャギーがあまり目立たなく画質をある程度保つ
ことができるという効果を奏する。
Further, in the device according to the twelfth aspect, although the speed is reduced due to a small number of pixels restored by the nearest neighbor method, the effect that jaggies are not so noticeable and the image quality can be maintained to some extent.

【0139】また、請求項13に記載の装置において
は、輝度成分または色差成分をすべて最近傍法で復元す
るのと比べて、ある程度の速度を保ちつつ画質を保つこ
とができるという効果を奏する。
Further, in the apparatus according to the thirteenth aspect, it is possible to maintain the image quality while maintaining a certain speed as compared with the case where all the luminance components or the color difference components are restored by the nearest neighbor method.

【0140】また、請求項14に記載の装置において
は、線形補間法で復元するのと比べて速度は落ちるが画
質が向上するという効果を奏する。
The apparatus according to the fourteenth aspect has the effect that the image quality is improved although the speed is reduced as compared with the case where the image is restored by the linear interpolation method.

【0141】また、請求項15に記載の装置において
は、二つまたは一つの色差成分をすべて最近傍法で復元
することで速度を保つことができるという効果を奏す
る。
The apparatus according to the fifteenth aspect has an effect that the speed can be maintained by restoring all two or one color difference components by the nearest neighbor method.

【0142】また、請求項16に記載の装置において
は、一方の色差成分をすべて最近傍法で復元するのと比
べて速度は落ちるが、高画質とすることができるという
効果を奏する。
Further, in the apparatus according to the sixteenth aspect, although the speed is reduced as compared with the case where all the color difference components are restored by the nearest neighbor method, there is an effect that high image quality can be obtained.

【0143】また、請求項17に記載の装置において
は、矩形とすることで、簡易な形態であるため高速に補
間することができるという効果を奏する。
Further, in the device according to the seventeenth aspect, the rectangular shape has an effect that interpolation can be performed at high speed because of a simple form.

【0144】また、請求項18に記載の装置において
は、画素の幅が開くことで高速かつ画質を維持するとい
う効果を保つことができるという効果を奏する。
In the device according to the eighteenth aspect, the effect of maintaining the high speed and maintaining the image quality can be maintained by widening the width of the pixel.

【0145】また、請求項19に記載の方法において
は、請求項1に記載の画像補間方法の提案であり、3成
分をすべて同じ方法で補間するのと比べて、高速かつ高
画質にすることができるという効果を奏する。
The method according to claim 19 is a proposal of the image interpolation method according to claim 1, which achieves higher speed and higher image quality as compared with the case where all three components are interpolated by the same method. This has the effect that it can be performed.

【0146】また、請求項20に記載の方法において
は、請求項6に記載の画像圧縮方法の提案であり、広い
範囲に情報を持たせることで、まったく情報をもたない
画素による画質劣化を低減させることができるという効
果を奏する。
Further, the method according to claim 20 is a proposal of the image compression method according to claim 6, wherein information is provided in a wide range so that image quality deterioration due to a pixel having no information is prevented. This has the effect of being able to be reduced.

【0147】また、請求項21に記載の方法において
は、請求項8に記載の画像圧縮方法の提案であり、ある
程度広い範囲に情報を持たせることで、まったく情報を
もたない画素による画質劣化を低減させることができる
という効果を奏する。
Further, the method according to claim 21 is a proposal of the image compression method according to claim 8, wherein the image is degraded by a pixel having no information by providing information in a certain wide range. Can be reduced.

【0148】また、請求項22に記載の方法において
は、請求項9に記載の画像圧縮方法の提案であり、成分
をそれぞれドット分散型にすることで補間方法を簡易に
することができるという効果を奏する。
Further, the method according to claim 22 is a proposal of the image compression method according to claim 9, wherein the interpolation method can be simplified by making each component a dot dispersion type. To play.

【0149】また、請求項23または25においては、
コンピュータに上記各機能を実現させることができると
いう効果を奏する。
Further, in claim 23 or 25,
There is an effect that the above functions can be realized by a computer.

【0150】また、請求項24または26に記載の発明
にかかるコンピュータ読み取り可能な記録媒体によれ
ば、上記の機能をコンピュータに実行させるプログラム
を記録したことで、そのプログラムをコンピュータ読み
取り可能となり、これによって、上記動作をコンピュー
タによって実現することができるという効果を奏する。
According to the computer-readable recording medium of the invention according to claim 24 or 26, by recording a program for causing a computer to execute the above functions, the program can be read by a computer. Accordingly, an effect is obtained that the above operation can be realized by a computer.

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

【図1】この発明の本実施の形態にかかる画像データ間
引き・補間装置の内容を示す説明図である。
FIG. 1 is an explanatory diagram showing contents of an image data thinning / interpolating apparatus according to an embodiment of the present invention;

【図2】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 2 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図3】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 3 is an explanatory diagram showing another content of the image data thinning / interpolating device according to the embodiment of the present invention;

【図4】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 4 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図5】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 5 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図6】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 6 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図7】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 7 is an explanatory diagram showing another content of the image data thinning / interpolating device according to the embodiment of the present invention;

【図8】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 8 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図9】この発明の本実施の形態にかかる画像データ間
引き・補間装置の別の内容を示す説明図である。
FIG. 9 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図10】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の内容を示す説明図である。
FIG. 10 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図11】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の内容を示す説明図である。
FIG. 11 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図12】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の内容を示す説明図である。
FIG. 12 is an explanatory diagram showing another content of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図13】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の内容を示す説明図である。
FIG. 13 is an explanatory diagram showing another content of the image data thinning / interpolating device according to the embodiment of the present invention;

【図14】この発明の本実施の形態にかかる画像データ
間引き・補間装置の装置の構成例を示す説明図である。
FIG. 14 is an explanatory diagram showing a configuration example of an image data thinning / interpolating device according to the embodiment of the present invention;

【図15】この発明の本実施の形態にかかる画像データ
間引き・補間装置の処理の流れを示すフローチャートで
ある。
FIG. 15 is a flowchart illustrating a flow of processing of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図16】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の処理の流れを示すフローチャー
トである。
FIG. 16 is a flowchart showing another processing flow of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図17】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の処理の流れを示すフローチャー
トである。
FIG. 17 is a flowchart showing another processing flow of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

【図18】この発明の本実施の形態にかかる画像データ
間引き・補間装置の別の処理の流れを示すフローチャー
トである。
FIG. 18 is a flowchart showing another processing flow of the image data thinning / interpolating apparatus according to the embodiment of the present invention;

フロントページの続き Fターム(参考) 5B057 CA01 CA08 CA16 CB01 CB08 CB16 CC02 CD06 CD07 CH01 CH11 CH14 5C076 AA21 AA22 BA06 BB04 BB06 BB15 BB24 BB40 5C077 LL19 MP08 NP05 PP20 PP28 PP36 PQ12 PQ22 RR19 TT02 5C079 HB09 LA17 LA28 LA37 MA02 MA11 NA01 PA03 Continued on the front page F-term (reference) 5B057 CA01 CA08 CA16 CB01 CB08 CB16 CC02 CD06 CD07 CH01 CH11 CH14 5C076 AA21 AA22 BA06 BB04 BB06 BB15 BB24 BB40 5C077 LL19 MP08 NP05 PP20 PP28 PP36 PQ12 PQ22 LA17B02 LA0211 PA03

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 間引かれたカラー画像データをもちい
て、原画素群のデータを補間する画像データ間引き・補
間装置であって、 輝度成分は二つ以上の補間方法で補間し、 二つの色差成分は輝度成分の補間方法の種類以下の方法
で補間することを特徴とする画像データ間引き・補間装
置。
An image data thinning-out / interpolating apparatus for interpolating data of an original pixel group using thinned color image data, wherein a luminance component is interpolated by two or more interpolation methods, An image data decimation / interpolation apparatus characterized in that the components are interpolated by the following methods.
【請求項2】 間引かれたカラー画像データをもちい
て、原画素群のデータを補間する画像データ間引き・補
間装置であって、 輝度成分と一方の色差成分は二つ以上の補間方法で補間
し、 もう一方の色差成分は輝度成分と一方の色差成分の補間
方法の種類以下の方法で補間することを特徴とする画像
データ間引き・補間装置。
2. An image data decimation / interpolation device for interpolating data of an original pixel group using thinned color image data, wherein a luminance component and one color difference component are interpolated by two or more interpolation methods. An image data decimation / interpolation apparatus characterized in that the other chrominance component is interpolated by the following method of the type of interpolation between the luminance component and one chrominance component.
【請求項3】 前記輝度成分は二つの補間方法で補間
し、 二つの色差成分は一つの方法で補間することを特徴とす
る請求項1に記載の画像データ間引き・補間装置。
3. The apparatus according to claim 1, wherein the luminance component is interpolated by two interpolation methods, and the two color difference components are interpolated by one method.
【請求項4】 前記輝度成分は二つの補間方法で補間
し、 一方の色差成分は一つの補間方法で補間し、 もう一方の色差成分は一方の色差成分に適用した補間方
法とは異なる補間方法で補間することを特徴とする請求
項1に記載の画像データ間引き・補間装置。
4. An interpolation method different from the interpolation method applied to one color difference component, wherein the luminance component is interpolated by two interpolation methods, one color difference component is interpolated by one interpolation method. 2. The image data thinning / interpolating apparatus according to claim 1, wherein interpolation is performed by:
【請求項5】 前記輝度成分と一方の色差成分は二つの
補間方法で補間し、もう一方の補間方法は一つの補間方
法で補間することを特徴とする請求項2に記載の画像デ
ータ間引き・補間装置。
5. The method according to claim 2, wherein the luminance component and one color difference component are interpolated by two interpolation methods, and the other interpolation method is interpolated by one interpolation method. Interpolator.
【請求項6】 カラー画像データについて、原画素群の
データを間引く画像データ間引き・補間装置であって、 輝度成分と二つの色差成分において、それぞれの間引く
範囲の画素群が重なる画素のないことを特徴とする画像
データ間引き・補間装置。
6. An image data thinning-out / interpolation apparatus for thinning out data of an original pixel group for color image data, wherein in a luminance component and two color difference components, there is no pixel in which a pixel group in each thinning-out range overlaps. Characteristic image data thinning / interpolation device.
【請求項7】 カラー画像データについて、原画素群の
データを間引く画像データ間引き・補間装置であって、 輝度成分と一方の色差成分ともう一方の色差成分におい
て、それぞれの間引く範囲の画素群が重なる画素のない
ことを特徴とする画像データ間引き・補間装置。
7. An image data thinning-out / interpolating apparatus for thinning out data of an original pixel group for color image data, wherein a pixel group in a thinning-out range of each of a luminance component, one color difference component, and another color difference component is obtained. An image data decimation / interpolation device characterized by having no overlapping pixels.
【請求項8】 カラー画像データについて、原画素群の
データを間引く画像データ間引き・補間装置であって、 輝度成分と二つの色差成分において、それぞれの間引く
範囲の画素群が最小限となることを特徴とする画像デー
タ間引き・補間装置。
8. An image data thinning-out / interpolating apparatus for thinning out data of an original pixel group with respect to color image data, wherein a pixel group in a thinning-out range of each of a luminance component and two color difference components is minimized. Characteristic image data thinning / interpolation device.
【請求項9】 カラー画像データについて、原画素群の
データを間引く画像データ間引き・補間装置であって、 輝度成分と一方の色差成分ともう一方の色差成分におい
て、それぞれの間引く範囲の画素群が最小限となること
を特徴とする画像間引き・補間装置。
9. An image data thinning-out / interpolating apparatus for thinning out data of an original pixel group for color image data, wherein a pixel group in a thinning-out range of each of a luminance component, one color difference component and another color difference component is provided. An image decimation / interpolation device characterized in that it is minimized.
【請求項10】 カラー画像データについて、原画素群
のデータを間引く画像データ間引き・補間装置であっ
て、 輝度成分と色差成分と色差成分の間引く範囲の画素群が
それぞれドット分散型であることを特徴とする画像デー
タ間引き・補間装置。
10. An image data thinning-out / interpolating apparatus for thinning out data of an original pixel group with respect to color image data, wherein a pixel group in a range where a luminance component, a color difference component, and a color difference component are thinned out is a dot dispersion type. Characteristic image data thinning / interpolation device.
【請求項11】 前記輝度成分と二つの色差成分をそれ
ぞれ最近傍法で復元することを特徴とする請求項10に
記載の画像データ間引き・補間装置。
11. The apparatus according to claim 10, wherein the luminance component and the two chrominance components are respectively restored by a nearest neighbor method.
【請求項12】 請求項6〜9のいずれか一つにおけ
る輝度成分における間引く範囲の画素群、あるいは、請
求項7または9における一方の色差成分における間引く
範囲の画素群に隣接する画素を最近傍法で復元すること
を特徴とする画像データ間引き・補間装置。
12. A pixel group in a range to be thinned out in a luminance component according to any one of claims 6 to 9, or a pixel adjacent to a pixel group in a range to be thinned out in one of the color difference components according to claim 7 or 9. An image data decimation / interpolation device characterized by restoration by a method.
【請求項13】 前記最近傍法で復元する以外の他の画
素を線形補間法で復元することを特徴とする請求項12
に記載の画像データ間引き・補間装置。
13. The method according to claim 12, further comprising restoring pixels other than the nearest neighbor method using a linear interpolation method.
2. The image data thinning / interpolating device according to 1.
【請求項14】 前記最近傍法で復元する以外の他の画
素を三次補間法で復元することを特徴とする請求項12
に記載の画像データ間引き・補間装置。
14. The method according to claim 12, wherein pixels other than the pixels restored by the nearest neighbor method are restored by a cubic interpolation method.
2. The image data thinning / interpolating device according to 1.
【請求項15】 二つまたは一方の色差成分を前記最近
傍法で復元することを特徴とする請求項6〜9のいずれ
か一つに記載の画像データ間引き・補間装置。
15. The apparatus for thinning out and interpolating image data according to claim 6, wherein two or one color difference components are restored by the nearest neighbor method.
【請求項16】 一方の色差成分を前記最近傍法で復元
し、もう一方の色差成分を前記三次補間法で復元するこ
とを特徴とする請求項7または9に記載の画像データ間
引き・補間装置。
16. The image data thinning / interpolating apparatus according to claim 7, wherein one color difference component is restored by the nearest neighbor method, and the other color difference component is restored by the cubic interpolation method. .
【請求項17】 前記輝度成分における第1の画素群を
Xy×Yy画素、第2の画素群をm×n画素とし、 一方の色差成分における第3の画素群をXu×Yu画素、
第4の画素群をmu×nu画素とし、 もう一方の色差成分における第5の画素群をXv×Yv
画素、第6の画素群をmv×nv画素としたことを特徴
とする請求項13または14に記載の画像データ間引き
・補間装置。
17. A first pixel group in the luminance component is Xy × Yy pixels, a second pixel group is m × n pixels, and a third pixel group in one color difference component is Xu × Yu pixels,
The fourth pixel group is mu × nu pixels, and the fifth pixel group in the other color difference component is Xv × Yv
15. The image data thinning / interpolating apparatus according to claim 13, wherein the pixels and the sixth pixel group are mv × nv pixels.
【請求項18】 前記m、前記n、前記Xy、前記Yy
が、 m−Xy≧3,n−Yy≧3もしくは2x<m,2y<n であることを特徴とする請求項17に記載の画像データ
間引き・補間装置。
18. The m, the n, the Xy, and the Yy
18. The image data thinning / interpolating apparatus according to claim 17, wherein m-Xy≥3, n-Yy≥3 or 2x <m, 2y <n.
【請求項19】 間引かれたカラー画像データについ
て、原画素群のデータを補間する装置であって、輝度成
分は二つ以上の補間方法、二つの色差成分は輝度成分の
補間方法の数以下であることを特徴とする画像データ間
引き・補間方法。
19. An apparatus for interpolating original pixel group data for thinned color image data, wherein a luminance component is equal to or more than two interpolation methods, and two color difference components are equal to or less than the number of luminance component interpolation methods. An image data thinning / interpolation method characterized by the following.
【請求項20】 カラー画像データについて、原画素群
のデータを間引く装置であって、輝度成分における第1
の範囲の画素群が二つの色差成分における第3,5の範
囲の画素群と重なる画素がないことを特徴とする画像デ
ータ間引き・補間方法。
20. An apparatus for thinning out data of an original pixel group for color image data, comprising:
Characterized in that no pixel group in the range of (1) overlaps with the pixel group in the third and fifth ranges of the two color difference components.
【請求項21】 カラー画像データについて、原画素群
のデータを間引く装置であって、輝度成分における第1
の範囲の画素群と二つの色差成分における第3,5の範
囲の画素群の重なる画素が最小限となることを特徴とす
る画像データ間引き・補間方法。
21. An apparatus for thinning out data of an original pixel group for color image data, comprising:
Wherein the number of overlapping pixels between the pixel group in the range and the pixel group in the third and fifth ranges in the two color difference components is minimized.
【請求項22】 カラー画像データについて、原画素群
のデータを間引く装置であって、輝度成分と色差成分と
色差成分の第1,3,5の範囲の画素群がそれぞれドッ
ト分散型であることを特徴とする画像データ間引き・補
間方法。
22. An apparatus for thinning out original pixel group data for color image data, wherein the first, third, and fifth pixel groups of a luminance component, a chrominance component, and a chrominance component are each a dot dispersion type. Image data thinning / interpolation method.
【請求項23】 コンピュータに請求項1〜18に記載
の画像データ間引き・補間装置の機能を実現させること
を特徴とする画像データ間引き・補間プログラム。
23. An image data decimation / interpolation program for causing a computer to realize the functions of the image data decimation / interpolation device according to claim 1. Description:
【請求項24】 請求項23に記載されたプログラムを
記録したことを特徴とするコンピュータ読み取り可能な
記録媒体。
24. A computer-readable recording medium on which the program according to claim 23 is recorded.
【請求項25】 コンピュータに請求項19〜22に記
載の画像データ間引き・補間方法の機能を実現させるこ
とを特徴とする画像データ間引き・補間プログラム。
25. An image data decimation / interpolation program for causing a computer to realize the functions of the image data decimation / interpolation method according to claim 19.
【請求項26】 請求項25に記載されたプログラムを
記録したことを特徴とするコンピュータ読み取り可能な
記録媒体。
26. A computer-readable recording medium on which the program according to claim 25 is recorded.
JP2001097764A 2001-03-30 2001-03-30 Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program Pending JP2002300377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001097764A JP2002300377A (en) 2001-03-30 2001-03-30 Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001097764A JP2002300377A (en) 2001-03-30 2001-03-30 Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program

Publications (1)

Publication Number Publication Date
JP2002300377A true JP2002300377A (en) 2002-10-11

Family

ID=18951502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001097764A Pending JP2002300377A (en) 2001-03-30 2001-03-30 Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program

Country Status (1)

Country Link
JP (1) JP2002300377A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287431A (en) * 2007-05-16 2008-11-27 Panasonic Electric Works Co Ltd Image distortion correction device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287431A (en) * 2007-05-16 2008-11-27 Panasonic Electric Works Co Ltd Image distortion correction device

Similar Documents

Publication Publication Date Title
JP3882651B2 (en) Image processing apparatus and program
JP3882585B2 (en) Image processing apparatus and program
US7567723B2 (en) Resolution changing method and apparatus
JP3966691B2 (en) Continuous tone compression apparatus and method, data processing apparatus and device, and recording medium on which program for executing the method is recorded
US20110129164A1 (en) Forward and backward image resizing method
US8041152B2 (en) Image resolution increasing method and apparatus
JPH08294001A (en) Image processing method and image processing unit
JP6744723B2 (en) Image processing apparatus, image processing method, and computer program
US6181834B1 (en) Hybrid image reduction method and apparatus with moir{acute over (e)} suppression
JP3302731B2 (en) Image enlargement method
JP2002300377A (en) Image data thinning out/interpolation device, image data thinning out/interpolation method, image data thinning out/interpolation program and computer-readable recording medium for recording the image data thinning out/interpolation program
US6567568B1 (en) Pixel interpolating device capable of preventing noise generation
JP2003125197A (en) Image processing apparatus and program
JP4274187B2 (en) Display data decompression method, display data compression / decompression method, display data decompression device, and display data compression / decompression device
JP2004194050A (en) Image processing apparatus
JPH10164468A (en) Image resolution converter, image resolution converting method and video printer
KR101332030B1 (en) Method of magnifying image and computer readable medium storing the program thereof
JP2002101296A (en) Image processing method and image processor
JP4129097B2 (en) Image processing apparatus and image processing method
JPH0846778A (en) Image magnification method
JP3461613B2 (en) Image processing device
JP4118030B2 (en) Image compression apparatus / image expansion apparatus, image compression method / image expansion method, and information recording medium for realizing the method
JP2000050058A (en) Resolution conversion method/device and storage medium
Behnad et al. Fast edge-guided interpolation of color images
JP2001094765A (en) Image processing method and image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081215

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090217