JP5872804B2 - Encoding apparatus and encoding method - Google Patents

Encoding apparatus and encoding method Download PDF

Info

Publication number
JP5872804B2
JP5872804B2 JP2011146120A JP2011146120A JP5872804B2 JP 5872804 B2 JP5872804 B2 JP 5872804B2 JP 2011146120 A JP2011146120 A JP 2011146120A JP 2011146120 A JP2011146120 A JP 2011146120A JP 5872804 B2 JP5872804 B2 JP 5872804B2
Authority
JP
Japan
Prior art keywords
encoding
data
pixel data
encoded data
encoded
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.)
Active
Application number
JP2011146120A
Other languages
Japanese (ja)
Other versions
JP2013016880A (en
Inventor
毅 都築
毅 都築
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanwha Vision Co Ltd
Original Assignee
Hanwha Techwin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hanwha Techwin Co Ltd filed Critical Hanwha Techwin Co Ltd
Priority to JP2011146120A priority Critical patent/JP5872804B2/en
Priority to KR1020120065167A priority patent/KR101736469B1/en
Publication of JP2013016880A publication Critical patent/JP2013016880A/en
Application granted granted Critical
Publication of JP5872804B2 publication Critical patent/JP5872804B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • H04N1/417Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information using predictive or differential encoding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3002Conversion to or from differential modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/156Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding

Description

本発明は、符号化装置及び符号化方法に関する。   The present invention relates to an encoding apparatus and an encoding method.

従来、画像処理の手法としては様々な手法が提案されている(例えば、特許文献1ないし特許文献3参照)。例えば、特許文献1には、必要な指定範囲の画像データをブロック単位でラスタ状に変換して1画素単位の画像処理を実行する技術が開示されている。また、例えば、特許文献2には、1ライン分の画像データを出力する途中で駆動パルスの出力を一時停止する技術が開示されている。また、例えば、特許文献3には、符号化データの複数ビットを1ワードとしてライン毎又はページ毎にワードパッキングする技術が開示されている。   Conventionally, various methods have been proposed as image processing methods (see, for example, Patent Documents 1 to 3). For example, Patent Document 1 discloses a technique for executing image processing in units of one pixel by converting image data in a necessary designated range into a raster shape in units of blocks. For example, Patent Document 2 discloses a technique for temporarily stopping the output of a drive pulse while outputting image data for one line. Further, for example, Patent Document 3 discloses a technique for packing a plurality of bits of encoded data as one word for each line or page.

画像処理においては、一般に所定の規則に基づいて画像の形式を変換する符号化が行われる。画像の符号化方式としては、例えば、DPCM(Differential Pulse Code Modulation)が知られている。このDPCMによる符号化方式は、近くにある画素同士は、比較的近い画素値を取ることが多いという特徴を利用して符号化を行う方式である。したがって、DPCMを使用して符号化を行った場合には、画像データを圧縮することができるため、画像データの記録に使用されるメモリのサイズを小さくすることができるといった効果を奏することができる。例えば、画像データの符号化がなされる場合には、画面左端に相当する画素データから順に符号化される。   In image processing, encoding that converts the format of an image based on a predetermined rule is generally performed. As an image encoding system, for example, DPCM (Differential Pulse Code Modulation) is known. This encoding method by DPCM is a method that performs encoding using the feature that pixels in the vicinity often take relatively close pixel values. Therefore, when encoding is performed using DPCM, the image data can be compressed, so that the size of the memory used for recording the image data can be reduced. . For example, when image data is encoded, it is encoded in order from pixel data corresponding to the left end of the screen.

特開2009−159631号公報JP 2009-159631 A 特開2001−157122号公報JP 2001-157122 A 特開平07−115548号公報JP 07-115548 A

しかしながら、DPCMを使用する場合、画面左端に相当する画素データの符号化に際しては、当該画素データが直接符号化されるが、画面左端に相当する画素データ以外の画素データの符号化に際しては、当該画素データとその直前の画素データとの差分値が符号化される。この場合、画面の一部を構成する画像データを取得する場合でも画面左端の画素データから復号する必要があるという問題があった。   However, when using DPCM, when encoding pixel data corresponding to the left end of the screen, the pixel data is directly encoded. However, when encoding pixel data other than the pixel data corresponding to the left end of the screen, A difference value between the pixel data and the immediately preceding pixel data is encoded. In this case, there is a problem that it is necessary to decode from the pixel data at the left end of the screen even when acquiring image data constituting a part of the screen.

そこで、本発明は、符号化データの記録に使用されるメモリのサイズを抑えつつ、画面左端の画素データから復号しなくても画面の一部を構成する画像データを取得することが可能な、新規かつ改良された符号化装置及び符号化方法を提供しようとするものである。   Therefore, the present invention can obtain image data constituting a part of the screen without decoding from the pixel data on the left end of the screen while suppressing the size of the memory used for recording the encoded data. It is an object of the present invention to provide a new and improved encoding apparatus and encoding method.

本発明のある実施形態によれば、画素データを直接符号化する直接符号化部と、画素データと前記画素データより前の画素データとの差分値を符号化する差分符号化部と、前記直接符号化部又は前記差分符号化部により得られた符号化データを選択的に出力する符号化データ選択部と、を備え、前記符号化データ選択部は、各ラインにおいて、前記直接符号化部により得られた複数の画素データの符号化データを選択的に出力することを特徴とする、符号化装置が提供される。   According to an embodiment of the present invention, a direct encoding unit that directly encodes pixel data, a differential encoding unit that encodes a difference value between pixel data and pixel data before the pixel data, and the direct An encoded data selection unit that selectively outputs the encoded data obtained by the encoding unit or the differential encoding unit, and the encoded data selection unit is configured by the direct encoding unit in each line. An encoding apparatus is provided, which selectively outputs encoded data of a plurality of obtained pixel data.

かかる構成によれば、差分値の符号化により得られる符号化データを出力することができるため、画像データを構成する全ての画素に対して直接符号化を行う場合と比較して、符号化データの記録に使用されるメモリのサイズを抑えることができる。さらに、直接符号化により得られる符号化データを出力することもできるため、画面左端の画素データから復号しなくても画面の一部を構成する画像データを取得することが可能となる。   According to such a configuration, since encoded data obtained by encoding the difference value can be output, the encoded data is compared with a case where all pixels constituting the image data are directly encoded. The size of the memory used for recording can be reduced. Furthermore, since it is possible to output encoded data obtained by direct encoding, it is possible to acquire image data constituting a part of the screen without decoding from the pixel data at the left end of the screen.

また、前記符号化データ選択部は、所定の条件を満たす場合に、前記直接符号化部により得られた符号化データを選択して出力し、前記所定の条件を満たさない場合に、前記差分符号化部により得られた符号化データを選択して出力することもできる。かかる構成によれば、所定の条件を満たす場合には直接符号化を行い、所定の条件を満たさない場合には差分値に対する符号化を行うことができる。   The encoded data selection unit selects and outputs the encoded data obtained by the direct encoding unit when a predetermined condition is satisfied, and the differential code when the predetermined condition is not satisfied. It is also possible to select and output the encoded data obtained by the conversion unit. According to such a configuration, it is possible to perform direct encoding when a predetermined condition is satisfied, and to encode a difference value when the predetermined condition is not satisfied.

また、前記符号化データ選択部は、各ラインにおいて、先頭の画素データ、および各々が所定間隔を有する画素データについては前記直接符号化部により得られた符号化データを選択して出力し、他の画素データについては前記差分符号化部により得られた符号化データを選択して出力してもよい。かかる構成によれば、所定間隔ごとに必ず直接符号化が行われるため、より確実に、画面左端の画素データから復号しなくても画面の一部を構成する画像データを取得することを可能とすることができる。   In addition, the encoded data selection unit selects and outputs the encoded data obtained by the direct encoding unit for the first pixel data and the pixel data each having a predetermined interval in each line. For the pixel data, encoded data obtained by the differential encoding unit may be selected and output. According to such a configuration, since direct encoding is always performed at predetermined intervals, it is possible to more reliably acquire image data constituting a part of the screen without decoding from the pixel data at the left end of the screen. can do.

また、前記符号化データ選択部は、前記符号化データをメモリに出力してもよい。かかる構成によれば、符号化データの記録に使用されるメモリのサイズを抑えることができる。   The encoded data selection unit may output the encoded data to a memory. According to such a configuration, the size of the memory used for recording the encoded data can be suppressed.

また、前記差分符号化部は、前記画素データと前記画素データの直前の画素データとの差分値を符号化してもよい。かかる構成によれば、直前の画素データを記憶しておけば済むため、回路規模をより小さくすることが可能となる。   The difference encoding unit may encode a difference value between the pixel data and the pixel data immediately before the pixel data. According to such a configuration, it is only necessary to store the previous pixel data, so that the circuit scale can be further reduced.

また、本発明の別の実施形態によれば、画素データを直接符号化するステップと、画素データと前記画素データより前の画素データとの差分値を符号化するステップと、前記直接符号化又は前記差分値の符号化により得られた符号化データを選択的に出力するステップであって、各ラインにおいて、前記直接符号化部により得られた複数の画素データの符号化データを選択的に出力するステップと、を含むことを特徴とする、符号化方法が提供される。   According to another embodiment of the present invention, the step of directly encoding pixel data, the step of encoding a difference value between pixel data and pixel data before the pixel data, and the direct encoding or Selectively outputting encoded data obtained by encoding the difference value, and selectively outputting encoded data of a plurality of pixel data obtained by the direct encoding unit in each line An encoding method is provided.

かかる構成によれば、差分値の符号化により得られる符号化データを出力することができるため、画像データを構成する全ての画素に対して直接符号化を行う場合と比較して、符号化データの記録に使用されるメモリのサイズを抑えることができる。さらに、直接符号化により得られる符号化データを出力することもできるため、画面左端の画素データから復号しなくても画面の一部を構成する画像データを取得することが可能となる。   According to such a configuration, since encoded data obtained by encoding the difference value can be output, the encoded data is compared with a case where all pixels constituting the image data are directly encoded. The size of the memory used for recording can be reduced. Furthermore, since it is possible to output encoded data obtained by direct encoding, it is possible to acquire image data constituting a part of the screen without decoding from the pixel data at the left end of the screen.

以上説明したように、本発明に係る符号化装置及び符号化方法によれば、符号化データの記録に使用されるメモリのサイズを抑えつつ、画面左端の画素データから復号しなくても画面の一部を構成する画像データを取得することができる。   As described above, according to the encoding device and the encoding method of the present invention, the size of the memory used for recording the encoded data is reduced, and the screen can be displayed without decoding from the pixel data at the left end of the screen. Image data constituting a part can be acquired.

本発明の実施形態に係る符号化装置により入力データ列に対してDPCM符号化を行った場合のデータ・アドレス制御を示す図である。It is a figure which shows the data address control at the time of performing DPCM encoding with respect to the input data sequence by the encoding apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る符号化装置により画像データを符号化する場合の効果を示す図である。It is a figure which shows the effect in the case of encoding image data with the encoding apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る符号化装置及び復号装置の構成を示す図である。It is a figure which shows the structure of the encoding apparatus and decoding apparatus which concern on embodiment of this invention. 本発明の実施形態に係る符号化装置の動作例を示す図である。It is a figure which shows the operation example of the encoding apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る復号装置の動作例を示す図である。It is a figure which shows the operation example of the decoding apparatus which concerns on embodiment of this invention.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付すことにより重複説明を省略する。   Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.

まず、比較例としてのノイズ低減回路について説明する。この比較例におけるノイズ低減回路では、ラインメモリの入力側にDPCM符号化器を配置し、ラインメモリの出力側にDPCM復号器を配置する。これにより、DPCM形式により圧縮された符号化データを格納することでラインメモリのサイズを小さくすることができる。かかる場合、DPCM符号化器は、ラインの先頭の画素データ(以下「画素値」とも言う。)のみに対して直接符号化を行い、その後の画素データに関しては当該画素データとその直前の画素データとの差分値を符号化する。   First, a noise reduction circuit as a comparative example will be described. In the noise reduction circuit in this comparative example, a DPCM encoder is arranged on the input side of the line memory, and a DPCM decoder is arranged on the output side of the line memory. Thereby, the size of the line memory can be reduced by storing the encoded data compressed in the DPCM format. In such a case, the DPCM encoder directly encodes only the top pixel data (hereinafter also referred to as “pixel value”) of the line, and regarding the subsequent pixel data, the pixel data and the pixel data immediately before the pixel data are encoded. The difference value is encoded.

このような処理は、ラインメモリと組み合わせて全画面を逐次処理していくパイプライン処理の類には適しているが、画面の一部の画像データを切り出して、切り出した画像データを拡大・縮小するような処理(例えば、トリミング・リサイザ処理)との組み合わせには適していない。画面左端に相当する画素データ以外の画素データは、直前の画素データとの差分値を符号化したデータであるため、例えば、画面の一部の画像データだけが欲しい場合でも、画面左端に相当する画素データから復号する必要があるからである。このために、比較例におけるノイズ低減回路を使用する場合には、ラインメモリを使った画面全体に対する処理に限定されてしまうものであった。   Such processing is suitable for a kind of pipeline processing in which the entire screen is sequentially processed in combination with the line memory. However, a part of the image data on the screen is cut out, and the cut out image data is enlarged / reduced. It is not suitable for combination with such processing (for example, trimming / resizer processing). Since the pixel data other than the pixel data corresponding to the left end of the screen is data obtained by encoding the difference value from the previous pixel data, for example, even when only a part of the image data of the screen is desired, it corresponds to the left end of the screen. This is because it is necessary to decode from the pixel data. For this reason, when the noise reduction circuit in the comparative example is used, the processing is limited to the entire screen using the line memory.

以下、本発明の実施形態に係る符号化装置及び符号化方法について図を用いて説明する。   Hereinafter, an encoding apparatus and an encoding method according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態に係る符号化装置10により入力データ列に対してDPCM符号化を行った場合のデータ・アドレス制御を示す。特に、図1は、入力データ列の各々が12bitの画素データにより構成されており符号化データ列の各々が6bitの画素データにより構成されている場合を例として示している。   FIG. 1 shows data address control when DPCM encoding is performed on an input data string by the encoding apparatus 10 according to the embodiment of the present invention. In particular, FIG. 1 shows an example in which each input data string is composed of 12-bit pixel data, and each encoded data string is composed of 6-bit pixel data.

<書き込み時>
本発明の実施形態に係る符号化装置10に対して画像データを構成する各画素データが順次に各入力データとして入力される。符号化装置10に対して入力される画像データはどのように取得されてもよく、例えば、記録媒体から取得されてもよいし、符号化装置10の外部装置から取得されてもよい。まず、符号化装置10は、各ラインの入力データのうちの先頭の画素データD0に対して2clock分(2データ分)を使用して直接符号化を行い、符号化した画素データをメモリに格納する。
<When writing>
Each pixel data constituting the image data is sequentially input as each input data to the encoding apparatus 10 according to the embodiment of the present invention. The image data input to the encoding device 10 may be acquired in any way, for example, may be acquired from a recording medium, or may be acquired from an external device of the encoding device 10. First, the encoding device 10 directly encodes the first pixel data D0 of the input data of each line using 2 clocks (2 data), and stores the encoded pixel data in the memory. To do.

続いて、符号化装置10は、次の画素データD1とその直前の画素データD0との差分値を6bitにDPCM符号化して符号化データC1としてメモリに格納する。続いて、符号化装置10は、次の画素データD2とその直前の画素データD1との差分値を6bitにDPCM符号化して符号化データC2としてメモリに格納する。符号化装置10は、以降同様の処理を繰り返す。   Subsequently, the encoding apparatus 10 DPCM-encodes the difference value between the next pixel data D1 and the immediately preceding pixel data D0 to 6 bits, and stores the result in the memory as encoded data C1. Subsequently, the encoding apparatus 10 DPCM-encodes the difference value between the next pixel data D2 and the immediately preceding pixel data D1 to 6 bits, and stores the encoded data C2 in the memory. The encoding device 10 repeats the same processing thereafter.

その後、符号化装置10は、ラインを構成する先頭以外の他の画素データを直接符号化してメモリに格納する。例えば、直接符号化データの挿入インターバルを8とした場合、符号化装置10は、画素データD8を直接符号化して符号化データとしてメモリに格納する。続いて、符号化装置10は、画素データD9とその直前の画素データD8との差分を6bitにDPCM符号化して符号化データC9としてメモリに格納する。以降同様の処理を繰り返して符号化データをメモリに格納していく。   After that, the encoding device 10 directly encodes other pixel data other than the head constituting the line and stores it in the memory. For example, when the insertion interval of the directly encoded data is set to 8, the encoding device 10 directly encodes the pixel data D8 and stores it in the memory as encoded data. Subsequently, the encoding apparatus 10 DPCM-encodes the difference between the pixel data D9 and the immediately preceding pixel data D8 to 6 bits, and stores the encoded data C9 in the memory. Thereafter, similar processing is repeated to store the encoded data in the memory.

DPCM符号化を行った場合には、1つのデータ伝送につき1アドレス(6bit)を使用するが、直接符号化を行った場合には、2アドレス(12bit)を使用するため、直接符号化を行うたびにアドレスが1つ増えてずれていくことになる。なお、直接符号化データの挿入インターバルは特に限定されない。各入力データのサイズは12bit、各符号化データのサイズは6bitであるとするが、各入力データのサイズ及び符号化データのサイズは特に限定されない。   When DPCM encoding is performed, one address (6 bits) is used for one data transmission. However, when direct encoding is performed, since two addresses (12 bits) are used, direct encoding is performed. Every time the address increases by one, it shifts. The insertion interval of the directly encoded data is not particularly limited. The size of each input data is 12 bits, and the size of each encoded data is 6 bits. However, the size of each input data and the size of the encoded data are not particularly limited.

<読み出し時>
復号装置20は、直接符号化データの挿入インターバルを区切りとして、画面の途中から画像データを読み出すことができる。復号装置20は、読み出しデータのアドレスから、図1中の式(1)により直前の直接符号化データのアドレスを算出し、そのアドレスから読み出しを開始する。例えば、復号装置20は、画素データD11を読み出したい場合、式(1)において、「M=3」、「Adrs_input=11」として、「9×1=9」となり、読み出し開始番地は「9」、つまり、直接符号化データD8から読み出して復号すればよい。
<When reading>
The decoding device 20 can read image data from the middle of the screen with the insertion interval of the directly encoded data as a delimiter. The decoding device 20 calculates the address of the directly encoded data immediately before from the address of the read data by the equation (1) in FIG. 1, and starts reading from the address. For example, when the decoding device 20 wants to read out the pixel data D11, in Expression (1), “M = 3”, “Adrs_input = 11”, “9 × 1 = 9”, and the reading start address is “9”. That is, it is only necessary to directly read and decode from the encoded data D8.

<インターバルのトレードオフ>
直接符号化データの挿入インターバルを小さくした方が、不要な符号化データを復号しなくて済むので画面の途中からのデータ読み出しを効率的に行うことができる。例えば、122番目のデータを取得する場合、直接符号化データの挿入インターバルが64の場合は64番目のアドレスの直接符号化データから読まなくてはならず、所望のデータを得るまでに60clock待機する必要がある。
<Interval trade-off>
If the insertion interval of the directly encoded data is reduced, unnecessary encoded data does not have to be decoded, so that data can be efficiently read from the middle of the screen. For example, when the 122th data is acquired, if the insertion interval of the directly encoded data is 64, it must be read from the directly encoded data at the 64th address, and 60 clocks are waited until the desired data is obtained. There is a need.

一方、直接符号化データの挿入インターバルが8の場合は120番目の直接符号化データから読むだけで済むため、4clock待機するだけでデータが得られる。この場合、所望のデータを得るまでの待機時間は6.7%まで短縮できる。また、不要なデータの読み出し・DPCM復号をしない分、消費電力の抑制にもつながる。しかし、直接符号化はDPCM符号2つ分のデータを使用するため、直接符号化データの挿入インターバルを小さくすると圧縮効率が落ちてメモリサイズが増大することになる。   On the other hand, when the insertion interval of the directly encoded data is 8, it is only necessary to read from the 120th directly encoded data, so that data can be obtained only by waiting for 4 clocks. In this case, the waiting time until the desired data is obtained can be reduced to 6.7%. In addition, since unnecessary data is read and DPCM decoding is not performed, power consumption is reduced. However, since direct encoding uses data for two DPCM codes, if the insertion interval of the directly encoded data is reduced, the compression efficiency is lowered and the memory size is increased.

<効果>
図2は、本発明の実施形態に係る符号化装置10により画像データを符号化する場合の効果を示す図である。特に、図2は、符号化装置10により水平方向2048画素の画像データを12bitから6bitにDPCM符号化する場合を例として示している。
<Effect>
FIG. 2 is a diagram illustrating an effect when image data is encoded by the encoding device 10 according to the embodiment of the present invention. In particular, FIG. 2 shows an example in which the encoding apparatus 10 performs DPCM encoding of image data of 2048 pixels in the horizontal direction from 12 bits to 6 bits.

12bitから6bitへのDPCM符号化では、メモリサイズは理論的には最高で50%の削減となる。直接符号化データの挿入インターバルが64の場合には、すべてを直接符号化する場合と比較して必要となるメモリサイズは49.3%削減され、50%に近い。一方、直接符号化データの挿入インターバルが8の場合には、削減幅がやや減少するものの、すべてを直接符号化する場合と比較して必要となる必要となるメモリサイズは43.8%削減されており、直接符号化データの挿入インターバルが8の符号化装置10であっても使用価値は十分高いと言える。   In 12-bit to 6-bit DPCM encoding, the memory size is theoretically reduced by up to 50%. When the insertion interval of the directly encoded data is 64, the required memory size is reduced by 49.3% compared to the case where all are directly encoded, and is close to 50%. On the other hand, when the insertion interval of the directly encoded data is 8, although the reduction width is slightly reduced, the required memory size is reduced by 43.8% compared to the case where all are directly encoded. Therefore, even if the encoding device 10 has an insertion interval of directly encoded data of 8, it can be said that the utility value is sufficiently high.

<構成>
図3は、本発明の実施形態に係る符号化装置10及び復号装置20の構成を示す図である。ここでは、特に、12bitの入力信号をDPCM符号化により6bitに圧縮する場合を例として説明する。入力データのうちの先頭の画素データは直接符号化されるべきであるため、先頭の画素データ12bitは、2clockに分けられて6bit×2として後段に送られる。画素データに対する直接符号化は、直接符号化部110により行われる。
<Configuration>
FIG. 3 is a diagram showing a configuration of the encoding device 10 and the decoding device 20 according to the embodiment of the present invention. Here, in particular, a case where a 12-bit input signal is compressed to 6 bits by DPCM encoding will be described as an example. Since the top pixel data of the input data should be directly encoded, the top pixel data 12 bits are divided into 2 clocks and sent to the subsequent stage as 6 bits × 2. Direct encoding on the pixel data is performed by the direct encoding unit 110.

次の画素データについては、当該画素データと直前に符号化された画素データとの差分値がDPCM符号化部120により12bitから6bitに符号化される。DPCM符号化部120は、人間の視覚特性を利用して、比較的小さい差分値は細かく、比較的大きい差分値は粗く符号を割り当てる。   For the next pixel data, a difference value between the pixel data and the pixel data encoded immediately before is encoded from 12 bits to 6 bits by the DPCM encoding unit 120. The DPCM encoding unit 120 assigns a code to a relatively small difference value finely and a relatively large difference value coarsely using human visual characteristics.

ここで、直接符号化がなされるたびにDPCM符号化時の誤差がキャンセルされるため、直接符号化データの挿入インターバルが比較的小さい場合には、比較的頻繁に誤差がキャンセルされると想定される。しかしながら、直接符号化データの挿入インターバルが比較的大きい場合には、誤差が蓄積され易い。そのような場合には、符号化装置10は、符号化データに対して、6bitから12bitへの復号を行い、再生されたデータと入力データとの差分値をDPCM符号化してもよい。これにより、DPCM符号化時の誤差が蓄積していくことを防ぐことができる。   Here, since errors during DPCM encoding are canceled each time direct encoding is performed, it is assumed that errors are canceled relatively frequently when the insertion interval of direct encoded data is relatively small. The However, when the directly encoded data insertion interval is relatively large, errors are likely to accumulate. In such a case, the encoding apparatus 10 may perform 6-bit to 12-bit decoding on the encoded data, and DPCM encode the difference value between the reproduced data and the input data. As a result, accumulation of errors during DPCM encoding can be prevented.

SW1(130)には、直接符号化データの挿入インターバルがパラメータとして入力されており、SW1(130)は、直接符号化データの挿入インターバルに応じて、直接符号化とDPCM符号とを切り替えた上で、符号化データをMemory140に書き出す。図3に示した例では、直接符号化データの挿入インターバルがSW1(130)及びSW2(180)に外部から与えられているが、直接符号化データの挿入インターバルは、例えば、符号化装置10及び復号装置20の各々が有する記憶部に記憶されていてもよい。   In SW1 (130), the insertion interval of direct encoded data is input as a parameter. SW1 (130) switches between direct encoding and DPCM code in accordance with the insertion interval of direct encoded data. Then, the encoded data is written to the Memory 140. In the example shown in FIG. 3, the insertion interval of the directly encoded data is given to SW1 (130) and SW2 (180) from the outside, but the insertion interval of the directly encoded data is, for example, the encoding device 10 and You may memorize | store in the memory | storage part which each of the decoding apparatus 20 has.

Memory140からの読み出しは、まず、読み出しデータの位置がユーザにより指定される。ユーザによる指定は、例えば、ユーザが入力装置に対して与える操作によりなされる。アドレス演算部150は、直接符号化データの挿入インターバルをパラメータとして、読み出し開始アドレスを図1中の式(1)により算出する。Memory140に書き込まれた符号化データは、直接復号部160又はDPCM復号部170により復号される。読み出しの最初は必ず直接符号化された画素データであるため、直接復号部160が当該データを直接復号・再生する。そして、次のデータからは、DPCM復号部170が当該データをDPCM復号して得られる差分値に対して直前の再生値を加算してデータを得る。   In reading from the Memory 140, first, the position of read data is designated by the user. The designation by the user is made, for example, by an operation given to the input device by the user. The address calculation unit 150 calculates the read start address by the equation (1) in FIG. 1 using the insertion interval of the directly encoded data as a parameter. The encoded data written in the Memory 140 is decoded by the direct decoding unit 160 or the DPCM decoding unit 170. Since the beginning of reading is always directly encoded pixel data, the direct decoding unit 160 directly decodes and reproduces the data. Then, from the next data, the DPCM decoding unit 170 obtains data by adding the immediately preceding reproduction value to the difference value obtained by DPCM decoding the data.

SW2(180)には直接符号化データの挿入インターバルがパラメータとして入力されており、SW2(180)は、直接符号化データの挿入インターバルに応じて直接復号データとDPCM復号データを切り替えて後段に渡す。トリミング・リサイザ190は、SW2(180)から出力された画像データに対して、トリミング及びリサイズを行う。   SW2 (180) receives the insertion interval of the directly encoded data as a parameter, and SW2 (180) switches between the directly decoded data and the DPCM decoded data in accordance with the directly encoded data insertion interval and passes it to the subsequent stage. . The trimming / resizer 190 performs trimming and resizing on the image data output from the SW2 (180).

<動作>
図4は、本発明の実施形態に係る符号化装置10の動作例を示す図である。図4に示すように、直接符号化部110は、先頭の画素データを取得して(ステップS11)、取得した先頭の画素データを直接符号化する(ステップS12)。直接符号化により得られた符号化データをMemory140に出力する(ステップS13)。Memory140は、出力された符号化データを蓄積する。
<Operation>
FIG. 4 is a diagram illustrating an operation example of the encoding device 10 according to the embodiment of the present invention. As shown in FIG. 4, the direct encoding unit 110 acquires the top pixel data (step S11), and directly encodes the acquired top pixel data (step S12). The encoded data obtained by the direct encoding is output to the Memory 140 (Step S13). The Memory 140 accumulates the output encoded data.

直接符号化部110は、次の画素データを取得して(ステップS21)、次の画素データを直接符号化する(ステップS22)。また、DPCM符号化部120は、当該画素データと当該画素データの直前の画素データとの差分値を符号化する(ステップS23)。SW1(130)は、直接符号化部110による符号化により得られた符号化データとDPCM符号化部120による符号化により得られた符号化データとの中から符号化データを選択する(ステップS24)。   The direct encoding unit 110 acquires the next pixel data (step S21), and directly encodes the next pixel data (step S22). Further, the DPCM encoding unit 120 encodes a difference value between the pixel data and the pixel data immediately before the pixel data (step S23). SW1 (130) selects encoded data from the encoded data obtained by the encoding by the direct encoding unit 110 and the encoded data obtained by the encoding by the DPCM encoding unit 120 (step S24). ).

