JP5515825B2 - Image processing circuit and image forming apparatus - Google Patents

Image processing circuit and image forming apparatus Download PDF

Info

Publication number
JP5515825B2
JP5515825B2 JP2010031259A JP2010031259A JP5515825B2 JP 5515825 B2 JP5515825 B2 JP 5515825B2 JP 2010031259 A JP2010031259 A JP 2010031259A JP 2010031259 A JP2010031259 A JP 2010031259A JP 5515825 B2 JP5515825 B2 JP 5515825B2
Authority
JP
Japan
Prior art keywords
data
compression
unit
difference
image
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
JP2010031259A
Other languages
Japanese (ja)
Other versions
JP2011171818A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2010031259A priority Critical patent/JP5515825B2/en
Publication of JP2011171818A publication Critical patent/JP2011171818A/en
Application granted granted Critical
Publication of JP5515825B2 publication Critical patent/JP5515825B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

本発明は、画像処理回路及び画像形成装置に関する。   The present invention relates to an image processing circuit and an image forming apparatus.

近年、カラープリンタやカラー複写機等の画像形成装置が広く用いられている。画像形成装置では、処理の高速化を目的として、データを格納するHDD(Hard Disk Drive)やDRAM(Dynamic Random Access Memory)等の記憶装置を複数並行動作させている。ハードウェア構成の単純化やコストダウンを図るためには、カラー画像データの圧縮技術が有効である。   In recent years, image forming apparatuses such as color printers and color copying machines have been widely used. In the image forming apparatus, a plurality of storage devices such as HDD (Hard Disk Drive) and DRAM (Dynamic Random Access Memory) for storing data are operated in parallel for the purpose of speeding up the processing. In order to simplify the hardware configuration and reduce costs, color image data compression techniques are effective.

例えば、多値画像データをN×M画素のブロック毎に分割し、ブロック毎の画素データを一定の圧縮率で固定長圧縮し、固定長圧縮された複数の情報の一部を可変長圧縮する画像符号化装置が提案されている(特許文献1参照)。   For example, multi-value image data is divided into blocks of N × M pixels, pixel data for each block is fixed-length compressed at a constant compression rate, and a part of a plurality of pieces of fixed-length compressed information is variable-length compressed. An image encoding device has been proposed (see Patent Document 1).

ここで、図11を参照して、従来の圧縮方法の一例について説明する。従来の圧縮部100は、イエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の色毎に、4画素×4画素のブロックに分割された画像データに対して圧縮処理を行う。圧縮部100は、BTC(Block Truncation Coding)圧縮部120Y,120M,120C,120K、差分データ生成部130Y,130M,130C,130K、データ連結部140Y,140M,140C,140K、ハフマン符号化部150Y,150M,150C,150Kを備える。なお、圧縮部100には、YMCK各色について、1CLK当たり8bitのデータが入力されるものとする。   Here, an example of a conventional compression method will be described with reference to FIG. The conventional compression unit 100 performs compression processing on image data divided into blocks of 4 pixels × 4 pixels for each color of yellow (Y), magenta (M), cyan (C), and black (K). Do. The compression unit 100 includes BTC (Block Truncation Coding) compression units 120Y, 120M, 120C, and 120K, differential data generation units 130Y, 130M, 130C, and 130K, data concatenation units 140Y, 140M, 140C, and 140K, a Huffman encoding unit 150Y, 150M, 150C, 150K are provided. It is assumed that data of 8 bits per 1 CLK is input to the compression unit 100 for each color of YMCK.

BTC圧縮部120Yは、ブロック毎に、当該ブロックに属するイエローの入力データ(8bit)の最小値及び最大値に基づいて、当該ブロックに属するイエローの入力データを予め定められた数の階調データに分類し、各入力データに対応する階調データ(3bit/CLK)と、最小値データ(8bit/16CLK)と、最大値データ(8bit/16CLK)とを出力する。   For each block, the BTC compression unit 120Y converts the yellow input data belonging to the block into a predetermined number of gradation data based on the minimum and maximum values of the yellow input data (8 bits) belonging to the block. The gradation data (3 bits / CLK), the minimum value data (8 bits / 16 CLK), and the maximum value data (8 bits / 16 CLK) corresponding to each input data are output.

差分データ生成部130Yは、BTC圧縮部120Yから出力された階調データについて、隣接する画素との差分を示す差分データを生成する。なお、差分データ生成部130Yは、最小値データ、最大値データについてはそのまま出力する。   The difference data generation unit 130Y generates difference data indicating a difference from adjacent pixels with respect to the gradation data output from the BTC compression unit 120Y. The difference data generation unit 130Y outputs the minimum value data and the maximum value data as they are.

データ連結部140Yは、差分データ生成部130Yから出力された階調データの差分データについて、隣接する4画素分のデータ同士をビット連結する。ビット連結後の差分データのデータ量は、4CLK当たり12bitとなる。なお、データ連結部140Yは、最小値データ、最大値データについてはそのまま出力する。   The data concatenation unit 140Y bit-concatenates adjacent four pixel data for the difference data of the gradation data output from the difference data generation unit 130Y. The amount of difference data after bit concatenation is 12 bits per 4 CLK. Note that the data linking unit 140Y outputs the minimum value data and the maximum value data as they are.

ハフマン符号化部150Yは、4CLK当たり12bitの連結階調データ、16CLK当たり8bitの最小値データ、及び、16CLK当たり8bitの最大値データに対し、ハフマン符号化処理を行う。   The Huffman encoding unit 150Y performs Huffman encoding processing on 12-bit concatenated gradation data per 4 CLK, minimum data of 8 bits per 16 CLK, and maximum data of 8 bits per 16 CLK.

BTC圧縮部120M,120C,120K、差分データ生成部130M,130C,130K、データ連結部140M,140C,140K、ハフマン符号化部150M,150C,150Kについては、BTC圧縮部120Y、差分データ生成部130Y、データ連結部140Y、ハフマン符号化部150Yと同様の構成であるため、説明を省略する。   Regarding the BTC compression units 120M, 120C, and 120K, the difference data generation units 130M, 130C, and 130K, the data concatenation units 140M, 140C, and 140K, and the Huffman encoding units 150M, 150C, and 150K, the BTC compression unit 120Y and the difference data generation unit 130Y Since the configuration is the same as that of the data concatenation unit 140Y and the Huffman encoding unit 150Y, description thereof will be omitted.

特開2001−94985号公報JP 2001-94985 A

しかし、従来の圧縮技術では、画像データの圧縮率において不十分な場合があった。そのため、さらなる圧縮率の向上が望まれている。   However, the conventional compression technique may not be sufficient in the compression rate of image data. Therefore, further improvement of the compression rate is desired.

本発明は上記の従来技術における問題に鑑みてなされたものであって、画像データの圧縮率向上を図ることを課題とする。   The present invention has been made in view of the above problems in the prior art, and an object thereof is to improve the compression rate of image data.

