JP2021061487A - Image encoding device and image encoding method - Google Patents

Image encoding device and image encoding method Download PDF

Info

Publication number
JP2021061487A
JP2021061487A JP2019183277A JP2019183277A JP2021061487A JP 2021061487 A JP2021061487 A JP 2021061487A JP 2019183277 A JP2019183277 A JP 2019183277A JP 2019183277 A JP2019183277 A JP 2019183277A JP 2021061487 A JP2021061487 A JP 2021061487A
Authority
JP
Japan
Prior art keywords
pixel
coding
image
value
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019183277A
Other languages
Japanese (ja)
Inventor
友希 白石
Yuki Shiraishi
友希 白石
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019183277A priority Critical patent/JP2021061487A/en
Publication of JP2021061487A publication Critical patent/JP2021061487A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an image encoding device and an image encoding method that improve an encoding performance of an image containing a defective pixel.SOLUTION: In a configuration of an encoding unit of the image encoding device, a division unit 201 divides an input image acquired by an input unit into a unit of pixel block. An encoding unit 202 identifies a position of a defective pixel in a selected pixel block using "position information on the defective pixel" and performs a process of replacing a pixel value of the pixel (defective pixel) at the identified position with another pixel value or excluding the pixel from the input image to perform encoding so that a length of code of the pixel block is a fixed length.SELECTED DRAWING: Figure 2

Description

本発明は、画像符号化技術に関するものである。 The present invention relates to an image coding technique.

デジタルカメラなどの撮像装置において、撮像画像の高解像度化や高階調化により、撮像画像のデータ量は増大している。その一方で、撮像素子(イメージセンサ)から画像処理部へ出力するインターフェースの帯域が狭帯域であるために、限られた帯域内での伝送を保証する符号化技術が必要となる。 In imaging devices such as digital cameras, the amount of data in captured images is increasing due to higher resolution and higher gradation of captured images. On the other hand, since the band of the interface output from the image sensor (image sensor) to the image processing unit is narrow, a coding technique that guarantees transmission within the limited band is required.

また、撮像素子を用いて取得した撮像画像には、レンズの傷や撮像素子の画素の欠陥等に起因するノイズが発生することがある。ノイズ箇所の画素を以下では欠陥画素と称する。符号化対象の撮像画像に欠陥画素が存在する場合、欠陥画素と欠陥画素以外の画素との間で画素値の変化が大きいことから、該撮像画像の符号化性能が低下する。 In addition, noise may occur in the image captured by using the image sensor due to scratches on the lens, defects in the pixels of the image sensor, and the like. Pixels at noise points are hereinafter referred to as defective pixels. When defective pixels are present in the captured image to be coded, the change in pixel value between the defective pixels and the pixels other than the defective pixels is large, so that the coding performance of the captured image is deteriorated.

従来より、欠陥画素が原因で符号化性能が低下することを抑制するために、領域毎にエッジ判定を行い、エッジ画素と平坦画素とが混在している領域では、エッジ画素と平坦画素とで量子化幅を変更して符号化する方法がある(特許文献1)。この方法は、画像を小領域に分割して符号化するものであり、各領域でエッジ判定を行い、エッジ画素と平坦画素とが混在している領域の各画素にエッジフラグを付加する。エッジ画素は量子化幅を大きく、平坦画素は量子化幅を小さく設定することで、符号化歪みを抑制する。 Conventionally, in order to suppress deterioration of coding performance due to defective pixels, edge determination is performed for each area, and in an area where edge pixels and flat pixels are mixed, edge pixels and flat pixels are used. There is a method of coding by changing the quantization width (Patent Document 1). In this method, an image is divided into small areas and encoded, edge determination is performed in each area, and an edge flag is added to each pixel in a region in which edge pixels and flat pixels are mixed. By setting the quantization width of the edge pixel to be large and the quantization width of the flat pixel to be small, the coding distortion is suppressed.

また、ブロック単位に周波数変換を行って変換係数を符号化する場合に、欠陥画素が存在するブロックでは、他と別の量子化テーブルを使って符号化することで、欠陥画素が目立たなくなるように補正する方法がある(特許文献2)。 In addition, when frequency conversion is performed in block units to encode the conversion coefficient, in blocks with defective pixels, the defective pixels can be made inconspicuous by coding using a different quantization table. There is a method of correction (Patent Document 2).

特開2012−54882号公報Japanese Unexamined Patent Publication No. 2012-54882 特開平11−103413号公報Japanese Unexamined Patent Publication No. 11-103413

従来技術は、欠陥画素の周囲において符号化パラメータを変更することで、欠陥画素による符号化性能の低下を低減するものであるが、欠陥画素の画素値による影響が無くなるものではない。一般に欠陥画素は、画素値の置き換えなどで補正されるため、欠陥画素の画素値は意味をなさないことが多い。本発明では、欠陥画素を含む画像を符号化するような場合であっても、該画像に対する符号化性能の低下を軽減させるための技術を提供する。 In the prior art, the deterioration of the coding performance due to the defective pixel is reduced by changing the coding parameter around the defective pixel, but the influence of the pixel value of the defective pixel is not eliminated. In general, defective pixels are corrected by replacing pixel values, so the pixel values of defective pixels often do not make sense. The present invention provides a technique for reducing a decrease in coding performance for an image even when the image including defective pixels is encoded.

本発明の一様態は、入力画像を入力する入力手段と、前記入力画像において欠陥画素として指定されている画素の画素値を他の画素値で置換する若しくは該画素を前記入力画像から除外する処理を行い、該処理後の入力画像を符号化する符号化手段とを備えることを特徴とする。 The uniformity of the present invention is an input means for inputting an input image and a process of replacing the pixel value of a pixel designated as a defective pixel in the input image with another pixel value or excluding the pixel from the input image. It is characterized in that it is provided with a coding means for encoding the input image after the processing.

本発明の構成によれば、欠陥画素を含む画像を符号化するような場合であっても、該画像に対する符号化性能の低下を軽減させることができる。 According to the configuration of the present invention, even in the case of coding an image including defective pixels, it is possible to reduce the deterioration of the coding performance for the image.

画像符号化装置の機能構成例を示すブロック図。The block diagram which shows the functional structure example of an image coding apparatus. 符号化部103の構成例を示すブロック図。The block diagram which shows the structural example of the coding unit 103. 入力画像の固定長符号化のフローチャート。Flowchart of fixed length coding of input image. 画素ブロックを説明する図。The figure explaining the pixel block. インデックスn、画素OPの画素値、差分値Q、固定長符号化データと切り捨てる1ビットを示す図。The figure which shows the index n, the pixel value of a pixel OP, the difference value Q, fixed-length coded data, and 1 bit to be truncated. ブロックレンジBRと固定長FLとの関係を示す図。The figure which shows the relationship between a block range BR and a fixed length FL. ステップS302における処理を説明する図。The figure explaining the process in step S302. 入力画像と画素ブロックとの関係を示す図。The figure which shows the relationship between an input image and a pixel block. 符号列の構成例を示す図。The figure which shows the structural example of the code string. 画素ブロック内の画素値の変化を模式的に表した図。The figure which represented the change of the pixel value in a pixel block schematically. 入力画像の固定長符号化のフローチャート。Flowchart of fixed length coding of input image. コンピュータ装置のハードウェア構成例を示すブロック図。A block diagram showing a hardware configuration example of a computer device.

以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiment, not all of the plurality of features are essential to the invention, and the plurality of features may be arbitrarily combined. Further, in the attached drawings, the same or similar configurations are designated by the same reference numbers, and duplicate explanations are omitted.

[第1の実施形態]
本実施形態では、撮像素子から出力された撮像画像を、複数の画素から成る画素ブロックを単位に分割し、該分割した画素ブロックを固定長符号化する。この固定長符号化では、符号化性能を向上させるために、撮像画像における欠陥画素の位置を示す位置情報を利用して該欠陥画素の画素値を他の画素値に置換した上で、画素ブロックの固定長符号化を行う。なお、撮像画像における欠陥画素の位置情報は、符号化側と復号側とで既知の情報として共有可能であるものとして説明する。
[First Embodiment]
In the present embodiment, the captured image output from the image sensor is divided into pixel blocks composed of a plurality of pixels, and the divided pixel blocks are coded with a fixed length. In this fixed-length coding, in order to improve the coding performance, the pixel value of the defective pixel is replaced with another pixel value by using the position information indicating the position of the defective pixel in the captured image, and then the pixel block is used. Is fixed-length coding. It should be noted that the position information of the defective pixel in the captured image will be described as being shareable as known information between the coding side and the decoding side.

先ず、本実施形態に係る画像符号化装置の機能構成例について、図1のブロック図を用いて説明する。本実施形態に係る画像符号化装置はディジタルカメラなどの撮像装置に搭載れており、該画像符号化装置は、該撮像装置が有する撮像素子から出力された撮像画像を入力画像として取得し、該入力画像を画素ブロックを単位に固定長符号化する。 First, a functional configuration example of the image coding apparatus according to the present embodiment will be described with reference to the block diagram of FIG. The image coding device according to the present embodiment is mounted on an image pickup device such as a digital camera, and the image coding device acquires an image captured image output from an image pickup device included in the image pickup device as an input image, and the image coding device is said to be the input image. The input image is coded with a fixed length in units of pixel blocks.

