JP2006203744A - Still image generating apparatus and still image generation method - Google Patents
Still image generating apparatus and still image generation method Download PDFInfo
- Publication number
- JP2006203744A JP2006203744A JP2005015224A JP2005015224A JP2006203744A JP 2006203744 A JP2006203744 A JP 2006203744A JP 2005015224 A JP2005015224 A JP 2005015224A JP 2005015224 A JP2005015224 A JP 2005015224A JP 2006203744 A JP2006203744 A JP 2006203744A
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- still image
- thinned
- sample
- 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
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
本発明は、領域毎に解像度が設定される画像を、高い符号化効率で圧縮した圧縮符号化信号に生成させるための処理を行う静止画生成装置及び静止画生成方法に関する。 The present invention relates to a still image generating apparatus and a still image generating method for performing processing for generating an image whose resolution is set for each region into a compressed encoded signal compressed with high encoding efficiency.
最近になり、画像信号を圧縮符号化するJPEG(Joint Photographic Coding Experts Group)方式を用いる画像機器が製品化されている。例えばDV方式によるディジタルビデオカメラは、カメラで撮影した動画像をイントラ方式で符号化する、いわゆる「モーションJPEG」により符号化して記録する。記録された信号は任意のフレーム画像から復号可能であるため、任意のフレームを指定して動画像をつなぎ合わせる編集を行うことが出来る。 Recently, an image device using a JPEG (Joint Photographic Coding Experts Group) method for compressing and encoding an image signal has been commercialized. For example, a DV digital video camera encodes and records a moving image captured by the camera using an intra method, so-called “motion JPEG”. Since the recorded signal can be decoded from an arbitrary frame image, it is possible to perform editing by designating an arbitrary frame and connecting moving images.
一方、地域の安全を確保するための監視カメラ装置も多く導入されるようになってきた。監視カメラにより撮影された画像を基にして犯人の割り出しが容易になってきた。一方、監視カメラにより撮影される個人生活に係る画像はプライバシーの侵害となるため、個人に係る領域の撮影は低解像度に設定されてなされる。低解像度に設定された画像部分を高い圧縮率で符号化できれば、監視カメラで撮影された画像は通信回線を用いて伝送する場合に通信速度を低く出来る、及び画像を記録する媒体の記録領域を小さく出来るなど好ましい。 On the other hand, many surveillance camera apparatuses for ensuring the safety of the region have been introduced. It has become easier to find the criminal based on the images taken by the surveillance camera. On the other hand, since an image related to personal life captured by a surveillance camera is a violation of privacy, the image of an area related to an individual is set at a low resolution. If the image portion set to low resolution can be encoded with a high compression rate, the image taken by the surveillance camera can be transmitted at a low communication speed when transmitted using a communication line, and the recording area of the medium for recording the image can be reduced. It is preferable because it can be reduced.
特許文献1には、領域毎に画質の異なる画像を圧縮及び伸張する際に用いる量子化テーブルは汎用的な量子化テーブルを用いるようにして符号化を行う画像圧縮及び伸張方法が開示されている。即ち、入力される画像を複数の領域に分割し、画像を構成する複数の領域の少なくとも1つを、その領域に要求される画質に応じてダウンサンプリングし、領域の少なくとも一部にダウンサンプリングした画像を配し、その他の領域部分には例えば黒レベルの画像データを挿入する(以降フィルビットと記述することもある。)。ダウンサンプリングされた画像及び黒レベルの画像データを共通の量子化テーブルを用いて量子化し、符号化する。符号化された画像の復号化は、符号化時に用いた量子化テーブルにより逆量子化し、逆量子化された画像を構成する複数の領域のうちダウンサンプリングされている領域の画素を補間するようにしてアップサンプリングすることにより、領域毎に要求される画質の画像を出力するようにしている。入力される画像はダウンサンプリングされて解像度が低下されると共に、フィルビットされた単一色の黒データが圧縮符号化器に入力される、即ち情報量が低下された画像データが圧縮符号化器に入力されるため、高圧縮率の符号化データが出力されると期待される。
しかしながら、特許文献1に開示されている画像圧縮方法で、例えばJPEGを用いて符号化する場合では、入力される画像データが有する情報量に従った高圧縮率の符号化出力が得られない。フィルビットされた単一輝度レベルの画像データのエントロピーは0であるにも拘らず、フィルビットされた部分を符号化して得られる符号化データは所定のデータ量として存在するため、フィルビット部分のデータ量は符号化により所定値以下のデータ量とはならない。
即ち、データ間引きにより間引かれないダウンサンプリングされた画像データ、データ間引きにより間引かれた後に単一の輝度レベルに置換された置換画像データ、及び通常の解像度を有するその他の画像データを、例えばJPEGなどの符号化方式により高能率で圧縮符号化することはできなかった。
However, when the image compression method disclosed in
That is, downsampled image data that is not thinned by data thinning, replacement image data that has been thinned by data thinning and then replaced with a single luminance level, and other image data having a normal resolution, for example, High-efficiency compression encoding cannot be performed by an encoding method such as JPEG.
そこで、本発明は、上記のような問題点を解消するためになされたもので、データ間引きによりダウンサンプリングして得られた画像データ及び通常の解像度を有する他の画像データを、直交変換、量子化、及び隣接する各領域の直流成分の差分をとって行う符号化方式により高能率で圧縮符号化を行わせるための静止画信号を生成する静止画生成装置及び静止画生成方法を提供することを目的とする。 Therefore, the present invention has been made to solve the above-described problems. Image data obtained by down-sampling by data thinning and other image data having a normal resolution are subjected to orthogonal transformation, quantum And a still image generation apparatus and a still image generation method for generating a still image signal for performing compression encoding with high efficiency by an encoding method performed by taking a difference between DC components of adjacent regions. With the goal.
本願発明における第1の発明は、入力される静止画から前記静止画よりも情報量の小さい圧縮された圧縮静止画像を得る静止画生成装置において、前記静止画をマトリクス状に分割する分割部と、前記分割部でマトリクス状に分割された各領域毎に解像度を決定する解像度決定部と、前記解像度決定部で決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成するダウンサンプリング部と、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とする画像配列部と、前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出するアドレス抽出部と、前記アドレス抽出部で抽出された複数のアドレス情報の隣接する同士の差分を演算する演算部と、前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させる制御部とを備えたことを特徴とする静止画生成装置を提供する。
第2の発明は、入力される静止画から前記静止画よりも情報量の小さい圧縮された圧縮静止画像を得る静止画生成装置において、前記静止画をマトリクス状に分割する分割部と、前記分割部でマトリクス状に分割された各領域毎に解像度を決定する解像度決定部と、前記解像度決定部で決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成するダウンサンプリング部と、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とする画像配列部と、前記間引き無し領域の画像を第3サンプル画像とするとき、前記第2サンプル画像をスキップしながら、前記マトリクス画像領域を水平方向に順次走査して、スキップされた前記第2サンプル画像の数をカウントするカウント部と、前記第1、3サンプル画像と共に前記スキップされた前記第2サンプル画像の数を前記第1、3サンプル画像に対応させて記憶部に格納させる制御部と、を備えたことを特徴とする静止画生成装置を提供する。
第3の発明は、入力される静止画から前記静止画よりも情報量の小さい圧縮された圧縮静止画像を得る静止画生成方法において、前記静止画をマトリクス状に分割した後、分割された各領域毎に解像度を決定し、前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出し、前記複数のアドレス情報の隣接する同士の差分を演算し、前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させることを特徴とする静止画生成方法を提供する。
第4の発明は、入力される静止画から前記静止画よりも情報量の小さい圧縮された圧縮静止画像を得る静止画生成方法において、前記静止画をマトリクス状に分割した後、分割された各領域毎に解像度を決定し、前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、前記間引き無し領域の画像を第3サンプル画像とするとき、前記第2サンプル画像をスキップしながら、前記マトリクス画像領域を水平方向に順次走査して、スキップされた前記第2サンプル画像の数をカウントし、前記第1、3サンプル画像と共に前記スキップされた前記第2サンプル画像の数を前記第1、3サンプル画像に対応させて記憶部に格納させることを特徴とする静止画生成方法を提供する。
According to a first aspect of the present invention, there is provided a still image generating apparatus that obtains a compressed compressed still image having a smaller amount of information than the still image from an input still image, and a dividing unit that divides the still image into a matrix. A resolution determining unit that determines a resolution for each region divided in a matrix by the dividing unit, and a still image of each region is downloaded according to the resolution for each region determined by the resolution determining unit. A down-sampling unit that samples and generates a matrix image region having a thinned region and a non-thinned region arranged in a matrix, and determines an image that has not been thinned in the thinned region in advance as the thinned region The four sample areas are collected as a first sample image, and the thinned image is collected in a region other than the first sample image collected to obtain a second sample. When the image arrangement unit used as an image and the image of the non-decimated area are set as the third sample image, the matrix image area is sequentially scanned in the horizontal direction to extract a plurality of address information of the first and third sample images. An address extraction unit, a calculation unit that calculates a difference between adjacent address information extracted by the address extraction unit, and the first and third sample images, and the difference corresponding to the first and third sample images And a control unit that stores the data in a storage unit.
According to a second aspect of the present invention, there is provided a still image generating apparatus that obtains a compressed compressed still image having a smaller amount of information than the still image from an input still image, a dividing unit that divides the still image into a matrix, and the division A resolution determining unit that determines a resolution for each region divided in a matrix form in a unit, and down-sampling still images in each region according to the resolution for each region determined by the resolution determining unit A downsampling unit for generating a matrix image area having a thinned area and a non-thinned area arranged in a matrix, and images that have not been thinned in the thinned area are defined at four predetermined corners of the thinned area An image collected in a region as a first sample image, and the thinned image is collected in a region other than the region where the first sample image is collected as a second sample image. When the image of the row portion and the non-decimated area is the third sample image, the second sample image is skipped by sequentially scanning the matrix image area in the horizontal direction while skipping the second sample image. And a control unit for storing the number of the skipped second sample images together with the first and third sample images in the storage unit in association with the first and third sample images, Provided is a still image generating apparatus including the above-described feature.
According to a third aspect of the present invention, in the still image generation method for obtaining a compressed compressed still image having a smaller amount of information than the still image from the input still image, the still image is divided into a matrix and each divided The resolution is determined for each area, and the still image of each area is down-sampled according to the resolution for each area to generate a matrix image area having a thinned area and a thinned area arranged in a matrix. Then, the images that are not thinned out in the thinned-out region are collected in the predetermined four corner regions of the thinned-out region as the first sample image, and the thinned image is collected in the first sampled image. When the second sample image is collected in a region other than the region and the image of the non-decimated region is the third sample image, the matrix image region is sequentially scanned in the horizontal direction, A plurality of address information of the first and third sample images are extracted, a difference between adjacent ones of the plurality of address information is calculated, and the difference is associated with the first and third sample images together with the first and third sample images. And a still image generation method characterized in that the image is stored in a storage unit.
According to a fourth aspect of the present invention, in the still image generation method for obtaining a compressed compressed still image having a smaller amount of information than the still image from the input still image, the still image is divided into a matrix, and each divided The resolution is determined for each area, and the still image of each area is down-sampled according to the resolution for each area to generate a matrix image area having a thinned area and a thinned area arranged in a matrix. Then, the images that are not thinned out in the thinned-out region are collected in the predetermined four corner regions of the thinned-out region as the first sample image, and the thinned image is collected in the first sampled image. When the second sample image is collected in a region other than the second sample image and the image of the non-decimated region is used as the third sample image, the matrix is skipped while skipping the second sample image. The image area is sequentially scanned in the horizontal direction, the number of the second sample images skipped is counted, and the number of the second sample images skipped together with the first and third sample images is counted as the first, There is provided a still image generation method characterized by storing in a storage unit in correspondence with three sample images.
本発明によれば、静止画をマトリクス状に分割し、マトリクス状に分割された各領域毎に解像度を決定し、決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出し、抽出された複数のアドレス情報の隣接する同士の差分を演算し、前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させる格別な構成があるので、データ間引きによりダウンサンプリングして得られた画像データ及び通常の解像度を有する他の画像データを、直交変換、量子化、及び隣接する各領域の直流成分の差分をとって行う符号化方式により高能率で圧縮符号化を行わせるための静止画信号を生成する静止画生成装置及び静止画生成方法を実現できる。
また、本発明によれば、静止画をマトリクス状に分割した後、分割された各領域毎に解像度を決定し、前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、前記間引き無し領域の画像を第3サンプル画像とするとき、前記第2サンプル画像をスキップしながら、前記マトリクス画像領域を水平方向に順次走査して、スキップされた前記第2サンプル画像の数をカウントし、前記第1、3サンプル画像と共に前記スキップされた前記第2サンプル画像の数を前記第1、3サンプル画像に対応させて記憶部に格納させる格別な構成があるので、データ間引きによりダウンサンプリングして得られた画像データ及び通常の解像度を有する他の画像データを、直交変換、量子化、及び隣接する各領域の直流成分の差分をとって行う符号化方式により高能率で圧縮符号化を行わせるための静止画信号を生成する静止画生成装置及び静止画生成方法を実現できる。
According to the present invention, the still image is divided into a matrix, the resolution is determined for each area divided into the matrix, and the still image of each area is determined according to the determined resolution for each area. Down-sampling to generate a matrix image area having a thinned area and a non-thinned area arranged in a matrix, and images that have not been thinned in the thinned area are defined at four predetermined corners of the thinned area. A first sample image is collected in a region, the thinned image is collected in a region other than the first sample image is collected as a second sample image, and an image in the non-decimated region is a third sample image. The matrix image area is sequentially scanned in the horizontal direction to extract a plurality of address information of the first and third sample images, and adjacent to the plurality of extracted address information. Since there is a special configuration in which the difference between the first and third sample images is stored in the storage unit in association with the first and third sample images, it is obtained by downsampling by data thinning. The image data and other image data having a normal resolution are subjected to high-efficiency compression coding by an orthogonal transformation, quantization, and a coding method that takes the difference of the DC component of each adjacent region. Still image generating apparatus and still image generating method for generating a still image signal can be realized.
Further, according to the present invention, after dividing the still image into a matrix, the resolution is determined for each divided region, and the still image of each region is down-sampled according to the resolution of each region. Generating a matrix image area having a thinned area and a thinned area arranged in a matrix, and collecting images not thinned in the thinned area in predetermined four corner areas of the thinned area. A first sample image, the thinned image is collected in a region other than the first sample image collected as a second sample image, and the non-decimated region image is a third sample image, The matrix image area is sequentially scanned in the horizontal direction while skipping the second sample image, and the number of skipped second sample images is counted. Since there is a special configuration in which the number of the skipped second sample images together with the three sample images is stored in the storage unit corresponding to the first and third sample images, an image obtained by down-sampling by data thinning Still image for high-efficiency compression coding of data and other image data having normal resolution by orthogonal transformation, quantization, and a coding method that takes the difference of the DC component of each adjacent region A still image generating apparatus and a still image generating method for generating a signal can be realized.
以下に本発明の各実施例に係る静止画生成装置及び静止画生成方法について図1〜図16を用いて説明する。
図1は、本発明の実施に係る静止画符号化、復号化システムの構成例を示すブロック図である。
図2は、本発明の実施に係る静止画生成装置の解像度指定部の動作例を示した図である。
図3は、本発明の実施に係る静止画生成装置のダウンサンプリング部の動作例を示した図である。
図4は、本発明の実施に係るダウンサンプリング部の動作例を示した図である。
図5は、ダウンサンプリングされた画像の符号化の動作例を示した図である。
図6は、本発明の実施に係る並び替え部の動作例を示した図である。
図7は、本発明の実施に係る並び替え部の動作例を示した図である。
図8は、本発明の実施に係る並び替え部の動作の変形例を示した図である。
図9は、本発明の実施に係る情報付加部の動作例を示した図である。
図10は、本発明の実施に係る並び替え部の動作の変形例を示した図である。
図11は、本発明の実施に係る並び替え部動作の他の変形例を示した図である。
図12は、本発明の実施に係る静止画生成装置の動作例をフローチャートで示した図である。
図13は、本発明の実施に係る復号化装置の動作例をフローチャートで示した図である。
図14は、本発明の実施に係る復号化装置の動作の変形例をフローチャートで示した図である。
図15は、本発明の実施に係る復号化装置動作の他の変形例をフローチャートで示した図である。
図16は、本発明の実施に係る静止画生成、符号化、復号化装置の変形構成例を示すブロック図である。
Hereinafter, still image generation apparatuses and still image generation methods according to embodiments of the present invention will be described with reference to FIGS.
FIG. 1 is a block diagram illustrating a configuration example of a still image encoding / decoding system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating an operation example of the resolution designation unit of the still image generation device according to the embodiment of the present invention.
FIG. 3 is a diagram illustrating an operation example of the downsampling unit of the still image generating apparatus according to the embodiment of the present invention.
FIG. 4 is a diagram illustrating an operation example of the downsampling unit according to the embodiment of the present invention.
FIG. 5 is a diagram illustrating an operation example of encoding a down-sampled image.
FIG. 6 is a diagram illustrating an operation example of the rearrangement unit according to the embodiment of the present invention.
FIG. 7 is a diagram illustrating an operation example of the rearrangement unit according to the embodiment of the present invention.
FIG. 8 is a diagram showing a modification of the operation of the rearrangement unit according to the embodiment of the present invention.
FIG. 9 is a diagram illustrating an operation example of the information adding unit according to the embodiment of the present invention.
FIG. 10 is a diagram showing a modified example of the operation of the rearrangement unit according to the embodiment of the present invention.
FIG. 11 is a diagram showing another modification example of the rearranging unit operation according to the embodiment of the present invention.
FIG. 12 is a flowchart illustrating an operation example of the still image generation apparatus according to the embodiment of the present invention.
FIG. 13 is a flowchart illustrating an operation example of the decoding apparatus according to the embodiment of the present invention.
FIG. 14 is a flowchart showing a modification of the operation of the decoding apparatus according to the embodiment of the present invention.
FIG. 15 is a flowchart showing another modification of the operation of the decoding apparatus according to the embodiment of the present invention.
FIG. 16 is a block diagram illustrating a modified configuration example of a still image generation, encoding, and decoding apparatus according to an embodiment of the present invention.
その静止画生成装置は、データ間引きによりダウンサンプリングして得られた画像データ及び通常の解像度を有する他の画像データを、直交変換、量子化、及び隣接する各領域の直流成分の差分をとって行う符号化方式により高能率で圧縮符号化を行わせるための静止画信号を生成するという目的を、静止画をマトリクス状に分割し、マトリクス状に分割された各領域毎に解像度を決定し、決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出し、抽出された複数のアドレス情報の隣接する同士の差分を演算し、前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させるようにして実現した。 The still image generation device performs orthogonal transformation, quantization, and difference of DC components of adjacent areas on image data obtained by down-sampling by data thinning and other image data having normal resolution. The purpose of generating a still image signal for performing compression coding with high efficiency by the encoding method to be performed is to divide the still image into a matrix and determine the resolution for each area divided into the matrix, According to the determined resolution for each area, the still image of each area is downsampled to generate a matrix image area having a thinned area and a thinned area arranged in a matrix, and the thinned area is present. The images that are not thinned out in the region are collected in the predetermined four corner regions of the thinned-out region as a first sample image, and the thinned-out image is the first sample image. When the sample image is collected in an area other than the collected area as the second sample image, and the image in the non-decimated area is set as the third sample image, the matrix image area is sequentially scanned in the horizontal direction, and the first, A plurality of address information of three sample images are extracted, a difference between adjacent ones of the extracted plurality of address information is calculated, and the difference is associated with the first and third sample images together with the first and third sample images. Realized by storing in the storage unit.
静止画生成装置の構成について静止画符号化、復号化システムの構成と共に述べる。
図1に示す静止画符号化、復号化システムは分割部11、ダウンサンプリング部12、解像度指定部13、並び替え部14、及び情報付加部17よりなる静止画生成装置1と、JPEG(Joint Photographic Coding Experts Group)符号化装置2と、情報抽出部31、JPEG復号化部32、並び替え復元部33、位置判定部34、及び補間処理部35よりなる静止画復号装置3より構成される。静止画生成装置1と静止画復号装置3とは通信回線により結合されている。
図16に示す静止画生成、符号化、及び復号化装置1000は、入力装置1001、解像度指定部1002、中央処理制御装置1003、外部記憶装置1004、一時記憶装置1005、通信装置1006、及び出力装置1007より構成される。
The configuration of the still image generation apparatus will be described together with the configuration of the still image encoding / decoding system.
The still image encoding / decoding system shown in FIG. 1 includes a still
16 includes an
静止画生成装置の動作について述べる。
図1を参照して静止画符号化、復号化システムについて述べる。
まず、監視カメラなどから入力される画像に対する解像度の設定が解像度指定部13を介してなされる。例えば、個人が生活する空間が撮影される領域は低解像度に、監視が必要な領域は高解像度に設定される。画像の解像度は監視画像を16画素×16画素のマクロブロックごとに設定される。
The operation of the still image generation device will be described.
A still image encoding / decoding system will be described with reference to FIG.
First, the resolution setting for an image input from a surveillance camera or the like is made via the
監視カメラで撮影された例えば1フレームが640画素×480画素の画像データは分割部11に入力され、16画素×16画素のマクロブロックごとの画像に分割される。分割された画像は解像度指定部13で指定された解像度に応じてダウンサンプリングがなされる。即ち、高解像度領域として指定される領域のマクロブロックは16画素×16画素のままとされ、低解像度領域として指定される領域のマクロブロックは8画素×8画素のデータに間引かれる。
For example, image data of one frame of 640 pixels × 480 pixels photographed by the surveillance camera is input to the dividing
並び替え部14では、間引かれなかった画像データはマクロブロックの左上の位置に集められて8画素×8画素のブロックのデータとされ、間引かれたデータはマクロブロック中の他の位置に纏められた後に例えば輝度レベルが0である黒画像データに置換される。
並び替え部14では、間引かれなかったブロックの画像データ、及び高解像度領域として指定されるマクロブロック領域の4つのブロックで構成される画像データと、黒画像データとは別々の領域に並び替えられる。
JPEG符号化装置2には間引かれなかったブロックの画像データ、及び高解像度領域として指定されるマクロブロック領域の4つのブロックで構成される画像データのそれぞれが入力され、JPEG方式により符号化され圧縮符号化信号が得られる。
In the
The
The
ここで、ダウンサンプリング部12でダウンサンプリングされ、間引かれなかったブロックの画像データと、間引かれて黒に置換されたブロックの黒画像データとが隣接して配置されるマクロブロックの画像データを符号化する場合では、ブロック間での輝度レベルの差が大きいためJPEG圧縮後の符号量の低下は小さい。間引かれた画像データを黒の単一色のデータに置換することにより画像のエントロピーを低下させたにも拘らず、圧縮符号化信号の情報量はエントロピーの低下に応じた小さな値とはならないためである。
それに比し、並び替え部14で画像データブロックと黒画像データブロックとを並べ替えることにより隣接するブロック間での輝度レベル差を小さくした画像の場合では、符号化して得られる圧縮符号化信号の符号量は、画像が有するエントロピーの低下に応じて符号量の小さな圧縮符号化信号が得られる。
Here, image data of a macroblock in which image data of a block that has been downsampled by the
In contrast, in the case of an image in which the luminance level difference between adjacent blocks is reduced by rearranging the image data block and the black image data block in the
JPEG符号化装置2から出力される圧縮符号化信号と、並び替え部14で並び替えられたブロックの並び順を示す並び順データは情報付加部17に入力される。圧縮符号化信号と並び順データとは時間軸多重化され符号化情報信号が生成される。
静止画生成装置1から符号化情報信号が出力される。
The compressed encoded signal output from the
An encoded information signal is output from the still
出力された符号化情報信号は通信回線を介して遠隔地に配置される静止画復号装置3に入力され、そこで画像信号が復号化される。
静止画復号装置3について述べる。
The output encoded information signal is input to a still
The still
情報抽出部31では入力された符号化情報信号は圧縮符号化信号と並び順データとに分離される。JPEG復号化部32では圧縮符号化信号のJPEG復号化がなされる。間引かれなかったブロックの画像データ、及び高解像度領域として指定されるマクロブロック領域の4つのブロックで構成される画像データのそれぞれが得られる。並び替え復元部33では、情報抽出部31により得られた並び順データが基にされて、復号化して得られた画像ブロックのデータが並び替えられる。ダウンサンプリング部12から出力されると同じブロック配列の画像データが得られる。位置判定部34では、低解像度領域として指定されたマクロブロックの位置が判定される。補間処理部35では、低解像度領域として指定されたマクロブロックの、左上の8画素×8画素のブロックデータはアップサンプリングにより16画素×16画素に補間されたマクロブロックのデータとして生成される。高解像度領域として指定されたマクロブロックの画像データはそのまま出力される。補間処理部35で生成して得られた画像データは図示しないモニタTVに供給され、そこに表示される。
なお、ここで、JPEG復号化部32は静止画復号装置3に内蔵されるとして述べた。JPEG復号化部32は静止画復号装置3に外付けされるJPEG復号化装置を用いるようにしても良い。
In the
Here, it has been described that the
図2を参照して解像度指定部13について述べる。
ここでは説明を簡略化するため画像データが64画素×64画素である場合について述べる。
同図において、64画素×64画素の画像データは水平及び垂直のそれぞれに4個づつのマクロブロックの画像データとして配列されている。ここで、網点が付されるマクロブロックは、低解像度領域として指定される領域である。
The
Here, in order to simplify the description, the case where the image data is 64 pixels × 64 pixels will be described.
In the figure, image data of 64 × 64 pixels is arranged as image data of four macroblocks in each of horizontal and vertical. Here, the macroblock to which halftone dots are attached is an area designated as a low resolution area.
図3は、水平(x)方向に16画素、垂直(y)方向に16画素配列されるマクロブロックの画像データと、4つのブロックの画像データとの位置関係を示したものである。x方向に0〜7の画素、y方向に0〜7の画素として配列されるブロックの画像データをδsとする。同様に、同図に示される他の3つのブロックの画像データをαs、βs、γsとする。 FIG. 3 shows the positional relationship between macroblock image data arranged in 16 pixels in the horizontal (x) direction and 16 pixels in the vertical (y) direction, and image data of four blocks. Let δs be the image data of a block arranged as 0 to 7 pixels in the x direction and 0 to 7 pixels in the y direction. Similarly, let αs, βs, and γs be the image data of the other three blocks shown in FIG.
図4を参照して、ダウンサンプリング部12及び並び替え部14について述べる。
同図に示す左上のマクロブロックは、解像度指定部13により低解像度領域として指定されている。ダウンサンプリング部12で、16画素×16画素のマクロブロック画像データのうち、x方向の1、3、5、・・・、15の画素データは間引かれ、x方向の0、2、4、・・・、14の画素データが間引かれずに残る。そこで、0、2、4、・・・、14の画素データをδsのブロックの領域に集める。
y方向についても同様に間引きが行われ、間引かれないデータはδsに集められる。
The
The macro block at the upper left shown in the figure is designated as a low resolution area by the
Similarly, thinning is performed in the y direction, and data not thinned out is collected in δs.
間引かれたデータはαs、βs、γsのブロックの領域に集められる。αs〜γsの画像データは不要なデータである。画像データのエントロピを低下させるため、αs〜γsの不要な画像データを単一色のデータに置換する。置換するデータは、δsのデータと区別するため、例えば輝度レベルが0である黒画像データとする。最大輝度のデータ、又は中間輝度の灰色のデータに置換しても良い。ただし、置換に用いる値のデータはδsの輝度レベルを示すデータから除く必要がある。灰色のデータを用いる場合は、δsにおけるその輝度レベルでの階調が1ビット分低下させることになるので注意が必要である。
なお、ダウンサンプリング部12の入力部に、ダウンサンプリングにより生じる折り返し歪除去用ローパスフィルタを用いた方が歪の少ないダウンサンプリングされた出力信号を得ることが出来る。
The thinned data is collected in the block area of αs, βs, and γs. The image data of αs to γs is unnecessary data. In order to reduce the entropy of the image data, unnecessary image data of αs to γs is replaced with single color data. The data to be replaced is, for example, black image data having a luminance level of 0 in order to distinguish it from the data of δs. It may be replaced with data of maximum luminance or gray data of intermediate luminance. However, it is necessary to exclude the value data used for replacement from the data indicating the brightness level of δs. When gray data is used, care must be taken because the gradation at that luminance level at δs is reduced by one bit.
Note that a downsampled output signal with less distortion can be obtained by using a low-pass filter for removing the aliasing distortion caused by downsampling at the input of the
図5を参照してJPEG符号化装置2について述べる。
同図の(a)で示される画像のうち、一番上のブロックをそのままJPEG符号化装置2に入力して符号化を行った場合を述べる。並び替え部14で画像データの並び替えを行わない場合の例である。
JPEG符号化装置2では、8画素×8画素のブロック毎の画像データは離散コサイン変換され、周波数データが得られる。周波数データのうち交流成分は所定の量子化テーブルで量子化され、直流成分はブロック毎にDPCM(differential pulse code modulation )されて圧縮符号化信号が生成される。(b)はその場合のDCレベルを示したものであり、低解像度領域における直流レベルの変化が大きい。そこの部分は、低解像度の画像データを符号化しているにも拘らず、圧縮符号化されて得られる符号量の低下が少ないことを示している。
そこで、並び替え部14により、JPEG符号化装置2で高い圧縮率が得られるようにデータの並び替えを行う。
The
A case will be described in which the top block of the image shown in (a) of the figure is directly input to the
In the
Therefore, the
図6を参照して並び替え部14について説明する。
並び替え部14では、低解像度領域として指定される部分のαs〜γsの黒画像データのブロックと、低解像度領域として指定される部分のδsのブロック、及び高解像度領域のマクロブロックを構成するαs〜δsの4つのブロックとが分離される。ブロックを走査線方向に順次走査するに際し黒画像データのブロックを飛ばして走査する。同図に示される(c)の画像データが走査され、(d)の画像データが得られる。(d)の画像データは離散コサイン変換されて得られる直流成分は大きく変化しないため、JPEG符号化装置2により高い圧縮率で符号化がなされる。
The
The
図7を参照して、並び替え部14で生成される並び順データについて説明する。
同図において、ブロックを走査するに際し黒画像データのブロックをスキップしながら走査すると共に、スキップしたブロックの数をカウントする。スキップしたブロック数を一時記憶した後、記憶されたカウント数を並び順データとして並び替え復元部33に供給する。並び替え復元部33及び位置判定部34ではスキップされた黒画像データブロックの場所が特定、判定される。
With reference to FIG. 7, the order data generated by the
In the figure, when scanning a block, scanning is performed while skipping blocks of black image data, and the number of skipped blocks is counted. After temporarily storing the number of skipped blocks, the stored count number is supplied to the
図8を参照して、並び替え部14で生成される並び順データの変形例について説明する。
それぞれのブロックには、走査順に一連の番号が付されており、JPEG符号化装置2に入力されて符号化されるブロックのアドレス値が記憶される。次に、記憶されたアドレス値の差分が計算される。符号化されるブロックのアドレス値は、0、2、3、4、6、10、11、・・・であり、その差分値は、1、2、1、1、2、4、1、・・・である。
図7に示した並び順データ、又は図8に示した並び順データのいずれが用いられても良い。
With reference to FIG. 8, a modified example of the order data generated by the
Each block is assigned a series of numbers in the order of scanning, and the address value of the block that is input to the
Either the arrangement order data shown in FIG. 7 or the arrangement order data shown in FIG. 8 may be used.
図9を参照して情報付加部17について説明する。
同図において、符号化情報信号は、JPEG符号化装置2により生成されるSOI(Start of Image)、ヘッダ、画像データ、及びEOI(End of Image)に続けて、図7又は図8に示した並び順データが付加情報として情報の付加位置に付加されて構成される。ここでは、黒画像データはJPEG符号化装置2に入力されなく、圧縮符号化信号にも含まれない。
The
In FIG. 7, the encoded information signal is shown in FIG. 7 or FIG. 8 following the SOI (Start of Image), header, image data, and EOI (End of Image) generated by the
ここで、図9に示した符号化情報信号の符号量と、黒画像データをも含めて符号化を行った場合のデータ量について述べる。ブロック全体が単一色の黒画像である場合であってもJPEG符号化時にはブロックを構成する画像ごとの直流成分の差分値及びEOB(End of Block)を示す符号が圧縮符号化信号に挿入される。交流成分は0とされるものの、固定的に必要とされる符号のため、圧縮された信号の符号量は所定値以下とはならない。それに比し、並び順データを付加データとして出力する場合には上記で示したように少ない符号量で済む。 Here, the code amount of the encoded information signal shown in FIG. 9 and the data amount when encoding including black image data will be described. Even when the entire block is a single-color black image, a JDC encoding inserts a DC component difference value and an EOB (End of Block) code into the compressed encoded signal for each image constituting the block. . Although the AC component is 0, the code amount of the compressed signal is not less than a predetermined value because of the code that is fixedly required. On the other hand, when the arrangement order data is output as additional data, a small code amount is sufficient as described above.
従って、図4で示した画像データを直接JPEG符号化装置2で符号化するよりも、図6の(d)で示した画像データをJPEG符号化装置2で符号化して得られる圧縮符号化信号に並び順データを付加情報として付加した符号化情報信号の方が小さな符号量の信号として得られる。
Therefore, rather than the image data shown in FIG. 4 directly encoded by the
図10を参照して、ブロックのスキャン順の第1の変形例について述べる。
同図におけるブロックのスキャン順は、図6の(c)が走査線方向にスキャンしているのに比し、図10はマクロブロック内を走査線順にスキャンした後に、マクロブロックを走査線順にスキャンしている。この場合、JPEG符号化装置2で符号化される、上下左右に隣接されるブロックの輝度信号レベルは、自然画像を符号化する場合などでは似通った値になると考えられるため、その場合ではブロック間の直流信号レベルが減少し、圧縮符号化信号の符号化効率が改善される。
With reference to FIG. 10, a first modification of the block scan order will be described.
The scanning order of the blocks in FIG. 10 is compared with the scanning in the scanning line direction of FIG. 6C. FIG. 10 scans the macroblocks in the scanning line order after scanning the macroblocks in the scanning line order. is doing. In this case, it is considered that the luminance signal levels of blocks adjacent in the vertical and horizontal directions encoded by the
図11を参照して、ブロックのスキャン順の第2の変形例について述べる。
同図において、32画素×32画素の画像データをスーパーマクロブロックとし、スーパーマクロブロックの中のブロックのデータを走査線方向にスキャンした後に、スーパーマクロブロックのデータを走査線順に符号化する方法である。
図6、図10、又は図11で示されるスキャン方法のいずれを用いるのが良いかは、解像度指定部13により指定される位置のパターンに応じて、ないしは被写体の形状に応じて適するものを選択して用いるようにする。
With reference to FIG. 11, a second modification of the block scan order will be described.
In this figure, the image data of 32 pixels × 32 pixels is used as a super macro block, and after the block data in the super macro block is scanned in the scanning line direction, the super macro block data is encoded in the scanning line order. is there.
Which of the scanning methods shown in FIGS. 6, 10, or 11 should be used depends on the position pattern designated by the
図12を参照して静止画生成装置の信号の流れを説明する。
まず、S(ステップ)101において分割部11に画像データが取得される。S102で取得された画像データは16画素×16画素のマクロブロックごとのデータに分割される。S103で、予め設定されている低解像度領域のマクロブロック位置情報が得られる。S104で、各マクロブロック毎に解像度を低下させるマクロブロックであるか、解像度を低下させないマクロブロックであるかが判定される。低解像度領域として指定されるマクロブロックの場合はS105においてダウンサンプリングがなされる。間引かれた画像データは黒画像データに置換される。S106においてダウンサンプリングされたマクロブロックの位置情報が記憶される。
With reference to FIG. 12, the signal flow of the still image generating apparatus will be described.
First, image data is acquired by the dividing
S107で、ダウンサンプリングして得られた1つのブロック、及びダウンサンプリングのなされない4つのブロックのそれぞれは所定の順で連続的にスキャンされ、JPEGで符号化がなされる、黒画像データが除かれた画像データが得られる。S108で並び順データが得られ、そのデータは一時記憶される。S109で黒画像データが除かれた画像データはJPEG符号化される。S110でJPEG符号化して得られた圧縮符号化信号のEOI以降に、並び順データ又は並び順データの冗長性を除いた符号化データが制御情報として付加される。符号化情報信号が得られる。1フレーム分の画像の符号化情報信号の生成が終了される。
なお、監視カメラから出力されるフレーム画像を続けて符号化する場合はS101〜S110の動作を繰り返す。
In step S107, one block obtained by downsampling and four blocks not subjected to downsampling are continuously scanned in a predetermined order, and black image data encoded by JPEG is excluded. Image data can be obtained. Arrangement order data is obtained in S108, and the data is temporarily stored. The image data from which the black image data is removed in S109 is JPEG encoded. After the EOI of the compressed encoded signal obtained by JPEG encoding in S110, the sequence data or the encoded data excluding the redundancy of the sequence data is added as control information. An encoded information signal is obtained. The generation of the encoded information signal of the image for one frame is completed.
In addition, when encoding the frame image output from the surveillance camera continuously, the operations of S101 to S110 are repeated.
図13を参照して復号化装置の信号の流れを説明する。
まず、S201で、静止画生成装置により生成され、ビットストリームにより通信回線を介して伝送された符号化情報信号が取得される。S202で、符号化情報信号から圧縮符号化信号と並び順データとが取得される。圧縮符号化信号はJPEG復号化部32により復号化される。S204で並び順データが基にされてブロックの配置情報が得られる。S205で、そのブロックがダウンサンプリングされたブロックであるとして検出された場合は補間処理部35でアップサンプリングがなされ、マクロブロックの画像データが得られる。JPEG復号化部32により復号化されたダウンサンプリングされないマクロブロックの画像データとアップサンプリングされた画像データとが基にされて復号化された画像信号が得られる。静止画1フレーム分の画像データの復号化処理が終了される。
The signal flow of the decoding apparatus will be described with reference to FIG.
First, in S201, an encoded information signal generated by the still image generation device and transmitted via a communication line by a bit stream is acquired. In S202, the compressed encoded signal and the order data are acquired from the encoded information signal. The compressed encoded signal is decoded by the
図14を参照して、復号化装置の変形例における信号の流れを説明する。以降、図13と同じ機能には同一の番号を付し、説明を省く。
図14に示す信号の流れは、図13に示す信号の流れに比し、S203とS204の順が逆になっている。即ち、並び順データを先に得た後に圧縮符号化信号の復号化を行うものである。図14に示す方法により、図13に示す方法と同様な復号化処理を行うことが出来る。
With reference to FIG. 14, a signal flow in a modification of the decoding apparatus will be described. Hereinafter, the same functions as those in FIG. 13 are denoted by the same reference numerals and description thereof is omitted.
In the signal flow shown in FIG. 14, the order of S203 and S204 is reversed compared to the signal flow shown in FIG. That is, after the arrangement order data is obtained first, the compressed encoded signal is decoded. The method shown in FIG. 14 can perform the same decoding process as the method shown in FIG.
図15を参照して、復号化装置の他の変形例における信号の流れを説明する。
図15に示される信号の流れは、図13に示される信号の流れに比し、S204の動作がS206の後になされる点で異なっている。図15に示す方法により、図13に示す方法と同様な復号化処理が行われる。
With reference to FIG. 15, the flow of signals in another modification of the decoding apparatus will be described.
The signal flow shown in FIG. 15 is different from the signal flow shown in FIG. 13 in that the operation of S204 is performed after S206. The same decoding process as that shown in FIG. 13 is performed by the method shown in FIG.
図16を参照して、静止画生成、符号化、及び復号化装置について説明する。
その静止画生成、符号化、及び復号化装置1000の中央処理制御装置1003には、分割手段、ダウンサンプリング手段、並び替え手段、JPEG符号化手段、情報付加手段、補間手段、判定手段、並び替え復元手段、JPEG復号化手段、及び情報抽出手段を実行するためのコンピュータプログラムがロードされている。即ち、静止画生成、符号化、及び復号化装置は所謂コンピュータと同様に構成されており、図1に示した静止画生成装置1、JPEG符号化装置2、及び静止画復号装置3の機能を1台の装置で実行できるものである。
With reference to FIG. 16, a still image generation, encoding, and decoding apparatus will be described.
The central
以上のように、実施例で示した静止画符号化、復号化システムにおける静止画生成装置によれば、静止画を分割部11によりマトリクス状に分割し、マトリクス状に分割された各領域毎に解像度を解像度指定部13で決定し、決定された各領域毎の解像度に応じて、各領域の静止画をダウンサンプリング部12でダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、間引き有り領域中に間引かれなかった画像を並び替え部14で間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、間引かれた画像を第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、間引き無し領域の画像を第3サンプル画像とするとき、マトリクス画像領域を水平方向に順次走査して、第1、3サンプル画像のアドレス情報を複数抽出し、抽出された複数のアドレス情報の隣接する同士の差分を演算し、第1、3サンプル画像と共に差分を第1、3サンプル画像に対応させて記憶部に格納させるようにした構成があるので、静止画生成装置から出力されるダウンサンプリングして得られた画像データ及び通常の解像度を有する他の画像データをJPEG符号化装置2により直交変換、量子化、及び隣接する各領域の直流成分の差分をとる符号化を行い、高能率で好適に圧縮符号化を行って復号化を行うことのできる静止画符号化、復号化システムを実現することが出来る。
As described above, according to the still image generation apparatus in the still image encoding / decoding system shown in the embodiment, the still image is divided into a matrix by the dividing
予め解像度の設定される、例えば監視カメラの画像信号を効率よくフレーム内符号化する符号化装置に適用できる。 For example, the present invention can be applied to an encoding apparatus that sets the resolution in advance, and efficiently encodes an image signal of a surveillance camera, for example.
1 静止画生成装置
2 JPEG符号化装置
3 静止画復号装置
11 分割部
12 ダウンサンプリング部
13 解像度指定部
14 並び替え部
17 情報付加部
31 情報抽出部
32 JPEG復号化部
33 並び替え復元部
34 位置判定部
35 補間処理部
1000 静止画生成、符号化、復号化装置
1001 入力装置
1002 解像度指定部
1003 中央処理制御装置
1004 外部記憶装置
1005 一時記憶装置
1006 通信装置
1007 出力装置
DESCRIPTION OF
Claims (4)
前記静止画をマトリクス状に分割する分割部と、
前記分割部でマトリクス状に分割された各領域毎に解像度を決定する解像度決定部と、
前記解像度決定部で決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成するダウンサンプリング部と、
前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とする画像配列部と、
前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出するアドレス抽出部と、
前記アドレス抽出部で抽出された複数のアドレス情報の隣接する同士の差分を演算する演算部と、
前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させる制御部と、
を備えたことを特徴とする静止画生成装置。 In a still image generating device that obtains a compressed compressed still image having a smaller amount of information than the still image from an input still image,
A dividing unit for dividing the still image into a matrix;
A resolution determining unit for determining a resolution for each region divided in a matrix by the dividing unit;
In accordance with the resolution for each area determined by the resolution determination unit, the still image of each area is down-sampled to generate a matrix image area having a thinned area and a thinned area arranged in a matrix. A downsampling unit to
The images that are not thinned out in the thinned-out area are collected in the four corner areas determined in advance in the thinned-out area as the first sample image, and the thinned image is collected other than the first sample image collected. An image arrangement unit that is collected in the region and used as a second sample image;
An address extraction unit that sequentially scans the matrix image region in the horizontal direction and extracts a plurality of pieces of address information of the first and third sample images when the image of the non-decimation region is a third sample image;
A calculation unit that calculates a difference between adjacent address information extracted by the address extraction unit;
A control unit that stores the difference together with the first and third sample images in the storage unit in association with the first and third sample images;
A still image generating apparatus comprising:
前記静止画をマトリクス状に分割する分割部と、
前記分割部でマトリクス状に分割された各領域毎に解像度を決定する解像度決定部と、
前記解像度決定部で決定された前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成するダウンサンプリング部と、
前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とする画像配列部と、
前記間引き無し領域の画像を第3サンプル画像とするとき、前記第2サンプル画像をスキップしながら、前記マトリクス画像領域を水平方向に順次走査して、スキップされた前記第2サンプル画像の数をカウントするカウント部と、
前記第1、3サンプル画像と共に前記スキップされた前記第2サンプル画像の数を前記第1、3サンプル画像に対応させて記憶部に格納させる制御部と、
を備えたことを特徴とする静止画生成装置。 In a still image generating device that obtains a compressed compressed still image having a smaller amount of information than the still image from an input still image,
A dividing unit for dividing the still image into a matrix;
A resolution determining unit for determining a resolution for each region divided in a matrix by the dividing unit;
In accordance with the resolution for each area determined by the resolution determination unit, the still image of each area is down-sampled to generate a matrix image area having a thinned area and a thinned area arranged in a matrix. A downsampling unit to
The images that are not thinned out in the thinned-out area are collected in the four corner areas determined in advance in the thinned-out area as the first sample image, and the thinned image is collected other than the first sample image collected. An image arrangement unit that is collected in the region and used as a second sample image;
When the image of the non-decimation area is the third sample image, the matrix image area is sequentially scanned in the horizontal direction while skipping the second sample image, and the number of skipped second sample images is counted. A counting unit to
A control unit that stores the number of the skipped second sample images together with the first and third sample images in a storage unit in association with the first and third sample images;
A still image generating apparatus comprising:
前記静止画をマトリクス状に分割した後、分割された各領域毎に解像度を決定し、
前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、
前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、
前記間引き無し領域の画像を第3サンプル画像とするとき、前記マトリクス画像領域を水平方向に順次走査して、前記第1、3サンプル画像のアドレス情報を複数抽出し、
前記複数のアドレス情報の隣接する同士の差分を演算し、
前記第1、3サンプル画像と共に前記差分を前記第1、3サンプル画像に対応させて記憶部に格納させることを特徴とする静止画生成方法。 In a still image generation method for obtaining a compressed compressed still image having a smaller amount of information than the still image from an input still image,
After dividing the still image into a matrix, determine the resolution for each divided area,
In accordance with the resolution for each area, down-sampling the still image of each area to generate a matrix image area having a thinned area and a thinned area arranged in a matrix,
The images that are not thinned out in the thinned-out area are collected in the four corner areas determined in advance in the thinned-out area as the first sample image, and the thinned image is collected other than the first sample image collected. To the second sample image,
When the image of the non-decimation area is a third sample image, the matrix image area is sequentially scanned in the horizontal direction, and a plurality of address information of the first and third sample images are extracted,
Calculate the difference between adjacent addresses of the plurality of address information,
The still image generation method, wherein the difference is stored in the storage unit in association with the first and third sample images together with the first and third sample images.
前記静止画をマトリクス状に分割した後、分割された各領域毎に解像度を決定し、
前記各領域毎の解像度に応じて、前記各領域の静止画をダウンサンプリングして、マトリクス状に配列された間引き有り領域と間引き無し領域を有するマトリクス画像領域を生成し、
前記間引き有り領域中に間引かれなかった画像を前記間引き有り領域の予め決められた四隅領域に集めて第1サンプル画像とし、前記間引かれた画像を前記第1サンプル画像が集められた以外の領域に集めて第2サンプル画像とし、
前記間引き無し領域の画像を第3サンプル画像とするとき、前記第2サンプル画像をスキップしながら、前記マトリクス画像領域を水平方向に順次走査して、スキップされた前記第2サンプル画像の数をカウントし、
前記第1、3サンプル画像と共に前記スキップされた前記第2サンプル画像の数を前記第1、3サンプル画像に対応させて記憶部に格納させることを特徴とする静止画生成方法。 In a still image generation method for obtaining a compressed compressed still image having a smaller amount of information than the still image from an input still image,
After dividing the still image into a matrix, determine the resolution for each divided area,
In accordance with the resolution for each area, down-sampling the still image of each area to generate a matrix image area having a thinned area and a thinned area arranged in a matrix,
The images that are not thinned out in the thinned-out area are collected in the four corner areas determined in advance in the thinned-out area as the first sample image, and the thinned image is collected other than the first sample image collected. To the second sample image,
When the image of the non-decimation area is the third sample image, the matrix image area is sequentially scanned in the horizontal direction while skipping the second sample image, and the number of skipped second sample images is counted. And
A still image generating method, wherein the number of skipped second sample images together with the first and third sample images is stored in a storage unit in association with the first and third sample images.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005015224A JP2006203744A (en) | 2005-01-24 | 2005-01-24 | Still image generating apparatus and still image generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005015224A JP2006203744A (en) | 2005-01-24 | 2005-01-24 | Still image generating apparatus and still image generation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006203744A true JP2006203744A (en) | 2006-08-03 |
Family
ID=36961324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005015224A Pending JP2006203744A (en) | 2005-01-24 | 2005-01-24 | Still image generating apparatus and still image generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006203744A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013539934A (en) * | 2010-09-10 | 2013-10-28 | トムソン ライセンシング | Video coding using block-based mixed resolution data pruning |
US9544598B2 (en) | 2010-09-10 | 2017-01-10 | Thomson Licensing | Methods and apparatus for pruning decision optimization in example-based data pruning compression |
US9602814B2 (en) | 2010-01-22 | 2017-03-21 | Thomson Licensing | Methods and apparatus for sampling-based super resolution video encoding and decoding |
US9813707B2 (en) | 2010-01-22 | 2017-11-07 | Thomson Licensing Dtv | Data pruning for video compression using example-based super-resolution |
-
2005
- 2005-01-24 JP JP2005015224A patent/JP2006203744A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9602814B2 (en) | 2010-01-22 | 2017-03-21 | Thomson Licensing | Methods and apparatus for sampling-based super resolution video encoding and decoding |
US9813707B2 (en) | 2010-01-22 | 2017-11-07 | Thomson Licensing Dtv | Data pruning for video compression using example-based super-resolution |
JP2013539934A (en) * | 2010-09-10 | 2013-10-28 | トムソン ライセンシング | Video coding using block-based mixed resolution data pruning |
JP2013541276A (en) * | 2010-09-10 | 2013-11-07 | トムソン ライセンシング | Video decoding using block-based mixed-resolution data pruning |
KR20130139238A (en) * | 2010-09-10 | 2013-12-20 | 톰슨 라이센싱 | Video decoding using block-based mixed-resolution data pruning |
KR20130139261A (en) * | 2010-09-10 | 2013-12-20 | 톰슨 라이센싱 | Video encoding using block-based mixed-resolution data pruning |
US9544598B2 (en) | 2010-09-10 | 2017-01-10 | Thomson Licensing | Methods and apparatus for pruning decision optimization in example-based data pruning compression |
KR101869459B1 (en) * | 2010-09-10 | 2018-06-20 | 톰슨 라이센싱 | Video decoding using block-based mixed-resolution data pruning |
KR101885633B1 (en) | 2010-09-10 | 2018-08-06 | 톰슨 라이센싱 | Video encoding using block-based mixed-resolution data pruning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2010004726A1 (en) | Image coding method, image decoding method, image coding device, image decoding device, program, and integrated circuit | |
US5566002A (en) | Image coding/decoding method and apparatus | |
US8098959B2 (en) | Method and system for frame rotation within a JPEG compressed pipeline | |
US8229234B2 (en) | Coding and decoding device, coding and decoding method and program | |
US20070041448A1 (en) | Artifact and noise reduction in MPEG video | |
US20030147462A1 (en) | Image data encoding and decoding using plural different encoding circuits | |
US6912318B2 (en) | Method and system for compressing motion image information | |
JPH08251583A (en) | Image encoding device and image decoding device | |
US8295618B2 (en) | Image processing apparatus, image processing method, and computer program product | |
JP2006203744A (en) | Still image generating apparatus and still image generation method | |
JP5092558B2 (en) | Image encoding method, image encoding device, image decoding method, and image decoding device | |
Chen et al. | Compression of Bayer-pattern video sequences using adjusted chroma subsampling | |
JP5199955B2 (en) | Image decoding apparatus and control method thereof | |
CN114009029A (en) | Image data encoding and decoding | |
WO2011010431A1 (en) | Image processing device, image processing method, and image capturing device | |
JP4580880B2 (en) | Image encoding apparatus, image decoding apparatus, and image processing system | |
JP5199956B2 (en) | Image decoding apparatus and control method thereof | |
US6631161B1 (en) | Method and system for compressing motion image information | |
JP2006340300A (en) | Signal processing method, signal processing apparatus, signal processing program and information recording medium | |
JP5413122B2 (en) | Image processing method and image processing apparatus | |
JP3115866B2 (en) | Image encoding device and image decoding device | |
JP2935320B2 (en) | Image compression / decompression device | |
US11765366B2 (en) | Method for processing transform coefficients | |
KR100715512B1 (en) | Apparatus for image processing and method thereof | |
EP1170956A2 (en) | Method and system for compressing motion image information |