例えば、SW1(130)は、所定の条件を満たす場合には直接符号化部110による符号化により得られた符号化データを選択し、所定の条件を満たさない場合にはDPCM符号化部120による符号化により得られた符号化データを選択することができる。所定の条件は、特に限定されないが、上記した例で言えば、直接符号化データの挿入インターバルに相当する。すなわち、SW1(130)は、所定間隔ごとに、直接符号化部110による符号化により得られた符号化データを選択し、その間は、DPCM符号化部120による符号化により得られた符号化データを選択することができる。   For example, SW1 (130) selects encoded data obtained by encoding by the direct encoding unit 110 when a predetermined condition is satisfied, and by the DPCM encoding unit 120 when the predetermined condition is not satisfied. Encoded data obtained by encoding can be selected. The predetermined condition is not particularly limited, but corresponds to the insertion interval of the directly encoded data in the above example. That is, SW1 (130) selects the encoded data obtained by the encoding by the direct encoding unit 110 at every predetermined interval, and the encoded data obtained by the encoding by the DPCM encoding unit 120 in the meantime. Can be selected.

SW1(130)は、選択した符号化データをMemory140に出力する(ステップS25)。Memory140は、出力された符号化データを蓄積する。符号化終了でなければ(ステップS26で「No」)、ステップS21に戻り、符号化終了であれば(ステップS26で「Yes」)、符号化を終了する。符号化は、例えば、画像データ全体の符号化が終了した場合に、終了する。   SW1 (130) outputs the selected encoded data to Memory 140 (step S25). The Memory 140 accumulates the output encoded data. If the encoding is not finished (“No” in step S26), the process returns to step S21. If the encoding is finished (“Yes” in step S26), the encoding is finished. Encoding ends when, for example, encoding of the entire image data is completed.