上記課題を解決するために、請求項1に記載の発明は、複数の色の多値データからなる各色の画像データを複数のブロックに分割したブロック毎に、当該ブロックに属する多値データの最小値及び最大値に基づいて、当該ブロックに属する多値データを予め定められた数の階調データに分類し、当該分類された階調データ、前記最小値及び最大値を出力することで、前記各色の画像データを色毎に固定長圧縮する第1圧縮手段と、前記第1圧縮手段により出力された各色の階調データの同一位置の画素データ同士をビット連結し、前記第1圧縮手段により出力された各色の最小値及び最大値の同一位置のブロックのデータ同士をビット連結し、前記複数の色毎の画像データを一つの画像データとする連結手段と、当該ビット連結された画像データを可変長圧縮する第2圧縮手段と、を備える画像処理回路である。 In order to solve the above-mentioned problem, the invention according to claim 1 is the smallest of the multi-value data belonging to the block for each block obtained by dividing the image data of each color composed of multi-value data of a plurality of colors into a plurality of blocks. Based on the value and the maximum value, classify the multi-value data belonging to the block into a predetermined number of gradation data, and output the classified gradation data, the minimum value and the maximum value, A first compression unit that compresses image data of each color by a fixed length for each color, and bit data of pixel data at the same position of gradation data of each color output by the first compression unit , and the first compression unit the data between the blocks of the same location of the minimum and maximum values of the respective output color bit-connected by a connecting means for the image data of each of the plurality of color as one of the image data, the bit concatenated image Second compression means for variable-length compressing chromatography data is an image processing circuit comprising a.

請求項に記載の発明は、請求項に記載の画像処理回路において、前記第1圧縮手段により出力された各色の階調データについて、隣接する画素との差分を示す第1の差分データを生成し、前記第1圧縮手段により出力された各色の最小値及び最大値について、前のブロックとの差分を示す第2の差分データを生成する差分データ生成手段を備え、前記連結手段は、前記差分データ生成手段により生成された各色の第1の差分データの同一位置の画素データ同士をビット連結し、前記差分データ生成手段により生成された各色の第2の差分データの同一位置のブロックのデータ同士をビット連結する。 Invention according to claim 2, the image processing circuit according to claim 1, for each color gradation data outputted by said first compression means, the first difference data indicating a difference between adjacent pixels generated, the minimum value and maximum value of each color output by the first compression means comprises a differential data generating means for generating a second difference data indicating the difference between the previous block, said coupling means, said the data between the pixels at the same position of the first differential data of each color that is generated by the difference data generating means and the bit coupling of the co-located block in the second difference data of each color that is generated by the difference data generating means Bit concatenates data .

請求項に記載の発明は、請求項1又は2に記載の画像処理回路において、前記第2圧縮手段による可変長圧縮は、ハフマン符号化処理である。 According to a third aspect of the present invention, in the image processing circuit according to the first or second aspect , the variable length compression by the second compression means is a Huffman coding process.

請求項に記載の発明は、請求項1からのいずれか一項に記載の画像処理回路を備える画像形成装置である。 A fourth aspect of the present invention is an image forming apparatus comprising the image processing circuit according to any one of the first to third aspects.

本発明によれば、固定長圧縮された各色の階調データの同一位置の画素データ同士をビット連結することにより、画像データの圧縮率向上を図ることができる。 According to the present invention, it is possible by bit coupling data between the pixels at the same position of the gradation data of each fixed length compressed color, improve the compression rate of the image data.

本発明の実施の形態に係る画像形成装置の全体構成図である。1 is an overall configuration diagram of an image forming apparatus according to an embodiment of the present invention. 圧縮部の構成図である。It is a block diagram of a compression part. BTC圧縮部の構成図である。It is a block diagram of a BTC compression part. (a)は、イエローの入力データの例である。(b)は、マゼンタの入力データの例である。(c)は、シアンの入力データの例である。(d)は、ブラックの入力データの例である。(A) is an example of yellow input data. (B) is an example of magenta input data. (C) is an example of cyan input data. (D) is an example of black input data. (a)は、BTC圧縮部におけるイエローの入力データと階調データとの対応関係を示す図である。(b)は、BTC圧縮部におけるマゼンタの入力データと階調データとの対応関係を示す図である。(c)は、BTC圧縮部におけるシアンの入力データと階調データとの対応関係を示す図である。(d)は、BTC圧縮部におけるブラックの入力データと階調データとの対応関係を示す図である。(A) is a figure which shows the correspondence of the yellow input data and gradation data in a BTC compression part. FIG. 6B is a diagram illustrating a correspondence relationship between magenta input data and gradation data in the BTC compression unit. (C) is a diagram showing a correspondence relationship between cyan input data and gradation data in the BTC compression unit. FIG. 6D is a diagram illustrating a correspondence relationship between black input data and gradation data in the BTC compression unit. (a)は、BTC圧縮部から出力されるイエローの階調データ、最小値データ、最大値データを示す図である。(b)は、BTC圧縮部から出力されるマゼンタの階調データ、最小値データ、最大値データを示す図である。(c)は、BTC圧縮部から出力されるシアンの階調データ、最小値データ、最大値データを示す図である。(d)は、BTC圧縮部から出力されるブラックの階調データ、最小値データ、最大値データを示す図である。(A) is a figure which shows the gradation data, minimum value data, and maximum value data of yellow output from a BTC compression part. FIG. 6B is a diagram illustrating magenta gradation data, minimum value data, and maximum value data output from the BTC compression unit. (C) is a diagram showing cyan gradation data, minimum value data, and maximum value data output from the BTC compression unit. (D) is a diagram showing black gradation data, minimum value data, and maximum value data output from the BTC compression unit. 差分データ生成部の構成図である。It is a block diagram of a difference data generation part. (a)は、イエローの差分データを示す図である。(b)は、マゼンタの差分データを示す図である。(c)は、シアンの差分データを示す図である。(d)は、ブラックの差分データを示す図である。(A) is a figure which shows the difference data of yellow. (B) is a figure which shows the difference data of magenta. (C) is a figure which shows the difference data of cyan. (D) is a figure which shows the difference data of black. ブロック内の各画素の位置を説明するための図である。It is a figure for demonstrating the position of each pixel in a block. 1ブロック分の連結階調データ、連結最小値データ、連結最大値データを示す図である。It is a figure which shows the connection gradation data, connection minimum value data, and connection maximum value data for 1 block. 従来の圧縮部の構成図である。It is a block diagram of the conventional compression part.

以下、本発明の実施の形態につき図面を参照して説明する。以下は本発明の一実施形態であって本発明を限定するものではない。   Embodiments of the present invention will be described below with reference to the drawings. The following is one embodiment of the present invention and does not limit the present invention.

図1に、本実施の形態に係る画像形成装置1の全体構成を示す。図1に示すように、画像形成装置1は、スキャナ部2、画像処理部3、ラインブロック変換部4、圧縮部5、データ振り分け部6、HDD7a,7b,7c,7d、データ統合部8、伸長部9、ブロックライン変換部10、画像処理部11、画像形成部12を備える。ラインブロック変換部4、圧縮部5、データ振り分け部6、データ統合部8、伸長部9、ブロックライン変換部10は、それぞれASIC(Application Specific Integrated Circuit)により構成される。   FIG. 1 shows an overall configuration of an image forming apparatus 1 according to the present embodiment. As shown in FIG. 1, the image forming apparatus 1 includes a scanner unit 2, an image processing unit 3, a line block conversion unit 4, a compression unit 5, a data distribution unit 6, HDDs 7a, 7b, 7c and 7d, a data integration unit 8, An expansion unit 9, a block line conversion unit 10, an image processing unit 11, and an image forming unit 12 are provided. The line block conversion unit 4, the compression unit 5, the data distribution unit 6, the data integration unit 8, the decompression unit 9, and the block line conversion unit 10 are each configured by an ASIC (Application Specific Integrated Circuit).

スキャナ部2は、光源、CCD(Charge Coupled Device)イメージセンサ、A/D変換器等により構成され、光源から原稿へ照明走査した光の反射光を結像して光電変換することにより原稿の画像をR(赤)G(緑)B(青)信号として読み取り、読み取った画像をA/D変換して画像処理部3に出力する。   The scanner unit 2 includes a light source, a CCD (Charge Coupled Device) image sensor, an A / D converter, and the like, and forms an image of a document by forming an image of reflected light of light scanned from the light source to the document and performing photoelectric conversion. Are read as R (red), G (green), and B (blue) signals, and the read image is A / D converted and output to the image processing unit 3.