入力部101は、撮像素子から出力された(撮像素子で撮影された)撮像画像を入力画像として取得する。本実施形態では、入力部101が取得する入力画像は、R/G0/G1/Bのベイヤ配列を有する14ビットのRAW画像(RAW画像の各画素の画素値が14ビットで表現される)である。画像符号化装置は、このような入力画像を色成分毎にモノクロ画像として符号化する。しかし、画像符号化装置は、このようなRAW画像を色成分毎にモノクロ画像として符号化することに限らず、他の色表現を用いた画像を色成分毎にモノクロ画像として符号化するようにしても良い。例えば、RGBのそれぞれが8ビットで表現される画像や、1画素がYCbCr各8ビットで表現される輝度色差成分に対しても同様に、色成分毎にモノクロ画像として符号化するようにしても良い。 The input unit 101 acquires an captured image (captured by the image sensor) output from the image sensor as an input image. In the present embodiment, the input image acquired by the input unit 101 is a 14-bit RAW image having a Bayer array of R / G0 / G1 / B (the pixel value of each pixel of the RAW image is represented by 14 bits). is there. The image coding device encodes such an input image as a monochrome image for each color component. However, the image coding apparatus is not limited to encoding such a RAW image as a monochrome image for each color component, and encodes an image using another color representation as a monochrome image for each color component. You may. For example, an image in which each of RGB is represented by 8 bits and a luminance color difference component in which one pixel is represented by 8 bits each of YCbCr may be similarly encoded as a monochrome image for each color component. good.

取得部102は、入力画像における欠陥画素(入力画像において欠陥画素として指定されている画素)の位置を示す位置情報を取得する。欠陥画素の位置情報の取得方法は特定の取得方法に限らない。例えば、取得部102は、画像符号化装置とは異なる外部装置から欠陥画素の位置情報を取得しても良いし、画像符号化装置や撮像装置のメモリから欠陥画素の位置情報を取得しても良い。 The acquisition unit 102 acquires position information indicating the position of a defective pixel (a pixel designated as a defective pixel in the input image) in the input image. The acquisition method of the position information of the defective pixel is not limited to a specific acquisition method. For example, the acquisition unit 102 may acquire the position information of the defective pixel from an external device different from the image coding device, or may acquire the position information of the defective pixel from the memory of the image coding device or the image pickup device. good.

欠陥画素の位置情報は、入力画像における欠陥画素の位置が特定できるような情報であれば、その構成は特定の構成に限らない。例えば、入力画像における各画素に対応するフラグ値として、該画素が欠陥画素であれば値「1」、該画素が欠陥画素ではない場合は値「0」、を有する2値データ群を「欠陥画素の位置情報」としても良い。 The configuration of the defective pixel position information is not limited to the specific configuration as long as the position of the defective pixel in the input image can be specified. For example, as a flag value corresponding to each pixel in the input image, a binary data group having a value "1" if the pixel is a defective pixel and a value "0" if the pixel is not a defective pixel is "defect". It may be "pixel position information".

符号化部103は、取得部102が取得した欠陥画素の位置情報を用いて、入力部101が取得した入力画像を画素ブロックごとに固定長符号化する。符号化部103の構成例について、図2のブロック図を用いて説明する。 The coding unit 103 uses the position information of the defective pixel acquired by the acquisition unit 102 to encode the input image acquired by the input unit 101 with a fixed length for each pixel block. A configuration example of the coding unit 103 will be described with reference to the block diagram of FIG.

分割部201は、入力部101が取得した入力画像を画素ブロックを単位に分割する。本実施形態では、入力画像の垂直方向のサイズ(垂直方向の画素数)をH、水平方向のサイズ(水平方向の画素数)をWとし、画素ブロックの垂直方向のサイズ(垂直方向の画素数)をBh、水平方向のサイズ(水平方向の画素数)をBwとする。説明の便宜上、HはBhの整数倍、WはBwの整数倍とする。つまり、入力画像を画素ブロックを単位に分割した場合に不完全な画素ブロック(垂直方向のサイズがBhで水平方向のサイズがBwである画素ブロックよりもサイズが小さい画素ブロック)が発生しないものとする。以下では一例としてBw=Bh=4とする。 The dividing unit 201 divides the input image acquired by the input unit 101 in units of pixel blocks. In the present embodiment, the vertical size (number of pixels in the vertical direction) of the input image is H, the size in the horizontal direction (number of pixels in the horizontal direction) is W, and the vertical size of the pixel block (number of pixels in the vertical direction). ) Is Bh, and the size in the horizontal direction (the number of pixels in the horizontal direction) is Bw. For convenience of explanation, H is an integral multiple of Bh and W is an integral multiple of Bw. That is, when the input image is divided into pixel blocks, incomplete pixel blocks (pixel blocks smaller in size than pixel blocks having a vertical size of Bh and a horizontal size of Bw) do not occur. To do. In the following, Bw = Bh = 4 as an example.

入力画像と画素ブロックとの関係を図8に示す。図8に示す如く、入力画像の左端から水平方向(右方向)にi番目および該入力画像の上端から垂直方向(下方向)にj番目の画素ブロックをB(i,j)と記す。つまり図8に示す如く、入力画像の左上隅の画素ブロックはB(0,0)と記し、画素ブロックB(0,0)の右に隣接する画素ブロックはB(1,0)と記し、画素ブロックB(0,0)の下に隣接する画素ブロックはB(0,1)と記す。また、画素ブロックB(i,j)の左上隅の位置を原点(0,0)とした場合における該画素ブロックB(i,j)内の位置(m、n)における画素をBij(m,n)と記す。例えば、画素ブロックB(2,3)の左上隅の画素(先頭画素)はB23(0,0)と記す。 The relationship between the input image and the pixel block is shown in FIG. As shown in FIG. 8, the i-th pixel block in the horizontal direction (right direction) from the left end of the input image and the j-th pixel block in the vertical direction (downward direction) from the upper end of the input image are referred to as B (i, j). That is, as shown in FIG. 8, the pixel block in the upper left corner of the input image is described as B (0,0), and the pixel block adjacent to the right of the pixel block B (0,0) is described as B (1,0). The pixel block adjacent to the pixel block B (0,0) is referred to as B (0,1). Further, when the position of the upper left corner of the pixel block B (i, j) is set to the origin (0,0), the pixel at the position (m, n) in the pixel block B (i, j) is Bij (m, m, Notated as n). For example, the pixel (first pixel) in the upper left corner of the pixel block B (2, 3) is described as B23 (0,0).

符号化部202は、分割部201によって分割された画素ブロックごとに、「欠陥画素の位置情報」を用いて、該画素ブロックの符号長が固定長FLとなるように符号化(固定長符号化)を行う。 The coding unit 202 encodes each pixel block divided by the dividing unit 201 so that the code length of the pixel block becomes a fixed length FL by using "position information of defective pixels" (fixed length coding). )I do.

固定長FLは、画素ブロックの最大符号長を制御するパラメータである。本実施形態では、画素ブロックを構成する画素には、非圧縮でそのまま保持される画素と、固定長以下の可変長符号で表される画素と、が存在する。画素ブロック内の可変長符号のビット数上限を固定長FLと定め、以下に説明を行う。なお、本実施形態では、固定長FLは全ての画素ブロックで同じ値とするが、これに限らず、画素ブロックごとに変更しても構わない。ただし、入力画像に対する目標符号量を超えないように各画素ブロックに対する固定長FLを設定する必要がある。固定値FLは、画像符号化装置や撮像装置に備わっているインターフェースをユーザが操作することで該画像符号化装置に設定しても良いし、予め該画像符号化装置に設定されていても良い。 The fixed length FL is a parameter that controls the maximum code length of the pixel block. In the present embodiment, the pixels constituting the pixel block include pixels that are held as they are without compression and pixels that are represented by a variable length code having a fixed length or less. The upper limit of the number of bits of the variable length code in the pixel block is defined as the fixed length FL, which will be described below. In the present embodiment, the fixed length FL is the same value for all pixel blocks, but the value is not limited to this, and may be changed for each pixel block. However, it is necessary to set the fixed length FL for each pixel block so as not to exceed the target code amount for the input image. The fixed value FL may be set in the image coding device by the user operating an interface provided in the image coding device or the imaging device, or may be set in the image coding device in advance. ..

符号化部202および符号化部203による入力画像の固定長符号化について、図3のフローチャートに従って説明する。なお、以下では、画素ブロックを構成する画素のうち欠陥画素ではない画素を有効画素と称する。 The fixed-length coding of the input image by the coding unit 202 and the coding unit 203 will be described with reference to the flowchart of FIG. In the following, among the pixels constituting the pixel block, pixels that are not defective pixels will be referred to as effective pixels.

ステップS301では、符号化部202は、分割部201による分割によって生成された複数の画素ブロックのうちまだ固定長符号化を行っていない画素ブロックから1つを選択画素ブロックとして選択する。そして符号化部202は、該選択画素ブロックに欠陥画素が含まれているか否かを、「欠陥画素の位置情報」を用いて判断する。つまり符号化部202は、「欠陥画素の位置情報」が示す欠陥画素の位置のうち1つ以上が選択画素ブロックに含まれている場合には、該選択画素ブロックには1以上の欠陥画素が含まれていると判断する。一方、符号化部202は、「欠陥画素の位置情報」が示す欠陥画素の位置の何れも選択画素ブロックに含まれていない場合には、該選択画素ブロックには欠陥画素が1つも含まれていないと判断する。 In step S301, the coding unit 202 selects one of the plurality of pixel blocks generated by the division by the dividing unit 201 as the selected pixel block from the pixel blocks that have not yet been fixed-length coded. Then, the coding unit 202 determines whether or not the selected pixel block contains defective pixels by using "position information of defective pixels". That is, when one or more of the positions of the defective pixels indicated by the "position information of the defective pixels" are included in the selected pixel block, the coding unit 202 contains one or more defective pixels in the selected pixel block. Judge that it is included. On the other hand, when none of the positions of the defective pixels indicated by the "position information of the defective pixels" is included in the selected pixel block, the coding unit 202 includes one defective pixel in the selected pixel block. Judge that there is no.