図5は、本発明の実施形態に係る復号装置20の動作例を示す図である。図5に示すように、直接復号部160は、先頭の符号化データを取得して(ステップS31)、取得した先頭の符号化データを直接復号する(ステップS32)。直接復号により得られた画素データをトリミング・リサイザ190に出力する(ステップS33)。なお、ここでの先頭の符号化データは、例えば、読み出しデータのアドレスから図1中の式(1)により算出された読み出し開始アドレスの符号化データである。このように、復号装置20は、画面左端の画素データから復号せずに画面の一部を構成する画像データを取得することができる。   FIG. 5 is a diagram illustrating an operation example of the decoding device 20 according to the embodiment of the present invention. As shown in FIG. 5, the direct decoding unit 160 acquires the first encoded data (step S31), and directly decodes the acquired first encoded data (step S32). The pixel data obtained by the direct decoding is output to the trimming / resizer 190 (step S33). Note that the first encoded data here is, for example, encoded data at the read start address calculated from the read data address by the equation (1) in FIG. In this way, the decoding device 20 can acquire image data constituting a part of the screen without decoding from the pixel data at the left end of the screen.

直接復号部160は、次の符号化データを取得して(ステップS41)、次の符号化データを直接復号する(ステップS42)。また、DPCM復号部170は、当該符号化データを復号して得られる差分値を当該符号化データの直前の画素データに加算する(ステップS43)。SW2(180)は、直接復号部160による復号により得られた画素データとDPCM復号部170による復号により得られた画素データとの中から画素データを選択する(ステップS44)。上記したように、SW2(180)は、例えば、直接符号化データの挿入インターバルに応じて、画素データを選択することができる。   The direct decoding unit 160 acquires the next encoded data (step S41), and directly decodes the next encoded data (step S42). Further, the DPCM decoding unit 170 adds the difference value obtained by decoding the encoded data to the pixel data immediately before the encoded data (step S43). SW2 (180) selects pixel data from the pixel data obtained by decoding by the direct decoding unit 160 and the pixel data obtained by decoding by the DPCM decoding unit 170 (step S44). As described above, the SW2 (180) can select the pixel data according to the insertion interval of the directly encoded data, for example.

SW2(180)は、選択した画素データをトリミング・リサイザ190に出力する(ステップS45)。トリミング・リサイザ190は、出力された画素データに対して、トリミング処理やリサイズを行う。復号終了でなければ(ステップS46で「No」)、ステップS41に戻り、復号終了であれば(ステップS46で「Yes」)、復号を終了する。復号は、例えば、画像データ全体の復号が終了した場合に、終了する。   The SW2 (180) outputs the selected pixel data to the trimming / resizer 190 (step S45). The trimming / resizer 190 performs trimming processing and resizing on the output pixel data. If the decoding is not finished (“No” in step S46), the process returns to step S41, and if the decoding is finished (“Yes” in step S46), the decoding is finished. Decoding ends when, for example, decoding of the entire image data is completed.

以上において説明したように、比較例におけるノイズ低減回路によれば、視覚的な画質劣化を抑えながら、ラインメモリの使用効率を向上させることができる(例えば、2倍にできる)。しかしながら、比較例におけるノイズ低減回路を使用した場合には、画面の途中から画像データを読み出すことができないため、この回路を応用できる場面が全画面のパイプライン処理との組み合わせに限られていた。   As described above, according to the noise reduction circuit in the comparative example, the use efficiency of the line memory can be improved (for example, doubled) while suppressing the visual image quality deterioration. However, when the noise reduction circuit in the comparative example is used, the image data cannot be read from the middle of the screen, so that the scene where the circuit can be applied is limited to the combination with the pipeline processing of the full screen.

本発明の実施形態によれば、画面の途中からでも画像データを読み出すことができるため、トリミング・リサイズといった、より広い画像処理とも組み合わせてメモリの使用効率を向上させることが可能となる。また、比較例におけるノイズ低減回路では、入力データを劣化なく復号できるのは画面左端の画素データのみであった。本発明の実施形態では、画面の中において所定間隔で直接符号化を行うので、画質劣化が所定画素で必ずキャンセルされる。そのため、本発明の実施形態によれば、より安定した画質を獲得しやすいという効果を奏する。   According to the embodiment of the present invention, since image data can be read even from the middle of the screen, it is possible to improve the use efficiency of the memory in combination with wider image processing such as trimming and resizing. In the noise reduction circuit in the comparative example, only the pixel data at the left end of the screen can decode the input data without deterioration. In the embodiment of the present invention, since direct encoding is performed at predetermined intervals in the screen, image quality degradation is always canceled at predetermined pixels. Therefore, according to the embodiment of the present invention, there is an effect that it is easy to obtain more stable image quality.

なお、以上においては、12bitの画素データを6bitの符号化データに符号化する例について説明したが、これに限定されるものではなく、10bitの画素データを5bitの符号化データに符号化してもよいし、14bitの画素データを7bitの符号化データに符号化してもよい。また、圧縮方式としてDPCMを用いたが、圧縮形式も限定されるものではなく、回路規模が小さく実装できる・等長符号化である・画質劣化が少ない方式であればよい。さらに、直接符号化データの挿入インターバルは2のべき乗とするのが制御しやすいが、必ずしもこれに限定されるものではない。   In the above description, an example in which 12-bit pixel data is encoded into 6-bit encoded data has been described. However, the present invention is not limited to this, and even if 10-bit pixel data is encoded into 5-bit encoded data. Alternatively, 14-bit pixel data may be encoded into 7-bit encoded data. Further, although DPCM is used as a compression method, the compression format is not limited, and can be implemented with a small circuit scale, isometric coding, or a method with little deterioration in image quality. Furthermore, although it is easy to control the insertion interval of the directly encoded data to be a power of 2, it is not necessarily limited to this.

また、本発明の実施形態においては、DPCM符号化の際に、DPCM符号化部120は、符号化対象の画素データとその直前の画素データとの差分値を符号化することとしたが、どの画素データとの差分値を符号化してもよい。例えば、DPCM符号化部120は、符号化対象の画素データとそのNだけ前(Nは2以上の整数)の画素データとの差分値を符号化してもよい。その場合には、DPCM復号部170における復号の際にも、Nだけ前の画素データに差分値を加算すればよい。また、符号化装置10は、先頭の画素データからN番目までは直接符号化を行うこととなる。   In the embodiment of the present invention, the DPCM encoding unit 120 encodes the difference value between the pixel data to be encoded and the immediately preceding pixel data at the time of DPCM encoding. You may encode the difference value with pixel data. For example, the DPCM encoding unit 120 may encode the difference value between the pixel data to be encoded and the pixel data that is N before (N is an integer of 2 or more). In that case, the difference value may be added to the pixel data that is N times before in the decoding by the DPCM decoding unit 170. Also, the encoding device 10 performs direct encoding from the first pixel data to the Nth pixel data.

また、本発明の実施形態においては、符号化装置10により符号化されたデータがMemory140に出力されることとしたが、符号化データの出力先は特に限定されない。例えば、Memory140以外の装置(記憶機能以外の機能を有する装置)に対して出力されることも想定される。   In the embodiment of the present invention, the data encoded by the encoding device 10 is output to the Memory 140, but the output destination of the encoded data is not particularly limited. For example, it may be output to a device other than the Memory 140 (device having a function other than the storage function).

さらに、符号化装置10は、所定の間隔ごとに直接符号化を行うこととしたが、直接符号化は所定の間隔ごとに行われなくてもよい。例えば、符号化装置10は、画像データを解析し、解析結果に応じて直接符号化を行うか否かを判断してもよい。例えば、画像データのうち符号化の誤差が蓄積されることを回避したい領域に対しては、直接符号化を行えばよく、画像データに顔が映っていることが解析された場合に、その顔領域に対して直接符号化を行ってもよい。   Further, although the encoding apparatus 10 performs direct encoding every predetermined interval, the direct encoding may not be performed every predetermined interval. For example, the encoding apparatus 10 may analyze image data and determine whether to perform direct encoding according to the analysis result. For example, for an area of image data where it is desired to avoid accumulation of encoding errors, direct encoding may be performed. When it is analyzed that a face appears in the image data, the face is analyzed. You may code directly with respect to an area | region.

図3に示されたDPCM符号化部120は、差分符号化部としても機能し得る。また、SW1(130)は、符号化データ選択部としても機能し得る。DPCM復号部170は、差分復号部としても機能し得る。さらに、SW2(180)は、復号データ選択部としても機能し得る。   The DPCM encoding unit 120 shown in FIG. 3 can also function as a differential encoding unit. SW1 (130) can also function as an encoded data selection unit. The DPCM decoding unit 170 can also function as a differential decoding unit. Furthermore, SW2 (180) can also function as a decoded data selection unit.

先行技術文献として上記した文献に記載された技術と本発明の実施形態に係る技術との相違について簡単に説明すると、特開2009−159631号公報に記載された技術は、画像をBlockで切り出して第一の処理を行った後、ラスタに変換して第二の処理を行うものである。この点、当該技術には本発明の実施形態に係る圧縮符号化が使われておらず、当該技術では、使用されるラインメモリの削減にも繋がらないことが想定される。   The difference between the technique described in the above-mentioned document as the prior art document and the technique according to the embodiment of the present invention will be briefly described. After performing the first processing, it is converted into a raster and the second processing is performed. In this regard, it is assumed that the technology does not use the compression encoding according to the embodiment of the present invention, and the technology does not lead to a reduction in the line memory used.

特開2001−157122号公報に記載された技術は、センサとDRAMとを制御してラインメモリなしでDRAMアクセスを行う技術である。この点、当該技術には本発明の実施形態に係る圧縮符号化が使われておらず、本発明の実施形態では、メモリへの入出力制御の変更だけでは済まない点が当該技術と異なる。   The technique described in Japanese Patent Laid-Open No. 2001-157122 is a technique for controlling a sensor and a DRAM to perform DRAM access without a line memory. In this respect, the technology does not use the compression coding according to the embodiment of the present invention, and the embodiment of the present invention is different from the technology in that only the input / output control to the memory is not required.

特開平07−115548号公報に記載された技術は、可変長符号化との組み合わせで、16bit毎にパッキングするために冗長bitを付加する技術である。この点、本発明に係る実施形態では、等長符号化を前提にしており、当該技術とサイズが固定されているラインメモリとは組み合わせが難しい。   The technique described in Japanese Patent Laid-Open No. 07-115548 is a technique for adding redundant bits for packing every 16 bits in combination with variable length coding. In this regard, in the embodiment according to the present invention, equal-length encoding is assumed, and it is difficult to combine the technique with a line memory having a fixed size.

以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.

10 符号化装置
20 復号装置
110 直接符号化部
120 DPCM符号化部(差分符号化部)
140 Memory
150 アドレス演算部
160 直接復号部
170 DPCM復号部(差分復号部)
190 トリミング・リサイザ

DESCRIPTION OF SYMBOLS 10 Encoding apparatus 20 Decoding apparatus 110 Direct encoding part 120 DPCM encoding part (differential encoding part)
140 Memory
150 Address Calculation Unit 160 Direct Decoding Unit 170 DPCM Decoding Unit (Differential Decoding Unit)
190 Trimming Resizer

Claims (4)

画素データを2クロックに分けて直接符号化する直接符号化部と、
画素データと前記画素データより前の画素データとの差分値を符号化する差分符号化部と、
前記直接符号化部又は前記差分符号化部により得られた符号化データを選択的に出力する符号化データ選択部と、
を備え、
前記符号化データ選択部は、各ラインにおいて、前記直接符号化部により得られた複数の画素データの符号化データを選択的に出力し、各ラインにおいて、先頭の画素データ、および各々が所定間隔を有する画素データについては前記直接符号化部により得られた符号化データを選択して出力し、他の画素データについては前記差分符号化部により得られた符号化データを選択して出力する、符号化装置。
A direct encoding unit that directly encodes pixel data into two clocks ;
A differential encoding unit that encodes a differential value between pixel data and pixel data before the pixel data;
An encoded data selection unit that selectively outputs encoded data obtained by the direct encoding unit or the differential encoding unit;
With
The encoded data selection unit selectively outputs encoded data of a plurality of pixel data obtained by the direct encoding unit in each line, and in each line, the first pixel data and each of the encoded data are a predetermined interval For the pixel data having, select and output the encoded data obtained by the direct encoding unit, for other pixel data, select and output the encoded data obtained by the differential encoding unit, Encoding device.
前記符号化データ選択部は、
前記符号化データをメモリに出力する、
請求項1に記載の符号化装置。
The encoded data selection unit includes:
Outputting the encoded data to a memory;
The encoding device according to claim 1.
前記差分符号化部は、
前記画素データと前記画素データの直前の画素データとの差分値を符号化する、
請求項1に記載の符号化装置。
The differential encoding unit
Encoding a difference value between the pixel data and the pixel data immediately before the pixel data;
The encoding device according to claim 1.
画素データを2クロックに分けて直接符号化するステップと、
画素データと前記画素データより前の画素データとの差分値を符号化するステップと、
前記直接符号化又は前記差分値の符号化により得られた符号化データを選択的に出力するステップであって、各ラインにおいて、前記直接符号化により得られた複数の画素データの符号化データを選択的に出力するステップと、
各ラインにおいて、先頭の画素データ、および各々が所定間隔を有する画素データについては前記直接符号化により得られた符号化データを選択して出力するステップと、
他の画素データについては前記差分値の符号化により得られた符号化データを選択して出力するステップと、
を含むことを特徴とする、符号化方法。
Directly encoding pixel data into two clocks ;
Encoding a difference value between pixel data and pixel data before the pixel data;
A step of outputting encoded data obtained by encoding of the direct encoding or the difference value selectively, in each line, the encoded data of a plurality of pixel data more obtained the direct coding Selectively outputting
For each line, for the leading pixel data and pixel data each having a predetermined interval, selecting and outputting the encoded data obtained by the direct encoding; and
For other pixel data, selecting and outputting encoded data obtained by encoding the difference value;
The encoding method characterized by including.
JP2011146120A 2011-06-30 2011-06-30 Encoding apparatus and encoding method Active JP5872804B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011146120A JP5872804B2 (en) 2011-06-30 2011-06-30 Encoding apparatus and encoding method
KR1020120065167A KR101736469B1 (en) 2011-06-30 2012-06-18 Apparatus and method for image coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011146120A JP5872804B2 (en) 2011-06-30 2011-06-30 Encoding apparatus and encoding method

Publications (2)

Publication Number Publication Date
JP2013016880A JP2013016880A (en) 2013-01-24
JP5872804B2 true JP5872804B2 (en) 2016-03-01

Family

ID=47689152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011146120A Active JP5872804B2 (en) 2011-06-30 2011-06-30 Encoding apparatus and encoding method

Country Status (2)

Country Link
JP (1) JP5872804B2 (en)
KR (1) KR101736469B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03196771A (en) * 1989-12-26 1991-08-28 Matsushita Electric Ind Co Ltd Two-dimension prediction dpcm coding method
JPH0457419A (en) * 1990-06-27 1992-02-25 Matsushita Electric Ind Co Ltd Prediction coding method and decoding method for prediction code
JP4013716B2 (en) * 2002-09-19 2007-11-28 富士ゼロックス株式会社 Image processing device
JP2005086792A (en) * 2003-09-11 2005-03-31 Victor Co Of Japan Ltd Dpcm encoding method, dpcm encoding apparatus and computer program

Also Published As

Publication number Publication date
KR101736469B1 (en) 2017-05-29
JP2013016880A (en) 2013-01-24
KR20130004089A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
JP5775084B2 (en) Method and apparatus for encoding and decoding mode information
JP4878262B2 (en) Entropy encoding device
US8908982B2 (en) Image encoding device and image encoding method
JP4682102B2 (en) Image coding apparatus and image coding method
JP5073004B2 (en) Image coding apparatus, image coding method, image decoding apparatus, and image decoding method
JP2010087984A (en) Video encoder, video decoder, video coding method, video decoding method, video coding program, video decoding program, and video coding/decoding system
US8457428B2 (en) Image coding apparatus, control method thereof, and storage medium
JP5871628B2 (en) Image encoding device, image encoding method and program, image decoding device, image decoding method and program
JP2006197610A (en) Context-adaptive variable length coding apparatus and methods
JP4098187B2 (en) Variable length code decoding apparatus and method
JP5116704B2 (en) Image coding apparatus and image coding method
JP5872804B2 (en) Encoding apparatus and encoding method
JP2008271039A (en) Image encoder and image decoder
JP2013016897A (en) Variable-length code decoder, code system and variable-length code decoding method
JP5267542B2 (en) Encoded video signal conversion method and apparatus
JP4952685B2 (en) Video signal encoding device
JP4763853B2 (en) Variable length code decoding apparatus and method
JP2008187694A (en) Image encoder and method thereof
JP3781012B2 (en) Image data compression method, image data expansion method, and image data expansion circuit
JP4979355B2 (en) Image coding apparatus and image coding method
JP6784150B2 (en) Arithmetic coding circuits, encoder devices, and arithmetic coding methods
JP4986906B2 (en) Decoding device, decoding method, program, and recording medium
JP5404857B2 (en) Image coding apparatus, image coding method, image decoding apparatus, and image decoding method
JP4285442B2 (en) Video recompressor
JP2006345320A (en) Data coding apparatus, data decoding apparatus, data coding method, data decoding method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150501

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160114

R150 Certificate of patent or registration of utility model

Ref document number: 5872804

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250