画像処理部3は、スキャナ部2から出力されたRGBデータを、イエロー、マゼンタ、シアン、ブラックの4色からなる画像データ(YMCKデータ)に変換し、ラインブロック変換部4に出力する。本実施の形態では、画像処理部3は、RGBデータを、YMCK各色の256階調の多値データ(8bit)に変換する。   The image processing unit 3 converts the RGB data output from the scanner unit 2 into image data (YMCK data) including four colors of yellow, magenta, cyan, and black, and outputs the image data to the line block conversion unit 4. In the present embodiment, the image processing unit 3 converts RGB data into 256-level multi-value data (8 bits) for each color of YMCK.

ラインブロック変換部4は、YMCKの色毎に、画像データを4画素×4画素のブロックに分割する。具体的には、ラインブロック変換部4は、YMCKの色毎に、主走査方向のラインに沿った順序で並んでいる画像データを、ブロック単位の順序の並びに変換する。   The line block conversion unit 4 divides the image data into 4 pixel × 4 pixel blocks for each color of YMCK. Specifically, the line block conversion unit 4 converts the image data arranged in the order along the line in the main scanning direction for each YMCK color in the order of the block unit.

圧縮部5は、ラインブロック変換部4から出力された画像データに対して圧縮処理を行う。HDD7a,7b,7c,7dへの書き込み速度には限界があるため、HDD7a,7b,7c,7dへ書き込み可能なデータ量となるように画像データを圧縮する必要がある。本実施の形態では、各HDD7a,7b,7c,7dに対して1CLK当たり4bit、HDD7a,7b,7c,7d全体で1CLK当たり16bitが書き込み限界であることを前提としている。   The compression unit 5 performs compression processing on the image data output from the line block conversion unit 4. Since the writing speed to the HDDs 7a, 7b, 7c, and 7d is limited, it is necessary to compress the image data so that the amount of data that can be written to the HDDs 7a, 7b, 7c, and 7d is obtained. In this embodiment, it is assumed that the write limit is 4 bits per 1 CLK for each HDD 7 a, 7 b, 7 c, 7 d and 16 bits per 1 CLK in the entire HDD 7 a, 7 b, 7 c, 7 d.

データ振り分け部6は、圧縮部5により圧縮された画像データをHDD7a,7b,7c,7dのそれぞれに振り分けて書き込む。   The data distribution unit 6 distributes and writes the image data compressed by the compression unit 5 to each of the HDDs 7a, 7b, 7c, and 7d.

HDD7a,7b,7c,7dは、データ振り分け部6により振り分けられた圧縮後の画像データを記憶する。   The HDDs 7a, 7b, 7c, and 7d store the compressed image data distributed by the data distribution unit 6.

データ統合部8は、HDD7a,7b,7c,7dに記憶されている画像データを読み出し、HDD7a,7b,7c,7dに振り分けられていた画像データを統合する。   The data integration unit 8 reads the image data stored in the HDDs 7a, 7b, 7c, and 7d, and integrates the image data distributed to the HDDs 7a, 7b, 7c, and 7d.

伸長部9は、データ統合部8により統合された画像データに対して伸長処理を行い、ブロックライン変換部10に出力する。   The decompression unit 9 performs decompression processing on the image data integrated by the data integration unit 8 and outputs the image data to the block line conversion unit 10.

ブロックライン変換部10は、YMCKの色毎に、4画素×4画素のブロック単位の順序で並んでいる画像データを、主走査方向のラインに沿った順序の並びに変換する。   The block line conversion unit 10 converts the image data arranged in the order of blocks of 4 pixels × 4 pixels for each YMCK color, in the order along the lines in the main scanning direction.

画像処理部11は、ブロックライン変換部10から出力されたYMCKデータに対し、スクリーン処理等の画像処理を行い、画像形成部12に出力する。   The image processing unit 11 performs image processing such as screen processing on the YMCK data output from the block line conversion unit 10 and outputs the processed image data to the image forming unit 12.

画像形成部12は、感光ドラム、感光ドラムの帯電を行う帯電部、画像処理部11から出力されたYMCKデータに基づいて感光ドラム表面を露光する露光部、感光ドラムにトナーを付着させる現像部、感光ドラム上に形成されたトナー像を印刷用紙に転写する転写部、印刷用紙上に形成されたトナー像を定着させる定着部等から構成され、印刷用紙に画像形成を行う。   The image forming unit 12 includes a photosensitive drum, a charging unit that charges the photosensitive drum, an exposure unit that exposes the surface of the photosensitive drum based on YMCK data output from the image processing unit 11, a developing unit that attaches toner to the photosensitive drum, The image forming apparatus includes a transfer unit that transfers a toner image formed on the photosensitive drum to the printing paper, a fixing unit that fixes the toner image formed on the printing paper, and the like.

図2に、圧縮部5の構成を示す。図2に示すように、圧縮部5は、BTC(Block Truncation Coding)圧縮部20Y,20M,20C,20K、差分データ生成部30Y,30M,30C,30K、データ連結部40、ハフマン符号化部50を備える。なお、圧縮部5には、YMCK各色について、1CLK当たり8bitのデータが入力されるものとする。すなわち、圧縮部5には、YMCK4色分で1CLK当たり32bitのデータが入力される。   FIG. 2 shows the configuration of the compression unit 5. As shown in FIG. 2, the compression unit 5 includes BTC (Block Truncation Coding) compression units 20Y, 20M, 20C, and 20K, differential data generation units 30Y, 30M, 30C, and 30K, a data concatenation unit 40, and a Huffman encoding unit 50. Is provided. It is assumed that 8 bits of data per 1 CLK are input to the compression unit 5 for each color of YMCK. In other words, the compression unit 5 receives 32 bits of data per 1 CLK for YMCK4 colors.

BTC圧縮部20Y,20M,20C,20Kは、それぞれ、イエロー、マゼンタ、シアン、ブラックの多値データからなる画像データを固定長圧縮(1次圧縮)する第1圧縮手段である。固定長圧縮とは、一定の圧縮率で行われるデータ圧縮をいう。   The BTC compression units 20Y, 20M, 20C, and 20K are first compression units that perform fixed-length compression (primary compression) on image data composed of multi-value data of yellow, magenta, cyan, and black, respectively. Fixed length compression refers to data compression performed at a constant compression rate.

BTC圧縮部20Yは、イエローの画像データを複数のブロックに分割したブロック毎に、当該ブロックに属するイエローの入力データ(8bit)の最小値及び最大値に基づいて、当該ブロックに属するイエローの入力データを予め定められた数の階調データに分類し、当該分類された階調データ、最小値データ及び最大値データを出力する。本実施の形態においては、「予め定められた数」は「8」であり、BTC圧縮部20Yは、8bitの入力データを、3bitの階調データ(0〜7)に圧縮する。BTC圧縮部20Yは、イエローの入力データ(8bit/CLK)に対してBTC圧縮を施し、各入力データに対応する階調データ(3bit/CLK)と、最小値データ(8bit/16CLK)と、最大値データ(8bit/16CLK)とを出力する。   The BTC compression unit 20Y, for each block obtained by dividing the yellow image data into a plurality of blocks, based on the minimum value and the maximum value of the yellow input data (8 bits) belonging to the block, the yellow input data belonging to the block Are classified into a predetermined number of gradation data, and the classified gradation data, minimum value data, and maximum value data are output. In the present embodiment, the “predetermined number” is “8”, and the BTC compression unit 20Y compresses 8-bit input data into 3-bit gradation data (0 to 7). The BTC compression unit 20Y performs BTC compression on the yellow input data (8 bits / CLK), the gradation data (3 bits / CLK) corresponding to each input data, the minimum value data (8 bits / 16 CLK), and the maximum Value data (8bit / 16CLK) is output.