例えば、「欠陥画素の位置情報」が上記の2値データ群である場合、2値データ群において選択画素ブロックの各画素に対応するフラグ値を参照する。そして、参照したフラグ値の中に値が「1」のフラグ値が1つ以上含まれていた場合は、該選択画素ブロックには1以上の欠陥画素が含まれていると判断される。一方、参照したフラグ値が全て「0」であれば、該選択画素ブロックには欠陥画素が1つも含まれていないと判断される。 For example, when the "position information of the defective pixel" is the above-mentioned binary data group, the flag value corresponding to each pixel of the selected pixel block is referred to in the binary data group. Then, when one or more flag values having a value of "1" are included in the referenced flag values, it is determined that the selected pixel block contains one or more defective pixels. On the other hand, if all the referenced flag values are "0", it is determined that the selected pixel block does not include any defective pixels.

このような判断の結果、選択画素ブロックに1以上の欠陥画素が含まれている場合には、処理はステップS302に進み、選択画素ブロックに欠陥画素が1つも含まれていない場合には、処理はステップS303に進む。 As a result of such a determination, if the selected pixel block contains one or more defective pixels, the process proceeds to step S302, and if the selected pixel block does not contain any defective pixels, the process proceeds. Proceeds to step S303.

ステップS302では、符号化部202は、選択画素ブロックにおける欠陥画素の位置を、「欠陥画素の位置情報」を用いて特定し、該特定した位置の画素(欠陥画素)の画素値を他の画素値に置換する。欠陥画素の画素値を他の画素値に置換する方法には様々な方法がある。 In step S302, the coding unit 202 identifies the position of the defective pixel in the selected pixel block using "position information of the defective pixel", and sets the pixel value of the pixel (defective pixel) at the specified position to another pixel. Replace with a value. There are various methods for replacing the pixel value of a defective pixel with another pixel value.

例えば、符号化部202は、選択画素ブロック内の欠陥画素の画素値を、該選択画素ブロック内で欠陥画素の近傍に位置する有効画素の画素値で置換する。例えば、図7に示す如く、4×4の選択画素ブロックにおいて「x」で示されている画素が欠陥画素であるとする。このとき、符号化部202は、該欠陥画素の左に隣接する画素、右に隣接する画素、上に隣接する画素、下に隣接する画素、の順に探索し、該欠陥画素の画素値を、該探索で最初に見つけた有効画素の画素値で置換する。この探索で有効画素が見つからなかった場合には、欠陥画素の右斜め上や左斜め上など、予め画素値の置き換え元の画素位置の優先順を決めておき、該優先順の探索で最初に見つけた有効画素の画素値で欠陥画素の画素値を置換する。なお、選択画素ブロック内の全ての画素が欠陥画素であれば、該選択画素ブロック内の全ての欠陥画素の画素値を「0」等の固定値で置換する。 For example, the coding unit 202 replaces the pixel value of the defective pixel in the selected pixel block with the pixel value of the effective pixel located in the vicinity of the defective pixel in the selected pixel block. For example, as shown in FIG. 7, it is assumed that the pixel indicated by “x” in the 4 × 4 selected pixel block is a defective pixel. At this time, the coding unit 202 searches for the pixel adjacent to the left of the defective pixel, the pixel adjacent to the right, the pixel adjacent to the top, and the pixel adjacent to the bottom in this order, and determines the pixel value of the defective pixel. The pixel value of the effective pixel first found in the search is used for replacement. If no effective pixel is found in this search, the priority order of the pixel position of the pixel value replacement source, such as diagonally upward to the right or diagonally upward to the left of the defective pixel, is determined in advance, and the search for the priority order is performed first. The pixel value of the defective pixel is replaced with the pixel value of the found effective pixel. If all the pixels in the selected pixel block are defective pixels, the pixel values of all the defective pixels in the selected pixel block are replaced with fixed values such as "0".

このようにして符号化部202は、選択画素ブロック内における全ての欠陥画素の画素値を他の画素値に置換する。そして、選択画素ブロック内における全ての欠陥画素の画素値を他の画素値に置換する処理が完了すると(処理後)、処理はステップS303に進む。 In this way, the coding unit 202 replaces the pixel values of all the defective pixels in the selected pixel block with other pixel values. Then, when the process of replacing the pixel values of all the defective pixels in the selected pixel block with other pixel values is completed (after the process), the process proceeds to step S303.

ステップS303では、符号化部202は、選択画素ブロックを構成する各画素の画素値のうち最大の画素値および最小の画素値を特定し、該最大の画素値を有する画素を最大画素Pmax、該最小の画素値を有する画素を最小画素Pminとする。選択画素ブロックから最大画素Pmaxおよび最小画素Pminを特定(探索)するための処理には様々な処理が適用可能である。以下にその一例を説明する。 In step S303, the coding unit 202 specifies the maximum pixel value and the minimum pixel value among the pixel values of the pixels constituting the selected pixel block, and the pixel having the maximum pixel value is the maximum pixel Pmax. The pixel having the minimum pixel value is defined as the minimum pixel Pmin. Various processes can be applied to the process for specifying (searching) the maximum pixel Pmax and the minimum pixel Pmin from the selected pixel block. An example thereof will be described below.

図4(a)に示す如く、選択画素ブロックB(i,j)内の画素を所定のスキャン順序(例えばラスタースキャン)で0番からn番まで順位付けし、該順位において先頭の画素から順にP0,P1,・・・Pnと表現する。本実施形態では選択画素ブロックの画素数は4×4=16であるから、n=15である。画素P0〜Pnのそれぞれの画素値の一例を図4(b)に示す。図4(b)の場合、画素P0〜Pnのそれぞれの画素値のうち最小の画素値は画素P0の「12」、最大の画素値は画素P7の「257」であるから、画素P0が最小画素Pminとして特定され、画素P7が最大画素Pmaxとして特定される。また、画素P0〜Pnのうち最大画素Pmaxおよび最小画素Pminを除く他の画素を、上記順位において先頭から順にOP1,OP2,OP3,…OP14と表現する。 As shown in FIG. 4A, the pixels in the selected pixel block B (i, j) are ranked from 0 to n in a predetermined scan order (for example, raster scan), and the pixels in the order are ordered from the first pixel. It is expressed as P0, P1, ... Pn. In the present embodiment, the number of pixels of the selected pixel block is 4 × 4 = 16, so n = 15. An example of each pixel value of the pixels P0 to Pn is shown in FIG. 4 (b). In the case of FIG. 4B, since the minimum pixel value among the pixel values of pixels P0 to Pn is “12” of pixel P0 and the maximum pixel value is “257” of pixel P7, pixel P0 is the minimum. It is specified as the pixel Pmin, and the pixel P7 is specified as the maximum pixel Pmax. Further, among the pixels P0 to Pn, the other pixels excluding the maximum pixel Pmax and the minimum pixel Pmin are expressed as OP1, OP2, OP3, ... OP14 in order from the beginning in the above order.

ステップS304では、符号化部202は、最小画素Pminおよび最大画素Pmaxを符号化する。本実施形態では、最小画素Pminの画素位置と画素値、最大画素Pmaxの画素位置と画素値、をそれぞれ固定長の符号データとして保持するものとする。画素位置については、画素ブロックのサイズが4×4であるので、画素位置は4ビットで表現可能である。ここでは自然二進数表現を用いるが、一意に復号できるものであれば、交番二進など、別の二値表現を用いても構わない。図4の例では、最小画素Pminの画素位置は0であるから「0000」、最大画素Pmaxの画素位置は7であるから「0111」と表現される。画素値については、非圧縮のままとする。すなわち、入力画像の各画素の画素値のビット精度が14ビットであるため、画素値は14ビットで表現される。但し、最小画素Pminおよび最大画素Pmaxの画素値は必ずしも非圧縮としなくとも良い。例えば、多少の劣化を許容できる方式であれば、入力画素のビット数よりも少ないビットで最小画素Pminおよび最大画素Pmaxの画素値を表現しても構わない。そして符号化部202は、最小画素Pminの符号化結果および最大画素Pmaxの符号化結果をバッファ204に格納する。 In step S304, the coding unit 202 encodes the minimum pixel Pmin and the maximum pixel Pmax. In the present embodiment, the pixel position and pixel value of the minimum pixel Pmin and the pixel position and pixel value of the maximum pixel Pmax are held as code data having a fixed length, respectively. As for the pixel position, since the size of the pixel block is 4 × 4, the pixel position can be expressed by 4 bits. Here, a natural binary representation is used, but another binary representation such as a police box binary may be used as long as it can be uniquely decoded. In the example of FIG. 4, since the pixel position of the minimum pixel Pmin is 0, it is expressed as "0000", and since the pixel position of the maximum pixel Pmax is 7, it is expressed as "0111". Pixel values are left uncompressed. That is, since the bit accuracy of the pixel value of each pixel of the input image is 14 bits, the pixel value is represented by 14 bits. However, the pixel values of the minimum pixel Pmin and the maximum pixel Pmax do not necessarily have to be uncompressed. For example, the pixel values of the minimum pixel Pmin and the maximum pixel Pmax may be expressed by bits smaller than the number of bits of the input pixel as long as the method can tolerate some deterioration. Then, the coding unit 202 stores the coding result of the minimum pixel Pmin and the coding result of the maximum pixel Pmax in the buffer 204.

