JP4166646B2 - Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium - Google Patents

Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium Download PDF

Info

Publication number
JP4166646B2
JP4166646B2 JP2003287353A JP2003287353A JP4166646B2 JP 4166646 B2 JP4166646 B2 JP 4166646B2 JP 2003287353 A JP2003287353 A JP 2003287353A JP 2003287353 A JP2003287353 A JP 2003287353A JP 4166646 B2 JP4166646 B2 JP 4166646B2
Authority
JP
Japan
Prior art keywords
triangle
digital image
pixels
luminance data
plane
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.)
Expired - Fee Related
Application number
JP2003287353A
Other languages
Japanese (ja)
Other versions
JP2005056215A (en
Inventor
保太郎 瀬戸
達男 中村
利昭 中岡
英司 藤原
研一 小堀
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.)
Suminoe Textile Co Ltd
Original Assignee
Suminoe Textile 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 Suminoe Textile Co Ltd filed Critical Suminoe Textile Co Ltd
Priority to JP2003287353A priority Critical patent/JP4166646B2/en
Publication of JP2005056215A publication Critical patent/JP2005056215A/en
Application granted granted Critical
Publication of JP4166646B2 publication Critical patent/JP4166646B2/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)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

本発明は一定の間隔で配置される画素で構成されるデジタル画像の画像処理方法であって、デジタル画像を拡大する際に発生する画素間の隙間を補間する方法、デジタル画像データの圧縮方法、及び、圧縮された画像の復元方法などに関する。   The present invention is an image processing method for a digital image composed of pixels arranged at a fixed interval, a method for interpolating a gap between pixels generated when a digital image is enlarged, a method for compressing digital image data, The present invention also relates to a method for restoring a compressed image.

現在広く用いられているデジタル画像、例えばデジタルカメラやスキャナーによって得られるデジタル画像やコンピュータグラフィクスで作成されたデジタル画像は、位置データや輝度データ、その他色に関するデータ等を備えた画素(ピクセル)という単位で管理されている。   Digital images that are widely used at present, for example, digital images obtained by digital cameras and scanners, and digital images created by computer graphics are units of pixels (pixels) that include position data, luminance data, and other color data. It is managed by.

そして、このデジタル画像を拡大する場合は画素相互間の距離を広げることにより行われるが、単に画素間の距離を広げるだけでは画素と画素の間に隙間が生じ、全体としては粗い画像となってしまう。   And when enlarging this digital image, it is done by widening the distance between the pixels, but simply widening the distance between the pixels creates a gap between the pixels, resulting in a rough image as a whole. End up.

このようなデジタル画像を拡大する際に発生する粗さを解消するため、従来から、デジタル画像を拡大した際に発生する画素間の隙間に、計算によって得られた画素を補間する方法が利用されており、その画素を計算によって算出する方法が種々提案されている。   In order to eliminate the roughness that occurs when enlarging such a digital image, conventionally, a method of interpolating the pixels obtained by calculation in the gap between pixels that occurs when enlarging the digital image has been used. Various methods for calculating the pixel by calculation have been proposed.

例えば前記計算方法の一つとしてバイリニヤ法というアルゴリズムが採用されている。このバイリニヤ法とは隣り合う4個の画素を頂点とする四角形を単位とし、画像を拡大した場合に生じる四角形内の隙間を四角形の頂点に位置する4個の画素の位置データと輝度データ等から算出された画素で補間するものである。この方法は計算が容易であり、現在広く使用されるにいたっている。   For example, an algorithm called a bilinear method is adopted as one of the calculation methods. The bilinear method is based on a unit of a quadrangle having four adjacent pixels as vertices, and a gap in the quadrangle generated when the image is enlarged is obtained from position data and luminance data of the four pixels located at the vertices of the quadrangle. Interpolation is performed with the calculated pixels. This method is easy to calculate and is now widely used.

また、前記バイリニア法の発展系とも言うべき補間方法も出願されている。これは前記のバイリニア法の説明において示した最小単位である四角形の領域をデジタル画像全域に渡って走査し、四角形の頂点にある画素のうち1個の画素の輝度が他の3個の画素の輝度と大きく異なるか否かを判断し、異なると判断した場合は前記3個の画素で形成される3角形の領域については三角形の頂点に位置する画素から得られた輝度データを有する画素で補間する方法が出願されている(例えば、特許文献1参照)。
特開平9−102867号
In addition, an application has been filed for an interpolation method that should be called a development system of the bilinear method. This is because the rectangular area, which is the minimum unit shown in the description of the bilinear method, is scanned over the entire digital image, and the luminance of one pixel among the pixels at the apex of the square is that of the other three pixels. It is determined whether or not it is greatly different from the luminance. If it is determined that the luminance is different, the triangular area formed by the three pixels is interpolated with the pixel having the luminance data obtained from the pixel located at the vertex of the triangle. The method of doing is applied (for example, refer patent document 1).
JP-A-9-102867

ところが、前記バイリニヤ法などの四角形を単位として隙間に埋めるべき画素を算出する補間方法を用いた場合、斜めの線や曲線で色分けされた部分を補間すると、斜めの線や曲線で色分けされた部分の色の薄い側に階段状のノイズが目立って発生してしまうことがある。この階段状のノイズは、画像内の境界部分がギザギザとした粗い状態になってしまい、画像の劣化を看者にはっきりと印象づけてしまうという欠点があった。   However, when an interpolation method such as the Vignier method is used to calculate the pixels to be filled in the gap, the portion color-coded by the diagonal line or curve is interpolated. Staircase noise may be noticeably generated on the lighter side. This staircase-like noise has a drawback that the boundary portion in the image becomes jagged and rough, and the deterioration of the image is clearly impressed by the viewer.

一方、特許文献1に記載されている方法によって、前記斜めの線や曲線の境界部分に発生する階段状のノイズ(ジャギー)を軽減することは可能であるが、当該方法では、はっきりと濃淡が分かれる部分、例えば白地に黒色の文字が記載されている様な特殊な部分にのみ適用が可能であり、色が徐々に変化するグラデーションの部分には適用が困難である。また、画像を拡大するごとにデジタル画像の全ての画素について走査し、濃淡を判断しなければならないため、相当の処理時間が必要であった。   On the other hand, although it is possible to reduce the stepped noise (jaggy) generated at the boundary portion of the diagonal line or curve by the method described in Patent Document 1, in this method, the density is clearly reduced. It can be applied only to divided parts, for example, a special part where black characters are written on a white background, and is difficult to apply to a gradation part where the color gradually changes. In addition, every time the image is enlarged, all the pixels of the digital image must be scanned to determine the shading, so that considerable processing time is required.

本発明は、上記の課題を解決するためになされたものであり、デジタル画像を拡大する際に発生する階段状のノイズを軽減し、細かな模様やグラデーションを有する画像に対応することのできるデジタル画像の拡大補間方法の提供を目的とする。   The present invention has been made in order to solve the above-described problem, and reduces digital noise that occurs when enlarging a digital image, and can cope with an image having a fine pattern or gradation. An object is to provide an enlargement interpolation method of an image.