ここで、図3を参照して、BTC圧縮部20Yの構成について説明する。図3に示すように、BTC圧縮部20Yは、シフトレジスタ21、最小値・最大値算出部22、階調データ演算部23、シフトレジスタ24を備える。   Here, the configuration of the BTC compression unit 20Y will be described with reference to FIG. As shown in FIG. 3, the BTC compression unit 20 </ b> Y includes a shift register 21, a minimum / maximum value calculation unit 22, a gradation data calculation unit 23, and a shift register 24.

シフトレジスタ21は、1CLKに1回入力される8bitの入力データを16個(4画素×4画素の1ブロック分)保持する。
最小値・最大値算出部22は、シフトレジスタ21に保持された1ブロック分の16個の入力データの中から最小値及び最大値を算出する。すなわち、最小値・最大値算出部22は、16CLKに1回8bitの最小値データと8bitの最大値データとを出力する。
The shift register 21 holds 16 pieces of 8-bit input data (one block of 4 pixels × 4 pixels) input once in 1 CLK.
The minimum value / maximum value calculation unit 22 calculates a minimum value and a maximum value from 16 pieces of input data for one block held in the shift register 21. That is, the minimum value / maximum value calculation unit 22 outputs the minimum value data of 8 bits and the maximum value data of 8 bits once every 16 CLK.

階調データ演算部23は、最小値・最大値算出部22により算出された最小値及び最大値に基づいて、最小値から最大値までの値を0〜7の階調データに分類し、シフトレジスタ21から出力された1ブロック分の16個の入力データのそれぞれがいずれの階調データに属するかに従って、3bitの階調データを出力する。
シフトレジスタ24は、階調データ演算部23により出力された3bitの階調データを16個保持し、1CLK当たり3bitの階調データを出力する。
The gradation data calculation unit 23 classifies values from the minimum value to the maximum value into gradation data of 0 to 7 based on the minimum value and the maximum value calculated by the minimum value / maximum value calculation unit 22, and shifts them. According to which gradation data each of the 16 input data for one block output from the register 21 belongs to, 3-bit gradation data is output.
The shift register 24 holds 16 pieces of 3-bit gradation data output by the gradation data calculation unit 23 and outputs 3 bits of gradation data per 1 CLK.

BTC圧縮部20M,20C,20Kについては、BTC圧縮部20Yと同様の構成であるため、図3を援用し、説明を省略する。なお、BTC圧縮部20M,20C,20Kを構成する各部についても、BTC圧縮部20Yと同一の符号を用いる。   Since the BTC compression units 20M, 20C, and 20K have the same configuration as that of the BTC compression unit 20Y, the description thereof is omitted with reference to FIG. In addition, the same code | symbol as BTC compression part 20Y is used also about each part which comprises BTC compression part 20M, 20C, 20K.

図4(a)〜(d)に、4画素×4画素のブロックを単位として、圧縮部5のBTC圧縮部20Y,20M,20C,20Kのそれぞれに入力されるイエロー、マゼンタ、シアン、ブラックの入力データ(画像データ)の例を示す。   4A to 4D, yellow, magenta, cyan, and black are input to the BTC compression units 20Y, 20M, 20C, and 20K of the compression unit 5 in units of blocks of 4 pixels × 4 pixels, respectively. An example of input data (image data) is shown.

図4(a)の例では、ブロック内のイエローの入力データの最小値が10であり、最大値が66であるから、BTC圧縮部20Yの階調データ演算部23は、10〜66の間を7等分し、入力データが、7等分の区切りとなる18、26、34、42、50、58、最小値10、最大値66のうち、いずれの値に最も近いかに従って、0〜7の階調データを出力する。具体的には、BTC圧縮部20Yの階調データ演算部23は、図5(a)に示すように、入力データが10に最も近い場合、すなわち、入力データが10〜13の場合には、階調データ「0」を出力する。入力データが18に最も近い場合、すなわち、入力データが14〜21の場合には、階調データ「1」を出力する。入力データが26に最も近い場合、すなわち、入力データが22〜29の場合には、階調データ「2」を出力する。入力データが34に最も近い場合、すなわち、入力データが30〜37の場合には、階調データ「3」を出力する。入力データが42に最も近い場合、すなわち、入力データが38〜45の場合には、階調データ「4」を出力する。入力データが50に最も近い場合、すなわち、入力データが46〜53の場合には、階調データ「5」を出力する。入力データが58に最も近い場合、すなわち、入力データが54〜61の場合には、階調データ「6」を出力する。入力データが66に最も近い場合、すなわち、入力データが62〜66の場合には、階調データ「7」を出力する。   In the example of FIG. 4A, since the minimum value of the yellow input data in the block is 10 and the maximum value is 66, the gradation data calculation unit 23 of the BTC compression unit 20Y is between 10 and 66. Is divided into seven equal parts, and the input data is divided into seven equal parts, according to which one of 18, 26, 34, 42, 50, 58, minimum value 10, maximum value 66 is closest to 0 7 gradation data is output. Specifically, the gradation data calculation unit 23 of the BTC compression unit 20Y, as shown in FIG. 5A, when the input data is closest to 10, that is, when the input data is 10 to 13, The gradation data “0” is output. When the input data is closest to 18, that is, when the input data is 14 to 21, gradation data “1” is output. When the input data is closest to 26, that is, when the input data is 22 to 29, the gradation data “2” is output. When the input data is closest to 34, that is, when the input data is 30 to 37, the gradation data “3” is output. When the input data is closest to 42, that is, when the input data is 38 to 45, the gradation data “4” is output. When the input data is closest to 50, that is, when the input data is 46 to 53, gradation data “5” is output. When the input data is closest to 58, that is, when the input data is 54 to 61, the gradation data “6” is output. When the input data is closest to 66, that is, when the input data is 62 to 66, gradation data “7” is output.

図6(a)に、図4(a)に示すイエローの入力データがBTC圧縮部20Yに入力された場合に出力される階調データ、最小値データ、最大値データを示す。   FIG. 6A shows gradation data, minimum value data, and maximum value data that are output when the yellow input data shown in FIG. 4A is input to the BTC compression unit 20Y.

同様に、図4(b)〜(d)に示すマゼンタ、シアン、ブラックの入力データの例では、BTC圧縮部20M,20C,20Kの階調データ演算部23は、図5(b)〜(d)に示すように、入力データに対応する階調データを出力する。図6(b)〜(d)に、図4(b)〜(d)に示すマゼンタ、シアン、ブラックの入力データがBTC圧縮部20M,20C,20Kに入力された場合に出力される階調データ、最小値データ、最大値データを示す。   Similarly, in the example of magenta, cyan, and black input data shown in FIGS. 4B to 4D, the gradation data calculation unit 23 of the BTC compression units 20M, 20C, and 20K is connected to FIGS. As shown in d), gradation data corresponding to the input data is output. FIGS. 6B to 6D show gradations that are output when the magenta, cyan, and black input data shown in FIGS. 4B to 4D are input to the BTC compression units 20M, 20C, and 20K. Indicates data, minimum value data, and maximum value data.