ステップS305では、符号化部202は、最大画素Pmaxの画素値から最小画素Pminの画素値を引いた結果である差分値DIFFを求める。そして符号化部202は、該求めた差分値DIFFを表現するために必要なビットレンジ(選択画素ブロックのブロックレンジ)をブロックレンジBRとして求める。 In step S305, the coding unit 202 obtains the difference value DIFF which is the result of subtracting the pixel value of the minimum pixel Pmin from the pixel value of the maximum pixel Pmax. Then, the coding unit 202 obtains the bit range (block range of the selected pixel block) necessary for expressing the obtained difference value DIFF as the block range BR.

図4の場合、最小画素Pminの画素値は「12」、最大画素Pmaxの画素値は「257」であるから、差分値DIFFは257−12=245となる。即ち、選択画素ブロック内のすべての画素の画素値は、最小画素Pminの画素値と最大画素Pmaxの画素値との間の246階調のいずれかであり、最小値(または最大値)からの差分で表すことができる。該差分の最小値(=0)から該差分の最大値(=DIFF=245)を表現するためには、8ビット必要になるため、ブロックレンジBR=8となる。 In the case of FIG. 4, since the pixel value of the minimum pixel Pmin is "12" and the pixel value of the maximum pixel Pmax is "257", the difference value DIFF is 257-12 = 245. That is, the pixel values of all the pixels in the selected pixel block are any of 246 gradations between the pixel value of the minimum pixel Pmin and the pixel value of the maximum pixel Pmax, and are from the minimum value (or maximum value). It can be expressed as a difference. Since 8 bits are required to express the maximum value (= DIFF = 245) of the difference from the minimum value (= 0) of the difference, the block range BR = 8.

ステップS306では、符号化部202は、ブロックレンジBRが0よりも大きいか否かを判断する。この判断の結果、ブロックレンジBRが0よりも大きい場合には、選択画素ブロックにおいて最小画素Pminおよび最大画素Pmaxを除く他の画素OPを符号化するべく、処理はステップS307に進む。一方、ブロックレンジBRが0である場合、これはすなわち、選択画素ブロック内のすべての画素が同じ画素値を持つため、最小画素Pminおよび最大画素Pmaxを除く他の画素OPを符号化する必要がない。然るに、このような場合は、画素OPに係る符号化処理(ステップS307〜S308)をスキップして、処理はステップS309に進む。 In step S306, the coding unit 202 determines whether or not the block range BR is larger than 0. As a result of this determination, when the block range BR is larger than 0, the process proceeds to step S307 in order to encode other pixel OPs other than the minimum pixel Pmin and the maximum pixel Pmax in the selected pixel block. On the other hand, when the block range BR is 0, this means that all the pixels in the selected pixel block have the same pixel value, so it is necessary to encode other pixel OPs except the minimum pixel Pmin and the maximum pixel Pmax. Absent. However, in such a case, the coding process (steps S307 to S308) related to the pixel OP is skipped, and the process proceeds to step S309.

ステップS307では、符号化部202は、画素OPを固定長FL以下で符号化する。ここで、画素OPは、上記のOP1,OP2,OP3,…OP14のそれぞれである。選択画素ブロックのブロックレンジBRが固定長FL以下の場合、符号化部202は、画素OPn(n=1,2,3,…,14)の画素値から最小画素Pminの画素値を引いた差分値Qnを、画素OPnの符号データとして出力する。一方、選択画素ブロックのブロックレンジBRが固定長FLよりも大きい場合、符号化部202は先ず、画素OPnの画素値から最小画素Pminの画素値を引いた差分値Qnを求める。そして、符号化部202は、Q1〜Q14を固定長FLで表現できるように下位ビットを切り捨てることで、画素OP1〜OP14の符号データを生成する。 In step S307, the coding unit 202 encodes the pixel OP with a fixed length FL or less. Here, the pixel OP is each of the above OP1, OP2, OP3, ... OP14. When the block range BR of the selected pixel block is the fixed length FL or less, the coding unit 202 subtracts the pixel value of the minimum pixel Pmin from the pixel value of the pixel OPn (n = 1, 2, 3, ..., 14). The value Qn is output as the code data of the pixel OPn. On the other hand, when the block range BR of the selected pixel block is larger than the fixed length FL, the coding unit 202 first obtains a difference value Qn obtained by subtracting the pixel value of the minimum pixel Pmin from the pixel value of the pixel OPn. Then, the coding unit 202 generates the code data of the pixels OP1 to OP14 by truncating the lower bits so that Q1 to Q14 can be represented by the fixed length FL.

図4(b)の場合、ブロックレンジBR=8である。固定長FL=7であるとすると、Q1〜Q14の下位1ビットを切り捨てることで、画素OP1〜OP14の画素値が7ビットで表現できる値となる。例えば、Q1を1ビット右シフトすることで、符号データ「26」(実際の符号はこれを7ビット自然二進で表現した”0011010”)が生成される。他のQ2〜Q14についても同様に1ビット右シフトして、符号データを生成する。 In the case of FIG. 4B, the block range BR = 8. Assuming that the fixed length FL = 7, by truncating the lower 1 bit of Q1 to Q14, the pixel value of the pixels OP1 to OP14 becomes a value that can be expressed by 7 bits. For example, by shifting Q1 to the right by 1 bit, the code data "26" (the actual code is "0011010" which expresses this in 7-bit natural binary) is generated. Similarly, the other Q2 to Q14 are shifted right by 1 bit to generate code data.

図5に、画素OPのインデックスn、該インデックスnに対応する画素OPの画素値、画素OPの画素値から最小画素Pminの画素値を引いた差分値Q、差分値Qを構成する8ビットにおいて画素OPの符号データ(固定長符号化データ)としての7ビットと切り捨てる1ビット(画素OPのオーバービット符号化データ)、を示している。 FIG. 5 shows the index n of the pixel OP, the pixel value of the pixel OP corresponding to the index n, the difference value Q obtained by subtracting the pixel value of the minimum pixel Pmin from the pixel value of the pixel OP, and the 8 bits constituting the difference value Q. It shows 7 bits as the code data (fixed length coded data) of the pixel OP and 1 bit (overbit coded data of the pixel OP) to be truncated.

そして符号化部202は、画素OPの符号化結果をバッファ204に格納する。 Then, the coding unit 202 stores the coding result of the pixel OP in the buffer 204.

ステップS308では、符号化部202は、ブロックレンジBRが固定長FL以下であるか否かを判断する。この判断の結果、ブロックレンジBRが固定長FL以下であれば、処理はステップS309に進み、ブロックレンジBRが固定長FLよりも大きい場合には、処理はステップS310に進む。 In step S308, the coding unit 202 determines whether or not the block range BR is equal to or less than the fixed length FL. As a result of this determination, if the block range BR is equal to or less than the fixed length FL, the process proceeds to step S309, and if the block range BR is larger than the fixed length FL, the process proceeds to step S310.

ステップS310では、符号化部203は、ステップS307で切り捨てたビット、すなわち、差分値Qの下位(BR−FL)ビットをオーバービットとして符号化する。オーバービットの符号化では、Q1〜Q14のオーバービットにおいて同ビット位置のビットから成るビットプレーンを単位にランレングス符号化などで符号化しても良いし、オーバービットをそのまま保持しても構わない。この後の符号量制御処理において、後述するプール容量とのデータ量比較ができる状態であり、オーバービットの中から符号量制御で追加できると判断されたデータ量分を追加可能な形式で保持されていればよい。 In step S310, the coding unit 203 encodes the bit truncated in step S307, that is, the lower (BR-FL) bit of the difference value Q as an overbit. In the overbit coding, the overbits of Q1 to Q14 may be encoded by run-length coding or the like in units of bit planes composed of bits at the same bit positions, or the overbits may be retained as they are. In the subsequent code amount control process, the data amount can be compared with the pool capacity described later, and the amount of data determined to be able to be added by the code amount control from the overbits is held in a form that can be added. I just need to be there.

ここで、ブロックレンジBRと固定長FLとの関係について図6を用いて説明する。図6(a)、(b)、(c)には、それぞれ特徴の異なる3つの画素ブロックの例を示している。 Here, the relationship between the block range BR and the fixed length FL will be described with reference to FIG. 6A, 6B, and 6C show examples of three pixel blocks having different characteristics.

図6(a)に示した画素ブロックは、該画素ブロック内の画素値の変化が小さく、ブロックレンジBRが小さい画素ブロックである(BR=2)。図6(b)に示した画素ブロックは、該画素ブロック内の画素値の変化がなだらかで、図6(a)の画素ブロックよりもブロックレンジBRが大きい画素ブロックである(BR=7)。図6(c)に示した画素ブロックは、該画素ブロック内の画素値の変化が大きく、図6(b)の画素ブロックよりもブロックレンジBRが大きい画素ブロックである(BR=14)。 The pixel block shown in FIG. 6A is a pixel block in which the change in the pixel value in the pixel block is small and the block range BR is small (BR = 2). The pixel block shown in FIG. 6B is a pixel block in which the change in the pixel value in the pixel block is gentle and the block range BR is larger than that of the pixel block in FIG. 6A (BR = 7). The pixel block shown in FIG. 6 (c) is a pixel block in which the change in the pixel value in the pixel block is large and the block range BR is larger than that of the pixel block in FIG. 6 (b) (BR = 14).

