JP2007150537A - Image processor and image processing method - Google Patents
Image processor and image processing method Download PDFInfo
- Publication number
- JP2007150537A JP2007150537A JP2005340162A JP2005340162A JP2007150537A JP 2007150537 A JP2007150537 A JP 2007150537A JP 2005340162 A JP2005340162 A JP 2005340162A JP 2005340162 A JP2005340162 A JP 2005340162A JP 2007150537 A JP2007150537 A JP 2007150537A
- Authority
- JP
- Japan
- Prior art keywords
- image
- size
- encoded data
- data
- hierarchy
- 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
Links
- 238000003672 processing method Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000006837 decompression Effects 0.000 claims description 5
- 230000015654 memory Effects 0.000 abstract description 21
- 230000009466 transformation Effects 0.000 abstract 2
- 101100493897 Arabidopsis thaliana BGLU30 gene Proteins 0.000 description 3
- 101100422614 Arabidopsis thaliana STR15 gene Proteins 0.000 description 3
- 101100141327 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RNR3 gene Proteins 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 101150112501 din1 gene Proteins 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、ウェーブレット(Wavelet)変換などの符号化方式によって符号化データから任意のサイズの画像を得るための技術に関する。 The present invention relates to a technique for obtaining an image of an arbitrary size from encoded data by an encoding method such as a wavelet transform.
階層型のウェーブレット(Wavelet)変換方式は、画像データの低周波数成分と高周波数成分を分離し、複数の階層によって構成される符号化データを生成する点が特徴である。この階層型ウェーブレット変換方式による符号化データから任意のサイズの画像を得る場合、全ての階層に属する画像データをウェーブレット逆変換で伸張し、さらにこの伸張した画像データを所望のサイズの画像になるように変倍する、という手順を踏む。ところが、このような伸張・変倍処理には相当の時間を要するという問題がある。 The hierarchical wavelet transform method is characterized in that low frequency components and high frequency components of image data are separated to generate encoded data composed of a plurality of layers. When an image of an arbitrary size is obtained from encoded data by this hierarchical wavelet transform method, image data belonging to all layers is expanded by inverse wavelet transform, and the expanded image data is converted into an image of a desired size. Follow the procedure of scaling. However, there is a problem that such expansion / magnification processing requires a considerable time.
そこで、特許文献1では、最も大きいサイズの画像を表す符号化データに相当する最上位階層から、ユーザの指定した画像サイズの直情階層+1の階層までに存在する階層のウエーブレット変換係数(符号化データ)のサイズを、伸張画像の画像サイズとして決定するようにしている。これにより、ユーザが指定した画像サイズに最も近く且つその画像サイズよりも小さい伸張画像を得ることができるから、この伸張画像を指定された画像サイズに拡大すればよく、処理に要する時間を短縮することができる。
しかし、特許文献1に記載された方法では、伸張画像を拡大する際に、その画像に含まれる画素を2次元に展開するためのページメモリや、画素を1ラインずつ展開するためのラインメモリが必要となる。そのため、コストが嵩むと共に、これらのメモリの実装スペースが必要となってしまうという問題がある。
However, in the method described in
本発明は、上述した背景に鑑みてなされたものであり、ウェーブレット変換などの階層型の符号化方式によって符号化データを伸張し、指定されたサイズの画像を得る処理において、その処理に用いるメモリの数乃至容量を従来よりも低減させることを目的とする。 The present invention has been made in view of the above-described background, and in a process of expanding encoded data by a hierarchical encoding method such as wavelet transform to obtain an image of a specified size, a memory used for the process It is an object of the present invention to reduce the number or capacity of the above.
上記目的を達成するために、本発明は、画像のサイズを指定する指定手段と、複数の階層によって構成される符号化データを記憶する記憶手段と、前記符号化データを構成する複数の階層のうち、最も大きいサイズの画像を表す符号化データに相当する階層から、前記指定手段によって指定されたサイズ以上で且つ最も小さいサイズの画像を表す符号化データに相当する階層に至るまでの各階層に属する符号化データを伸張して画像データを生成する伸張手段と、前記伸張手段によって生成された画像データが表す画像が前記指定手段によって指定されたサイズとなるように当該画像を縮小する縮小手段と、前記縮小手段によって縮小された画像を出力する出力手段とを備えることを特徴とする画像処理装置を提供する。 In order to achieve the above object, the present invention provides a specifying means for specifying the size of an image, a storage means for storing encoded data constituted by a plurality of hierarchies, and a plurality of hierarchies constituting the encoded data. Among these, each layer from a layer corresponding to encoded data representing the image of the largest size to a layer corresponding to encoded data representing the image of the smallest size and larger than the size specified by the designating means. Decompression means for decompressing the encoded data to which it belongs to generate image data; and reduction means for reducing the image so that the image represented by the image data generated by the expansion means has a size designated by the designation means; And an output means for outputting the image reduced by the reduction means.
この画像処理装置によれば、符号化された各階層の画像のうち、最も大きいサイズの画像を表す符号化データに相当する階層から、指定されたサイズ以上で且つ最も小さいサイズの画像を表す符号化データに相当する階層に至るまでの各階層に属する符号化データを伸張し、それを縮小するから、画像の拡大処理に必要なページメモリやラインメモリを必要としない。よって、ウェーブレット変換などの階層型の符号化方式によって符号化データを伸張し、指定されたサイズの画像を得る処理において、従来よりもメモリの数乃至容量を従来よりも低減させることができる。 According to this image processing apparatus, a code that represents an image of the smallest size that is greater than or equal to the specified size from the layer corresponding to the coded data representing the image of the largest size among the coded images of each layer. Since the encoded data belonging to each layer up to the layer corresponding to the digitized data is expanded and reduced, the page memory and line memory necessary for the image enlargement process are not required. Therefore, in the process of decompressing encoded data by a hierarchical encoding method such as wavelet transform to obtain an image of a specified size, the number or capacity of memories can be reduced more than before.
図1は、本発明の実施形態に係る画像処理装置1の構成を示す図である。
図1に示すように、画像処理装置1は、画像サイズ指定部10と、記憶部11と、伸張部12と、縮小部13と、出力部14とを有している。この画像処理装置1は、画像データに基づいて画像を記録材に形成する画像形成装置に内蔵されるものであってもよいし、その画像形成装置に接続されたコンピュータであってもよいし、或いは、スタンドアロン型のコンピュータであってもよい。
FIG. 1 is a diagram showing a configuration of an
As illustrated in FIG. 1, the
図1において、記憶部11は例えばハードディスクであり、符号化された画像データ(以下、符号化データという)を記憶している。この符号化データは、階層型のウェーブレット変換方式によって符号化されて複数の階層からなるものであり、ウェーブレット変換方式における「ウェーブレット変換係数」に相当するものである。画像サイズ指定部10は、例えばキーボードやマウスなどの操作子であり、ユーザはこの画像サイズ指定部10を用いて任意の画像サイズを指定することができる。伸張部12は、記憶部11から符号化データを読み出し、これを伸張する。縮小部13は、伸張部12によって伸張された符号化データを、画像サイズ指定部10において指定された画像サイズとなるように縮小する。出力部14は、縮小部13によって縮小された画像データを、画像データに基づいて画像を表示する表示装置に出力したり、画像データに基づいて画像を記録材に形成する画像形成装置に出力する。
In FIG. 1, a
次に図2は、画像処理装置1が、記憶部11に記憶された符号化データから、ユーザが指定したサイズの画像(ビットマップ画像)を得るまでの処理の流れを示すフローチャートである。図2において、まず、ユーザは所望の画像サイズを画像サイズ指定部10によって指定し、画像サイズ指定部10はこのサイズを記憶する(ステップS1)。伸張部12は、記憶部11に記憶されている符号化データの各階層を参照し、指定された画像サイズ以下で且つ最も大きい画像に相当する階層(i+1)、および、指定された画像サイズ以上で且つ最も小さい画像に相当する階層(i)を満たす階層数(整数値)iを求める(ステップS2)。即ち、伸張部12は、(符号化前の画像サイズ)/2(i+1)≦指定された画像サイズ<(符号化前の画像サイズ)/2iを満たす整数値iを計算により求める。
Next, FIG. 2 is a flowchart showing a processing flow until the
伸張部12は、階層数iを求めると、符号化データの最上位階層から(i+1)階層までに存在する階層について逆ウェーブレット変換を施し、伸張された画像データ(以下、伸張画像データという)を得る(ステップS3)。つまり、伸張部12は、符号化データを構成する複数の階層のうち、最も大きいサイズの画像を表す符号化データに相当する階層から、指定されたサイズ以上で且つ最も小さいサイズの画像を表す符号化データに相当する階層に至るまでの各階層に属する符号化データを伸張して伸張画像データを得るというわけである。
When the
次に、縮小部13は、この伸張画像データが表す画像を、画像サイズ指定部10において指定されたサイズの画像へと縮小する(ステップS4)。この画像データ縮小技術としては、従来からよく知られているものを適用し得る。例えば画像を構成する画素を間引くことで画像全体を縮小してもよい。このような間引き処理は、画像データから一定の基準に従って画素を次々と間引いていくだけであるから、ページメモリやラインメモリのような大容量のメモリを必要としない。
Next, the
また、縮小部13は、2点間補間法によって画像サイズを縮小してもよい。2点間補間法とは、縮小(変倍)前の画素の位置と、縮小後の画素が配置されるであろう位置とを比較し、縮小後の画素を挟む縮小前の2つの画素の濃度を、縮小後の画素とこれら2つの画素との距離によって逆加重平均化して縮小後の画素を決定する、というものである。図3は、この2点間補間法を説明するための概念図である。図3において例えば入力画素(縮小前の画素)DIN1,DIN2によって挟まれる位置にある出力画素(縮小後の画素)DOUT1に着目すると、出力画素DOUT1の濃度値は、入力画素DIN1の濃度値×(1−0.25)+入力画素DIN2の濃度値×0.25、という計算式によって求めることができる。なお、出力画素DOUT1と入力画素DIN1との距離:出力画素DOUT1と入力画素DIN2との距離=0.25:0.75とする。このような2点補間法は、乗算器及び加算器からなる畳み込み演算器を用いて実現されるから、ページメモリやラインメモリのような大容量のメモリを必要としない。
The
そして、図2において、出力部14は、縮小部13によって縮小された画像データを図示せぬ表示装置や画像形成装置に出力する(ステップS5)。
In FIG. 2, the
以上説明した実施形態によれば、階層型ウェーブレット変換係数の最上位階層から(i+1)階層までに存在する階層について、逆ウェーブレット変換によって伸張してから、指定の画像サイズへと縮小する。つまり、伸張画像を縮小するだけでよいから、拡大処理に必要なページメモリやラインメモリのような比較的大容量のメモリが不要となる。よって、ウェーブレット変換という階層型の符号化方式によって符号化データを伸張し、指定されたサイズの画像を得る処理において、従来よりもメモリの数乃至容量を従来よりも低減させることができる。 According to the embodiment described above, the layers existing from the highest layer of the hierarchical wavelet transform coefficient to the (i + 1) layer are expanded by inverse wavelet transform and then reduced to a specified image size. That is, since it is only necessary to reduce the expanded image, a relatively large capacity memory such as a page memory or a line memory necessary for the enlargement process is not necessary. Therefore, in the process of expanding the encoded data by a hierarchical encoding method called wavelet transform to obtain an image of a specified size, the number or capacity of memories can be reduced more than before.
なお、上述した実施形態を次のように変形してもよい。
サブバンド変換による符号化方式は、上述したウェーブレット変換による符号化方式と比較すると、各階層において低周波成分だけでなく高周波成分も順次成分分解して持つという点が相違しているだけである。したがって、実施形態で用いたウェーブレット変換に代えてサブバンド変換を用いたとしても、上記の実施形態と同様の方法により、指定されたサイズの画像を得ることが可能である。
上述した画像処理に関わる伸張部12や縮小部13の機能をコンピュータに実行させることのできるプログラムを、磁気媒体や光記録媒体或いは半導体メモリなどの記録媒体に書き込んで流通させることも可能である。コンピュータは、この記録媒体に記録されたプログラムを読み込み、その手順に従って上述した動作を実行する。また、インターネットなどのネットワークに接続されたサーバから上記プログラムを画像処理装置(コンピュータ)にダウンロードしてインストールさせるようにしてもよい。
The embodiment described above may be modified as follows.
The encoding method based on subband conversion is different from the above-described encoding method based on wavelet transform in that not only low frequency components but also high frequency components are sequentially decomposed in each layer. Therefore, even if subband transform is used instead of the wavelet transform used in the embodiment, an image having a specified size can be obtained by the same method as in the above embodiment.
A program capable of causing a computer to execute the functions of the
1…画像処理装置、10…画像サイズ指定部、11…記憶部、12…伸張部、13…縮小部、14…出力部。
DESCRIPTION OF
Claims (3)
複数の階層によって構成される符号化データを記憶する記憶手段と、
前記符号化データを構成する複数の階層のうち、最も大きいサイズの画像を表す符号化データに相当する階層から、前記指定手段によって指定されたサイズ以上で且つ最も小さいサイズの画像を表す符号化データに相当する階層に至るまでの各階層に属する符号化データを伸張して画像データを生成する伸張手段と、
前記伸張手段によって生成された画像データが表す画像が前記指定手段によって指定されたサイズとなるように当該画像を縮小する縮小手段と、
前記縮小手段によって縮小された画像を出力する出力手段と
を備えることを特徴とする画像処理装置。 A specifying means for specifying the size of the image;
Storage means for storing encoded data composed of a plurality of hierarchies;
Encoded data that represents an image of the smallest size that is equal to or larger than the size specified by the specifying means, from the hierarchy corresponding to the encoded data that represents the image of the largest size among the multiple layers that constitute the encoded data Decompression means for decompressing encoded data belonging to each layer up to a layer corresponding to, and generating image data;
Reduction means for reducing the image so that the image represented by the image data generated by the expansion means has a size designated by the designation means;
An image processing apparatus comprising: output means for outputting an image reduced by the reduction means.
複数の階層によって構成される符号化データを記憶手段から読み出し、読み出した符号化データを構成する複数の階層のうち、最も大きいサイズの画像を表す符号化データに相当する階層から、指定された前記サイズ以上で且つ最も小さいサイズの画像を表す符号化データに相当する階層に至るまでの各階層に属する符号化データを伸張して画像データを生成するステップと、
生成された前記画像データが表す画像が指定された前記サイズとなるように当該画像を縮小するステップと、
縮小された画像を出力するステップと
を備えることを特徴とする画像処理方法。 Specifying the size of the image;
The encoded data constituted by a plurality of hierarchies is read out from the storage means, and among the plural hierarchies constituting the read encoded data, the specified above-mentioned hierarchy from the hierarchy corresponding to the encoded data representing the image of the largest size A step of generating image data by decompressing encoded data belonging to each layer up to a layer corresponding to encoded data that is equal to or larger than the size and represents the smallest image;
Reducing the image so that the image represented by the generated image data has the specified size;
And a step of outputting a reduced image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005340162A JP2007150537A (en) | 2005-11-25 | 2005-11-25 | Image processor and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005340162A JP2007150537A (en) | 2005-11-25 | 2005-11-25 | Image processor and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007150537A true JP2007150537A (en) | 2007-06-14 |
Family
ID=38211437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005340162A Pending JP2007150537A (en) | 2005-11-25 | 2005-11-25 | Image processor and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007150537A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1333210C (en) * | 2004-08-13 | 2007-08-22 | 三星电子株式会社 | Outdoor machine of conditioner |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002344732A (en) * | 2001-05-14 | 2002-11-29 | Ricoh Co Ltd | Image expansion method for conversion code, program and recording medium |
JP2004214982A (en) * | 2002-12-27 | 2004-07-29 | Canon Inc | Image processing method |
-
2005
- 2005-11-25 JP JP2005340162A patent/JP2007150537A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002344732A (en) * | 2001-05-14 | 2002-11-29 | Ricoh Co Ltd | Image expansion method for conversion code, program and recording medium |
JP2004214982A (en) * | 2002-12-27 | 2004-07-29 | Canon Inc | Image processing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1333210C (en) * | 2004-08-13 | 2007-08-22 | 三星电子株式会社 | Outdoor machine of conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5214742B2 (en) | Predictive image processing | |
JP5452337B2 (en) | Image coding apparatus and program | |
JP2006304345A (en) | Method and device for decoding | |
JPH10198337A (en) | High speed aspect ratio zooming and thumbnail operation using compression and ceiling | |
JP2002511686A (en) | Multi-resolution compressed image management system and method | |
JP2000032461A (en) | Image coding method, image decoding method, and system and computer program product | |
JP5151919B2 (en) | Image decoding apparatus, image decoding method, and computer program | |
JP2007082217A (en) | Method and device for creating thumbnail of digital image | |
JP2006197074A (en) | Image processor, image processing method, and its program | |
CN115336243A (en) | Point cloud coding method and device based on haar | |
US7181077B2 (en) | Image decompression from transform coefficients | |
JP2007251476A (en) | Image compression apparatus and method, and program therefor | |
JP4835855B2 (en) | Apparatus, method and program for moving picture encoding, and apparatus method and program for moving picture decoding | |
JP2007150537A (en) | Image processor and image processing method | |
WO2003081898A1 (en) | Image data compression device, image data compression method, recording medium, and program | |
JP4127465B2 (en) | Image expansion apparatus and method, and recording medium | |
JP4584115B2 (en) | Image encoding apparatus, image encoding method, image encoding program, and computer-readable recording medium recording the image encoding program | |
JP2021174404A (en) | Data generation device, training device, and data generation method | |
KR100612850B1 (en) | Method and apparatus for predicting coefficient of discrete cosine transform | |
US8244071B2 (en) | Non-dyadic spatial scalable wavelet transform | |
JP2002152517A (en) | Image expander of conversion code | |
JPH11284840A (en) | Image forming device | |
KR100606357B1 (en) | Method of decomposing and composing multimedia data based on discrete wavelet transformation and system for decomposing and composing the same | |
JP2005235029A (en) | Image demagnification method and device, and program | |
US8260070B1 (en) | Method and system to generate a compressed image utilizing custom probability tables |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081022 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100520 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100525 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20101012 |