BTC圧縮部20Y,20M,20C,20Kのそれぞれは、各色について、階調データ、最小値データ、最大値データ、合わせて1CLK当たり4bitのデータを出力する。すなわち、YMCK4色分では、1CLK当たり16bitのデータを出力する。前述したように、圧縮部5に入力されるデータは、YMCK4色分で1CLK当たり32bitであるから、BTC圧縮部20Y,20M,20C,20Kは、圧縮率50%の固定長圧縮を行うことになる。なお、圧縮率は、(圧縮後のデータ量)/(圧縮前のデータ量)×100(%)により求める。   Each of the BTC compression units 20Y, 20M, 20C, and 20K outputs, for each color, gradation data, minimum value data, maximum value data, and 4 bits of data per 1 CLK. That is, for YMCK4 colors, 16-bit data is output per 1 CLK. As described above, since the data input to the compression unit 5 is 32 bits per 1 CLK for YMCK 4 colors, the BTC compression units 20Y, 20M, 20C, and 20K perform fixed length compression with a compression rate of 50%. Become. The compression rate is obtained by (data amount after compression) / (data amount before compression) × 100 (%).

差分データ生成部30Y,30M,30C,30Kは、BTC圧縮部20Y,20M,20C,20Kから出力された階調データ、最小値データ、最大値データのそれぞれについて、一つ前のデータとの差分を示す差分データを生成し、データ連結部40に出力する。差分データ生成部30Y,30M,30C,30Kは、BTC圧縮部20Y,20M,20C,20Kにより固定長圧縮された各色の階調データについて、隣接する画素との差分を示す差分データを生成する。また、差分データ生成部30Y,30M,30C,30Kは、BTC圧縮部20Y,20M,20C,20Kから出力された最小値データ、最大値データについて、前のブロックにおける最小値データ、最大値データとの差分を示す差分データを生成する。   The difference data generation units 30Y, 30M, 30C, and 30K differ from the previous data for each of the gradation data, minimum value data, and maximum value data output from the BTC compression units 20Y, 20M, 20C, and 20K. Is generated and output to the data concatenation unit 40. The difference data generation units 30Y, 30M, 30C, and 30K generate difference data indicating differences from adjacent pixels for the gradation data of each color that has been fixed-length compressed by the BTC compression units 20Y, 20M, 20C, and 20K. In addition, the difference data generation units 30Y, 30M, 30C, and 30K are the minimum value data and maximum value data in the previous block for the minimum value data and the maximum value data output from the BTC compression units 20Y, 20M, 20C, and 20K. The difference data indicating the difference is generated.

ここで、図7を参照して、差分データ生成部30Yの構成について説明する。図7に示すように、差分データ生成部30Yは、レジスタ31、差分算出部32を備える。   Here, a configuration of the difference data generation unit 30Y will be described with reference to FIG. As illustrated in FIG. 7, the difference data generation unit 30Y includes a register 31 and a difference calculation unit 32.

レジスタ31は、BTC圧縮部20Yから出力されたデータを1個保持する。
差分算出部32は、BTC圧縮部20Yから出力されたデータと、レジスタ31に保持されている一つ前のデータとの差分を算出する。具体的には、差分算出部32は、処理対象のデータから一つ前のデータを引いて差分データを生成する。
The register 31 holds one piece of data output from the BTC compression unit 20Y.
The difference calculation unit 32 calculates a difference between the data output from the BTC compression unit 20Y and the previous data held in the register 31. Specifically, the difference calculation unit 32 generates difference data by subtracting the previous data from the processing target data.

差分データ生成部30M,30C,30Kについては、差分データ生成部30Yと同様の構成であるため、図示及び説明を省略する。   Since the difference data generation units 30M, 30C, and 30K have the same configuration as the difference data generation unit 30Y, illustration and description thereof are omitted.

図8(a)に、図6(a)に示すイエローの階調データ、最小値データ、最大値データの差分データを示す。具体的に、ブロック内で図9のP1の画素については、前のブロックのP16の画素との差分をとる。すなわち、P1の位置の階調データの差分データ(以下、階調差分データという。)は(P1の画素の階調データ)−(前のブロックのP16の画素の階調データ)である。同様に、図9のP2の画素については、差分データは(P2の画素の階調データ)−(P1の画素の階調データ)であり、図9のP3の画素については、差分データは(P3の画素の階調データ)−(P2の画素の階調データ)であり、図9のP4の画素については、差分データは(P4の画素の階調データ)−(P3の画素の階調データ)であり、図9のP5の画素については、差分データは(P5の画素の階調データ)−(P4の画素の階調データ)である。   FIG. 8A shows the difference data of the yellow gradation data, minimum value data, and maximum value data shown in FIG. Specifically, for the pixel of P1 in FIG. 9 in the block, the difference from the pixel of P16 of the previous block is taken. That is, the difference data of the gradation data at the position P1 (hereinafter referred to as gradation difference data) is (gradation data of the pixel of P1) − (gradation data of the pixel of P16 of the previous block). Similarly, for the pixel P2 in FIG. 9, the difference data is (gradation data for the pixel P2) − (gradation data for the pixel P1), and for the pixel P3 in FIG. The gradation data of the pixel P3) − (the gradation data of the pixel P2). For the pixel P4 in FIG. 9, the difference data is (the gradation data of the pixel P4) − (the gradation of the pixel P3). The difference data for the pixel P5 in FIG. 9 is (gradation data for the pixel P5) − (gradation data for the pixel P4).

また、最小値データ、最大値データの差分データについては、前のブロックにおける最小値データ、最大値データとの差分をとる。例えば、最小値データの差分データ(以下、最小値差分データという。)は、(処理対象のブロックにおける最小値データ)−(前のブロックにおける最小値データ)である。また、最大値データの差分データ(以下、最大値差分データという。)は、(処理対象のブロックにおける最大値データ)−(前のブロックにおける最大値データ)である。   For the difference data between the minimum value data and the maximum value data, the difference between the minimum value data and the maximum value data in the previous block is taken. For example, difference data of minimum value data (hereinafter referred to as minimum value difference data) is (minimum value data in a processing target block) − (minimum value data in a previous block). Further, the difference data of the maximum value data (hereinafter referred to as the maximum value difference data) is (maximum value data in the processing target block) − (maximum value data in the previous block).

同様に、図8(b)〜(d)に、図6(b)〜(d)に示すマゼンタ、シアン、ブラックの階調データ、最小値データ、最大値データの差分データを示す。   Similarly, FIGS. 8B to 8D show difference data of magenta, cyan, and black gradation data, minimum value data, and maximum value data shown in FIGS. 6B to 6D.

なお、階調差分データが負の値である場合にも、3bitで表される。例えば、図8(b)のP13の位置の画素(図9参照)におけるマゼンタの階調差分データは「−1」であるが、この差分値は、「7」と同じ数値を用いる。すなわち、「7」という差分値は、「7」又は「−1」を意味する。図8(b)のP13の位置の画素における階調差分データ「−1」は、図6(b)のP13の位置の階調データが「2」、図6(b)のP12の位置の階調データ(一つ前の値)が「3」であることにより、算出されたものであるが、一つ前のデータが「3」である場合に、差分値が「7」ということはないため、差分値は「−1」を意味することとなる。
最小値差分データ及び最大値差分データについても、同様に、負の値である場合にも、8bitで表される。
In addition, even when the gradation difference data is a negative value, it is represented by 3 bits. For example, the magenta tone difference data in the pixel at P13 in FIG. 8B (see FIG. 9) is “−1”, and this difference value is the same as “7”. That is, the difference value “7” means “7” or “−1”. The gradation difference data “−1” in the pixel at the position P13 in FIG. 8B has gradation data “2” at the position P13 in FIG. 6B and the position P12 in FIG. 6B. Although the gradation data (previous value) is “3”, it is calculated, but when the previous data is “3”, the difference value is “7”. Therefore, the difference value means “−1”.
Similarly, the minimum value difference data and the maximum value difference data are also represented by 8 bits even when they are negative values.