上記課題を解決するために、第1の発明は、一定の間隔で配置された画素の集合体で表現されるデジタル画像を、デジタル画像処理装置により拡大して補間する方法において、3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割し、[(1)三角形は重なることはない。(2)拡大対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。]さらに、一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させる処理を行った後、デジタル画像を拡大する際に発生する画素間の隙間を前記三角形平面から求められる位置データと輝度データを備えた画素で補間することを特徴とするデジタル画像処理装置におけるデジタル画像の拡大補間方法である。
In order to solve the above-mentioned problem, the first invention is a method of enlarging and interpolating a digital image expressed by a collection of pixels arranged at a constant interval by a digital image processing device , and each of three vertices. Is virtually divided according to the following conditions (1) to (3), and [(1) triangles do not overlap. (2) All the pixels within the enlargement target range are located inside or on the side of any triangle. (3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within. ] Further, the actual luminance data at the vertices on the overlapping sides of the smaller triangle plane and the position data of the vertices on the larger triangle plane, which are generated when the sizes of the adjacent triangular planes on which one side overlaps, are different. In order to eliminate the difference from the calculated luminance data obtained by substituting, the larger triangle plane is further divided into triangle planes, and the process of making adjacent triangle planes continuous is performed. A digital image enlargement interpolation method in a digital image processing apparatus , wherein a gap between generated pixels is interpolated with pixels having position data and luminance data obtained from the triangular plane .

また、前記第1の発明において、前記三角形は直角三角形であり、直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するものとすることもできる。   In the first aspect of the invention, the triangle is a right triangle, and on both sides sandwiching the right angle, 2 pixels are added to the n-th power of 1 (n is an integer equal to or greater than 0), and the digital image If the number of pixels arranged on the side in the peripheral portion is less than the number obtained by the above formula, an arbitrary pixel may be arranged at the position of at least the apex of the triangle outside the peripheral edge of the digital image.

更には、前記発明において、前記三角形の直角を挟む両辺上に位置する画素数が同じであるとしても良い。   Furthermore, in the said invention, it is good also as the number of pixels located on both sides on both sides of the right angle of the said triangle.

一方、第4の発明は、一定の間隔で配置された画素の集合体で表現されるデジタル画像を、デジタル画像処理装置により圧縮するデジタル画像の圧縮方法であって、3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割し、[(1)三角形は重なることはない。(2)圧縮対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。]さらに、一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させる処理を行った後、前記各三角形の3頂点に位置する画素のみを抽出することを特徴とするデジタル画像処理装置におけるデジタル画像の圧縮方法を採用することにより前記課題を解決する。
On the other hand, a fourth invention is a digital image compression method for compressing a digital image expressed by an aggregate of pixels arranged at regular intervals by a digital image processing device , wherein each of three vertices is on a pixel. The digital image is virtually divided according to the following conditions (1) to (3) by a plurality of triangles positioned at [3], and [(1) triangles do not overlap. (2) All the pixels within the compression target range are located inside or on the side of any triangle. (3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within. ] Further, the actual luminance data at the vertices on the overlapping sides of the smaller triangle plane and the position data of the vertices on the larger triangle plane, which are generated when the sizes of the adjacent triangular planes on which one side overlaps, are different. In order to eliminate the difference from the calculated luminance data obtained by substituting, the larger triangular plane is further divided into triangular planes, and the adjacent triangular planes are continuously processed. The above-mentioned problem is solved by adopting a digital image compression method in a digital image processing apparatus characterized by extracting only pixels located.

また、前記第4の発明において、前記三角形は直角三角形であり、直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するものとすることもできる。   In the fourth aspect of the invention, the triangle is a right triangle, and on both sides sandwiching the right angle, there are a number of pixels obtained by adding 1 to the nth power of 2 (n is an integer of 0 or more), and the digital image If the number of pixels arranged on the side in the peripheral portion is less than the number obtained by the above formula, an arbitrary pixel may be arranged at the position of at least the apex of the triangle outside the peripheral edge of the digital image.

更には、前記発明において、前記三角形の直角を挟む両辺上に位置する画素数が同じであるとしても良い。   Furthermore, in the said invention, it is good also as the number of pixels located on both sides on both sides of the right angle of the said triangle.

また、前記発明により圧縮された画像に対し、三角形を構成する3つの画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記三角形平面から求められる位置データと輝度データとを備えた画素を前記三角形の頂点以外の内部又は辺上に位置すべき画素とすることにより、前記圧縮方法により圧縮された画像をデジタル画像処理装置により復元することができる。
In addition, for the image compressed according to the invention, a triangular plane is obtained from the three dimensions of the position data and luminance data of each of the three pixels constituting the triangle, and the position data and luminance data obtained from the triangular plane are provided. The image compressed by the compression method can be restored by the digital image processing apparatus by setting the obtained pixel as a pixel to be located inside or on the side other than the vertex of the triangle.

第8の発明は、一定の間隔で配置された画素の集合体で表現されるデジタル画像を拡大して補間する方法を、デジタル画像処理装置のコンピュータに実行させるための拡大補間プログラムが記録された記録媒体であって、前記プログラムは、3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割するステップと、[(1)三角形は重なることはない。(2)拡大対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。]一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させるステップと、デジタル画像を拡大する際に発生する画素間の隙間を前記三角形平面から求められる位置データと輝度データを備えた画素で補間するステップとをコンピュータに実行させる記録媒体によって上記課題を解決する。
According to an eighth aspect of the invention, there is recorded an enlargement interpolation program for causing a computer of a digital image processing apparatus to execute a method of enlarging and interpolating a digital image expressed by a collection of pixels arranged at a constant interval. A recording medium, wherein the program virtually divides a digital image by a plurality of triangles each having three vertices positioned on a pixel according to the following conditions (1) to (3): [(1) Triangles do not overlap. (2) All the pixels within the enlargement target range are located inside or on the side of any triangle. (3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within. ] Substitute the actual luminance data at the vertex on the overlapping side of the smaller triangle plane and the position data of that vertex into the larger triangular plane, which occurs when the sizes of adjacent triangular planes with overlapping one side differ. In order to eliminate the difference from the calculated luminance data obtained in this step, the larger triangular plane is further divided into triangular planes, and the adjacent triangular planes are continued, and between the pixels generated when the digital image is enlarged The above problem is solved by a recording medium that causes a computer to execute the step of interpolating the gap with position data obtained from the triangular plane and pixels having luminance data.

また、前記デジタル画像の拡大補間プログラムが記録された記録媒体において、前記三角形は直角三角形であり、直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、前記プログラムは、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するステップをコンピュータに実行させるものとしても構わない。
Further, in the recording medium on which the digital image enlargement interpolation program is recorded, the triangle is a right triangle, and the number obtained by adding 1 to the nth power of 2 on both sides sandwiching the right angle (n is an integer of 0 or more). If the pixel is located and the program has less than the number of pixels obtained on the side in the peripheral part of the digital image obtained by the above formula, it is arbitrarily set at the position of at least the vertex of the triangle outside the peripheral part of the digital image. The step of arranging the pixels may be executed by a computer .

更には、前記発明において、前記三角形の直角を挟む両辺上に位置する画素数が同じであるとしても良い。   Furthermore, in the said invention, it is good also as the number of pixels located on both sides on both sides of the right angle of the said triangle.

一方、第11の発明は、一定の間隔で配置された画素の集合体で表現されるデジタル画像の圧縮方法を、デジタル画像処理装置のコンピュータに実行させるための圧縮プログラムが記録された記録媒体であって、前記プログラムは、3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割するステップと、[(1)三角形は重なることはない。(2)圧縮対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。]一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させるステップと、前記各三角形の3頂点に位置する画素のみを抽出するステップとをコンピュータに実行させる記録媒体によって上記課題を解決する。
On the other hand, an eleventh aspect of the invention is a recording medium on which a compression program for causing a computer of a digital image processing apparatus to execute a method for compressing a digital image expressed by a collection of pixels arranged at regular intervals is recorded. The program includes a step of virtually dividing a digital image according to the following conditions (1) to (3) with a plurality of triangles each having three vertices located on a pixel, and [(1) triangles overlap. There is nothing. (2) All the pixels within the compression target range are located inside or on the side of any triangle. (3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within. ] Substitute the actual luminance data at the vertex on the overlapping side of the smaller triangle plane and the position data of that vertex into the larger triangular plane, which occurs when the sizes of adjacent triangular planes with overlapping one side differ. In order to eliminate the difference from the calculated luminance data obtained in this step, the larger triangular plane is further divided into triangular planes, and the adjacent triangular planes are continued, and only the pixels located at the three vertices of each triangle are obtained. The above problem is solved by a recording medium that causes a computer to execute the extracting step.

また、前記三角形は直角三角形であり、直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、前記プログラムは、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するステップをコンピュータに実行させるものとしても構わない。
In addition, the triangle is a right triangle, and on both sides sandwiching the right angle, there are 2 pixels to which n is a power of 2 (n is an integer of 0 or more), and the program is executed at the peripheral portion of the digital image. If the number of pixels arranged on the side is less than the number obtained by the above equation, the computer may execute the step of arranging an arbitrary pixel at the position of at least the vertex of the triangle outside the periphery of the digital image. Absent.

更には、前記発明において、前記三角形の直角を挟む両辺上に位置する画素数が同じであるとしても良い。   Furthermore, in the said invention, it is good also as the number of pixels located on both sides on both sides of the right angle of the said triangle.

また、前記発明により圧縮された画像の復元方法を、デジタル画像処理装置のコンピュータに実行させるための復元プログラムが記録された記録媒体であって、前記プログラムは、前記圧縮された画像に対し、三角形を構成する3つの画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求めるステップと、前記三角形平面から求められる位置データと輝度データとを備えた画素を前記三角形の頂点以外の内部又は辺上に位置すべき画素とするステップとをコンピュータに実行させる記録媒体により、圧縮された画像を復元することができる。
Also, the restoration method for an image compressed by the invention, there is provided a recording medium on which restoration program is recorded for causing a computer to execute a digital image processing apparatus, the program, with respect to the compressed image, triangle Obtaining a triangular plane from the three dimensions of the position data and luminance data each of the three pixels constituting the pixel, and a pixel comprising the position data and luminance data obtained from the triangular plane inside the triangle other than the vertex of the triangle or The compressed image can be restored by a recording medium that causes the computer to execute the step of setting the pixel to be located on the side .

本発明によれば、デジタル画像を一定の条件を満たした三角形で仮想的に分割し、その三角形の頂点に位置する画素に基づき三角形平面を算出し、当該三角形平面から算出される画素を用いてデジタル画像を拡大する際に発生する隙間を補間する。   According to the present invention, a digital image is virtually divided into triangles that satisfy certain conditions, a triangle plane is calculated based on the pixels located at the vertices of the triangles, and the pixels calculated from the triangle planes are used. Interpolates gaps that occur when enlarging digital images.

つまり図2(b)に示すように、二次元の位置データと輝度データとからなる三次元空間に画素が点在すると仮定し、これらの画素を連続する複数の三角形平面で近似する。そして、その三角形平面を利用して画像を拡大した際に発生する画素間の隙間を補間するため、デジタル画像内にある斜めの線や曲線で色分けされた境界部分等では当該境界部分に沿った三角形平面で近似すれば、最適な近似値で補間することができる。この補間方法によって得られる拡大画像は、斜めの線で色分けされた部分でも階段状のノイズの発生を抑制することができ、粗さの感じにくい拡大画像を得ることができる。   That is, as shown in FIG. 2B, it is assumed that pixels are scattered in a three-dimensional space composed of two-dimensional position data and luminance data, and these pixels are approximated by a plurality of continuous triangular planes. Then, in order to interpolate the gaps between the pixels that occur when the image is enlarged using the triangular plane, the boundary portions that are color-coded by diagonal lines or curves in the digital image follow the boundary portions. If approximation is performed using a triangular plane, interpolation can be performed with an optimal approximate value. The enlarged image obtained by this interpolation method can suppress the generation of staircase noise even in a portion that is color-coded by diagonal lines, and an enlarged image that is difficult to feel roughness can be obtained.

また、デジタル画像を分割する三角形を直角三角形にし、かつ直角を挟んだ辺のそれぞれに2のn乗に1を足した(nは0以上の整数)数の画素が位置するものとすれば、デジタル画像を三角形で分割するための処理が定型的となり、当該処理を速くすることができるようになる。   Also, if the triangle that divides the digital image is a right triangle, and each of the sides sandwiching the right angle has 2 n powers plus 1 (n is an integer of 0 or more), the number of pixels is located. A process for dividing a digital image into triangles is routine, and the process can be accelerated.

つまり、あらかじめnの値が大きな状態の三角形でデジタル画像を分割しておき、当該三角形が一定の条件を満たさない場合は、直角を挟む辺を二等分することで2のn−1乗に1を足した数の画素が辺上に位置することになり、当該二等分点から直角を挟む辺に平行に線を仮想的に引き、できあがった四角の領域をその対角線で分割すれば、分割前の三角形と相似形の四つの三角形ができあがる。そして当該処理はnが0になるまで同様の操作を繰り返せば最小の三角形まで分割することができるため、当該処理をするためのプログラムが短くなり処理も速くなる。   That is, if a digital image is divided in advance with a triangle having a large value of n and the triangle does not satisfy a certain condition, the side sandwiching the right angle is divided into two equal parts to the power of 2−1. The number of pixels added by 1 is located on the side, and a line is virtually drawn in parallel to the side that sandwiches the right angle from the bisection point, and the resulting square region is divided by the diagonal line, Four triangles are created that are similar to the triangle before the division. If the same operation is repeated until n becomes 0, the process can be divided into the smallest triangles, so that the program for performing the process becomes shorter and the process becomes faster.

一方、他の本発明によれば、上記と同様の方法でデジタル画像を一定の条件を満たした三角形で分割し、その三角形の頂点に位置する画素から算出される三角形平面に基づき、三角形の内部又は辺上に位置する画素を表すものとするため、斜めの線や曲線で色分けされた部分の多い画像であっても、デジタル画像のデータを再現性良く圧縮することが可能となる。   On the other hand, according to another aspect of the present invention, a digital image is divided into triangles that satisfy certain conditions in the same manner as described above, and the interior of the triangle is based on a triangle plane calculated from pixels located at the vertices of the triangle. Alternatively, since it represents a pixel located on the side, digital image data can be compressed with high reproducibility even in an image having many portions that are color-coded by diagonal lines and curves.

さらに、上記と同様の作用によりデジタル画像データを圧縮するためのプログラムが簡易となり、圧縮処理を高速化することが可能となる。   Furthermore, a program for compressing digital image data is simplified by the same operation as described above, and the compression process can be accelerated.

また、本発明にかかる方法によって圧縮されたデジタル画像を視認可能な状態に復元するには本発明にかかる復元方法を採用することが好ましい。   In order to restore a digital image compressed by the method according to the present invention to a visible state, it is preferable to employ the restoration method according to the present invention.

次に、この発明にかかる補間方法を用いてカラーのデジタル画像を拡大する場合を図1〜図11のフローチャート、その他図面で説明する。   Next, the case of enlarging a color digital image using the interpolation method according to the present invention will be described with reference to the flowcharts of FIGS.

まず、図7のフローチャートに示すように、デジタル画像がカラーか否かを判断する(S1)。本実施形態の場合はカラーのデジタル画像であるので、図1に示すようにカラーのデジタル画像(a)をR成分(b)とB成分(c)とG成分(d)との3成分に分離する(S2)。このようにカラーのデジタル画像を3つの色成分の輝度を表すデジタル画像に分離することで、各成文毎の画像を構成する画素は、輝度情報と位置情報の3次元の値を備えた画素となる。   First, as shown in the flowchart of FIG. 7, it is determined whether the digital image is color (S1). In this embodiment, since it is a color digital image, as shown in FIG. 1, the color digital image (a) is converted into three components of an R component (b), a B component (c), and a G component (d). Separate (S2). Thus, by separating the color digital image into digital images representing the luminance of the three color components, the pixels constituting the image for each composition sentence are pixels having three-dimensional values of luminance information and position information. Become.

なお、カラーのデジタル画像を各成分に分離する方法は、分離後さらに合成をすることによりによりカラーを表現できるものであれば、YとCbとCrの各成分に分けるなど任意の方法を採用しうる。   As a method for separating a color digital image into each component, any method such as dividing into each component of Y, Cb, and Cr can be adopted as long as the color can be expressed by further synthesis after the separation. sell.

次に、各成分毎のデジタル画像についてそれぞれを一定の条件を満たした三角形に仮想的に分割する。   Next, each digital image for each component is virtually divided into triangles that satisfy certain conditions.

なお、三角形に分割する操作を容易にするために、画素を格子状に仮想的に分割しておく(S3)。当該格子の単位は正方形であって、各辺上には2^n+1個の画素が位置するものとする。なお、本明細書で正方形と称する場合は、仮想的な正方形であって各辺上に同一個数の画素が位置することを意味するものとし、辺の長さは考慮されない。   In order to facilitate the operation of dividing into triangles, the pixels are virtually divided into a grid pattern (S3). It is assumed that the unit of the lattice is a square, and 2 ^ n + 1 pixels are located on each side. In the present specification, the term “square” means a virtual square, meaning that the same number of pixels are positioned on each side, and the length of the side is not considered.

本実施形態の場合、最初に分割する格子の単位の大きさは、nに6を代入した値とし、これを第1格子単位と称することとする(S3)。また、当該第1格子単位はデジタル画像の左上隅を起点とし、一辺を共有しつつ右方向及び下方向に相互に連続して配置するものとする。   In the present embodiment, the size of the unit of the lattice to be divided first is a value obtained by substituting 6 for n, and this is referred to as the first lattice unit (S3). Further, the first grid unit starts from the upper left corner of the digital image, and is continuously arranged in the right direction and the lower direction while sharing one side.

このようにして一定の大きさの正方形を単位として格子状に画素を仮想分割すると、デジタル画像の右側や下側に一部画素を含まない第1格子単位が発生する場合があるが(S4)、画素を含まない格子単位については当該格子単位を埋めるように一定の輝度を備えた画素を補充するものとする(S5)。   When pixels are virtually divided in a grid shape with a square of a certain size as a unit in this way, a first grid unit that does not include some pixels may be generated on the right side or the lower side of the digital image (S4). For a grid unit that does not include a pixel, a pixel having a certain luminance is replenished to fill the grid unit (S5).

次に、図2の(a)に示すように、各格子単位を右上がりとなる対角線で仮想的に分割する(図8:S6)。   Next, as shown in FIG. 2A, each lattice unit is virtually divided by a diagonal line that rises to the right (FIG. 8: S6).

この操作によって格子の各単位内にある画素が2つの直角二等辺三角形で仮想的に分割されることになる。また、当該直角二等辺三角形は各頂点が画素上にあり、かつ、相互に重なっておらず、また、いずれかの直角二等辺三角形の内部又は辺上に全ての画素が位置することになる。なお、本明細書で二等辺三角形と称する場合は、上記正方形の場合と同様に、仮想的な二等辺三角形であって三角形の2辺上に同一個数の画素が位置することを意味するものとし、辺の長さは考慮されない。また、直角と称する場合も、幾何学上の厳密な直角を意味するものではない。   By this operation, the pixels in each unit of the grid are virtually divided by two right isosceles triangles. The right isosceles triangle has vertices on the pixels and does not overlap with each other, and all the pixels are located inside or on the side of any right isosceles triangle. In the present specification, the isosceles triangle is a virtual isosceles triangle and the same number of pixels are located on the two sides of the triangle, as in the case of the square. The length of the side is not taken into account. In addition, the term “right angle” does not mean an exact geometric right angle.

なお、図2(a)〜図5(a)に示している図は前記2^6+1の画素が辺上に位置する格子を対角線で分割して初期の状態を示しているのではなく、ある程度分割操作が進展した状態の一部を示したものである。   2 (a) to FIG. 5 (a) do not show the initial state by dividing the grid in which the 2 ^ 6 + 1 pixels are located on the side by diagonal lines, but to some extent. A part of the state in which the dividing operation has progressed is shown.

次に、各二等辺直角三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元値から三角形平面を求める(S7)。具体的にはaX+bY+cZ=1の式に3つの画素が有する3次元の値を代入し、常数であるa,b,cを求めることで三角形平面を求めることができる。   Next, a triangular plane is obtained from the three-dimensional values of the position data and luminance data of the three pixels located at the three vertices of each isosceles right triangle (S7). Specifically, the triangular plane can be obtained by substituting the three-dimensional values of the three pixels into the formula aX + bY + cZ = 1 and obtaining the constants a, b, and c.

なお、前記式から得られる平面は無限に広がる平面であるが、本発明に必要な領域は前記直角二等辺三角形の内部又は辺上に位置する画素に関係する領域であるので、本明細書では三角形平面と記載している。   The plane obtained from the above equation is an infinitely spreading plane, but the region necessary for the present invention is a region related to pixels located inside or on the side of the right-angled isosceles triangle. It is described as a triangular plane.

当該三角形平面と各画素の関係を仮想的に示したものが図2の(b)に示した三次元のグラフである。ここで、図2(b)のX軸とY軸はデジタル画像における画素の位置を示すものである。また、Zは輝度を示している。   A virtual representation of the relationship between the triangular plane and each pixel is the three-dimensional graph shown in FIG. Here, the X-axis and Y-axis in FIG. 2B indicate pixel positions in the digital image. Z represents luminance.

次に、対応する直角二等辺三角形の3頂点を除く内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーとの差を統計的に処理し、得られた結果が所定の値未満か否かを判断する。具体的な判断方法の一つとして本実施形態では次の方法を採用している。すなわち、画素の位置をrで表した場合の位置rにおける実輝度データをf(r)とし、一方、位置rのデータから三角形平面を用いて求められる計算輝度データをg(r)とし、一つの三角形平面について次式に従い誤差の2乗の総和を算出する。式:e^2=Σ(f(r)−g(r))^2。そして、e^2を次式に代入して三角形平面の妥当性を判断するSNR値を算出する(S8)。式:SNR値=−10×(log(e^2/255^2))。なお、3頂点に位置する画素は実輝度データと計算輝度データとの差が0になるため、特に3頂点を除外することを意識する必要はない。   Next, the difference between the actual luminance data of each pixel located inside or on the side excluding the three vertices of the corresponding right isosceles triangle and the calculated luminance data obtained from the actual position data of the same pixel using the triangle plane. Is statistically processed to determine whether the obtained result is less than a predetermined value. As one specific determination method, the present embodiment employs the following method. That is, the actual luminance data at the position r when the pixel position is represented by r is f (r), while the calculated luminance data obtained from the data at the position r using the triangular plane is g (r). The sum of squares of errors is calculated for two triangular planes according to the following equation. Formula: e ^ 2 = Σ (f (r) -g (r)) ^ 2. Then, e ^ 2 is substituted into the following equation to calculate the SNR value for judging the validity of the triangular plane (S8). Formula: SNR value = −10 × (log (e ^ 2/255 ^ 2)). In addition, since the difference between the actual luminance data and the calculated luminance data is 0 for the pixels located at the three vertices, it is not particularly necessary to be aware of excluding the three vertices.

次に、前記SNR値が100未満か否かを判定する。前記格子単位に含まれる2つの三角形のいずれのSNR値も100未満である場合には当該格子の単位については分割作業を終了する(S9:y)。
Next, it is determined whether the SNR value is less than 100. When the SNR value of any of the two triangles included in the lattice unit is less than 100, the division operation is terminated for the lattice unit (S9: y).

各格子の単位内にある三角形の少なくとも一方のSNR値が100以上である場合については、図3(a)に示すように、前回とは分割方向の異なるように格子の各単位を右下がりとなる対角線で分割し直す(S10)。
In the case where the SNR value of at least one of the triangles in each lattice unit is 100 or more , as shown in FIG. 3A, each unit of the lattice is lowered to the right so that the division direction is different from the previous one. It divides again by the diagonal line which becomes (S10).

そして変更された三角形について前期と同様に三角形平面を作成し(S11)、SNR値を求める(S12)、そして、格子の単位内にある2つの三角形のSNR値がいずれも100未満の場合は分割を終了し、少なくとも一方のSNR値が100以上のものは次の行程に移って分割を進める(S13)。
Then, a triangular plane is created for the changed triangle in the same manner as in the previous period (S11), the SNR value is obtained (S12), and if both of the SNR values of the two triangles in the lattice unit are less than 100, the division is performed. When at least one of the SNR values is 100 or more , the process proceeds to the next step and the division proceeds (S13).

次に、nの値が0であるか、すなわち最小単位か否かを判定し(S14)、nが0の場合は該当格子単位については分割を終了する。   Next, it is determined whether the value of n is 0, that is, whether or not it is the minimum unit (S14). If n is 0, the division for the corresponding lattice unit is terminated.

上記行程を経て、SNR値が100以上の三角形をもつ格子単位については、当該単位を構成する正方形の対向する辺の中点同士をそれぞれ仮想的に引き、格子の単位を4等分する(S15)。当該処理を施した部分については2^(n−1)+1を一辺とする正方形の格子単位が発生する。本実施形態の場合、nが6の第1格子単位についての処理が終了した後はnが5である第2格子単位が一部または全部の第1格子単位の内部に作成されることとなる。そして、これらが順次繰り返されるのである。
Through the above process, for a lattice unit having a triangle with an SNR value of 100 or more , the midpoints of opposing sides of the square constituting the unit are virtually drawn to divide the lattice unit into four equal parts (S15 ). A square lattice unit having 2 ^ (n-1) +1 as one side is generated for the processed portion. In the present embodiment, after the processing for the first lattice unit with n = 6 is completed, the second lattice unit with n = 5 is created inside some or all of the first lattice units. . These are repeated sequentially.

以上の操作によって新たに発生した格子単位に対して、上記S6に戻り各行程を続行し、格子単位に含まれる三角形のSNR値が100未満になるか、nが0になるまで繰り返す。
With respect to the lattice unit newly generated by the above operation, the process returns to S6 to continue each process, and is repeated until the SNR value of the triangle included in the lattice unit becomes less than 100 or n becomes 0.

次に、全て三角形に仮想的に分割された画像に対し、図9ないし図11に示すようなクラック処理を施す。当該クラック処理とは、一辺が重なり合う隣り合った三角形であって、三角形の大きさが異なる場合、つまり、分割する階層が異なる場合(図9(a):三角形ABCと三角形CDE)に発生する三角形CDEの頂点Dにおける実輝度データと三角形ABCから求められる三角形平面に当該頂点Dの位置データを代入して得られる計算輝度データとの差を解消するために行われるものである。このクラック処理によって隣り合う三角形平面は連続することになる(図9(d))
以下にこのクラック処理を具体的に説明する。
Next, crack processing as shown in FIGS. 9 to 11 is performed on the image virtually divided into triangles. The crack processing is an adjacent triangle with one side overlapping, and a triangle that occurs when the size of the triangle is different, that is, when the hierarchy to be divided is different (FIG. 9A: triangle ABC and triangle CDE). This is performed to eliminate the difference between the actual luminance data at the vertex D of the CDE and the calculated luminance data obtained by substituting the position data of the vertex D into the triangular plane obtained from the triangle ABC. By this crack processing, adjacent triangular planes are continuous (FIG. 9D).
This crack processing will be specifically described below.

最初に、一辺に2^n+1個の画素が配置される格子単位の頂点をnの格子点と称することとする(図10(a)のP6)。つまり、第1格子単位の頂点は6の格子点となる。   First, a vertex of a lattice unit in which 2 ^ n + 1 pixels are arranged on one side is referred to as n lattice points (P6 in FIG. 10A). That is, the vertex of the first lattice unit is 6 lattice points.

本実施形態の場合、デジタル画像を2^6+1の大きさで最初に格子状に分割したことから、クラック処理はnに6を代入することから始まることとなる(S16)。   In the case of the present embodiment, since the digital image is first divided into a grid shape with a size of 2 ^ 6 + 1, the crack processing starts by substituting 6 for n (S16).

次に5の格子点(第2格子単位の頂点)(図10(b)のP5)のそれぞれについて以下の処理を行う(S17)。なお、図10では図面の関係上、一部の格子点については符合を省略している。   Next, the following processing is performed for each of the five lattice points (vertices of the second lattice unit) (P5 in FIG. 10B) (S17). In FIG. 10, for some of the lattice points, symbols are omitted for the sake of drawing.

5の格子点であって6の格子点である点については処理を行わず終了する(S19)。6の格子点でない5の格子点については、画像の左端に存在する格子点ではなく(S20)、かつ、左向きに格子単位の一辺が伸びていない(S21)格子点(図10(d)のP5L)、つまり、判断対象である格子点が格子単位の右上隅のものではなくかつ右下隅のものでもない場合は、当該格子点と左側から接する三角形(図10(d)のE1)を分割する(S22)。   The process ends for the grid point 5 and the grid point 6 (S19). The grid point 5 which is not the grid point 6 is not a grid point existing at the left end of the image (S20), and one side of the grid unit does not extend to the left (S21). P5L), that is, when the lattice point to be determined is not the upper right corner and the lower right corner of the lattice unit, the triangle (E1 in FIG. 10D) that touches the lattice point from the left side is divided. (S22).

前記三角形の分割方法としては、該当する格子点(例えば、図10(d)のP5L)から左向きに格子単位の辺に平行に当該三角形の他の辺または頂点に至るまで線を引き(例えば、図10(e)のl1)、前記線が他の辺に到達した場合は、その到達した点(例えば図10(e)のP5n)から当該辺上にない三角形の頂点にまで線を引くことで(例えば、図10(e)のl2)、三角形を仮想的に分割する方法が採用される。ここで、当該クラック処理によって新たに発生する点(図9における点F、図10におけるP5n)はその位置における実輝度データではなく、分割する前における三角形平面によって当該位置データから求められる計算輝度データが採用される。 As a method for dividing the triangle, a line is drawn from the corresponding grid point (for example, P5L in FIG. 10D) to the other side or vertex of the triangle in parallel to the grid unit side to the left (for example, L1) in FIG. 10 (e), when the line reaches another side, the line is drawn from the reached point (for example, P5n in FIG. 10 (e)) to the vertex of the triangle not on the side. (For example, l2 in FIG. 10E), a method of virtually dividing the triangle is employed. Here, a point newly generated by the crack processing (point F in FIG. 9, P5n in FIG. 10) is not actual luminance data at that position, but calculated luminance data obtained from the position data by a triangular plane before division. Is adopted.

次に、画像の右端に存在する格子点ではなく(S23)、かつ、右向きに格子単位の一辺が伸びていない(S24)、つまり、判断対象である格子点が格子単位の左上隅のものではなくかつ左下隅のものでもない場合は、当該格子点と右側から接する三角形を分割する(S25)。   Next, it is not the grid point existing at the right end of the image (S23), and one side of the grid unit does not extend rightward (S24), that is, the grid point to be judged is the one at the upper left corner of the grid unit. If it is not at the lower left corner, the triangle that touches the grid point from the right side is divided (S25).

三角形の分割方法としては分割方向が異なる以外は上記とほぼ同様であり、該当する格子点から右向きに格子単位の辺に平行に当該三角形の他の辺または頂点に至るまで線を引き、前記線が他の辺に到達した場合は、その到達した点から当該辺上にない三角形の頂点にまで線を引くことで、三角形を仮想的に分割する方法が採用される。   The method of dividing the triangle is substantially the same as the above except that the dividing direction is different, and draws a line from the corresponding grid point to the other side or vertex of the triangle in parallel to the grid unit side to the right. When reaching the other side, a method of virtually dividing the triangle is adopted by drawing a line from the reached point to the vertex of the triangle not on the side.

続いて、画像の下端に存在する格子点ではなく(S26)、かつ、下向きに格子単位の一辺が伸びていない(S27)、つまり、判断対象である格子点が格子単位の左上隅のものではなくかつ右上隅のものでもない場合は、当該格子点と右側から接する三角形を分割する(S28)。   Subsequently, it is not the grid point existing at the lower end of the image (S26), and one side of the grid unit does not extend downward (S27), that is, the grid point to be judged is the one at the upper left corner of the grid unit. If it is not in the upper right corner, the triangle that touches the grid point from the right side is divided (S28).

三角形の分割方法としては分割方向が異なる以外は上記とほぼ同様であり、該当する格子点から下向きに格子単位の辺に平行に当該三角形の他の辺または頂点に至るまで線を引き、前記線が他の辺に到達した場合は、その到達した点から当該辺上にない三角形の頂点にまで線を引くことで、三角形を仮想的に分割する方法が採用される。   The method of dividing the triangle is substantially the same as the above except that the dividing direction is different, and draws a line from the corresponding grid point downward to the other side or vertex of the triangle in parallel to the side of the grid unit, When reaching the other side, a method of virtually dividing the triangle is adopted by drawing a line from the reached point to the vertex of the triangle not on the side.

以上の操作を全ての5の格子点で行う。   The above operation is performed on all five grid points.

次に4の格子点(図10(f)のP4)について上記と同様の操作を繰り返し、これを2の格子点に至るまで繰り返す。以上によりクラック処理が終了する。このようにクラック処理を施すと、分割した三角形の各頂点の位置データと輝度データから算出される三角形平面が全て連続することになる。   Next, the same operation as described above is repeated for the four lattice points (P4 in FIG. 10F), and this is repeated until the second lattice point is reached. Thus, the crack process is completed. When crack processing is performed in this way, all triangle planes calculated from the position data and luminance data of each vertex of the divided triangles are continuous.

次に、図6の(a)から(b)に示すように、実画素相互の距離を広げてデジタル画像を拡大する。   Next, as shown in FIGS. 6A to 6B, the distance between the real pixels is increased to enlarge the digital image.

この拡大によって各三角形平面も同時に拡大することとなる。つまり、三角形の3頂点に位置する画素の位置データが変化するため、aX+bY+cZ=1の式を満たす常数a,b,cも変化するからである。   By this enlargement, each triangular plane is also enlarged simultaneously. That is, since the position data of the pixels located at the three vertices of the triangle change, the constants a, b, and c that satisfy the expression aX + bY + cZ = 1 also change.

そして実画素間に発生する隙間を補間するための画素の位置データ決定し、図6の(c)に示すように、当該位置データから前記拡大後の三角形平面を用いて計算輝度データを算出し、当該計算輝度データと位置データを備えた画素を作成し補間する。   Then, the pixel position data for interpolating the gap generated between the actual pixels is determined, and the calculated luminance data is calculated from the position data using the enlarged triangular plane as shown in FIG. 6C. Then, a pixel having the calculated luminance data and position data is created and interpolated.

以上で補間作業は終了する。この段階では、各色成分の輝度のみで表現された白黒の拡大されたデジタル画像が得られている。   This completes the interpolation work. At this stage, a black and white enlarged digital image expressed only by the luminance of each color component is obtained.

最後に、これらの処理を各成文に分割した画像について処理し、得られたデジタル画像を再合成してカラーのデジタル画像を得ることができる。   Finally, these processes are performed on an image obtained by dividing each process, and the digital image obtained can be recombined to obtain a color digital image.

上記方法は、プログラムとして記載され、当該プログラムをコンピュータで実行することにより実施される。また、当該プログラムはデジタル画像処理ソフトの一つのルーチンとして扱われる。そして、当該プログラムを備えたデジタル画像処理ソフトはCD−ROMに記録されて流通するものである。   The above method is described as a program, and is executed by executing the program on a computer. The program is handled as one routine of the digital image processing software. The digital image processing software provided with the program is recorded on a CD-ROM and distributed.

次に、デジタル画像の圧縮方法を説明する。当該圧縮についても前記S1〜S30のステップと同様の操作を行い、デジタル画像を全て三角形に分割しておく。   Next, a digital image compression method will be described. For the compression, the same operation as in steps S1 to S30 is performed to divide all digital images into triangles.

次に、三角形の3頂点以外に存在する画素をデジタル画像から削除する。以上によってデジタル画像を構成するデータの量が減少し、圧縮が終了する。   Next, pixels that exist outside the three vertices of the triangle are deleted from the digital image. As a result, the amount of data constituting the digital image is reduced, and the compression is completed.

前記圧縮したデータからデジタル画像を視認できる形に復元するには、残存している三角形の3頂点に該当する画素の三次元のデータを用いてaX+bY+cZ=1の式を満たす常数a,b,cを求め三角形平面を作成する。そして前記補間の場合と同様に三角形内部又は辺上にあるべき画素の位置データを三角形平面に適用し、計算輝度データを算出する。そして前記位置データと計算輝度データを備えた画素を配置することによりデジタル画像を表示することができる。   In order to restore the digital image to a form that can be visually recognized from the compressed data, the constants a, b, c satisfying the expression aX + bY + cZ = 1 using the three-dimensional data of the pixels corresponding to the three vertices of the remaining triangle. To create a triangular plane. Then, as in the case of the interpolation, the position data of the pixel that should be inside or on the side of the triangle is applied to the triangle plane to calculate the calculated luminance data. A digital image can be displayed by arranging pixels having the position data and the calculated luminance data.

なお、本実施形態では格子単位を正方形としたが、一辺に2^n+1この画素が配置されるのであれば、長方形でも構わない。また、最初の格子単位の大きさをn=6としたが、最初の大きさは任意である。   In the present embodiment, the lattice unit is a square, but 2 ^ n + 1 pixels may be arranged on one side as long as this pixel is arranged. In addition, although the size of the first lattice unit is n = 6, the initial size is arbitrary.

本発明の活用例としては、デジタル画像を拡大する際の補間方法の一つとしてデジタル画像処理ソフトのルーチンに組み込まれるような場合がある。   As an application example of the present invention, there is a case where it is incorporated into a routine of digital image processing software as one of interpolation methods for enlarging a digital image.

また、デジタルカメラで撮影したデータを圧縮するために、当該処理方法をプログラムとしてROMに搭載し、デジタルカメラの内部に組み込まれて、イメージセンサーにより得られた画像を直ちに圧縮するような場合が考えられる。   In addition, in order to compress data captured by a digital camera, there is a case where the processing method is installed in a ROM as a program and the image obtained by an image sensor is immediately compressed by being incorporated in the digital camera. It is done.

元画像(カラー)と当該画像を色の3成分で分離した画像を示す図である。It is a figure which shows the image which isolate | separated the original image (color) and the said image by 3 components of color. (a)は前記分離後の画像の一部を示す図である。(b)は当該部分を仮想的に示した三次元のグラフである。(A) is a figure which shows a part of image after the said isolation | separation. (B) is the three-dimensional graph which showed the said part virtually. 分割の方法を変えた場合を示す図と当該部分を三次元的に示すグラフである。It is the figure which shows the case where the method of a division | segmentation is changed, and the graph which shows the said part in three dimensions. ある程度分割が進んだ状態を示す図と当該部分を三次元的に示すグラフである。It is the figure which shows the state which the division | segmentation advanced to some extent, and the graph which shows the said part in three dimensions. さらに分割が進んだ状態を示す図と当該部分を三次元的に示すグラフである。Furthermore, it is the figure which shows the state which the division | segmentation advanced, and the graph which shows the said part in three dimensions. 拡大時における補間状態を示す図である。It is a figure which shows the interpolation state at the time of expansion. デジタル画像を三角形に分割する行程の一部を示すフローチャートである。It is a flowchart which shows a part of process which divides | segments a digital image into a triangle. 図7で示すフローチャートの続きのフローチャートである。It is a flowchart following the flowchart shown in FIG. クラック処理を説明するために一部を拡大した概念図であるIt is the conceptual diagram which expanded a part in order to explain crack processing クラック処理を説明するための概念図である。It is a conceptual diagram for demonstrating a crack process. クラック処理を表したフローチャートである。It is a flowchart showing a crack process.

符号の説明Explanation of symbols

1,2,3,4:三角形の頂点に位置する画素
イ、ロ:三角形平面。
X,Y:位置
Z:輝度
P6、P5・・・:格子点
1, 2, 3, 4: Pixel a located at the apex of a triangle b) Triangle plane
X, Y: Position Z: Luminance P6, P5 ...: Grid point

Claims (14)

一定の間隔で配置された画素の集合体で表現されるデジタル画像を、デジタル画像処理装置により拡大して補間する方法において、
3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割し、
(1)三角形は重なることはない。
(2)拡大対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。
(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。
さらに、一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させる処理を行った後、
デジタル画像を拡大する際に発生する画素間の隙間を前記三角形平面から求められる位置データと輝度データを備えた画素で補間することを特徴とするデジタル画像処理装置におけるデジタル画像の拡大補間方法。
In a method of enlarging and interpolating a digital image represented by a collection of pixels arranged at regular intervals by a digital image processing apparatus ,
A digital image is virtually divided according to the following conditions (1) to (3) with a plurality of triangles each having three vertices located on a pixel,
(1) Triangles do not overlap.
(2) All the pixels within the enlargement target range are located inside or on the side of any triangle.
(3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within.
In addition, the actual luminance data at the vertex on the overlapping side of the smaller triangle plane, and the position data of that vertex are substituted into the larger triangle plane, which occurs when the sizes of adjacent triangular planes with overlapping one side differ. In order to eliminate the difference from the calculated luminance data obtained, the larger triangle plane is further divided into triangle planes, and the process of making adjacent triangle planes continuous is performed.
A digital image enlargement interpolation method in a digital image processing apparatus , wherein a gap between pixels generated when enlarging a digital image is interpolated with pixels having position data and luminance data obtained from the triangular plane.
前記三角形は直角三角形であり、
直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、
デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置する請求項1に記載のデジタル画像の拡大補間方法。
The triangle is a right triangle;
A number of pixels (where n is an integer equal to or greater than 0) are located on both sides of the right angle, with 1 added to the nth power of 2.
The arbitrary pixel is arranged at least at the position of the vertex of the triangle outside the periphery of the digital image when the number of pixels arranged on the side in the peripheral portion of the digital image is less than the number obtained by the above formula. An enlargement interpolation method of the digital image described.
前記三角形の直角を挟む両辺上に位置する画素数が同じである請求項2に記載のデジタル画像の拡大補間方法。   The digital image enlargement interpolation method according to claim 2, wherein the number of pixels located on both sides sandwiching a right angle of the triangle is the same. 一定の間隔で配置された画素の集合体で表現されるデジタル画像を、デジタル画像処理装置により圧縮するデジタル画像の圧縮方法であって、
3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割し、
(1)三角形は重なることはない。
(2)圧縮対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。
(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。
さらに、一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させる処理を行った後、
前記各三角形の3頂点に位置する画素のみを抽出することを特徴とするデジタル画像処理装置におけるデジタル画像の圧縮方法。
A digital image compression method for compressing a digital image represented by a collection of pixels arranged at a fixed interval by a digital image processing apparatus,
A digital image is virtually divided according to the following conditions (1) to (3) with a plurality of triangles each having three vertices located on a pixel,
(1) Triangles do not overlap.
(2) All the pixels within the compression target range are located inside or on the side of any triangle.
(3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within.
In addition, the actual luminance data at the vertex on the overlapping side of the smaller triangle plane, and the position data of that vertex are substituted into the larger triangle plane, which occurs when the sizes of adjacent triangular planes with overlapping one side differ. In order to eliminate the difference from the calculated luminance data obtained, the larger triangle plane is further divided into triangle planes, and the process of making adjacent triangle planes continuous is performed.
A method for compressing a digital image in a digital image processing apparatus, wherein only pixels located at the three vertices of each triangle are extracted.
前記三角形は直角三角形であり、
直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、
デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置する請求項4に記載のデジタル画像の圧縮方法。
The triangle is a right triangle;
A number of pixels (where n is an integer equal to or greater than 0) are located on both sides of the right angle, with 1 added to the nth power of 2.
The arbitrary pixel is arranged at least at the position of the vertex of the triangle outside the periphery of the digital image when the number of pixels arranged on the edge in the peripheral portion of the digital image is less than the number obtained by the above formula. A method for compressing a digital image as described.
前記三角形の直角を挟む両辺上に位置する画素数が同じである請求項5に記載のデジタル画像の圧縮方法。   The digital image compression method according to claim 5, wherein the number of pixels located on both sides sandwiching the right angle of the triangle is the same. 請求項4〜請求項6に記載された方法によって圧縮された画像を、デジタル画像処理装置により復元するデジタル画像の復元方法であって、
三角形を構成する3つの画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、
前記三角形平面から求められる位置データと輝度データとを備えた画素を前記三角形の頂点以外の内部又は辺上に位置すべき画素とすることを特徴とするデジタル画像処理装置におけるデジタル画像の復元方法。
A digital image restoration method for restoring an image compressed by the method according to claim 4 using a digital image processing apparatus,
A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels constituting the triangle,
A method for restoring a digital image in a digital image processing apparatus , characterized in that a pixel having position data and luminance data obtained from the triangle plane is a pixel that should be located inside or on a side other than the vertex of the triangle.
一定の間隔で配置された画素の集合体で表現されるデジタル画像を拡大して補間する方法を、デジタル画像処理装置のコンピュータに実行させるための拡大補間プログラムが記録された記録媒体であって、
前記プログラムは、
3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割するステップと、
(1)三角形は重なることはない。
(2)拡大対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。
(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。
一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させるステップと、
デジタル画像を拡大する際に発生する画素間の隙間を前記三角形平面から求められる位置データと輝度データを備えた画素で補間するステップとをコンピュータに実行させる記録媒体。
A recording medium on which an enlargement interpolation program for causing a computer of a digital image processing apparatus to execute a method of enlarging and interpolating a digital image expressed by a collection of pixels arranged at a constant interval is recorded,
The program is
Virtually dividing a digital image according to the following conditions (1) to (3) with a plurality of triangles each having three vertices located on a pixel;
(1) Triangles do not overlap.
(2) All the pixels within the enlargement target range are located inside or on the side of any triangle.
(3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within.
Substitute the actual luminance data at the vertex on the overlapping side of the smaller triangle plane and the position data of that vertex into the larger triangular plane, which occurs when the sizes of adjacent triangular planes with overlapping one side are different Dividing the larger triangular plane further into triangular planes to eliminate the difference from the calculated luminance data obtained, and continuing adjacent triangular planes;
A recording medium for causing a computer to execute a step of interpolating a gap between pixels generated when enlarging a digital image with pixels having position data and luminance data obtained from the triangular plane.
前記三角形は直角三角形であり、
直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、
前記プログラムは、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するステップをコンピュータに実行させる請求項8に記載の記録媒体。
The triangle is a right triangle;
A number of pixels (where n is an integer equal to or greater than 0) are located on both sides of the right angle, with 1 added to the nth power of 2.
The program, when pixels are arranged on the sides in the peripheral portion of the digital image is less than the number obtained by the equation, to place an arbitrary pixel in at least a triangle position of the vertex of the periphery outside of the digital image The recording medium according to claim 8, wherein the step is executed by a computer .
前記三角形の直角を挟む両辺上に位置する画素数が同じである請求項9に記載の記録媒体。 The recording medium according to claim 9, wherein the number of pixels located on both sides sandwiching the right angle of the triangle is the same. 一定の間隔で配置された画素の集合体で表現されるデジタル画像の圧縮方法を、デジタル画像処理装置のコンピュータに実行させるための圧縮プログラムが記録された記録媒体であって、
前記プログラムは、
3頂点のそれぞれが画素上に位置する複数の三角形でデジタル画像を下記(1)〜(3)の条件に従い仮想的に分割するステップと、
(1)三角形は重なることはない。
(2)圧縮対象範囲内にある全ての画素はいずれかの三角形の内部又は辺上に位置する。
(3)各三角形の3頂点に位置する3画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求め、前記対応する三角形の内部又は辺上に位置する各画素の実輝度データと、同じ画素の実位置データから前記三角形平面を用いて求められる計算輝度データーをそれぞれ比較し、それらの差が所定の範囲内にあること、又は、前記差を統計的に処理した結果が所定の範囲内であること。
一辺が重なり合う隣り合った三角形平面の大きさが異なる場合に発生する、小さい方の三角形平面の重なり合う辺上の頂点における実輝度データと、大きい方の三角形平面に当該頂点の位置データを代入して得られる計算輝度データとの差を解消するために大きい方の三角形平面をさらに三角形平面に分割して、隣り合う三角形平面を連続させるステップと、
前記各三角形の3頂点に位置する画素のみを抽出するステップとをコンピュータに実行させる記録媒体。
A recording medium on which a compression program for causing a computer of a digital image processing apparatus to execute a compression method of a digital image expressed by a set of pixels arranged at a constant interval is recorded,
The program is
Virtually dividing a digital image according to the following conditions (1) to (3) with a plurality of triangles each having three vertices located on a pixel;
(1) Triangles do not overlap.
(2) All the pixels within the compression target range are located inside or on the side of any triangle.
(3) A triangular plane is obtained from the three dimensions of the position data and luminance data of the three pixels located at the three vertices of each triangle, and the actual luminance data of each pixel located inside or on the corresponding triangle; Comparing calculated luminance data obtained from the actual position data of the same pixel using the triangular plane, the difference between them is within a predetermined range, or the result of statistically processing the difference is a predetermined range. Be within.
Substitute the actual luminance data at the vertex on the overlapping side of the smaller triangle plane and the position data of that vertex into the larger triangular plane, which occurs when the sizes of adjacent triangular planes with overlapping one side are different Dividing the larger triangular plane further into triangular planes to eliminate the difference from the calculated luminance data obtained, and continuing adjacent triangular planes;
A recording medium that causes a computer to execute only the step of extracting pixels located at the three vertices of each triangle.
前記三角形は直角三角形であり、
直角を挟む両辺上に2のn乗に1を足した(nは0以上の整数)数の画素が位置し、
前記プログラムは、デジタル画像の周縁部分において前記辺上に配置される画素が前記式で得られる数に満たない場合は、デジタル画像の周縁外の少なくとも三角形の頂点の位置に任意の画素を配置するステップをコンピュータに実行させる請求項11に記載の記録媒体。
The triangle is a right triangle;
A number of pixels (where n is an integer equal to or greater than 0) are located on both sides of the right angle, with 1 added to the nth power of 2.
When the number of pixels arranged on the side in the peripheral part of the digital image is less than the number obtained by the above formula, the program arranges an arbitrary pixel at least at the position of the vertex of the triangle outside the peripheral part of the digital image. The recording medium according to claim 11, which causes a computer to execute the steps.
前記三角形の直角を挟む両辺上に位置する画素数が同じである請求項12に記載の記録媒体。 The recording medium according to claim 12, wherein the number of pixels located on both sides sandwiching the right angle of the triangle is the same. 請求項4〜請求項6に記載された方法によって圧縮された画像の復元方法を、デジタル画像処理装置のコンピュータに実行させるための復元プログラムが記録された記録媒体であって、
前記プログラムは、
前記圧縮された画像に対し、
三角形を構成する3つの画素がそれぞれ有する位置データと輝度データの3次元から三角形平面を求めるステップと、
前記三角形平面から求められる位置データと輝度データとを備えた画素を前記三角形の頂点以外の内部又は辺上に位置すべき画素とするステップとをコンピュータに実行させる記録媒体。
A recording medium on which a restoration program for causing a computer of a digital image processing apparatus to execute the restoration method of an image compressed by the method according to claim 4,
The program is
For the compressed image,
Obtaining a triangular plane from the three dimensions of position data and luminance data each of the three pixels constituting the triangle;
A recording medium for causing a computer to execute a step of setting a pixel having position data and luminance data obtained from the triangle plane to be located inside or on a side other than the vertex of the triangle.
JP2003287353A 2003-08-06 2003-08-06 Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium Expired - Fee Related JP4166646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003287353A JP4166646B2 (en) 2003-08-06 2003-08-06 Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003287353A JP4166646B2 (en) 2003-08-06 2003-08-06 Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium

Publications (2)

Publication Number Publication Date
JP2005056215A JP2005056215A (en) 2005-03-03
JP4166646B2 true JP4166646B2 (en) 2008-10-15

Family

ID=34366352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003287353A Expired - Fee Related JP4166646B2 (en) 2003-08-06 2003-08-06 Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium

Country Status (1)

Country Link
JP (1) JP4166646B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5451135B2 (en) * 2009-03-26 2014-03-26 キヤノン株式会社 Image processing apparatus and image processing method
JP5451285B2 (en) * 2009-09-24 2014-03-26 キヤノン株式会社 Image processing apparatus and image processing method
JP2012018546A (en) * 2010-07-07 2012-01-26 Toshiba Corp Image processing device and image processing method
JP5087665B2 (en) * 2010-08-30 2012-12-05 株式会社東芝 Image processing apparatus, method, and program
JP5633046B2 (en) * 2012-08-31 2014-12-03 株式会社アクセル Image information processing method and image information processing system

Also Published As

Publication number Publication date
JP2005056215A (en) 2005-03-03

Similar Documents

Publication Publication Date Title
JP3031613B2 (en) Color / shade image input / output device and input / output method
US8542932B2 (en) Image processing method and image processing apparatus using different compression methods
JP4658223B2 (en) Image generating method, apparatus, program thereof, and recording medium recording program
US7545387B2 (en) Method and apparatus for sampling on a non-power-of-two pixel grid
CN104732479B (en) Resizing an image
US8077356B2 (en) Content-aware halftone image resizing using iterative determination of energy metrics
JP2003323631A (en) Modeling method for 3d scene
JP4114191B2 (en) Image processing apparatus and image processing method
GB2526359A (en) Graphics processing systems
JP2008059582A (en) Level of detail value calculating method for reducing power consumption, and 3-dimensional rendering system using the same
JP4166646B2 (en) Digital image enlargement interpolation method, digital image compression method, digital image restoration method, recording medium on which digital image enlargement interpolation program is recorded, recording medium on which digital image compression program is recorded, and digital image restoration program Recorded recording medium
JP5413263B2 (en) Image generation method
US8094955B2 (en) Image reducing apparatus and reduced image generating method
JP4445953B2 (en) Image correction method and apparatus using stamp
JP2837584B2 (en) How to create terrain data
KR100633029B1 (en) Method of Analyzing and Modifying a Footprint
US8031955B2 (en) Image processing apparatus, image processing method, medium storing program, and computer data signal
WO2000075865A1 (en) Image processing method
US7428346B2 (en) Image processing method and image processing device
JP4009289B2 (en) Method for determining a weighting factor for color-calculating a texel color value associated with a footprint
JP5007430B2 (en) AC component prediction system and AC component prediction program
JP5534798B2 (en) How to edit video temporally
JPH09252400A (en) Image processor and its method
JP7312040B2 (en) Texture mapping device and program for texture mapping
JP4087010B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080516

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080730

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 3

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

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

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees