JP2004040300A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2004040300A
JP2004040300A JP2002192020A JP2002192020A JP2004040300A JP 2004040300 A JP2004040300 A JP 2004040300A JP 2002192020 A JP2002192020 A JP 2002192020A JP 2002192020 A JP2002192020 A JP 2002192020A JP 2004040300 A JP2004040300 A JP 2004040300A
Authority
JP
Japan
Prior art keywords
huffman
color channel
huffman table
data
processing apparatus
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
JP2002192020A
Other languages
Japanese (ja)
Inventor
Hitoshi Yamashita
山下 仁
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2002192020A priority Critical patent/JP2004040300A/en
Publication of JP2004040300A publication Critical patent/JP2004040300A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Color Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus the compression rate of which can be increased more than that of a conventional image processing apparatus in the case of reversibly compressing three-primary-color image data by one frame obtained from an imaging element. <P>SOLUTION: In the case of reversely compressing R, G, B CCDRAW data by one frame obtained from a CCD 10 by using a Huffman table, a Huffman table different from each color channel is used. That is, a Huffman table optimizing circuit 20 selects an optimum Huffman table to each color channel among a plurality of Huffman tables prepared in advance on the basis of the R, G, B CCDRAW data temporarily stored in a memory 14 and gives the selected Huffman table to a Huffman encoding circuit 18. The Huffman encoding circuit 18 uses the optimum Huffman table different from each color channel to apply Huffman encoding to the R, G, B CCDRAW data. Thus, the high compression rate is obtained more than in the case of Huffman encoding by using a single Huffman table. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】本発明は画像処理装置に係り、特に撮像素子から得られる1フレーム分の3原色の画像データを可逆圧縮する画像処理装置に関する。
【0002】
【従来の技術】
従来、CCD等の撮像素子から得られた画像データを記録媒体に記録する場合、画像データをJPEGのような非可逆な圧縮方法で圧縮して記録したり、CCDRAWデータをそのまま記録する記録方式がある。
【0003】
また、複数のハフマンテーブルを準備し、CCD等の撮像素子から得られる入力データを、前記ハフマンテーブルを順次用いて可逆圧縮し、最もデータサイズが小さいものを選択するデータ処理装置が提案されている(特開2001−61067号公報)。尚、前記入力データとしては、DPCM変換回路(differential pulse−code modulation)から出力される同じ色チャンネルのCCDRAW(生)データの差分値である。
【0004】
【発明が解決しようとする課題】
ところで、JPEGのように非可逆な圧縮方法を用いると、再生時や画像データの加工時に十分なビット精度が得られず、画質が劣化するという問題があり、一方、CCDRAWデータをそのまま記録すると、撮像素子の高画素化、A/D変換のビット数の増加に伴ってデータ量が大幅に増加するという問題がある。
【0005】
また、特開2001−61067号公報に記載のデータ処理装置には、色チャンネル毎に異なるハフマンテーブルで圧縮する方法は開示されていない。
【0006】
本発明はこのような事情に鑑みてなされたもので、撮像素子から得られる1フレーム分の3原色の画像データを可逆圧縮する際に、従来の装置よりも圧縮率を高くすることができる画像処理装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
前記目的を達成するために請求項1に係る発明は、撮像素子から得られる1フレーム分の3原色の画像データを可逆圧縮する画像処理装置において、前記1フレーム分の3原色の画像データを、各色チャンネル毎に異なるハフマンテーブルを用いて色チャンネル毎にハフマン符号化により可逆的に圧縮するハフマン符号化手段と、前記ハフマン符号化手段のハフマンテーブルを各色チャンネル毎に最適化するハフマンテーブル最適化手段と、前記ハフマン符号化手段によって圧縮された3原色の圧縮データを記録媒体に記録する記録手段と、を備えたことを特徴としている。
【0008】
請求項1に係る発明によれば、1フレーム分の3原色の画像データをハフマンテーブルを用いて可逆的に圧縮する際に、各色チャンネル毎に異なるハフマンテーブルを用いる。即ち、3原色の画像データは、色チャンネル毎に階調毎のヒストグラムが異なるため、3原色の画像データに対して最適な(1つの)ハフマンテーブルを使用するよりも、各色チャンネルの画像データ毎に最適なハフマンテーブルを使用する方が、より圧縮率が高くなる。そこで、本発明では、1フレーム分の3原色の画像データを、各色チャンネル毎に異なるハフマンテーブルを用いて色チャンネル毎にハフマン符号化により可逆的に圧縮するようにしている。また、各色チャンネル毎に異なるハフマンテーブルは、ハフマンテーブル最適化手段により各色チャンネル毎に最適化され、ハフマン符号化手段に付与するようにしている。
【0009】
請求項2に示すように前記ハフマンテーブル最適化手段は、前記1フレーム分の3原色の画像データに対する階調毎のヒストグラムを各色チャンネル毎に求める手段を有し、前記求めた各色チャンネル毎のヒストグラムに基づいて各色チャンネル毎に最適なハフマンテーブルを、予め準備されている複数のハフマンテーブルから選択し、又は計算によって生成することを特徴としている。
【0010】
即ち、各色チャンネル毎の最適なハフマンテーブルは、予め準備されている複数のハフマンテーブルの中から選択するようにしてもよいし、各色チャンネル毎に求めたヒストグラムに基づいて計算によって生成するようにしてもよい。
【0011】
【発明の実施の形態】
以下、添付図面に従って本発明に係る画像処理装置の好ましい実施の形態について詳説する。
【0012】
図1は本発明に係る画像処理装置を含むデジタルカメラの要部ブロック図である。
【0013】
このデジタルカメラは、図示しないシャッターボタンの押下時に撮像した静止画をメモリカード等の記録媒体に記録するもので、シャッターボタンがONされると、被写体を示す画像光は、図示しないレンズ光学系を介して撮像素子(CCD)10の受光面に結像される。CCD10に蓄積された信号電荷は、その信号電荷に応じた電圧信号として順次読み出され、A/D変換器12によりデジタル信号(以下、「CCDRAWデータ」という)に変換された後、SDRAMなどのメモリ14に一時記憶される。尚、前記CCD10は、R、G、Bのカラーフィルタ配列が、例えばベイヤー配列のもので、前記A/D変換器12から出力されるCCDRAWデータは、図2(A)に示すようにカラーフィルタ配列に対応してR、G、B、G、R、G…の順に出力される。
【0014】
信号処理回路15は、CCDRAWデータのR、G、B別のゲインを調整してホワイトバランス調整を行うホワイトバランス補正部と、ガンマ補正部と、CCD10のカラーフィルタ配列に対応した色補間処理を行う色補間処理部と、輝度データY及び色差データCr 、Cb の生成処理(YC処理)を行うYC処理部と、輝度データYにアパーチャ信号を付加して輪郭強調を行う輪郭強調部と、平滑化処理、メディアンフィルタ処理などのノイズ低減処理を行うノイズ低減処理部と、色差データCr 、Cb のゲインを増減する彩度強調部等を有している。
【0015】
上記信号処理回路15で処理された画像データは、図示しないビデオ・エンコーダにおいてエンコーディングされ、カメラ背面に設けられている液晶モニタに出力され、これにより被写体像が液晶モニタの表示画面上に表示される。
【0016】
また、このデジタルカメラは、CCDRAWデータを可逆圧縮してメモリカード等の記録媒体16に記録する、本発明に係る画像処理装置を備えている。
【0017】
この画像処理装置は、1フレーム分のR、G、BのCCDRAWデータを、各色チャンネル毎に異なるハフマンテーブルを用いて色チャンネル毎にハフマン符号化により可逆的に圧縮するハフマン符号化回路18と、前記ハフマン符号化回路18におけるハフマンテーブルを各色チャンネル毎に最適化するハフマンテーブル最適化回路20と、ハフマン符号化回路18によって圧縮されたR、G、B毎の圧縮データを記録媒体16に記録する記録手段とから構成されている。
【0018】
次に、上記ハフマン符号化回路18及びハフマンテーブル最適化回路20の作用について説明する。
【0019】
まず、ハフマンテーブルによるハフマン符号化について簡単に説明する。
【0020】
可逆符号化の代表的なものとしてハフマン符号化があり、ハフマン符号(Huffman code)は統計的なデータ圧縮技術で生起確率が低いものに長い符号を付与し、生起確率が高いものに短い符号を付与することにより平均符号長を短くする技術である。
【0021】
CCDRAWデータは、例えば12ビットの符号長(212=4098の階調)を有するが、各階調のCCDRAWデータの1フレーム内の生起確率は一様ではない。従って、生起確率の高い階調には短い符号長を割り当て、生起確率の低い階調には長い符号長を割り当てることで、平均符号長を短くすることができる。そして、ハフマンテーブルは、入力データに対して符号長を割り当てて新たに符号化するための変換テーブルである。
【0022】
ところで、CCDRAWデータは、R、G、Bの色チャンネル毎に異なる頻度分布を有している。従って、R、G、BのCCDRAWデータに対して、単一のハフマンテーブルでハフマン符号化するよりも、各色チャンネルに適したハフマンテーブルでハフマン符号化した方が平均符号長を短く(圧縮率を高く)することができる。
【0023】
そこで、本発明では、R、G、BのCCDRAWデータを、各色チャンネル毎に異なるハフマンテーブルを用いて色チャンネル毎にハフマン符号化により圧縮するようにしている。
【0024】
即ち、CCD10のカラーフィルタ配列順にメモリ14に一時記憶されているCCDRAWデータ(図2(A))を、色チャンネル毎に分解し、RのCCDRAWデータと、GのCCDRAWデータと、BのCCDRAWデータとに区分し(図2(B))、メモリ14に一時記憶されているカラーフィルタ配列順のCCDRAWデータを、色チャンネル毎のCCDRAWデータに書き換える。
【0025】
前記ハフマンテーブル最適化回路20は、例えば、複数種類のハフマンテーブルを有しており、これらのハフマンテーブルからR、G、Bの各色チャンネルのCCDRAWデータに最適なハフマンテーブル(Table R,Table G,Table B)を選択する。
【0026】
最適なハフマンテーブルを選択する方法としては、各色チャンネルのCCDRAWデータ毎にヒストグラム(各階調ごとの出現個数)を求め、そのヒストグラムから平均符号長を最も短くすることができる最適なハフマンテーブルを選択する。
【0027】
ハフマンテーブル最適化回路20は、上記のようにして選択した最適なハフマンテーブル(Table R,Table G,Table B)をハフマン符号化回路18に出力する(図2(C)、(D))。
【0028】
ハフマン符号化回路18は、ハフマンテーブル最適化回路20から付与された各色チャンネル毎に異なる最適なハフマンテーブル(Table R,Table G,Table B)を用いてR、G、Bの各色チャンネルのCCDRAWデータをハフマン符号化により圧縮する。
【0029】
このようにしてハフマン符号化されたR、G、Bの各圧縮データは、記録媒体16に記録される。
【0030】
図3は上記のようにして記録媒体16に記録されるR、G、Bの各圧縮データの画像ファイルの一例を示す図である。
【0031】
同図に示すように、画像ファイルの本体領域には、ハフマン符号化されたR、G、Bの各圧縮データがそれぞれ記録され、ヘッダー領域には、前記圧縮データを非圧縮のCCDRAWデータに復号するための情報(デジタルカメラの機種データ、記録サイズ、R、G、B毎のハフマンテーブル情報)等が記録される。
【0032】
尚、デジタルカメラの機種データにより、CCDのカラーフィルタ配列等を知ることができる。また、ハフマンテーブル情報(例えば、テーブル番号等のハフマンテーブルを特定する情報)により、R、G、Bの圧縮データが、それぞれいずれのハフマンテーブルによって符号化されたかを知ることができる。
【0033】
この実施の形態では、ハフマンテーブル最適化回路20は、予め準備されている複数のハフマンテーブルから各色チャンネルごとに圧縮率が最大になる最適なハフマンテーブルを選択するようにしたが、各階調の頻度分布を示すヒストグラムに基づいて最適なハフマンテーブルを計算によって生成するようにしてもよい。また、CCDRAWデータを直接ハフマン符号化せずに、R、G、B毎に分解したCCDRAWデータの隣接する画素の差分データを求め、その差分データを上述したようにハフマン符号化するようにしてもよい。
【0034】
【発明の効果】
以上説明したように本発明によれば、1フレーム分の3原色の画像データをハフマンテーブルを用いて可逆的に圧縮する際に、各色チャンネル毎に異なるハフマンテーブルを用いてハフマン符号化するようにしたため、単一のハフマンテーブルを用いてハフマン符号化する場合よりも圧縮率を高くすることができる。
【図面の簡単な説明】
【図1】本発明に係る画像処理装置を含むデジタルカメラの要部ブロック図
【図2】本発明によるハフマン符号化による圧縮工程を示す図
【図3】本発明によってハフマン符号化されたデータの画像ファイルの一例を示す図
【符号の説明】
10…撮像素子(CCD)、12…A/D変換器、14…メモリ、15…信号処理回路、16…記録媒体、18…ハフマン符号化回路、20…ハフマンテーブル最適化回路
[0001]
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus for reversibly compressing image data of three primary colors for one frame obtained from an image sensor.
[0002]
[Prior art]
Conventionally, when image data obtained from an image sensor such as a CCD is recorded on a recording medium, there is a recording method in which image data is compressed and recorded by an irreversible compression method such as JPEG, or CCD RAW data is recorded as it is. is there.
[0003]
There has also been proposed a data processing device that prepares a plurality of Huffman tables, reversibly compresses input data obtained from an image sensor such as a CCD, and sequentially selects the data having the smallest data size. (Japanese Patent Laid-Open No. 2001-61067). The input data is a difference value of CCD RAW (raw) data of the same color channel output from a DPCM conversion circuit (differential pulse-code modulation).
[0004]
[Problems to be solved by the invention]
By the way, when an irreversible compression method such as JPEG is used, there is a problem that sufficient bit accuracy cannot be obtained at the time of reproduction or processing of image data, and image quality deteriorates. On the other hand, if CCD RAW data is recorded as it is, There is a problem that the amount of data greatly increases as the number of pixels of the image sensor increases and the number of bits for A / D conversion increases.
[0005]
Further, the data processing apparatus described in Japanese Patent Application Laid-Open No. 2001-61067 does not disclose a method of compressing with a Huffman table that differs for each color channel.
[0006]
The present invention has been made in view of such circumstances, and when reversibly compressing image data of three primary colors for one frame obtained from an image sensor, an image that can have a higher compression ratio than a conventional apparatus. An object is to provide a processing apparatus.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, an invention according to claim 1 is an image processing device that reversibly compresses image data of three primary colors for one frame obtained from an image sensor, Huffman coding means for reversibly compressing each color channel by Huffman coding using a different Huffman table for each color channel, and Huffman table optimization means for optimizing the Huffman table of the Huffman coding means for each color channel And recording means for recording the compressed data of the three primary colors compressed by the Huffman encoding means on a recording medium.
[0008]
According to the first aspect of the present invention, when the image data of the three primary colors for one frame is reversibly compressed using the Huffman table, a different Huffman table is used for each color channel. That is, since the image data of the three primary colors has different histograms for each gradation for each color channel, the image data for each color channel is used instead of using the optimum (one) Huffman table for the image data of the three primary colors. The compression rate is higher when the Huffman table that is optimal for the above is used. Therefore, in the present invention, image data of three primary colors for one frame is reversibly compressed by Huffman coding for each color channel using a different Huffman table for each color channel. Further, the Huffman table that is different for each color channel is optimized for each color channel by the Huffman table optimizing means and is given to the Huffman encoding means.
[0009]
3. The Huffman table optimizing means includes means for obtaining, for each color channel, a histogram for each gradation for the image data of the three primary colors for one frame, and the obtained histogram for each color channel. Based on the above, the optimum Huffman table for each color channel is selected from a plurality of Huffman tables prepared in advance, or is generated by calculation.
[0010]
That is, the optimum Huffman table for each color channel may be selected from a plurality of Huffman tables prepared in advance, or may be generated by calculation based on the histogram obtained for each color channel. Also good.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of an image processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
[0012]
FIG. 1 is a block diagram of a main part of a digital camera including an image processing apparatus according to the present invention.
[0013]
This digital camera records a still image picked up when a shutter button (not shown) is pressed on a recording medium such as a memory card. When the shutter button is turned on, image light indicating a subject passes through a lens optical system (not shown). Then, an image is formed on the light receiving surface of the imaging device (CCD) 10. The signal charges accumulated in the CCD 10 are sequentially read out as voltage signals corresponding to the signal charges, converted into digital signals (hereinafter referred to as “CCD RAW data”) by the A / D converter 12, and then the SDRAM or the like. Temporarily stored in the memory 14. The CCD 10 has an R, G, B color filter array, for example, a Bayer array, and the CCD RAW data output from the A / D converter 12 is a color filter as shown in FIG. Corresponding to the array, it is output in the order of R, G, B, G, R, G.
[0014]
The signal processing circuit 15 performs color interpolation processing corresponding to a white balance correction unit that adjusts R, G, and B gains of CCD RAW data to adjust white balance, a gamma correction unit, and a color filter array of the CCD 10. A color interpolation processing unit, a YC processing unit that performs generation processing (YC processing) of luminance data Y and color difference data C r and C b , a contour enhancement unit that adds an aperture signal to luminance data Y and performs contour enhancement. A noise reduction processing unit that performs noise reduction processing such as smoothing processing and median filter processing, and a saturation enhancement unit that increases and decreases the gains of the color difference data C r and C b are included.
[0015]
The image data processed by the signal processing circuit 15 is encoded by a video encoder (not shown) and output to a liquid crystal monitor provided on the back of the camera, whereby a subject image is displayed on the display screen of the liquid crystal monitor. .
[0016]
The digital camera also includes an image processing apparatus according to the present invention that reversibly compresses CCD RAW data and records the data in a recording medium 16 such as a memory card.
[0017]
The image processing apparatus includes a Huffman encoding circuit 18 that reversibly compresses R, G, and B CCD RAW data for one frame by Huffman encoding for each color channel using a different Huffman table for each color channel; A Huffman table optimization circuit 20 that optimizes the Huffman table in the Huffman encoding circuit 18 for each color channel, and compressed data for each of R, G, and B compressed by the Huffman encoding circuit 18 are recorded on the recording medium 16. And recording means.
[0018]
Next, the operation of the Huffman coding circuit 18 and the Huffman table optimization circuit 20 will be described.
[0019]
First, Huffman coding using the Huffman table will be briefly described.
[0020]
A typical lossless coding is Huffman coding. Huffman code is a statistical data compression technique that assigns long codes to those with low occurrence probability and short codes to those with high occurrence probability. This is a technique for shortening the average code length by adding the value.
[0021]
The CCD RAW data has, for example, a code length of 12 bits (2 12 = 4098 gradation), but the occurrence probability within one frame of the CCD RAW data of each gradation is not uniform. Therefore, the average code length can be shortened by assigning a short code length to a gradation having a high occurrence probability and assigning a long code length to a gradation having a low occurrence probability. The Huffman table is a conversion table for newly encoding by assigning a code length to input data.
[0022]
Incidentally, the CCD RAW data has a different frequency distribution for each of the R, G, and B color channels. Therefore, the average code length of the R, G, and B CCD RAW data is shorter when the Huffman coding is performed with the Huffman table suitable for each color channel than when the Huffman coding is performed with a single Huffman table (the compression rate is reduced). Can be high).
[0023]
Therefore, in the present invention, R, G, and B CCD RAW data are compressed by Huffman coding for each color channel using a different Huffman table for each color channel.
[0024]
That is, the CCD RAW data (FIG. 2A) temporarily stored in the memory 14 in the order of the color filter arrangement of the CCD 10 is decomposed for each color channel, R CCD RAW data, G CCD RAW data, and B CCD RAW data. (FIG. 2B), and the CCD RAW data in the order of the color filter temporarily stored in the memory 14 is rewritten to CCD RAW data for each color channel.
[0025]
The Huffman table optimizing circuit 20 has, for example, a plurality of types of Huffman tables. From these Huffman tables, the Huffman tables (Table R, Table G, optimal for CCD RAW data of R, G, and B color channels) are provided. Select Table B).
[0026]
As a method for selecting an optimum Huffman table, a histogram (number of appearances for each gradation) is obtained for each CCD RAW data of each color channel, and an optimum Huffman table that can minimize the average code length is selected from the histogram. .
[0027]
The Huffman table optimization circuit 20 outputs the optimum Huffman table (Table R, Table G, Table B) selected as described above to the Huffman coding circuit 18 (FIGS. 2C and 2D).
[0028]
The Huffman encoding circuit 18 uses the optimum Huffman table (Table R, Table G, Table B) that is different for each color channel provided from the Huffman table optimization circuit 20 to provide CCD RAW data for each color channel of R, G, and B. Is compressed by Huffman coding.
[0029]
The R, G, and B compressed data that are Huffman encoded in this way are recorded on the recording medium 16.
[0030]
FIG. 3 is a diagram showing an example of image files of R, G, and B compressed data recorded on the recording medium 16 as described above.
[0031]
As shown in the drawing, Huffman-coded R, G, and B compressed data is recorded in the main area of the image file, and the compressed data is decoded into uncompressed CCD RAW data in the header area. Information (digital camera model data, recording size, Huffman table information for each of R, G, and B) and the like are recorded.
[0032]
The color filter array of the CCD can be known from the model data of the digital camera. Also, it is possible to know which Huffman table the R, G, and B compressed data is encoded by using the Huffman table information (for example, information specifying the Huffman table such as a table number).
[0033]
In this embodiment, the Huffman table optimization circuit 20 selects an optimum Huffman table that maximizes the compression rate for each color channel from a plurality of Huffman tables prepared in advance. An optimal Huffman table may be generated by calculation based on a histogram indicating the distribution. Further, instead of directly encoding the CCD RAW data, the difference data of adjacent pixels of the CCD RAW data decomposed for each of R, G, and B is obtained, and the difference data may be encoded as described above. Good.
[0034]
【The invention's effect】
As described above, according to the present invention, when image data of three primary colors for one frame is reversibly compressed using a Huffman table, Huffman encoding is performed using a different Huffman table for each color channel. Therefore, the compression rate can be made higher than when Huffman encoding is performed using a single Huffman table.
[Brief description of the drawings]
FIG. 1 is a block diagram of a main part of a digital camera including an image processing apparatus according to the present invention. FIG. 2 is a diagram illustrating a compression process using Huffman coding according to the present invention. Figure showing an example of an image file [Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Imaging device (CCD), 12 ... A / D converter, 14 ... Memory, 15 ... Signal processing circuit, 16 ... Recording medium, 18 ... Huffman encoding circuit, 20 ... Huffman table optimization circuit

Claims (2)

撮像素子から得られる1フレーム分の3原色の画像データを可逆圧縮する画像処理装置において、
前記1フレーム分の3原色の画像データを、各色チャンネル毎に異なるハフマンテーブルを用いて色チャンネル毎にハフマン符号化により可逆的に圧縮するハフマン符号化手段と、
前記ハフマン符号化手段のハフマンテーブルを各色チャンネル毎に最適化するハフマンテーブル最適化手段と、
前記ハフマン符号化手段によって圧縮された3原色の圧縮データを記録媒体に記録する記録手段と、
を備えたことを特徴とする画像処理装置。
In an image processing apparatus that reversibly compresses image data of three primary colors for one frame obtained from an image sensor,
Huffman encoding means for reversibly compressing the image data of the three primary colors for one frame by Huffman encoding for each color channel using a different Huffman table for each color channel;
Huffman table optimizing means for optimizing the Huffman table of the Huffman encoding means for each color channel;
Recording means for recording the compressed data of the three primary colors compressed by the Huffman encoding means on a recording medium;
An image processing apparatus comprising:
前記ハフマンテーブル最適化手段は、前記1フレーム分の3原色の画像データに対する階調毎のヒストグラムを各色チャンネル毎に求める手段を有し、前記求めた各色チャンネル毎のヒストグラムに基づいて各色チャンネル毎に最適なハフマンテーブルを、予め準備されている複数のハフマンテーブルから選択し、又は計算によって生成することを特徴とする請求項1の画像処理装置。The Huffman table optimizing means has means for obtaining, for each color channel, a histogram for each gradation for the image data of the three primary colors for one frame, and for each color channel based on the obtained histogram for each color channel. The image processing apparatus according to claim 1, wherein an optimum Huffman table is selected from a plurality of Huffman tables prepared in advance or is generated by calculation.
JP2002192020A 2002-07-01 2002-07-01 Image processing apparatus Pending JP2004040300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002192020A JP2004040300A (en) 2002-07-01 2002-07-01 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002192020A JP2004040300A (en) 2002-07-01 2002-07-01 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2004040300A true JP2004040300A (en) 2004-02-05

Family

ID=31701432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002192020A Pending JP2004040300A (en) 2002-07-01 2002-07-01 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2004040300A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067869A (en) * 2005-08-31 2007-03-15 Pasuko:Kk Data coding device, method, and program
JP2007097145A (en) * 2005-09-02 2007-04-12 Canon Inc Image coding device and image coding method
JP2008258662A (en) * 2007-03-30 2008-10-23 Fujifilm Corp Image pickup device, image processing method
JP2008294689A (en) * 2007-05-24 2008-12-04 Sony Corp Device, circuit and method, for imaging
US8023748B2 (en) 2006-02-27 2011-09-20 Sony Corporation Image capturing apparatus, imaging circuit, and image capturing method
US10536697B2 (en) 2014-10-06 2020-01-14 Samsung Electronics Co., Ltd Method for re-encoding image and apparatus therefor
CN112929621A (en) * 2021-01-20 2021-06-08 深圳市瑞驰信息技术有限公司 Method for improving image compression transmission based on Huffman algorithm

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067869A (en) * 2005-08-31 2007-03-15 Pasuko:Kk Data coding device, method, and program
JP2007097145A (en) * 2005-09-02 2007-04-12 Canon Inc Image coding device and image coding method
JP4682102B2 (en) * 2005-09-02 2011-05-11 キヤノン株式会社 Image coding apparatus and image coding method
US8023748B2 (en) 2006-02-27 2011-09-20 Sony Corporation Image capturing apparatus, imaging circuit, and image capturing method
JP2008258662A (en) * 2007-03-30 2008-10-23 Fujifilm Corp Image pickup device, image processing method
JP4732395B2 (en) * 2007-03-30 2011-07-27 富士フイルム株式会社 Imaging apparatus and image processing method
JP2008294689A (en) * 2007-05-24 2008-12-04 Sony Corp Device, circuit and method, for imaging
US8013910B2 (en) 2007-05-24 2011-09-06 Sony Corporation Imaging apparatus, imaging circuit and imaging method
US10536697B2 (en) 2014-10-06 2020-01-14 Samsung Electronics Co., Ltd Method for re-encoding image and apparatus therefor
CN112929621A (en) * 2021-01-20 2021-06-08 深圳市瑞驰信息技术有限公司 Method for improving image compression transmission based on Huffman algorithm

Similar Documents

Publication Publication Date Title
JP4769039B2 (en) Digital signal encoding and decoding apparatus and method
US6744929B1 (en) Image data compression method image data compression apparatus and recording medium and data signal for providing image data compression program
US10638162B2 (en) Coding method and decoding processing method
US5335016A (en) Image data compressing/coding apparatus
US7656561B2 (en) Image compression for rapid high-quality imaging
KR100347508B1 (en) Photo Image Pick-Up Device
US7444031B2 (en) Image processing apparatus
US8009924B2 (en) Method and apparatus for recording image data
US8306339B2 (en) Information processing device and method
JP2013179584A (en) Image processing device and electronic equipment using the same
CN101031021A (en) Image capturing apparatus, imaging circuit, and image capturing method
US11336896B2 (en) Image encoding apparatus and image decoding apparatus, methods of controlling the same, and non-transitory computer-readable storage medium
EP1769459B1 (en) Image compression for rapid high-quality imaging
JP2000244935A (en) Method for compressing picture data
US7212680B2 (en) Method and apparatus for differentially compressing images
US10497093B2 (en) Image processing apparatus for minimizing deterioration of image quality of a raw image
JP2004040300A (en) Image processing apparatus
JP2000244922A (en) Method for compressing picture data
CN1198044A (en) Picture signal encoding apparatus and picture signal decoding apparatus
US11765468B2 (en) Image processing device and method thereof, imaging element, and imaging device
US8428381B2 (en) Image compression method with variable quantization parameter
JP2018019239A (en) Imaging apparatus, control method therefor and program
JP2013162340A (en) Image processing apparatus and electronic apparatus using the same
JP2959831B2 (en) Image data encoding device
JPH02105686A (en) Digital recorder for still picture