固定長FL=7であるとすると、図6(a)〜(c)の画素ブロックのブロックレンジBRと固定長FLとの関係は、それぞれ図6(d)〜(f)に示したような関係となる。 Assuming that the fixed length FL = 7, the relationship between the block range BR of the pixel blocks of FIGS. 6 (a) to 6 (c) and the fixed length FL is as shown in FIGS. 6 (d) to 6 (f), respectively. Become a relationship.

図6(a)の画素ブロックの場合、BR(=2)<FL(=7)であるから、符号化部202にて、情報損失なく固定長FL以下で符号化される。図6(b)の画素ブロックの場合、BR(=7)=FL(=7)であるから、符号化部202にて、情報損失なく固定長FL以下で符号化される。図6(c)の画素ブロックの場合、BR(=14)>FL(=7)であるから、差分値QのうちBP=(BR−FL)分は固定長FLを超えてしまう。よってこのような場合は、差分値Qの上位のFLビットは符号化部202にて符号化され、残りの下位BPビットは符号化部203にて符号化される。 In the case of the pixel block of FIG. 6A, since BR (= 2) <FL (= 7), the coding unit 202 encodes the pixel block with a fixed length of FL or less without information loss. In the case of the pixel block of FIG. 6B, since BR (= 7) = FL (= 7), the coding unit 202 encodes the pixel block with a fixed length of FL or less without information loss. In the case of the pixel block of FIG. 6C, since BR (= 14)> FL (= 7), the BP = (BR-FL) portion of the difference value Q exceeds the fixed length FL. Therefore, in such a case, the upper FL bit of the difference value Q is encoded by the coding unit 202, and the remaining lower BP bits are coded by the coding unit 203.

そして符号化部203は、オーバービットの符号化結果をバッファ204に格納する。 Then, the coding unit 203 stores the overbit coding result in the buffer 204.

ステップS309では、符号化部202は、余剰データ容量(プール容量)SDを算出する。余剰データ容量SDとは、ブロックレンジBRが固定長FLよりも小さい場合に、利用しないですむ容量のことを指す。つまり、(FL−BR)がブロックに対する余剰データ容量SDである。図6の例では、図6(a)の画素ブロックの場合はSD=7−2=5となり、図6(b)の画素ブロックの場合はSD=7−7=0となる。 In step S309, the coding unit 202 calculates the surplus data capacity (pool capacity) SD. The surplus data capacity SD refers to a capacity that does not need to be used when the block range BR is smaller than the fixed length FL. That is, (FL-BR) is the surplus data capacity SD for the block. In the example of FIG. 6, SD = 7-2 = 5 in the case of the pixel block of FIG. 6 (a), and SD = 7-7 = 0 in the case of the pixel block of FIG. 6 (b).

ステップS309の対象となる画素ブロックは、ブロックレンジBR≦固定長FLが満を満たしているため、固定長FL以下で可逆符号化できる画素ブロックであると言える。更に、ブロックレンジBR<固定長FLを満たす画素ブロックは、固定長FL分すべてを利用しないで、可逆符号化が可能な画素ブロックである。そのため、余剰データ容量SDが0よりも大きい場合、固定長FLを超えてしまうようなブロックレンジBRの画素ブロックの符号データに割り当てることができる。 Since the pixel block targeted in step S309 satisfies the block range BR ≦ fixed length FL, it can be said that the pixel block can be losslessly coded at the fixed length FL or less. Further, the pixel block satisfying the block range BR <fixed length FL is a pixel block capable of lossless coding without utilizing the entire fixed length FL. Therefore, when the surplus data capacity SD is larger than 0, it can be assigned to the code data of the pixel block of the block range BR that exceeds the fixed length FL.

図3のフローチャートに従った処理の開始時には、SDは0に初期化されており、ステップS309では、現在のSDの値に(FL−BR)を加えた値で、SDの値を更新する。 At the start of the process according to the flowchart of FIG. 3, SD is initialized to 0, and in step S309, the SD value is updated by adding (FL-BR) to the current SD value.

なお、本実施形態では、余剰データ容量SDとオーバービット符号化データとの比較を画素ブロック単位で行うために、余剰データ容量SDを前述のように定義した。しかしながら、余剰データ容量SDとオーバービット符号化データとの比較ができれば、余剰データ容量SDの定義は上記の定義に限らない。例えば、実際の画素ブロックに対する余剰データ容量SDとしては、最小画素と最大画素以外の画素OPである14画素について(FL−BR)ビットの余剰があることを意味するため、(FL−BR)×14を余剰データ容量SDとしてもよい。 In the present embodiment, the surplus data capacity SD is defined as described above in order to compare the surplus data capacity SD and the overbit coded data in pixel block units. However, the definition of the surplus data capacity SD is not limited to the above definition as long as the surplus data capacity SD and the overbit coded data can be compared. For example, as the surplus data capacity SD for the actual pixel block, it means that there is a surplus of (FL-BR) bits for 14 pixels which are pixel OPs other than the minimum pixel and the maximum pixel, and therefore (FL-BR) ×. 14 may be used as the surplus data capacity SD.

ステップS311では、符号化部202は、入力画像における全ての画素ブロックを選択画素ブロックとして選択したか否か(入力画像における全ての画素ブロックについてステップS301〜S310の処理を行ったか否か)を判断する。 In step S311, the coding unit 202 determines whether or not all the pixel blocks in the input image have been selected as the selected pixel blocks (whether or not the processing of steps S301 to S310 has been performed for all the pixel blocks in the input image). To do.

この判断の結果、入力画像における全ての画素ブロックを選択画素ブロックとして選択した(入力画像における全ての画素ブロックについてステップS301〜S310の処理を行った)場合には、処理はステップS312に進む。一方、入力画像においてまだ選択画素ブロックとして選択していない画素ブロックが残っている(入力画像において未だステップS301〜S310の処理を行っていない画素ブロックが残っている)場合には、処理はステップS301に進む。 As a result of this determination, when all the pixel blocks in the input image are selected as the selected pixel blocks (the processes of steps S301 to S310 are performed for all the pixel blocks in the input image), the process proceeds to step S312. On the other hand, if a pixel block that has not yet been selected as a selected pixel block remains in the input image (a pixel block that has not yet been processed in steps S301 to S310 remains in the input image), the process is performed in step S301. Proceed to.

ステップS312では、符号量制御部205は、入力画像の符号量制御処理を行う。符号量制御処理では、符号量制御部205は、バッファ204に格納されているオーバービットの符号化結果(オーバービット符号化データ)から、余剰データ容量SDの分だけ部分データを抽出する。そして符号量制御部205は、該部分データを、後述する符号列に含める符号化データとしてバッファ204に格納する。余剰データ容量SDよりもオーバービット符号化データのデータ量が少ないか同じである場合には、すべてのオーバービット符号化データを、後述する符号列に含める符号化データとしてバッファ204に格納する。一方、余剰データ容量SDよりもオーバービット符号化データのデータ量が多い場合には、オーバービット符号化データにおいて余剰データ容量SD分の部分データを、後述する符号列に含める符号化データとしてバッファ204に格納する。そして符号量制御部205は、バッファ204に格納されているそれぞれの符号化結果を出力する。 In step S312, the code amount control unit 205 performs the code amount control process of the input image. In the code amount control process, the code amount control unit 205 extracts partial data for the surplus data capacity SD from the overbit coding result (overbit coded data) stored in the buffer 204. Then, the code amount control unit 205 stores the partial data in the buffer 204 as coded data to be included in the code string described later. When the amount of overbit coded data is smaller than or the same as the surplus data capacity SD, all the overbit coded data is stored in the buffer 204 as coded data to be included in the code string described later. On the other hand, when the amount of overbit coded data is larger than the surplus data capacity SD, the buffer 204 includes the partial data of the surplus data capacity SD in the overbit coded data as the coded data to be included in the code string described later. Store in. Then, the code amount control unit 205 outputs each coding result stored in the buffer 204.

このように、上記の符号化処理と符号量制御処理とを行うことで、符号量制御単位ごとに固定長以下での符号化が可能となる。図10に、画素ブロック内の画素値の変化を模式的に表した図を示す。横軸は画素位置、縦軸が画素値を表している。図10(a)に示すような画素値を持つ画素ブロックでは、欠陥画素(画素位置P(k))の画素値が画素ブロック内の他の画素の画素値と比較して突出して大きな値を持っている。このため、この画素ブロックのブロックレンジBRの値が大きくなり、該画素ブロックの符号化性能が低下する。この画素ブロックに対して、欠陥画素(画素位置P(k))の値を近傍画素の画素値で置換したうえで符号化することで、図10(b)に示すように、ブロックレンジBRの値が小さくなり、符号化性能を向上させることができる。 By performing the above coding process and the code amount control process in this way, it is possible to code each code amount control unit with a fixed length or less. FIG. 10 shows a diagram schematically showing the change of the pixel value in the pixel block. The horizontal axis represents the pixel position and the vertical axis represents the pixel value. In a pixel block having a pixel value as shown in FIG. 10A, the pixel value of the defective pixel (pixel position P (k)) is prominently larger than the pixel values of other pixels in the pixel block. have. Therefore, the value of the block range BR of this pixel block becomes large, and the coding performance of the pixel block deteriorates. By substituting the value of the defective pixel (pixel position P (k)) with the pixel value of the neighboring pixel and then encoding the pixel block, as shown in FIG. 10 (b), the block range BR The value becomes small, and the coding performance can be improved.

なお、本実施形態では、欠陥画素の画素値を近傍画素の画素値で置換したが、これに限るものではない。つまり、画素ブロック内で欠陥画素を除いた状態で最小の画素値と最大の画素値の探索が可能であれば良ので、欠陥画素の画素値を、最小画素の画素値および最大画素の画素値を除く他の画素値で置換するようにしても良い。そのため、置換する値は画素ブロック内の欠陥画素を除いた最小値を設定すると予め決めておいてもよい。 In the present embodiment, the pixel value of the defective pixel is replaced with the pixel value of the neighboring pixel, but the present invention is not limited to this. That is, it is sufficient if the minimum pixel value and the maximum pixel value can be searched in the pixel block with the defective pixel removed. Therefore, the pixel value of the defective pixel is set to the pixel value of the minimum pixel and the pixel value of the maximum pixel. It may be replaced with a pixel value other than. Therefore, the value to be replaced may be determined in advance to set the minimum value excluding the defective pixels in the pixel block.

符号列形成部104は、符号化部103(符号量制御部205)から出力された符号化結果(固定長以下の符号化データ)に必要な付加情報を加えて符号列を形成する。符号列の構成例を図9に示す。 The code string forming unit 104 forms a code string by adding necessary additional information to the coding result (coded data having a fixed length or less) output from the coding unit 103 (code amount control unit 205). A configuration example of the code string is shown in FIG.

符号列の先頭には、入力画像を復号するために必要となる情報、例えば、入力画像の水平方向の画素数、垂直方向の画素数、コンポーネント数、各コンポーネントのビット数や画素ブロックの幅、高さなどの付加情報がヘッダとして付加される。本実施形態においては、ヘッダとして、符号量制御領域単位の画素ブロック数や画素ブロックの符号化順序を付加することで、復号時に画素ブロック位置の特定が可能となる。ヘッダに続いて、各符号量制御単位の固定長符号化データが付加される。 At the beginning of the code string, information necessary for decoding the input image, for example, the number of pixels in the horizontal direction, the number of pixels in the vertical direction, the number of components, the number of bits of each component and the width of the pixel block, Additional information such as height is added as a header. In the present embodiment, the pixel block position can be specified at the time of decoding by adding the number of pixel blocks and the coding order of the pixel blocks in the code amount control area unit as the header. Following the header, fixed-length coded data for each code amount control unit is added.

なお、ヘッダとして画素ブロックの符号化順序を付加すると説明したが、これに限らない。例えば、動画の1フレームを符号化する際に、先頭フレームでなく、直前に符号化したフレームとの差分が少ない場合には、直前フレームと同じ順序で符号化すると決めておいてもよい。その場合、ヘッダとしては、直前フレームと同じ順序で符号化するか否かのフラグを持つなどすればよい。 Although it has been explained that the coding order of the pixel blocks is added as the header, the present invention is not limited to this. For example, when encoding one frame of a moving image, if the difference from the immediately preceding frame is small instead of the first frame, it may be decided to encode in the same order as the immediately preceding frame. In that case, the header may have a flag as to whether or not to encode in the same order as the immediately preceding frame.

欠陥画素の画素値については、符号化時に置換されているが、このような画素に対しては一般的に、周辺画素からの補間処理が行われる。そのため、復号側で元の欠陥画素の画素値を復号する必要がない。そのため、復号側では欠陥画素の位置情報を入力する必要はなく、復号対象の符号化データをそのまま復号すればよい。 The pixel values of defective pixels are replaced at the time of coding, but such pixels are generally subjected to interpolation processing from peripheral pixels. Therefore, it is not necessary for the decoding side to decode the pixel value of the original defective pixel. Therefore, it is not necessary to input the position information of the defective pixel on the decoding side, and the coded data to be decoded may be decoded as it is.

出力部105は、符号列形成部104によって形成された符号列を出力する。符号列の出力先は特定の出力先に限らず、画像符号化装置や撮像装置のメモリであっても良いし、撮像装置と通信可能な外部装置であっても良い。 The output unit 105 outputs the code string formed by the code string forming unit 104. The output destination of the code string is not limited to a specific output destination, and may be a memory of an image coding device or an image pickup device, or an external device capable of communicating with the image pickup device.

なお、本実施形態において、欠陥画素の位置情報は予め作成された情報であるとして説明したが、これに限らず、経年劣化などにより発生した後発の欠陥画素についても検出して位置情報を更新するなどしても構わない。 In the present embodiment, the position information of the defective pixel has been described as the information created in advance, but the present invention is not limited to this, and the position information is updated by detecting the later defective pixel generated due to aged deterioration or the like. It doesn't matter.

また、本実施形態においては、入力画像を画素ブロックに分割してから固定長符号化する方法について説明を行ったが、これに限るものではない。例えば、入力画像に対して予測符号化を行うなどの方法でもよい。具体的には、着目画素の直前画素を予測として、予測誤差値を算出し、エントロピー符号化を行うような場合にも、欠陥画素を置換して符号化することで、欠陥画素周辺で予測誤差が大きくなって符号化効率が低下するようなことを抑制できる。また、別の例としては、DCTなどを用いて、周波数変換を行う符号化方式であっても良い。この場合においても欠陥画素周辺で高域の成分が発生することによって圧縮性能が低下することを抑制できる。このように、本実施形態によれば、欠陥画素を含む入力画像を符号化するような場合であっても、該入力画像に対する符号化性能の低下を軽減させることができる。 Further, in the present embodiment, the method of dividing the input image into pixel blocks and then encoding the input image with a fixed length has been described, but the present invention is not limited to this. For example, a method such as performing predictive coding on the input image may be used. Specifically, even when the prediction error value is calculated with the pixel immediately before the pixel of interest as the prediction and entropy coding is performed, the prediction error is made around the defective pixel by replacing the defective pixel and coding. Can be suppressed from increasing and reducing the coding efficiency. Further, as another example, a coding method that performs frequency conversion using a DCT or the like may be used. Even in this case, it is possible to suppress the deterioration of the compression performance due to the generation of high-frequency components around the defective pixel. As described above, according to the present embodiment, even in the case of coding the input image including the defective pixel, it is possible to reduce the deterioration of the coding performance for the input image.

[第2の実施形態]
本実施形態を含む以下の各実施形態では、第1の実施形態との差分について説明し、以下で特に触れない限りは第1の実施形態と同様であるものとする。第1の実施形態では、入力画像における欠陥画素の画素値を他の画素値に置換してから符号化する構成について説明したが、本実施形態では、入力画像における欠陥画素を除外してから符号化する構成について説明する。
[Second Embodiment]
In each of the following embodiments including the present embodiment, the differences from the first embodiment will be described, and unless otherwise specified below, the same as the first embodiment. In the first embodiment, the configuration in which the pixel value of the defective pixel in the input image is replaced with another pixel value and then coded has been described, but in the present embodiment, the defective pixel in the input image is excluded and then coded. The configuration to be converted will be described.

本実施形態に係る符号化部103による入力画像の固定長符号化について、図11のフローチャートに従って説明する。図11において図3の処理ステップと同じ処理ステップには同じステップ番号を付しており、該処理ステップに係る説明は省略する。 The fixed-length coding of the input image by the coding unit 103 according to the present embodiment will be described with reference to the flowchart of FIG. In FIG. 11, the same processing steps as those in FIG. 3 are assigned the same step numbers, and the description of the processing steps will be omitted.

ステップS301において、選択画素ブロックに1以上の欠陥画素が含まれていると判断した場合には、処理はステップS1101に進み、選択画素ブロックに欠陥画素が1つも含まれていないと判断した場合には、処理はステップS303に進む。 If it is determined in step S301 that the selected pixel block contains one or more defective pixels, the process proceeds to step S1101 and if it is determined that the selected pixel block does not contain any defective pixels. The process proceeds to step S303.

ステップS1101では、符号化部202は、選択画素ブロックにおける欠陥画素の位置を、「欠陥画素の位置情報」を用いて特定し、該特定した位置の画素(欠陥画素)を符号化対象から除外するための処理を行う。例えば、符号化部202は、選択画素ブロックから欠陥画素を省くことで該選択画素ブロックを更新する。つまり、選択画素ブロックを構成する画素の数が、欠陥画素の数だけ減じられることになる。 In step S1101, the coding unit 202 specifies the position of the defective pixel in the selected pixel block using "position information of the defective pixel", and excludes the pixel (defective pixel) at the specified position from the coding target. Perform the processing for. For example, the coding unit 202 updates the selected pixel block by omitting defective pixels from the selected pixel block. That is, the number of pixels constituting the selected pixel block is reduced by the number of defective pixels.

本実施形態の場合には、符号化時に取得した欠陥画素の位置情報を復号時にも取得して、符号化処理と同様に、復号対象ブロックに欠陥画素が存在するか否かの判断を行う必要がある。そして、欠陥画素が存在する場合には、欠陥画素位置の符号化データは存在しないので、欠陥画素の数を除いた画素数分のみ符号化データから復号する。欠陥画素位置の画素については、近傍画素の画素値を復号値としても良いし、予め定められた値を復号値として設定しても良い。例えば、欠陥画素位置の画素値は“0”を復号値として与えて復号する。 In the case of the present embodiment, it is necessary to acquire the position information of the defective pixel acquired at the time of coding also at the time of decoding to determine whether or not the defective pixel exists in the decoding target block as in the coding process. There is. Then, when the defective pixel exists, the coded data of the defective pixel position does not exist, so only the number of pixels excluding the number of defective pixels is decoded from the coded data. For the pixel at the defective pixel position, the pixel value of the neighboring pixel may be set as the decoding value, or a predetermined value may be set as the decoding value. For example, the pixel value of the defective pixel position is decoded by giving "0" as a decoding value.

このように、本実施形態によれば、欠陥画素を含む入力画像を符号化するような場合であっても、該入力画像に対する符号化性能の低下を軽減させることができる。また、復号側でも欠陥画素の位置情報を取得することで、符号化データに欠陥画素の情報を追加することなく、復号が可能となる。 As described above, according to the present embodiment, even in the case of coding the input image including the defective pixel, it is possible to reduce the deterioration of the coding performance for the input image. Further, by acquiring the position information of the defective pixel on the decoding side as well, the decoding can be performed without adding the information of the defective pixel to the coded data.

[第3の実施形態]
第1,2の実施形態では、画像符号化装置はデジタルカメラ等の撮像装置に搭載されているものとして説明した。しかし画像符号化装置を搭載する装置は撮像装置に限らない。例えば、撮像機能を有する装置(スマートフォン、タブレット端末装置、ノート型パソコン等)に画像符号化装置を搭載しても良く、この場合、撮像機能により撮像された撮像画像が入力画像として画像符号化装置に入力されることになる。なお、画像符号化装置は撮像素子などの撮像部から撮像画像を直接取得するようにしても良いし、一端メモリに格納された撮像画像を取得するようにしても良い。
[Third Embodiment]
In the first and second embodiments, the image coding device has been described as being mounted on an image pickup device such as a digital camera. However, the device equipped with the image coding device is not limited to the imaging device. For example, an image coding device may be mounted on a device having an imaging function (smartphone, tablet terminal device, notebook computer, etc.). In this case, the captured image captured by the imaging function is used as an input image. Will be entered in. The image coding device may directly acquire the captured image from an imaging unit such as an image sensor, or may acquire the captured image once stored in the memory.

また、画像符号化装置は、何らかの装置に搭載されることに限らない。例えば、画像符号化装置は、撮像装置が接続されたコンピュータ装置であっても良いし、自身で入力画像を保持するコンピュータ装置であっても良い。また画像符号化装置は、入力画像を保持する外部装置(例えばネットワーク上のファイルサーバ)と通信可能なコンピュータ装置であっても良い。 Further, the image coding device is not limited to being mounted on any device. For example, the image coding device may be a computer device to which an imaging device is connected, or may be a computer device that holds an input image by itself. Further, the image coding device may be a computer device capable of communicating with an external device (for example, a file server on a network) that holds an input image.

画像符号化装置に適用可能なコンピュータ装置のハードウェア構成例について、図12のブロック図を用いて説明する。なお、画像符号化装置に適用可能なコンピュータ装置のハードウェア構成は図12に示した構成に限らず、適宜変更/変形が可能である。 An example of a hardware configuration of a computer device applicable to an image coding device will be described with reference to the block diagram of FIG. The hardware configuration of the computer device applicable to the image coding device is not limited to the configuration shown in FIG. 12, and can be appropriately changed / modified.

CPU1201は、RAM1202やROM1203に格納されているコンピュータプログラムやデータを用いて各種の処理を実行する。これによりCPU1201は、コンピュータ装置全体の動作制御を行うと共に、画像符号化装置が行うものとして上述した各処理を実行もしくは制御する。 The CPU 1201 executes various processes using computer programs and data stored in the RAM 1202 and the ROM 1203. As a result, the CPU 1201 controls the operation of the entire computer device, and executes or controls each of the above-described processes as performed by the image coding device.

RAM1202は、ROM1203や外部記憶装置1206からロードされたコンピュータプログラムやデータを格納するためのエリア、I/F1207を介して外部から受信したデータ(撮像画像、欠陥画素の位置情報等)を格納するためのエリア、を有する。またRAM1202は、CPU1201が各種の処理を実行する際に用いるワークエリアを有する。このようにRAM1202は、各種のエリアを適宜提供することができる。ROM1203には、コンピュータ装置の設定データや起動プログラムなどが格納されている。 The RAM 1202 is an area for storing computer programs and data loaded from the ROM 1203 and the external storage device 1206, and is for storing data (captured image, position information of defective pixels, etc.) received from the outside via the I / F 1207. Has an area of. The RAM 1202 also has a work area used by the CPU 1201 to execute various processes. As described above, the RAM 1202 can appropriately provide various areas. The ROM 1203 stores computer device setting data, a startup program, and the like.

操作部1204は、キーボード、マウス、タッチパネルなどのユーザインターフェースであり、ユーザが操作することで各種の情報(欠陥画素の位置情報など)や指示をコンピュータ装置に対して入力することができる。 The operation unit 1204 is a user interface such as a keyboard, a mouse, and a touch panel, and various information (position information of defective pixels, etc.) and instructions can be input to the computer device by the user's operation.

表示部1205は、液晶画面やタッチパネル画面を有し、CPU1201による処理結果を画像や文字などでもって表示することができる。なお、表示部1205は、画像や文字を投影するプロジェクタなどの投影装置であっても良い。 The display unit 1205 has a liquid crystal screen and a touch panel screen, and can display the processing result by the CPU 1201 with images, characters, and the like. The display unit 1205 may be a projection device such as a projector that projects an image or characters.

外部記憶装置1206は、ハードディスクドライブ装置などの大容量情報記憶装置である。外部記憶装置1206には、OS(オペレーティングシステム)や、画像符号化装置が行うものとして上述した各処理をCPU1201に実行もしくは制御させるためのコンピュータプログラムやデータが保存されている。 The external storage device 1206 is a large-capacity information storage device such as a hard disk drive device. The external storage device 1206 stores computer programs and data for causing the CPU 1201 to execute or control each of the above-mentioned processes as performed by the OS (operating system) and the image coding device.

外部記憶装置1206に保存されているコンピュータプログラムには、図1,2においてバッファ204を除く各機能部の機能をCPU1201に実行させるためのコンピュータプログラムが含まれている。また、外部記憶装置1206に保存されているデータには、上記の説明において既知の情報として説明したもの(欠陥画素の位置情報など)が含まれている。 The computer program stored in the external storage device 1206 includes a computer program for causing the CPU 1201 to execute the functions of the functional units other than the buffer 204 in FIGS. 1 and 2. Further, the data stored in the external storage device 1206 includes the data described as known information in the above description (position information of defective pixels, etc.).

外部記憶装置1206に保存されているコンピュータプログラムやデータは、CPU1201による制御に従って適宜RAM1202にロードされ、CPU1201による処理対象となる。なお、図2のバッファ204は、上記のRAM1202や外部記憶装置1206でもって実装可能である。 The computer programs and data stored in the external storage device 1206 are appropriately loaded into the RAM 1202 according to the control by the CPU 1201, and are processed by the CPU 1201. The buffer 204 of FIG. 2 can be mounted by the above-mentioned RAM 1202 or the external storage device 1206.

I/F1207は、コンピュータ装置が外部の装置との間のデータ通信を行うために用いるネットワークインターフェースである。撮像画像や欠陥画素の位置情報を外部の装置からI/F1207を介して外部記憶装置1206やRAM1202に取得したり、符号列をI/F1207を介して外部の装置に送信しても良い。 The I / F 1207 is a network interface used by a computer device to perform data communication with an external device. The captured image and the position information of the defective pixel may be acquired from the external device via the I / F 1207 to the external storage device 1206 or the RAM 1202, or the code string may be transmitted to the external device via the I / F 1207.

なお、CPU1201、RAM1202、ROM1203、操作部1204、表示部1205、外部記憶装置1206、I/F1207は何れもバス1208に接続されている。 The CPU 1201, RAM 1202, ROM 1203, operation unit 1204, display unit 1205, external storage device 1206, and I / F 1207 are all connected to the bus 1208.

図12に示した構成を有するコンピュータ装置は、画像符号化装置によって生成された符号列を復号する画像復号装置にも適用可能である。なお、画像符号化装置と画像復号装置とはそれぞれ別個の装置であっても良いし、同じ装置(符号化機能と復号機能とを有する装置)であっても良い。 The computer device having the configuration shown in FIG. 12 is also applicable to an image decoding device that decodes a code string generated by the image coding device. The image coding device and the image decoding device may be separate devices, or may be the same device (a device having a coding function and a decoding function).

なお、上記の説明において使用した具体的な数値は、具体的な説明を行うために使用したものであって、上記の各実施形態がこれらの数値に限定されることを意図したものではない。また、以上説明した各実施形態の一部若しくは全部を適宜組み合わせても構わない。また、以上説明した各実施形態の一部若しくは全部を選択的に用いても構わない。 It should be noted that the specific numerical values used in the above description are used for giving specific explanations, and are not intended to limit each of the above embodiments to these numerical values. In addition, some or all of the above-described embodiments may be combined as appropriate. In addition, a part or all of each of the above-described embodiments may be selectively used.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above embodiments, and various modifications and modifications can be made without departing from the spirit and scope of the invention. Therefore, a claim is attached to make the scope of the invention public.

101:入力部 102:取得部 103:符号化部 104:符号列形成部 105:出力部 201:分割部 202:符号化部 203:符号化部 204:バッファ 205:符号量制御部 101: Input unit 102: Acquisition unit 103: Coding unit 104: Code string forming unit 105: Output unit 201: Dividing unit 202: Coding unit 203: Coding unit 204: Buffer 205: Code amount control unit

Claims (14)

入力画像を入力する入力手段と、
前記入力画像において欠陥画素として指定されている画素の画素値を他の画素値で置換する若しくは該画素を前記入力画像から除外する処理を行い、該処理後の入力画像を符号化する符号化手段と
を備えることを特徴とする画像符号化装置。
Input means for inputting input images and
A coding means for encoding the input image after the processing of replacing the pixel value of the pixel designated as a defective pixel in the input image with another pixel value or excluding the pixel from the input image. An image coding apparatus comprising the above.
前記符号化手段は、
前記処理後の入力画像を予測符号化により符号化することを特徴とする請求項1に記載の画像符号化装置。
The coding means is
The image coding apparatus according to claim 1, wherein the input image after the processing is coded by predictive coding.
前記符号化手段は、
前記処理後の入力画像を周波数変換して符号化することを特徴とする請求項1に記載の画像符号化装置。
The coding means is
The image coding apparatus according to claim 1, wherein the input image after the processing is frequency-converted and coded.
更に、
前記入力画像を、複数の画素から成る画素ブロックを単位に分割する分割手段を備え、
前記符号化手段は、前記画素ブロックにおいて欠陥画素として指定されている画素の画素値を他の画素値で置換する若しくは該画素を前記画素ブロックから除外する処理を行い、該処理後の画素ブロックを符号化することを特徴とする請求項1乃至3のいずれか1項に記載の画像符号化装置。
In addition
The input image is provided with a dividing means for dividing a pixel block composed of a plurality of pixels into units.
The coding means performs a process of replacing the pixel value of a pixel designated as a defective pixel in the pixel block with another pixel value or excluding the pixel from the pixel block, and the pixel block after the process is used. The image coding apparatus according to any one of claims 1 to 3, wherein the image coding apparatus is encoded.
前記符号化手段は、
前記処理後の画素ブロックにおいて最大の画素値を有する最大画素および最小の画素値を有する最小画素のそれぞれを符号化する第1の符号化手段と、
前記最大画素の画素値と前記最小画素の画素値との差分を表現可能なビット数を求め、該ビット数が0より大きく且つ固定長以下の場合には、前記処理後の画素ブロックにおいて前記最大画素および前記最小画素を除く画素の画素値と前記最大画素の画素値もしくは前記最小画素の画素値との差分値を該画素の符号化結果とし、前記ビット数が0より大きく且つ前記固定長より大きい場合には、前記差分値を前記固定長で表現できるように下位ビットを切り捨てた結果を該画素の符号化結果とする第2の符号化手段と、
前記下位ビットを符号化する第3の符号化手段と
を備えることを特徴とする請求項4に記載の画像符号化装置。
The coding means is
A first coding means for encoding each of the maximum pixel having the maximum pixel value and the minimum pixel having the minimum pixel value in the processed pixel block,
The number of bits capable of expressing the difference between the pixel value of the maximum pixel and the pixel value of the minimum pixel is obtained, and when the number of bits is greater than 0 and the fixed length or less, the maximum number of pixels in the processed pixel block is obtained. The difference value between the pixel value of the pixel and the pixel excluding the minimum pixel and the pixel value of the maximum pixel or the pixel value of the minimum pixel is used as the encoding result of the pixel, and the number of bits is larger than 0 and the fixed length. When it is large, a second coding means in which the result of truncating the lower bits so that the difference value can be expressed by the fixed length is used as the coding result of the pixel,
The image coding apparatus according to claim 4, further comprising a third coding means for encoding the lower bits.
前記第2の符号化手段は、前記ビット数が0の場合には、前記処理後の画素ブロックにおいて前記最大画素および前記最小画素を除く画素の符号化を行わないことを特徴とする請求項5に記載の画像符号化装置。 5. The second coding means is characterized in that when the number of bits is 0, the processed pixel block does not encode pixels other than the maximum pixel and the minimum pixel. The image encoding device according to. 更に、
前記符号化手段による符号化結果を含む符号列を形成して出力する出力手段を備えることを特徴とする請求項5又は6に記載の画像符号化装置。
In addition
The image coding apparatus according to claim 5 or 6, further comprising an output means for forming and outputting a code string including a coding result by the coding means.
前記出力手段は、前記第3の符号化手段による符号化結果のうち前記固定長と前記ビット数との差分に基づく量のデータを含む前記符号列を形成して出力することを特徴とする請求項7に記載の画像符号化装置。 The output means is characterized in that the code string including the amount of data based on the difference between the fixed length and the number of bits of the coding result by the third coding means is formed and output. Item 7. The image coding apparatus according to Item 7. 前記符号化手段は、前記画素ブロックにおいて欠陥画素として指定されている画素の画素値を、該画素ブロックにおいて該画素の近傍の画素の画素値で置換することを特徴とする請求項4乃至8の何れか1項に記載の画像符号化装置。 The coding means according to claim 4 to 8, wherein the coding means replaces the pixel value of a pixel designated as a defective pixel in the pixel block with the pixel value of a pixel in the vicinity of the pixel in the pixel block. The image coding apparatus according to any one item. 前記符号化手段は、前記画素ブロックにおいて欠陥画素として指定されている画素の画素値を、該画素ブロックにおける最大の画素値および最小の画素値を除く他の画素値で置換することを特徴とする請求項4乃至8の何れか1項に記載の画像符号化装置。 The coding means is characterized in that the pixel value of a pixel designated as a defective pixel in the pixel block is replaced with a pixel value other than the maximum pixel value and the minimum pixel value in the pixel block. The image coding apparatus according to any one of claims 4 to 8. 前記入力画像は、撮像素子から出力された撮像画像であることを特徴とする請求項1乃至10の何れか1項に記載の画像符号化装置。 The image coding apparatus according to any one of claims 1 to 10, wherein the input image is an captured image output from an image pickup device. 前記画像符号化装置は撮像装置に搭載されていることを特徴とする請求項1乃至11の何れか1項に記載の画像符号化装置。 The image coding device according to any one of claims 1 to 11, wherein the image coding device is mounted on an imaging device. 画像符号化装置が行う画像符号化方法であって、
前記画像符号化装置の入力手段が、入力画像を入力する入力工程と、
前記画像符号化装置の符号化手段が、前記入力画像において欠陥画素として指定されている画素の画素値を他の画素値で置換する若しくは該画素を前記入力画像から除外する処理を行い、該処理後の入力画像を符号化する符号化工程と
を備えることを特徴とする画像符号化方法。
This is an image coding method performed by an image coding device.
The input means of the image coding device includes an input step of inputting an input image and
The coding means of the image coding apparatus performs a process of replacing the pixel value of a pixel designated as a defective pixel in the input image with another pixel value or excluding the pixel from the input image, and the process is performed. An image coding method comprising a coding step of coding a later input image.
コンピュータを、請求項1乃至12の何れか1項に記載の画像符号化装置の各手段として機能させるためのコンピュータプログラム。 A computer program for causing a computer to function as each means of the image coding apparatus according to any one of claims 1 to 12.
JP2019183277A 2019-10-03 2019-10-03 Image encoding device and image encoding method Pending JP2021061487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019183277A JP2021061487A (en) 2019-10-03 2019-10-03 Image encoding device and image encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019183277A JP2021061487A (en) 2019-10-03 2019-10-03 Image encoding device and image encoding method

Publications (1)

Publication Number Publication Date
JP2021061487A true JP2021061487A (en) 2021-04-15

Family

ID=75380624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019183277A Pending JP2021061487A (en) 2019-10-03 2019-10-03 Image encoding device and image encoding method

Country Status (1)

Country Link
JP (1) JP2021061487A (en)

Similar Documents

Publication Publication Date Title
US11595667B2 (en) Constraints on locations of reference blocks for intra block copy prediction
US10368092B2 (en) Encoder-side decisions for block flipping and skip mode in intra block copy prediction
US20200036968A1 (en) Method for decoding a bitstream
US10136140B2 (en) Encoder-side decisions for screen content encoding
US10567754B2 (en) Hash table construction and availability checking for hash-based block matching
JP4360416B2 (en) Image compression method, image compression apparatus, and program
US20070018995A1 (en) Image processing apparatus
JP2008042688A (en) Image processing apparatus and control method thereof, and computer program and computer readable storage medium
JPH10336682A (en) Coder, its method and storage medium storing the method
JP2017022696A (en) Method and apparatus of encoding or decoding coding units of video content in pallet coding mode using adaptive pallet predictor
TW201725905A (en) Entropy coding techniques for display stream compression (DSC) of non-4:4:4 chroma sub-sampling
US10602174B2 (en) Lossless pixel compression for random video memory access
US11445160B2 (en) Image processing device and method for operating image processing device
JP2007295416A (en) Image processing method and image processing apparatus
JP2006129105A (en) Visual processing device, method and program, and semiconductor device
US20230328264A1 (en) Video or image coding based on mapping of luma samples and scaling of chroma samples
US20190238894A1 (en) Image processing device and method for operating image processing device
JP2021061487A (en) Image encoding device and image encoding method
JP6465570B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2020092327A (en) Image encoding device, image encoding method, and program
US20110103705A1 (en) Image encoding method and apparatus, and image decoding method and apparatus
JP2010276686A (en) Image control apparatus
JP2009038740A (en) Image encoding device
JP6985899B2 (en) Image coding device and its control method and program
JP2016066922A (en) Signal processor, imaging apparatus, and signal processing method in them

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113