データ連結部40は、差分データ生成部30Y,30M,30C,30Kから出力されたYMCK4色分の階調差分データについて、各色のデータの同一位置のデータ同士をビット連結し、YMCKの色毎の画像データを一つの画像データとする連結手段である。具体的には、データ連結部40は、1CLK当たり3bitの階調差分データを4色分ビット連結して、1CLK当たり12bitの連結階調データを出力する。   The data concatenation unit 40 bit-concatenates the data at the same position of the data of each color for the YMCK four-color gradation difference data output from the difference data generation units 30Y, 30M, 30C, and 30K. It is a connecting means that uses image data as one image data. Specifically, the data concatenation unit 40 concatenates 3 bits of gradation difference data per 1 CLK for 4 colors and outputs 12 bits of concatenated gradation data per 1 CLK.

また、データ連結部40は、差分データ生成部30Y,30M,30C,30Kから出力されたYMCK4色分の最小値差分データ、最大値差分データのそれぞれについて、各色の同一ブロックのデータ同士をビット連結し、YMCKの色毎の画像データを一つの画像データとする。具体的には、データ連結部40は、16CLK当たり8bitの最小値差分データ、16CLK当たり8bitの最大値差分データのそれぞれを4色分ビット連結して、16CLK当たり32bitの連結最小値データ、16CLK当たり32bitの連結最大値データを出力する。   Further, the data linking unit 40 bit-links the data of the same block of each color for each of the minimum value difference data and the maximum value difference data for YMCK4 colors output from the difference data generation units 30Y, 30M, 30C, and 30K. The image data for each color of YMCK is set as one image data. Specifically, the data linking unit 40 concatenates 4 bits each of the minimum value difference data of 8 bits per 16 CLK and the maximum value difference data of 8 bits per 16 CLK for each of the four colors, and the combined minimum value data of 16 bits per 16 CLK. Outputs 32-bit concatenated maximum value data.

図10に、図8(a)〜(d)の差分データに基づいて生成された、1ブロック分の連結階調データ、連結最小値データ、連結最大値データの例を示す。例えば、図9のP4の位置の画素について、イエローの階調差分データは1、マゼンタの階調差分データは2、シアンの階調差分データは0、ブラックの階調差分データは1である。図10においては、これらをビット連結した連結階調データを{1 2 0 1}と表記する。すなわち、{ }の記号は、四つの3bitデータ(1,2,0,1)をビット連結して、一つの12bitデータとすることを示している。
{1 2 0 1}は、データとしては、
1×(2^9)+2×(2^6)+0×(2^3)+1×(2^0)
となる。
FIG. 10 shows an example of one block of connected gradation data, connected minimum value data, and connected maximum value data generated based on the difference data in FIGS. For example, for the pixel at position P4 in FIG. 9, the yellow tone difference data is 1, the magenta tone difference data is 2, the cyan tone difference data is 0, and the black tone difference data is 1. In FIG. 10, the connected gradation data obtained by bit-concatenating these is expressed as {1 2 0 1}. That is, the symbol {} indicates that four pieces of 3 bit data (1, 2, 0, 1) are bit-connected to form one piece of 12 bit data.
{1 2 0 1} is the data
1 * (2 ^ 9) + 2 * (2 ^ 6) + 0 * (2 ^ 3) + 1 * (2 ^ 0)
It becomes.

ハフマン符号化部50は、データ連結部40によりビット連結された画像データを可変長圧縮(2次圧縮)する第2圧縮手段である。可変長圧縮とは、データの構成によって圧縮率が異なる圧縮をいう。具体的には、ハフマン符号化部50は、データ連結部40によりビット連結された連結階調データ(12bit/CLK)、連結最小値データ(32bit/16CLK)、連結最大値データ(32bit/16CLK)に対し、ハフマン符号化処理を行う。ハフマン符号化処理とは、出現率が高いデータはビット数の小さいコードに変換し、出現率が低いデータはビット数の大きいコードに変換する可逆圧縮処理である。なお、ハフマン符号化部50においてハフマン符号化処理を行う前に、入力される画像データに基づいてハフマン符号化処理に用いるハフマンテーブルを最適化することが望ましい。   The Huffman encoding unit 50 is a second compression unit that performs variable length compression (secondary compression) on the image data bit-connected by the data connection unit 40. Variable length compression refers to compression with different compression rates depending on the data configuration. Specifically, the Huffman encoding unit 50 includes the concatenated gradation data (12 bits / CLK), the concatenated minimum value data (32 bits / 16 CLK), and the concatenated maximum value data (32 bits / 16 CLK) that are bit-concatenated by the data concatenation unit 40. On the other hand, a Huffman encoding process is performed. The Huffman encoding process is a lossless compression process in which data with a high appearance rate is converted into a code with a small number of bits, and data with a low appearance rate is converted into a code with a large number of bits. In addition, before performing the Huffman encoding process in the Huffman encoding unit 50, it is desirable to optimize the Huffman table used for the Huffman encoding process based on the input image data.

[実験結果A:写真画像]
写真画像の例として、SCID(Standard Color Image Data:高精細カラーディジタル標準画像データ)チャートを用い、本実施の形態における圧縮方法(図2に示す圧縮部5により行われる圧縮方法)と、従来の圧縮方法(図11に示す圧縮部100により行われる圧縮方法)とを比較した。SCIDチャートは、印刷作業の標準化や符号化特性の評価等を目的として、国際標準化された標準画像データである。今回の実験では画像名称「ポートレート」というチャートを用いた。
[Experimental result A: photographic image]
As an example of a photographic image, a SCID (Standard Color Image Data: high-definition color digital standard image data) chart is used, and a compression method in this embodiment (a compression method performed by the compression unit 5 shown in FIG. 2) and a conventional one are used. The compression method (compression method performed by the compression unit 100 shown in FIG. 11) was compared. The SCID chart is standard image data that has been internationally standardized for the purpose of standardizing printing operations and evaluating encoding characteristics. In this experiment, a chart called “Portrait” was used.

従来の圧縮方法では、BTC圧縮による圧縮率は(1/2.000)×100(%)、ハフマン符号化による圧縮率は(1/1.089)×100(%)であり、最終的な圧縮率は(1/2.000)×(1/1.089)×100=45.9(%)であった。これに対し、本実施の形態における圧縮方法では、BTC圧縮による圧縮率は(1/2.000)×100(%)、ハフマン符号化による圧縮率は(1/1.226)×100(%)であり、最終的な圧縮率は(1/2.000)×(1/1.226)×100=40.8(%)であった。実験結果Aによると、本実施の形態における圧縮方法を用いた方が、従来の圧縮方法より、データ量を低減させることができた。   In the conventional compression method, the compression ratio by BTC compression is (1 / 2.000) × 100 (%), the compression ratio by Huffman coding is (1 / 1.089) × 100 (%), and the final compression ratio is ( 1 / 2.000) × (1 / 1.089) × 100 = 45.9 (%). On the other hand, in the compression method in the present embodiment, the compression rate by BTC compression is (1 / 2.000) × 100 (%), and the compression rate by Huffman coding is (1 / 1.226) × 100 (%). The final compression ratio was (1 / 2.000) × (1 / 1.226) × 100 = 40.8 (%). According to the experimental result A, the amount of data could be reduced by using the compression method in the present embodiment compared to the conventional compression method.

[実験結果B:文字画像]
文字画像の例として、Spencerチャートを用い、本実施の形態における圧縮方法(図2に示す圧縮部5により行われる圧縮方法)と、従来の圧縮方法(図11に示す圧縮部100により行われる圧縮方法)とを比較した。
[Experiment B: Character image]
As an example of a character image, using a Spencer chart, the compression method in this embodiment (the compression method performed by the compression unit 5 shown in FIG. 2) and the conventional compression method (the compression performed by the compression unit 100 shown in FIG. 11). Method).

従来の圧縮方法では、BTC圧縮による圧縮率は(1/2.000)×100(%)、ハフマン符号化による圧縮率は(1/4.776)×100(%)であり、最終的な圧縮率は(1/2.000)×(1/4.776)×100=10.5(%)であった。これに対し、本実施の形態における圧縮方法では、BTC圧縮による圧縮率は(1/2.000)×100(%)、ハフマン符号化による圧縮率は(1/6.917)×100(%)であり、最終的な圧縮率は(1/2.000)×(1/6.917)×100=7.23(%)であった。実験結果Bによると、本実施の形態における圧縮方法を用いた方が、従来の圧縮方法より、データ量を低減させることができた。   In the conventional compression method, the compression ratio by BTC compression is (1 / 2.000) × 100 (%), the compression ratio by Huffman coding is (1 / 4.776) × 100 (%), and the final compression ratio is ( 1 / 2.000) × (1 / 4.776) × 100 = 10.5 (%). On the other hand, in the compression method in the present embodiment, the compression rate by BTC compression is (1 / 2.000) × 100 (%), and the compression rate by Huffman coding is (1 / 6.917) × 100 (%). The final compression ratio was (1 / 2.000) × (1 / 6.917) × 100 = 7.23 (%). According to the experimental result B, it was possible to reduce the amount of data by using the compression method in the present embodiment, compared to the conventional compression method.

ただし、本実施の形態における圧縮方法によれば、従来の圧縮方法と比較して、どのような画像に対しても圧縮率が向上するというわけではない。しかし、BTC圧縮されたYMCKデータの同一位置のデータ同士をビット連結させ、ハフマン符号化する方法を用いて、多くの画像で実験を行った結果、圧縮率が向上する(圧縮後のデータ量が少なくなる)傾向があることが判明した。従来例では隣接する4画素単位で2次圧縮していたのに対し、本実施の形態では同一位置のYMCKデータのデータ同士をビット連結させて2次圧縮している。ビット連結後のデータは、いずれも12bitのデータであるが、YMCKデータをビット連結した1画素単位の方が、YMCK単独の4画素単位のデータと比較して、値が近いデータが連続する傾向が高いため、圧縮率が向上すると考えられる。   However, according to the compression method in the present embodiment, the compression rate is not improved for any image as compared with the conventional compression method. However, as a result of performing experiments on many images using a method of bit-connecting data at the same position of BTC-compressed YMCK data and performing Huffman coding, the compression ratio is improved (the amount of compressed data is reduced). It turns out that there is a tendency to decrease. In the conventional example, secondary compression is performed in units of four adjacent pixels, but in the present embodiment, YMCK data at the same position is bit-connected to perform secondary compression. The data after bit concatenation is all 12-bit data, but the data of one pixel unit in which YMCK data is bit concatenated tends to have continuous data having a similar value compared to the data of four pixel units of YMCK alone. Therefore, it is considered that the compression rate is improved.

以上説明したように、本実施の形態における画像形成装置1によれば、固定長圧縮された各色の画像データの同一位置のもの同士をビット連結することにより、画像データの圧縮率向上を図ることができる。したがって、HDDやDRAMの容量を減らすことができ、ハードウェア構成の単純化やコストダウンを図ることができる。   As described above, according to the image forming apparatus 1 of the present embodiment, the compression rate of image data can be improved by bit-connecting the same-position image data of each color that has been fixed-length compressed. Can do. Therefore, the capacity of the HDD or DRAM can be reduced, and the hardware configuration can be simplified and the cost can be reduced.

また、画像データの差分データを扱うことにより、データ連結部40によりビット連結されて生成されるデータが互いにより近い値になる傾向となる。   Further, by handling the difference data of the image data, the data generated by bit concatenation by the data concatenation unit 40 tends to be closer to each other.

また、2次圧縮としてハフマン符号化処理を行うことにより、ブロック内に同一の値が多いほど圧縮後のデータ量を少なくすることができる。   Further, by performing Huffman encoding processing as secondary compression, the amount of data after compression can be reduced as the same value in the block increases.

なお、上記実施の形態における記述は、本発明に係る画像処理回路及び画像形成装置の例であり、これに限定されるものではない。装置を構成する各部の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。   The description in the above embodiment is an example of the image processing circuit and the image forming apparatus according to the present invention, and the present invention is not limited to this. The detailed configuration and detailed operation of each part constituting the apparatus can be changed as appropriate without departing from the spirit of the present invention.

例えば、上記実施の形態では、固定長圧縮方法(1次圧縮)としてBTC圧縮を用いた場合を例にして説明したが、BTC圧縮に限らず、他の固定長圧縮方法を用いてもよい。
また、上記実施の形態では、可変長圧縮方法(2次圧縮)としてハフマン符号化を用いた場合を例にして説明したが、ハフマン符号化に限らず、算術符号化、シャノン符号化等、他の可変長圧縮方法を用いてもよい。ただし、画質の劣化を防止するために、2次圧縮は可逆圧縮であることが望ましい。
For example, in the above embodiment, the case where BTC compression is used as the fixed length compression method (primary compression) has been described as an example. However, the present invention is not limited to BTC compression, and other fixed length compression methods may be used.
In the above embodiment, the case where Huffman coding is used as the variable-length compression method (secondary compression) has been described as an example. However, the present invention is not limited to Huffman coding, and includes arithmetic coding, Shannon coding, and the like. The variable length compression method may be used. However, in order to prevent deterioration in image quality, it is desirable that the secondary compression is a reversible compression.

また、上記実施の形態では、ラインブロック変換部4、圧縮部5、データ振り分け部6、データ統合部8、伸長部9、ブロックライン変換部10がASICにより構成されている場合について説明したが、各部をソフトウェアにより構成することとしてもよい。   Moreover, although the said embodiment demonstrated the case where the line block conversion part 4, the compression part 5, the data distribution part 6, the data integration part 8, the expansion | extension part 9, and the block line conversion part 10 were comprised by ASIC, Each unit may be configured by software.

また、圧縮部5から差分データ生成部30Y,30M,30C,30Kを除いた構成としてもよい。その場合、データ連結部40は、同一位置の4色分の階調データ同士、同一ブロックの4色分の最小値データ同士、同一ブロックの4色分の最大値データ同士をビット連結すればよい。   Moreover, it is good also as a structure remove | excluding the difference data production | generation part 30Y, 30M, 30C, 30K from the compression part 5. FIG. In that case, the data concatenation unit 40 may bit-concatenate the gradation data for the four colors at the same position, the minimum value data for the four colors of the same block, and the maximum value data for the four colors of the same block. .

1 画像形成装置
2 スキャナ部
3 画像処理部
4 ラインブロック変換部
5 圧縮部
6 データ振り分け部
7a,7b,7c,7d HDD
8 データ統合部
9 伸長部
10 ブロックライン変換部
11 画像処理部
12 画像形成部
20Y,20M,20C,20K BTC圧縮部
21 シフトレジスタ
22 最小値・最大値算出部
23 階調データ演算部
24 シフトレジスタ
30Y,30M,30C,30K 差分データ生成部
31 レジスタ
32 差分算出部
40 データ連結部
50 ハフマン符号化部
100 圧縮部
120Y,120M,120C,120K BTC圧縮部
130Y,130M,130C,130K 差分データ生成部
140Y,140M,140C,140K データ連結部
150Y,150M,150C,150K ハフマン符号化部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 2 Scanner part 3 Image processing part 4 Line block conversion part 5 Compression part 6 Data distribution part 7a, 7b, 7c, 7d HDD
8 Data Integration Unit 9 Expansion Unit 10 Block Line Conversion Unit 11 Image Processing Unit 12 Image Forming Units 20Y, 20M, 20C, 20K BTC Compression Unit 21 Shift Register 22 Minimum Value / Maximum Value Calculation Unit 23 Gradation Data Calculation Unit 24 Shift Register 30Y, 30M, 30C, 30K Difference data generation unit 31 Register 32 Difference calculation unit 40 Data concatenation unit 50 Huffman coding unit 100 Compression unit 120Y, 120M, 120C, 120K BTC compression unit 130Y, 130M, 130C, 130K Difference data generation unit 140Y, 140M, 140C, 140K Data concatenation unit 150Y, 150M, 150C, 150K Huffman coding unit

Claims (4)

複数の色の多値データからなる各色の画像データを複数のブロックに分割したブロック毎に、当該ブロックに属する多値データの最小値及び最大値に基づいて、当該ブロックに属する多値データを予め定められた数の階調データに分類し、当該分類された階調データ、前記最小値及び最大値を出力することで、前記各色の画像データを色毎に固定長圧縮する第1圧縮手段と、
前記第1圧縮手段により出力された各色の階調データの同一位置の画素データ同士をビット連結し、前記第1圧縮手段により出力された各色の最小値及び最大値の同一位置のブロックのデータ同士をビット連結し、前記複数の色毎の画像データを一つの画像データとする連結手段と、
当該ビット連結された画像データを可変長圧縮する第2圧縮手段と、
を備える画像処理回路。
For each block obtained by dividing image data of each color composed of multi-value data of a plurality of colors into a plurality of blocks, the multi-value data belonging to the block is preliminarily determined based on the minimum value and the maximum value of the multi-value data belonging to the block. First compression means for classifying the image data of each color into a fixed length for each color by classifying the data into a predetermined number of gradation data and outputting the classified gradation data and the minimum and maximum values ; ,
Bit data of pixel data at the same position in the gradation data of each color output by the first compression means, and block data at the same position of the minimum value and the maximum value of each color output by the first compression means A connecting means for bit-connecting each other, and making the image data for each of the plurality of colors one image data;
Second compression means for variable-length compressing the bit-linked image data;
An image processing circuit comprising:
前記第1圧縮手段により出力された各色の階調データについて、隣接する画素との差分を示す第1の差分データを生成し、前記第1圧縮手段により出力された各色の最小値及び最大値について、前のブロックとの差分を示す第2の差分データを生成する差分データ生成手段を備え、
前記連結手段は、前記差分データ生成手段により生成された各色の第1の差分データの同一位置の画素データ同士をビット連結し、前記差分データ生成手段により生成された各色の第2の差分データの同一位置のブロックのデータ同士をビット連結する、
請求項に記載の画像処理回路。
For the gradation data of each color output by the first compression unit, first difference data indicating a difference from an adjacent pixel is generated , and the minimum value and the maximum value of each color output by the first compression unit are generated. , Comprising difference data generation means for generating second difference data indicating a difference from the previous block ,
It said connecting means, the difference data between the pixels at the same position of the first differential data of each color that is generated by the data generating means is bit-connected second differential data of each color that is generated by the difference data generating means Bit-concatenate data of blocks in the same position of
The image processing circuit according to claim 1 .
前記第2圧縮手段による可変長圧縮は、ハフマン符号化処理である、
請求項1又は2に記載の画像処理回路。
The variable length compression by the second compression means is a Huffman encoding process.
The image processing circuit according to claim 1 or 2.
請求項1からのいずれか一項に記載の画像処理回路を備える画像形成装置。 An image forming apparatus including an image processing circuit according to any one of claims 1 to 3.
JP2010031259A 2010-02-16 2010-02-16 Image processing circuit and image forming apparatus Active JP5515825B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010031259A JP5515825B2 (en) 2010-02-16 2010-02-16 Image processing circuit and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010031259A JP5515825B2 (en) 2010-02-16 2010-02-16 Image processing circuit and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2011171818A JP2011171818A (en) 2011-09-01
JP5515825B2 true JP5515825B2 (en) 2014-06-11

Family

ID=44685514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010031259A Active JP5515825B2 (en) 2010-02-16 2010-02-16 Image processing circuit and image forming apparatus

Country Status (1)

Country Link
JP (1) JP5515825B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102068657B1 (en) * 2019-08-19 2020-01-22 (주)트라이시스 Method and apparatus for processing image data
CN117395380B (en) * 2023-12-12 2024-02-23 上海伯镭智能科技有限公司 Intelligent management method for dispatching data of unmanned mine car in large mining area

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4077548B2 (en) * 1998-03-03 2008-04-16 コニカミノルタビジネステクノロジーズ株式会社 Image processing device
JP2002094801A (en) * 2000-09-20 2002-03-29 Ricoh Co Ltd Picture data compressing method, apparatus therefor and recording medium
JP2002209110A (en) * 2000-12-28 2002-07-26 Ricoh Co Ltd Image encoder
JP2007312126A (en) * 2006-05-18 2007-11-29 Toshiba Corp Image processing circuit

Also Published As

Publication number Publication date
JP2011171818A (en) 2011-09-01

Similar Documents

Publication Publication Date Title
US8849021B2 (en) Image processing apparatus, method, and storage medium for high speed compression processing
EP2481206B1 (en) Image processing apparatus and processing method therefor
US7155059B2 (en) Color image processing apparatus and color image processing method
JP4156631B2 (en) Image processing method and image processing apparatus
JP5267255B2 (en) Image processing apparatus, image processing method, and program
JP2006311474A (en) Apparatus and method for image processing, compression, decompression, transfer, transmission, and reception, and program and display device
US20110222082A1 (en) Image processing apparatus, control method, and computer-readable medium
JP5515825B2 (en) Image processing circuit and image forming apparatus
JP2009290552A (en) Motion picture compressing apparatus and motion picture compression program
JP4468270B2 (en) Normalization method, multidimensional interpolation apparatus and program
US7298894B2 (en) Color image conversion method and system for reducing color image data size
JP2010118760A (en) Image processing apparatus
JP2011172032A (en) Image processing circuit and image forming apparatus
JP5218302B2 (en) Image processing apparatus, image processing system, image processing method, and image processing program
JP4729913B2 (en) Image processing apparatus and method
JP5606223B2 (en) Image processing apparatus and processing method thereof
JP5643578B2 (en) Image processing apparatus, image processing method, and program
JP2010276686A (en) Image control apparatus
JP3101295B2 (en) Color image communication method
JP5115203B2 (en) Image processing apparatus, encoding method, and decoding method
JP3630828B2 (en) Image forming apparatus and image data storage method
RU2295839C2 (en) Method for compressing digital images and device for realization of said method
JP2012095227A (en) Image processing system, image processing method, and program
JP2966426B2 (en) Color image processing apparatus and method
JP2005130345A (en) Encoding method of video signal and static image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120912

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130702

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130813

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130813

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: 20140304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140317

R150 Certificate of patent or registration of utility model

Ref document number: 5515825

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150