JP2009239852A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2009239852A
JP2009239852A JP2008086724A JP2008086724A JP2009239852A JP 2009239852 A JP2009239852 A JP 2009239852A JP 2008086724 A JP2008086724 A JP 2008086724A JP 2008086724 A JP2008086724 A JP 2008086724A JP 2009239852 A JP2009239852 A JP 2009239852A
Authority
JP
Japan
Prior art keywords
data
image data
decompressed
blank
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.)
Pending
Application number
JP2008086724A
Other languages
Japanese (ja)
Inventor
Kenji Yokota
謙治 横田
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 Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2008086724A priority Critical patent/JP2009239852A/en
Publication of JP2009239852A publication Critical patent/JP2009239852A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus and image processing method can accelerate image processing by reducing a load of the image processing on image data. <P>SOLUTION: A decoder section 12A, 12B generates decompressed data obtained by decompressing compressed data and detects a blank portion on the basis of the compressed data. Based on a detection result of the blank portion by the decoder section 12A, 12B, a blank skip section 18A, 18B performs control so that only a portion, other than the blank portion, of the decompressed data is subjected to image processing by an image processing section 20A, 20B. A merge section 22 synthesizes the decompressed data in which the portion other than the blank portion has been image-processed, to generate synthesized data. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置及び画像処理方法に係り、特に、圧縮データを解凍して画像処理する画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and an image processing method for decompressing compressed data and performing image processing.

近年、オンデマンド印刷等では、出力部毎に画像データを追加したり、画像データの一部を差替えることより、内容が一部分異なる画像データを印刷出力する、所謂バリアブル印刷が広く行われている。バリアブル印刷を行うシステムでは、複数の印刷物にわたり共通の内容となる固定部分の画像(マスタ画像)と、各印刷物毎に異なる内容となりうる可変部分の画像(バリアブル画像)とを合成して印刷を行う技術が広く採用されている。   In recent years, in on-demand printing or the like, so-called variable printing is widely performed in which image data is partially printed by adding image data for each output unit or replacing part of the image data. . In a system for performing variable printing, printing is performed by combining an image of a fixed part (master image) that is common to a plurality of printed materials and an image of a variable part (variable image) that can be different for each printed material. Technology is widely adopted.

また、近年の印刷システムでは、データ転送負荷軽減のため、画像データをパックビッツ方式やJPEG方式などの圧縮技術を用いて圧縮して転送することも広く行なわれている。印刷システムでは、圧縮された画像データを解凍して画像処理を施してから印刷処理がなされる。   In recent printing systems, in order to reduce the data transfer load, image data is also compressed and transferred using a compression technique such as the Packbits method or the JPEG method. In the printing system, the compressed image data is decompressed and subjected to image processing, and then printing processing is performed.

例えば、圧縮された2種類の画像データ(Cone Tone画像とLine Work画像)を解凍して合成した後、印刷出力を行なう装置が知られている(例えば、特許文献1参照)。   For example, an apparatus is known that performs printout after decompressing and combining two types of compressed image data (Cone Tone image and Line Work image) (see, for example, Patent Document 1).

また、入力された画像を圧縮(誤差拡散法)し、再度読み出して平滑化して画像処理を行い、再圧縮して保存する装置も知られている(例えば、特許文献2参照。)。   An apparatus is also known in which an input image is compressed (error diffusion method), read out again, smoothed, subjected to image processing, recompressed and stored (see, for example, Patent Document 2).

さらにまた、ランレングス変換された画像データとフィルタ係数とを行単位で乗算処理する行データ乗算部と、ランレングス変換された行データを左右にN画素シフト処理する行データシフト部と、行データ乗算部でフィルタ係数と乗算処理され、行データシフト部で左右に必要な画素数分だけシフト処理された複数のランレングス形式の行データを受け取り、それらを加算処理して空間フィルタ処理結果を生成して画像出力部に出力する行データ加算部と、を備えた装置も知られている(例えば、特許文献3参照。)。
米国特許5966504号明細書 特許第3124839号公報 特許第3438474号公報
Furthermore, a line data multiplication unit that multiplies the run-length converted image data and the filter coefficient in units of rows, a line data shift unit that shifts the run-length converted line data left and right by N pixels, and line data Receives multiple run-length line data that have been multiplied by the filter coefficient in the multiplication unit and shifted by the number of pixels required to the left and right by the line data shift unit, and adds them to generate spatial filter processing results There is also known an apparatus including a row data addition unit that outputs to an image output unit (see, for example, Patent Document 3).
US Pat. No. 5,966,504 Japanese Patent No. 3124839 Japanese Patent No. 3438474

しかしながら、ライン型のインクジェット方式の印刷システムで印刷するための画像データを生成する場合には、圧縮された画像データの解凍後に行なう画像処理が、不吐出補正やスジムラ補正など、複雑なものが多く、画像処理の負荷が重くなって処理速度が低下するという問題が発生する。従って、画像処理の負荷を軽減することが望まれている。さらに、バリアブル印刷などでは、マスタ画像とバリアブル画像の2プレーンを処理する必要があるため、より高速な処理が必要になる。   However, when generating image data to be printed with a line-type inkjet printing system, image processing performed after decompression of compressed image data is often complicated, such as non-ejection correction and non-uniformity correction. As a result, the load of image processing becomes heavy and the processing speed decreases. Therefore, it is desired to reduce the load of image processing. Furthermore, in variable printing or the like, since it is necessary to process two planes of a master image and a variable image, higher speed processing is required.

上記特許文献1に記載のような従来の装置では、このような課題に対応することはできない。さらにまた、上記特許文献2に記載の装置は、画像処理前の圧縮画像と画像処理後の圧縮画像を同一メモリで管理するための技術であり、画像処理部の負荷を軽減して処理を高速化するものではない。また、上記特許文献3に記載の装置は、ランレングス状態のデータのまま空間フィルタ処理を行うことを特徴としているが、JPEG形式など他の圧縮データに対しては対応できない、という問題がある。   The conventional apparatus as described in Patent Document 1 cannot cope with such problems. Furthermore, the apparatus described in Patent Document 2 is a technique for managing a compressed image before image processing and a compressed image after image processing in the same memory, and reduces the load on the image processing unit and performs high-speed processing. It does not become a thing. The device described in Patent Document 3 is characterized in that it performs spatial filter processing with run-length data as it is, but has a problem that it cannot cope with other compressed data such as JPEG format.

本発明は上記事実を考慮して成されたもので、高速に画像処理を行なうことができる画像処理装置及び画像処理方法を提供することを目的とする。   The present invention has been made in consideration of the above facts, and an object thereof is to provide an image processing apparatus and an image processing method capable of performing image processing at high speed.

上記目的を達成するために請求項1の発明の画像処理装置は、圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出手段と、前記第1の空白部分が検出された場合には、前記第1の解凍データの前記第1の空白部分以外の部分を画像処理し、前記第2の空白部分が検出された場合には、前記第2の解凍データの前記第2の空白部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分が検出されない場合には、前記第1の解凍データ及び前記第2の解凍データを画像処理し、前記第1の解凍データに対応する第1の処理画像データ及び前記第2の解凍データに対応する第2の処理画像データを生成する画像処理手段と、前記第1の処理画像データと前記第2の処理画像データとを合成する合成手段と、を有する。   In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention decompresses compressed first image data to generate first decompressed data, and is compressed differently from the first image data. The second image data is decompressed to generate second decompressed data, and the first blank portion of the first image data is detected based on the compressed first image data, and the compression is performed. Decompression detecting means for detecting at least one of the second blank portion of the second image data based on the second image data, and when the first blank portion is detected, the first blank portion is detected. Image processing is performed on a portion other than the first blank portion of the first decompressed data, and when the second blank portion is detected, a portion other than the second blank portion of the second decompressed data is detected. Image processing is performed, and the first blank portion and the first blank portion are processed. When the blank portion is not detected, the first decompressed data and the second decompressed data are subjected to image processing, and the first processed image data and the second decompressed data corresponding to the first decompressed data are processed. Image processing means for generating second processed image data corresponding to the above, and combining means for combining the first processed image data and the second processed image data.

また、請求項2の発明の画像処理装置は、圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出手段と、前記第1の解凍データと前記第2の解凍データとを合成して合成画像データを生成する合成手段と、前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在する場合には、前記合成画像データの該重複部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分の少なくとも一方が検出されない場合、または前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在しない場合には、前記合成画像データを画像処理する画像処理手段と、を有する。   According to a second aspect of the present invention, there is provided the image processing apparatus according to the second aspect, wherein the compressed first image data is decompressed to generate first decompressed data, and the compressed second image different from the first image data is generated. Decompressing data to generate second decompressed data, detecting a first blank portion of the first image data based on the compressed first image data, and compressing the second Composite image data obtained by synthesizing the first decompressed data and the second decompressed data with decompression detecting means for detecting at least one of the second blank portions of the second image data based on the image data And the first blank portion and the second blank portion are detected, and when the first blank portion and the second blank portion have overlapping portions, the synthesized image The other part of the data When image processing is performed and at least one of the first blank portion and the second blank portion is not detected, or the first blank portion and the second blank portion are detected, the first blank portion and Image processing means for performing image processing on the composite image data when there is no overlapping portion in the second blank portion.

請求項1の発明は合成する前に画像処理する画像処理装置であって、請求項2の発明は、合成した後に画像処理する画像処理装置であるが、いずれの発明も、空白部分については画像処理されず、空白部分以外の部分について画像処理するため、負荷が重い画像処理を行なう場合であっても、該負荷が軽減され、高速に処理できる。また、解凍データに基づいて空白部分を検出するのではなく、圧縮された第1及び第2の画像データ(以下、これらを総称して圧縮データ)に基づいて空白部分の検出を行なうため、圧縮データを解凍した解凍データ、すなわち、ビットマップ画像データに展開されたデータ、に基づいて空白部分の検出を行なうよりも、効率的に空白部分の検出を行なうことができる。   The invention according to claim 1 is an image processing apparatus that performs image processing before composition, and the invention according to claim 2 is an image processing apparatus that performs image processing after composition. Since the image processing is performed on a portion other than the blank portion without being processed, even when heavy image processing is performed, the load is reduced and processing can be performed at high speed. Further, instead of detecting the blank portion based on the decompressed data, the blank portion is detected based on the compressed first and second image data (hereinafter collectively referred to as compressed data). The blank portion can be detected more efficiently than the blank portion detected based on the decompressed data obtained by decompressing the data, that is, the data expanded into the bitmap image data.

なお、空白部分は、画像情報を有さない部分であって、例えば、階調値を示さないデータの部分とすることができる。   The blank portion is a portion having no image information, and can be, for example, a portion of data that does not indicate a gradation value.

また、解凍検出手段で行なわれる空白部分の検出は、圧縮データに基づいて行なうが、本発明は、圧縮データそのものに基づいて行なう場合と、圧縮データから生成されたデータであって、解凍データが生成される前の中間コードに基づいて行なう場合とを含むものとする。   Further, the blank portion detection performed by the decompression detection means is performed based on the compressed data. However, the present invention relates to a case where the present invention is performed based on the compressed data itself, and data generated from the compressed data. Including the case of performing based on the intermediate code before being generated.

なお、請求項3の発明のように、前記第1の画像データは、内容が固定の固定画像データであり、前記第2の画像データは、内容が可変の可変画像データであり、前記画像処理手段で画像処理された前記第1の処理画像データを保存する保存手段を更に有し、前記合成手段は、前記保存手段に保存された前記第1の処理画像データと、前記画像処理手段で生成された前記第2の処理画像データとを合成するようにしてもよい。   According to a third aspect of the present invention, the first image data is fixed image data whose content is fixed, and the second image data is variable image data whose content is variable, and the image processing Storage means for saving the first processed image data image-processed by the means, and the synthesis means generates the first processed image data stored in the storage means and the image processing means The second processed image data may be synthesized.

このような構成によれば、保存しておいた固定画像データを合成手段の合成処理に利用できるため、処理が効率化する。   According to such a configuration, since the stored fixed image data can be used for the synthesizing process of the synthesizing unit, the process becomes efficient.

また、請求項4の発明のように、前記解凍検出手段は、前記圧縮された第1の画像データが入力される複数のラインメモリが直列に接続された第1のラインメモリ部と、前記第1のラインメモリ部の複数のラインメモリの出力端の各々に接続され、接続されたラインメモリからから入力された前記圧縮された第1の画像データを解凍して第1の解凍データを生成すると共に、入力された前記圧縮された第1の画像データに基づいて前記第1の空白部分を検出する複数のデコーダからなる第1のデコード部と、前記圧縮された第2の画像データが入力される複数のラインメモリが直列に接続された第2のラインメモリ部と、前記第2のラインメモリ部の複数のラインメモリの出力端の各々に接続され、接続されたラインメモリからから入力された前記圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、入力された前記圧縮された第2の画像データに基づいて前記第2の空白部分を検出する複数のデコーダからなる第2のデコード部と、を有するように構成してもよい。   According to a fourth aspect of the present invention, the decompression detecting means includes a first line memory unit in which a plurality of line memories to which the compressed first image data is input are connected in series, and the first Connected to each of output terminals of a plurality of line memories of one line memory unit, and decompresses the compressed first image data input from the connected line memories to generate first decompressed data. A first decoding unit comprising a plurality of decoders for detecting the first blank portion based on the input compressed first image data and the compressed second image data are input. A plurality of line memories connected in series, and a plurality of line memories connected to the output terminals of the second line memory unit, and input from the connected line memories. A plurality of decoders that decompress the compressed second image data to generate second decompressed data, and that detect the second blank portion based on the input compressed second image data And a second decoding unit comprising:

画像処理を複数のライン単位で行なう場合には、画像処理手段の画像処理前に該複数のライン分の解凍データを生成しておきバッファ等に格納しておく必要がある。しかしながら、請求項4の発明のように、複数のラインメモリと複数のデコーダを設けることにより、解凍検出手段の後段にバッファメモリを設けずにリアルタイムに処理することができる。また、高解像度な画像データ、大きなサイズの画像データでも影響を受けず、高速に処理できる。   When image processing is performed in units of a plurality of lines, it is necessary to generate decompressed data for the plurality of lines and store it in a buffer or the like before image processing by the image processing means. However, by providing a plurality of line memories and a plurality of decoders as in the invention of claim 4, it is possible to perform processing in real time without providing a buffer memory after the decompression detecting means. Also, high-resolution image data and large-size image data are not affected and can be processed at high speed.

また、請求項5の発明の画像処理方法は、圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出ステップと、前記第1の空白部分が検出された場合には、前記第1の解凍データの前記第1の空白部分以外の部分を画像処理し、前記第2の空白部分が検出された場合には、前記第2の解凍データの前記第2の空白部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分が検出されない場合には、前記第1の解凍データ及び前記第2の解凍データを画像処理し、前記第1の解凍データに対応する第1の処理画像データ及び前記第2の解凍データに対応する第2の処理画像データを生成する画像処理ステップと、前記第1の処理画像データと前記第2の処理画像データとを合成する合成ステップと、を有するものである。   According to a fifth aspect of the present invention, there is provided an image processing method for decompressing the compressed first image data to generate first decompressed data, and a compressed second image different from the first image data. Decompressing data to generate second decompressed data, detecting a first blank portion of the first image data based on the compressed first image data, and compressing the second A decompression detecting step for performing at least one of detection of a second blank portion of the second image data based on the image data; and when the first blank portion is detected, the first decompressed data Image processing is performed on a portion other than the first blank portion, and when the second blank portion is detected, the portion other than the second blank portion of the second decompressed data is subjected to image processing, The first blank portion and the second blank portion are If not, the first decompressed data and the second decompressed data are subjected to image processing, and the first processed image data corresponding to the first decompressed data and the second decompressed data corresponding to the second decompressed data are processed. Image processing step for generating the second processed image data, and a combining step for combining the first processed image data and the second processed image data.

このような方法によっても、請求項1の画像処理装置と同様に作用するため、効率的に空白部分を検出して、画像処理の負荷を軽減し、高速に処理できる、という効果を奏する。   This method also operates in the same manner as the image processing apparatus according to the first aspect, so that it is possible to efficiently detect a blank portion, reduce the image processing load, and perform high-speed processing.

また、請求項6の発明の画像処理方法は、圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出ステップと、前記第1の解凍データと前記第2の解凍データとを合成して合成画像データを生成する合成ステップと、前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在する場合には、前記合成画像データの該重複部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分の少なくとも一方が検出されない場合、または前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在しない場合には、前記合成画像データを画像処理する画像処理ステップと、を有するものである。   According to a sixth aspect of the present invention, there is provided an image processing method for decompressing compressed first image data to generate first decompressed data, and a compressed second image different from the first image data. Decompressing data to generate second decompressed data, detecting a first blank portion of the first image data based on the compressed first image data, and compressing the second A decompression detecting step for detecting at least one of the second blank portions of the second image data based on the image data, and the composite image data by combining the first decompressed data and the second decompressed data. And the first blank portion and the second blank portion are detected, and if there is an overlapping portion in the first blank portion and the second blank portion, the synthesized image Other than the overlapping part of the data When the portion is image-processed and at least one of the first blank portion and the second blank portion is not detected, or the first blank portion and the second blank portion are detected, and the first blank portion is detected. An image processing step of performing image processing on the composite image data when there is no overlapping portion between the portion and the second blank portion.

このような方法によっても、請求項2の画像処理装置と同様に作用するため、効率的に空白部分を検出して、画像処理の負荷を軽減し、高速に処理できる、という効果を奏する。   This method also operates in the same manner as the image processing apparatus according to the second aspect, so that it is possible to efficiently detect a blank portion, reduce the image processing load, and perform high-speed processing.

以上説明したように本発明は、高速に画像処理を行なうことができる、という優れた効果を有する。   As described above, the present invention has an excellent effect that image processing can be performed at high speed.

以下、図面を参照して本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施の形態]
図1は、本発明の一実施形態に係る画像処理装置10の構成例を示す図である。この画像処理装置10は、画像データの一部を差替えることより、内容が一部分異なる画像データを印刷出力する、所謂バリアブル印刷のための画像データを生成する装置であって、複数の印刷物にわたり共通の内容となる固定部分の画像(マスタ画像)の画像データと、各印刷物毎に異なる内容となりうる可変部分の画像(バリアブル画像)の画像データとを合成した合成画像データを生成する。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus 10 according to an embodiment of the present invention. This image processing apparatus 10 generates image data for so-called variable printing, which prints out image data with partially different contents by replacing a part of the image data, and is common to a plurality of printed materials. Image data of the fixed portion image (master image) that is the content of the image and the image data of the variable portion image (variable image) that can be different content for each printed matter.

本実施の形態では、マスタ画像の画像データが、8ビット(256階調)で階調表現された画像データの場合、その内の1つ(例えば0〜255の内の0)を透過コードとして割り当て、合成時には、マスタ画像の画像データが透過コードの場合には、バリアブル画像の画像データを選択して合成するようにしている。このように、透過コードに割り当てられたデータの部分は、階調値(すなわち画像情報)を有さない空白部分である。本実施の形態では、透過コードを0として0データに相当する部分を空白部分(以下、ブランク部分)として処理している。   In the present embodiment, when the image data of the master image is image data expressed by gradation with 8 bits (256 gradations), one of them (for example, 0 of 0 to 255) is used as the transmission code. At the time of assignment and synthesis, if the image data of the master image is a transparent code, the image data of the variable image is selected and synthesized. Thus, the data portion assigned to the transparent code is a blank portion that does not have a gradation value (that is, image information). In the present embodiment, a transparent code is set to 0, and a portion corresponding to 0 data is processed as a blank portion (hereinafter referred to as a blank portion).

同図に示すように、この画像処理装置10は、圧縮データを解凍(デコード)すると共に、ブランク部分を検出するデコーダ部12A、12Bと、デコーダ部12A、12Bで解凍された解凍データに画像処理を施す画像処理部20A、20Bと、デコーダ部12A、12Bで検出されたブランク部分の画像データが画像処理部20で処理されないようにスキップ処理するブランクスキップ部18A、18Bと、画像処理部20A、20Bで画像処理された画像データを合成(マージ)処理するマージ部22とを備えている。   As shown in the figure, the image processing apparatus 10 decompresses (decodes) the compressed data and performs image processing on the decompressed data decompressed by the decoder units 12A and 12B for detecting blank portions and the decoder units 12A and 12B. The image processing units 20A and 20B, the blank skip units 18A and 18B for performing the skip processing so that the image data of the blank portion detected by the decoder units 12A and 12B is not processed by the image processing unit 20, and the image processing unit 20A. And a merge unit 22 that synthesizes (merges) the image data that has been subjected to image processing in 20B.

デコーダ部12A、ブランクスキップ部18A、及び画像処理部20Aは、マスタ画像の画像データ(以下、マスタ画像データ)を処理するための系であり、デコーダ部12B、ブランクスキップ部18B、及び画像処理部20Bは、バリアブル画像の画像データ(以下、バリアブル画像データ)を処理するための系である。   The decoder unit 12A, the blank skip unit 18A, and the image processing unit 20A are systems for processing image data of a master image (hereinafter referred to as master image data), and include a decoder unit 12B, a blank skip unit 18B, and an image processing unit. Reference numeral 20B denotes a system for processing image data of a variable image (hereinafter referred to as variable image data).

なお、本実施の形態では、デコーダ部12Aおよびデコーダ部12Bは同一構成であるため、以下では、各デコーダ部を特に区別しないで説明する場合は、符号末尾の添字を省略し、デコーダ部12と称する。また、ブランクスキップ部18A、およびブランクスキップ部18Bも同一構成であり、画像処理部20Aおよび画像処理部20Bも同一構成であるため、以下、これらを特に区別しないで説明する場合は、符号末尾の添字を省略し、ブランクスキップ部18、画像処理部20と称する。   In the present embodiment, since the decoder unit 12A and the decoder unit 12B have the same configuration, in the following description, the suffix at the end of the code is omitted and the decoder unit 12 and Called. The blank skip unit 18A and the blank skip unit 18B have the same configuration, and the image processing unit 20A and the image processing unit 20B have the same configuration. Subscripts are omitted, and are referred to as a blank skip unit 18 and an image processing unit 20.

また、以下では、圧縮されたマスタ画像データと、圧縮されたバリアブル画像データとを区別せず説明する場合には圧縮データと呼称し、解凍されたマスタ画像データと、解凍されたバリアブル画像データとを区別せず説明する場合には解凍データと呼称する。   In the following description, the compressed master image data and the compressed variable image data will be referred to as compressed data when they are described without being distinguished, and the decompressed master image data, the decompressed variable image data, and Is referred to as decompressed data.

デコーダ部12は、第1デコーダ14及び第2デコーダ16を有する。第1デコーダ14は、ランレングス形式で圧縮された圧縮データを解凍するデコーダであり、第2デコーダ16は、JPEG形式で圧縮された圧縮データを解凍するデコーダである。   The decoder unit 12 includes a first decoder 14 and a second decoder 16. The first decoder 14 is a decoder for decompressing compressed data compressed in the run length format, and the second decoder 16 is a decoder for decompressing compressed data compressed in the JPEG format.

通常、文字や線画などのLine Work画像(LW画像)の画像データは、ランレングス形式等の可逆方式で圧縮され、写真のような連続階調のCone Tone画像(CT画像)はJPEG形式等の非可逆方式で圧縮されることが多い。従って、本実施の形態においても、こういった各圧縮方式に対応可能なように、デコーダ部12を第1デコーダ14及び第2デコーダ16の2種類のデコーダで構成した。なお、解凍するデータの圧縮形式が常に1種類である場合には、いずれか一方のデコーダのみで構成すればよい。   Normally, image data of Line Work images (LW images) such as characters and line drawings is compressed by a reversible method such as a run length format, and a continuous tone Cone Tone image (CT image) such as a photograph is compressed in JPEG format or the like Often compressed in a lossy manner. Therefore, also in this embodiment, the decoder unit 12 is composed of two types of decoders, the first decoder 14 and the second decoder 16, so as to be compatible with each of these compression methods. If there is always one type of compression format for the data to be decompressed, only one of the decoders may be configured.

図2(A)は、第1デコーダ14の構成例を示す図である。第1デコーダ14は、ブランク判定部30、RUN値レジスタ32、カウンタ34、データ出力レジスタ36、データセレクタ38、及び不図示の演算回路を備えている。ここでは、データの流れが判別しやすいように演算回路を図示を省略した。   FIG. 2A is a diagram illustrating a configuration example of the first decoder 14. The first decoder 14 includes a blank determination unit 30, a RUN value register 32, a counter 34, a data output register 36, a data selector 38, and an arithmetic circuit (not shown). Here, the arithmetic circuit is not shown so that the data flow can be easily identified.

ブランク判定部30は、ランレングス形式で圧縮された圧縮データが格納された画像メモリから該圧縮データを順次読み出し、該圧縮データがブランク部分のデータか否かを判定する。ランレングス形式の圧縮データは、データそのものの値を示すデータ値、および該データ値が連続する数を示すRUN値のセットが配列されて構成される。ブランク判定部30は、圧縮データのデータ値がブランク部分を示す特定の値であるか否かを判定することで、該データ値とRUN値からなるデータがブランク部分の圧縮データであるか否かを判定する。   The blank determination unit 30 sequentially reads out the compressed data from the image memory in which the compressed data compressed in the run length format is stored, and determines whether the compressed data is blank portion data. The run-length format compressed data is configured by arranging a set of a data value indicating the value of the data itself and a RUN value indicating the number of consecutive data values. The blank determination unit 30 determines whether or not the data value of the compressed data is a specific value indicating the blank portion, and thereby whether or not the data including the data value and the RUN value is the compressed data of the blank portion. Determine.

例えば、圧縮する前の元の画像データが1画素につき8ビット(256)階調を有する画像データであり、且つブランク部分がx'00'(16進表示)で表される画像データである場合には、ブランク判定部30は、取り出したデータ値が、x'00'であれば、該圧縮データがブランク部分の圧縮データであると判定し、x'00'以外の値であれば、ブランク部分以外の圧縮データであると判定することができる。   For example, when the original image data before compression is image data having 8 bits (256) gradation per pixel, and the blank portion is image data represented by x'00 '(hexadecimal display) For example, if the extracted data value is x'00 ', the blank determination unit 30 determines that the compressed data is the compressed data of the blank part, and if the extracted data value is a value other than x'00', the blank determination unit 30 It can be determined that the compressed data is other than the portion.

このように、ブランク判定部30は、読み出したデータ値がブランク部分を示す特定の値であると判定した場合には、ブランク部分であることを示すブランクコード「1」を、該データ値に対応するRUN値と共にデータセレクタ38に出力する。   As described above, when the blank determination unit 30 determines that the read data value is a specific value indicating the blank part, the blank code “1” indicating the blank part corresponds to the data value. Together with the RUN value to be output to the data selector 38.

一方、ブランク判定部30は、読み出したデータ値がブランク部分を示す特定の値ではないと判定した場合には、ブランク部分でないことを示すブランクコード「0」を、該データ値に対応するRUN値と共にデータセレクタ38に出力する。また、該データ値をデータ出力レジスタ36にセットすると共に、該RUN値をRUN値レジスタ32にセットする。   On the other hand, if the blank determination unit 30 determines that the read data value is not a specific value indicating a blank portion, the blank code “0” indicating that the data value is not a blank portion is displayed as a RUN value corresponding to the data value. At the same time, it is output to the data selector 38. Further, the data value is set in the data output register 36 and the RUN value is set in the RUN value register 32.

カウンタ34は、セットされたRUN値を所定のクロックに同期して1ずつカウントダウンする。   The counter 34 counts down the set RUN value by one in synchronization with a predetermined clock.

不図示の演算回路は、上記所定のクロックに同期して、データ出力レジスタ36にセットされたデータ値をデータセレクタ38に入力する。このデータ値の入力は、カウンタ34が0になるまで継続される。これにより、圧縮データが展開(解凍)される。   An arithmetic circuit (not shown) inputs the data value set in the data output register 36 to the data selector 38 in synchronization with the predetermined clock. The input of this data value is continued until the counter 34 becomes zero. Thereby, the compressed data is expanded (decompressed).

カウンタ34は、セットされたRUN値を減算して0になったときに、LOAD指令を出力する。不図示の演算回路はこのLOAD指令を受け、RUN値レジスタ32にセットされている次のRUN値を読み出してカウンタ34にセットする。また、不図示の演算回路は、データ出力レジスタ36に対する読み出しアドレスをシフトし、データ出力レジスタ36に格納された次のデータ値を読みだして、上記所定のクロックに同期してデータセレクタ38に入力する。   The counter 34 outputs a LOAD command when the set RUN value is subtracted to 0. An arithmetic circuit (not shown) receives this LOAD command, reads the next RUN value set in the RUN value register 32 and sets it in the counter 34. An arithmetic circuit (not shown) shifts the read address for the data output register 36, reads the next data value stored in the data output register 36, and inputs it to the data selector 38 in synchronization with the predetermined clock. To do.

データセレクタ38には、データ出力レジスタ36からデータ値が入力されると共に、ブランク判定部30からはブランクコード及びRUN値が入力される。データセレクタ38は、ブランク判定部30からブランクコード「0」が入力されたときには、データ出力レジスタ36から入力されたデータ値を出力データとして選択し、ブランクコード「0」と共に不図示のバッファメモリに格納すると共に後段のブランクスキップ部18に出力する。また、データセレクタ38は、ブランク判定部30からブランクコード「1」が入力されたときには、ブランク判定部30から該ブランクコード「1」と共に入力されたRUN値を出力データとして選択し、ブランクコード「1」と共に不図示のバッファメモリに格納すると共に後段のブランクスキップ部18に出力する。   A data value is input from the data output register 36 to the data selector 38, and a blank code and a RUN value are input from the blank determination unit 30. When a blank code “0” is input from the blank determination unit 30, the data selector 38 selects the data value input from the data output register 36 as output data, and stores it in a buffer memory (not shown) together with the blank code “0”. While storing, it outputs to the blank skip part 18 of a back | latter stage. Further, when the blank code “1” is input from the blank determination unit 30, the data selector 38 selects the RUN value input together with the blank code “1” from the blank determination unit 30 as output data, and the blank code “ 1 "is stored in a buffer memory (not shown) and output to the blank skip unit 18 in the subsequent stage.

すなわち、図2(B)に示すように、解凍データとして、ブランク部分以外のデータ部分については、ブランクコード「0」とデータ値との組み合わせが該データ値のRUN値分だけ連続して出力され、ブランク部分のデータ部分については、ブランクコード「1」とRUN値との組み合わせが出力される。図2(B)に示す例では、画像データに30ピクセル(画素)分のブランク部分が存在していることがわかる。このように、データセレクタ38から出力される解凍データには、解凍されないままのブランク部分のRUN値も含まれるが、この部分は後段のブランクスキップ部18で展開されるため、マージ部22では問題なく処理される。   That is, as shown in FIG. 2B, as decompressed data, for the data portion other than the blank portion, a combination of the blank code “0” and the data value is continuously output by the RUN value of the data value. For the data portion of the blank portion, a combination of the blank code “1” and the RUN value is output. In the example shown in FIG. 2B, it can be seen that there are blank portions of 30 pixels (pixels) in the image data. As described above, the decompressed data output from the data selector 38 also includes the RUN value of the blank part that has not been decompressed. However, since this part is expanded by the blank skip unit 18 at the subsequent stage, the merge unit 22 has a problem. It is processed without.

なお、本実施の形態では、画像処理部20で行なわれる画像処理を、複数ライン単位で行なわれる画像処理とし、解凍データが格納されるバッファメモリは、該画像処理部20の画像処理単位分だけのデータを格納可能な容量を備えたラインバッファメモリとする。   In the present embodiment, the image processing performed in the image processing unit 20 is image processing performed in units of a plurality of lines, and the buffer memory in which decompressed data is stored corresponds to the image processing unit of the image processing unit 20. The line buffer memory has a capacity capable of storing the data.

次に、第2デコーダ16の構成について説明する。図3は、第2デコーダ16の構成例を示す図である。第2デコーダ16は、JPEGデータ解析部40、ハフマン復号部50、逆量子化部60、及び逆DCT(Discret Cosine Transform;離散コサイン変換)変換部62を備えている。更に、第2デコーダ16は、ハフマン復号部50で用いられるハフマンテーブル42、逆量子化部60で用いられる量子化テーブル(Qテーブル)44、および逆DCT変換部62で用いられる余弦(COS)テーブル46を展開するメモリを備えているが、図3ではメモリの図示は省略し、該メモリに展開される各テーブルを図示した。   Next, the configuration of the second decoder 16 will be described. FIG. 3 is a diagram illustrating a configuration example of the second decoder 16. The second decoder 16 includes a JPEG data analysis unit 40, a Huffman decoding unit 50, an inverse quantization unit 60, and an inverse DCT (Discret Cosine Transform) conversion unit 62. Further, the second decoder 16 includes a Huffman table 42 used in the Huffman decoding unit 50, a quantization table (Q table) 44 used in the inverse quantization unit 60, and a cosine (COS) table used in the inverse DCT conversion unit 62. Although a memory for developing 46 is provided, the illustration of the memory is omitted in FIG. 3, and each table developed in the memory is shown.

JPEGデータ解析部40は、JPEG形式の圧縮データを解析して、該圧縮データから復号処理に必要なハフマンテーブル42、Qテーブル44、及びCOSテーブル46を取り出してメモリ上に展開する。なお、これらテーブルはJPEG圧縮時に生成されるテーブルであり、技術的には周知であるため、ここでのこれ以上の説明は省略する。   The JPEG data analysis unit 40 analyzes the compressed data in the JPEG format, extracts the Huffman table 42, the Q table 44, and the COS table 46 necessary for the decoding process from the compressed data, and expands them on the memory. Note that these tables are tables generated at the time of JPEG compression, and are well known in the art, so further explanation here is omitted.

ハフマン復号部50は、圧縮データに含まれるハフマン符号化されているコードをハフマンテーブル42を用いて復号化する。逆量子化部60は、Qテーブル44を用いて、ハフマン復号部50で復号された画像データに逆量子化処理を施す。逆DCT変換部62には、COSテーブル46を用いて、逆量子化部60で逆量子化処理された画像データに逆DCT変換を施す。ハフマン復号部50、逆量子化部60、及び逆DCT変換部62での処理により圧縮データが解凍された解凍データが生成される。   The Huffman decoding unit 50 decodes the Huffman encoded code included in the compressed data using the Huffman table 42. The inverse quantization unit 60 uses the Q table 44 to perform an inverse quantization process on the image data decoded by the Huffman decoding unit 50. The inverse DCT transform unit 62 performs inverse DCT transform on the image data subjected to the inverse quantization process by the inverse quantization unit 60 using the COS table 46. The decompressed data obtained by decompressing the compressed data is generated by the processes in the Huffman decoding unit 50, the inverse quantization unit 60, and the inverse DCT transform unit 62.

次に、ハフマン復号部50の構成について更に詳細に説明する。図4は、ハフマン復号部50の構成例を示す図である。   Next, the configuration of the Huffman decoding unit 50 will be described in more detail. FIG. 4 is a diagram illustrating a configuration example of the Huffman decoding unit 50.

ハフマン復号部50は、データ切り出し部51、ハフマンコード判定部52、ランレングス・データ復号部53、FIFO(First-In First-Out)メモリ54(以下、単にFIFO54)、ブランク判定部56、データ生成部55、及びDC成分保存部57を備えている。   The Huffman decoding unit 50 includes a data cutout unit 51, a Huffman code determination unit 52, a run-length data decoding unit 53, a first-in first-out (FIFO) memory 54 (hereinafter simply referred to as FIFO 54), a blank determination unit 56, and data generation. Unit 55 and a DC component storage unit 57.

データ切り出し部51は、JPEG形式で圧縮された圧縮データが格納されたメモリから圧縮データの一部を切り出してハフマンコード判定部52に出力する。   The data cutout unit 51 cuts out a part of the compressed data from the memory storing the compressed data compressed in the JPEG format and outputs the cutout data to the Huffman code determination unit 52.

ここで、JPEG圧縮データは、例えば8画素×8画素の1ブロックを1つの圧縮単位として圧縮したデータであって、1つのブロックの圧縮データはDC成分データ及びDC成分の後ろに付加されたAC成分データで構成される。DC成分データは、1つ前のブロックのDC成分との差分を示すデータ値のビットサイズを示すデータをハフマン符号化したコードと、該差分を示すデータ値そのものと、からなる。またAC成分データは、値が0以外のデータ値のビットサイズを示すデータ及び連続する“0”の数を示すRUN値を示すデータを2次元ハフマン符号化したコードと、該値が0以外のデータ値そのものと、からなる。   Here, the JPEG compressed data is data obtained by compressing, for example, one block of 8 pixels × 8 pixels as one compression unit, and the compressed data of one block is the DC component data and the AC component added after the DC component. Consists of component data. The DC component data includes a code obtained by Huffman-coding data indicating the bit size of the data value indicating the difference from the DC component of the previous block, and the data value indicating the difference itself. The AC component data includes a code obtained by two-dimensional Huffman coding of data indicating a bit size of a data value other than 0 and data indicating a RUN value indicating the number of consecutive “0”, and the value is other than 0. Data value itself.

ハフマンコード判定部52は、ハフマンテーブル42に基づいて、まず、ハフマン符号化されたコード部分を復号する。これにより、DC成分データの場合にはビットサイズが、AC成分データの場合にはビットサイズとRUN値とが復号される。このうち、ビットサイズが切り出しサイズとして、データ切り出し部51に出力される。データ切り出し部51は、該入力されたサイズに基づいて、DC成分データのデータ値またはAC成分データのデータ値を示すデータ部分を切り出す。切り出したデータ値を示すデータ部分は、ランレングス・データ復号部53に入力される。   Based on the Huffman table 42, the Huffman code determination unit 52 first decodes the code portion that has been Huffman encoded. Thereby, the bit size is decoded in the case of DC component data, and the bit size and the RUN value are decoded in the case of AC component data. Among these, the bit size is output to the data cutout unit 51 as the cutout size. The data cutout unit 51 cuts out a data portion indicating the data value of the DC component data or the data value of the AC component data based on the input size. The data portion indicating the cut data value is input to the run-length data decoding unit 53.

ランレングス・データ復号部53には、ハフマンコード判定部52の復号結果と、データ切り出し部51で切り出されたデータ値とが入力される。ランレングス・データ復号部53は、DC成分データの差分を示すデータ値が入力された場合には、該データ値をそのままFIFO54に入力する。またAC成分データのデータ値が入力された場合には、該データ値と該データ値に対応するRUN値を1組のデータとしてFIFO54に入力する。   The run-length data decoding unit 53 receives the decoding result of the Huffman code determination unit 52 and the data value cut out by the data cut-out unit 51. When a data value indicating a difference between DC component data is input, the run-length data decoding unit 53 inputs the data value to the FIFO 54 as it is. When the data value of AC component data is input, the data value and the RUN value corresponding to the data value are input to the FIFO 54 as a set of data.

FIFO54からは、その入力順にデータが読み出されて、該読み出されたデータは、データ生成部55及びブランク判定部56に入力される。   Data is read from the FIFO 54 in the order of input, and the read data is input to the data generation unit 55 and the blank determination unit 56.

データ生成部55は、DC成分保存部57から1つ前のブロックのDC成分値を読み出し、FIFO54から入力されたDC成分の差分を示すデータ値を、該読みだしたDC成分値に加算して、当該ブロックのDC成分値を求める。これをDC成分保存部57に上書きで格納する。更に、データ生成部55は、AC成分のデータ値とRUN値から、AC成分部分全体を展開したデータを生成し、生成したDC成分値および展開済AC成分値からなるデータ(以下、ハフマン復号処理済データと呼称)を後段の逆量子化部60に出力する。   The data generation unit 55 reads the DC component value of the previous block from the DC component storage unit 57, and adds the data value indicating the difference between the DC components input from the FIFO 54 to the read DC component value. Then, the DC component value of the block is obtained. This is stored in the DC component storage unit 57 by overwriting. Further, the data generation unit 55 generates data that expands the entire AC component part from the data value and the RUN value of the AC component, and data (hereinafter referred to as Huffman decoding process) including the generated DC component value and expanded AC component value (Referred to as completed data) is output to the inverse quantization unit 60 in the subsequent stage.

ブランク判定部56は、DC成分保存部57に保存されたDC成分値と、DC成分の差分を示すデータ値の直後にFIFO54から入力されたAC成分のデータ値と、に基づいて、当該処理中の圧縮データのブロック部分がブランク部分であるか否かを判定する。   The blank determination unit 56 performs the processing based on the DC component value stored in the DC component storage unit 57 and the data value of the AC component input from the FIFO 54 immediately after the data value indicating the difference between the DC components. It is determined whether or not the block portion of the compressed data is a blank portion.

ブランク判定部56は、上記DC成分値が0の場合であって、上記AC成分のデータ値がEOBコード(ブロックの最後まで0が連続する場合に用いられるコード)の場合には、当該ブロックはブランク部分であると判断して、当該ブロックがブランク部分であることを示すブランクコード「1」をブランクスキップ部18に出力する。なお、ここで出力されるブランクコード内にそのサイズを示すデータを含めることは不要である。圧縮単位であるブロックサイズは一定であるためである。一方、上記読みだしたDC成分値が0でない場合、或いは上記抽出したAC成分のデータ値がEOBコードでない場合には、当該ブロックがブランク部分でないことを示すブランクコード「0」をブランクスキップ部18に出力する。   When the DC component value is 0 and the data value of the AC component is an EOB code (a code used when 0 continues to the end of the block), the blank determination unit 56 A blank code “1” indicating that the block is a blank portion is output to the blank skip unit 18 by determining that the block is a blank portion. It is unnecessary to include data indicating the size in the blank code output here. This is because the block size, which is a compression unit, is constant. On the other hand, if the read DC component value is not 0, or if the data value of the extracted AC component is not an EOB code, a blank code “0” indicating that the block is not a blank portion is blank skip unit 18. Output to.

すなわち、第2デコーダ16では、圧縮データに基づいて生成された中間コード(DC成分値、AC成分値)に基づいてブランク判定を行なっている。   That is, the second decoder 16 performs blank determination based on the intermediate code (DC component value, AC component value) generated based on the compressed data.

逆量子化部60はハフマン復号部50から入力されたハフマン復号処理済データに対して各ブロック毎に逆量子化処理を行い、その後に逆DCT変換部62が逆DCT変換処理を行なってJPEG圧縮データを解凍した解凍データを生成する。解凍データは、不図示のバッファメモリに順次格納される。   The inverse quantization unit 60 performs inverse quantization processing for each block on the Huffman decoded data input from the Huffman decoding unit 50, and then the inverse DCT conversion unit 62 performs inverse DCT conversion processing to perform JPEG compression. Generate decompressed data by decompressing the data. The decompressed data is sequentially stored in a buffer memory (not shown).

なお、ここでは、ハフマン復号処理済データをブランク部分か否かに拘わらず全て逆量子化部60及び逆DCT変換部62で処理する例について説明したが、ブランク部分のハフマン復号処理済データについては、逆量子化部60及び逆DCT変換部62で処理せずにバッファメモリに格納するようにしてもよい。いずれの場合でも、当該ブロックは0データが展開されたデータとなるため、結果は同じである。   In addition, although the example which processes all the Huffman decoding processed data by the inverse quantization part 60 and the inverse DCT transformation part 62 irrespective of whether it is a blank part was demonstrated here, about the Huffman decoding processed data of a blank part, Alternatively, the data may be stored in the buffer memory without being processed by the inverse quantization unit 60 and the inverse DCT conversion unit 62. In any case, the result is the same because the block is data in which 0 data is expanded.

以上説明したように、第1デコーダ14及び第2デコーダ16では、各々対応する圧縮方式に応じたデコード処理が施され、デコード処理の途中でブランク部分が判定される。   As described above, each of the first decoder 14 and the second decoder 16 performs a decoding process corresponding to the corresponding compression method, and determines a blank portion during the decoding process.

次に、ブランクスキップ部18及び画像処理部20の動作について説明する。   Next, operations of the blank skip unit 18 and the image processing unit 20 will be described.

ブランクスキップ部18には、前述したように、第1デコーダ14からは解凍データ全体が入力され、第2デコーダ16からはブランクコードが入力される。ブランクスキップ部18は、入力されたデータに基づいて、画像処理部20でブランク部分がスキップされ、ブランク部分以外の解凍データのみに画像処理が施されるように制御する(スキップ処理)。   As described above, the entire decompressed data is input from the first decoder 14 and the blank code is input from the second decoder 16 to the blank skip unit 18. Based on the input data, the blank skip unit 18 controls the image processing unit 20 to skip the blank portion and perform image processing only on the decompressed data other than the blank portion (skip processing).

本実施の形態では、ブランクスキップ部18は、読込アドレスカウンタを制御することで、ブランク部分がスキップされるようにする。読込アドレスカウンタは、解凍データが格納されたバッファメモリのアドレスを指定するものであり、この読込アドレスカウンタで指定されたアドレスに書込まれているデータが読み出され画像処理部20に転送される。読込アドレスカウンタは、所定のクロック信号に同期してカウントアップして次のアドレスを指定する。   In the present embodiment, the blank skip unit 18 controls the read address counter so that the blank portion is skipped. The read address counter designates the address of the buffer memory where the decompressed data is stored, and the data written at the address designated by the read address counter is read and transferred to the image processing unit 20. . The read address counter counts up in synchronization with a predetermined clock signal and designates the next address.

ブランクスキップ部18に、第1デコーダ14からブランクコード「0」が入力された場合には、読込アドレスカウンタのカウントアップをそのまま継続させる。   When the blank code “0” is input from the first decoder 14 to the blank skip unit 18, the count up of the read address counter is continued as it is.

また、ブランクスキップ部18は、第1デコーダ14からブランクコード「1」が入力された場合には、ブランク部分のデータを展開してマージ部22に出力する。具体的には、該ブランクコード「1」と共に入力されたRUN値だけ連続した0データを出力する。更に、ブランクスキップ部18は、読込アドレスカウンタに制御信号を出力し、ブランク部分のデータをとばして、次の(ブランク部分以外の)解凍データが画像処理部20に転送されるように、カウンタを進める。これにより、画像処理部20では、ブランク部分の画像処理がスキップされ、ブランク部分以外の解凍データに対して画像処理が行なわれる。   Further, when the blank code “1” is input from the first decoder 14, the blank skip unit 18 expands the data of the blank part and outputs it to the merge unit 22. Specifically, 0 data continuous for the RUN value input together with the blank code “1” is output. Further, the blank skip unit 18 outputs a control signal to the read address counter, skips the blank portion data, and sets the counter so that the next decompressed data (other than the blank portion) is transferred to the image processing unit 20. Proceed. Thereby, in the image processing unit 20, the image processing of the blank portion is skipped, and the image processing is performed on the decompressed data other than the blank portion.

また、ブランクスキップ部18が第2デコーダ16から出力されたブランクコードに基づいてスキップ制御する場合も、上記同様に行なう。すなわち、第2デコーダ16からブランクコード「0」が入力された場合には、読込アドレスカウンタのカウントアップをそのまま継続させる。また、第2デコーダ16からブランクコード「1」が入力された場合には、1ブロック分の0データをマージ部22に出力する。更に、ブランクスキップ部18は、読込アドレスカウンタに制御信号を出力し、ブランク部分の解凍データをとばして、次の(ブランク部分以外の)解凍データが画像処理部20に転送されるように、カウンタを進める。これにより、画像処理部20では、ブランク部分の画像処理がスキップされ、ブランク部分以外の解凍データに対して画像処理が行なわれる。   Further, when the blank skip unit 18 performs the skip control based on the blank code output from the second decoder 16, the same operation as described above is performed. That is, when the blank code “0” is input from the second decoder 16, the count up of the read address counter is continued as it is. When a blank code “1” is input from the second decoder 16, 0 data for one block is output to the merge unit 22. Further, the blank skip unit 18 outputs a control signal to the read address counter, skips the decompressed data of the blank part, and transfers the next decompressed data (other than the blank part) to the image processing unit 20. To proceed. Thereby, in the image processing unit 20, the image processing of the blank portion is skipped, and the image processing is performed on the decompressed data other than the blank portion.

画像処理部20には、読込アドレスカウンタが指定するアドレスに従って、バッファメモリから解凍データが読み出され転送される。画像処理部20は、転送された解凍データに画像処理を施す。画像処理部20で行なわれる画像処理の内容は特に限定されないが、例えば、誤差拡散処理やディザ処理等の低階調化処理であってもよいし、インクジェットプリンタで用いられる画像データを生成する場合には、プリントヘッドに不良ノズルが存在する場合に行なわれる補間処理やムラ補正等であってもよい。   The decompressed data is read from the buffer memory and transferred to the image processing unit 20 in accordance with the address specified by the read address counter. The image processing unit 20 performs image processing on the transferred decompressed data. The content of the image processing performed by the image processing unit 20 is not particularly limited. For example, it may be gradation reduction processing such as error diffusion processing or dither processing, or image data used in an inkjet printer is generated. Alternatively, interpolation processing or unevenness correction performed when a defective nozzle exists in the print head may be used.

なお、マスタ画像データにブランク部分が無い場合には、スキップ処理は行なわれず、全ての解凍データについて画像処理が行なわれる。バリアブル画像データについても同様である。   If there is no blank portion in the master image data, skip processing is not performed and image processing is performed on all decompressed data. The same applies to variable image data.

マージ部22は、画像処理部20A、20Bでブランク部分以外の部分について画像処理された後のマスタ画像データとバリアブル画像データとを合成する。   The merging unit 22 synthesizes the master image data and the variable image data after the image processing is performed on the portions other than the blank portion by the image processing units 20A and 20B.

図5に、マージ部22の構成を示す。同図に示すように、マージ部22は、合成部24、および変換部26を備えている。ここで、合成部24および変換部26で行なわれる処理について図6を参照しながら説明する。   FIG. 5 shows the configuration of the merge unit 22. As shown in the figure, the merging unit 22 includes a combining unit 24 and a converting unit 26. Here, processing performed in the synthesis unit 24 and the conversion unit 26 will be described with reference to FIG.

合成部24は、マスタ画像データと、バリアブル画像データとを予め定められたマージルールに従って合成する。ここでは、8ビット階調の中の特定のデータ(ここでは「0」)を透過コードとして扱い、マスタ画像データが0の画素については、バリアブル画像データを選択し、マスタ画像データが0以外の画素については、マスタ画像データを選択する、というマージルールに従って合成する。このマージルールに従って、図6(A)に示すマスタ画像データと、図6の(B)に示すバリアブル画像データとを合成すると、図6の(C)に示す合成データが得られる。   The combining unit 24 combines the master image data and the variable image data according to a predetermined merge rule. Here, specific data in the 8-bit gradation (here, “0”) is treated as a transmission code, and for the pixel whose master image data is 0, variable image data is selected and the master image data is other than 0. Pixels are synthesized according to a merge rule of selecting master image data. When the master image data shown in FIG. 6A and the variable image data shown in FIG. 6B are combined according to the merge rule, composite data shown in FIG. 6C is obtained.

次に、変換部26は、合成データに含まれる1を0に変換する処理を行なう。これにより、図6の(D)に示すような変換済の合成データが得られる。上記の如く、合成部24では「0」を透過コードとして用いるため、後段の変換部26で、「1」を「0」に変換する処理を行なって、階調調整する。   Next, the conversion unit 26 performs processing for converting 1 included in the composite data into 0. Thereby, converted composite data as shown in FIG. 6D is obtained. As described above, since “0” is used as the transparent code in the synthesizing unit 24, the conversion unit 26 in the subsequent stage performs a process of converting “1” to “0” to adjust the gradation.

なお、マージルールは上記に限定されず、例えば、バリアブル画像データが0の画素については、マスタ画像データを選択し、バリアブル画像データが0以外の画素については、バリアブル画像データを選択する、というマージルールであってもよい。   The merge rule is not limited to the above. For example, the master image data is selected for pixels whose variable image data is 0, and the variable image data is selected for pixels whose variable image data is other than 0. It may be a rule.

マージ部22で合成された合成データは、例えば、画像処理装置10の後段に設けられた印刷処理部などで出力される。   The synthesized data synthesized by the merging unit 22 is output, for example, by a print processing unit provided at the subsequent stage of the image processing apparatus 10.

以上説明したように、本実施の形態の画像処理装置10は、デコーダ部12で圧縮データを解凍した解凍データを生成すると共に、圧縮データに基づいてブランク部分を検出し、ブランクスキップ部18により該ブランク部分以外の部分のみが画像処理部20で処理されるようにしたため、画像処理部20にかかる負荷が軽減され、高速処理が実現する。   As described above, the image processing apparatus 10 according to the present embodiment generates decompressed data obtained by decompressing the compressed data by the decoder unit 12, detects a blank portion based on the compressed data, and the blank skip unit 18 performs the processing. Since only the part other than the blank part is processed by the image processing unit 20, the load on the image processing unit 20 is reduced, and high-speed processing is realized.

また、第1デコーダ14は圧縮データに基づいてブランク判定を行ない、第2デコーダ16では圧縮データに基づいて生成された(解凍データ生成前の)中間コードに基づいてブランク判定を行なっているため、圧縮データが解凍されてビットマップ画像データに展開された解凍データに基づいてブランク判定を行なうよりも、効率的にブランク判定を行なうことができる。   The first decoder 14 performs blank determination based on the compressed data, and the second decoder 16 performs blank determination based on the intermediate code generated before the decompressed data (before the decompressed data is generated). The blank determination can be performed more efficiently than the blank determination based on the decompressed data that has been decompressed and expanded into bitmap image data.

なお、本実施の形態では、デコーダ部12で生成された解凍データ等を一端バッファメモリに格納して画像処理部20に転送する例について説明したが、画像処理部20で行なわれる画像処理が、複数ライン単位で行なわれる画像処理ではなく、1ライン毎に順次行なう画像処理である場合には、バッファメモリを介さず直接転送されるようにしてもよい。ただし、この場合であっても、ブランクスキップ部18でブランク部分がスキップされるように制御する必要がある。具体的には、デコーダ部12から入力された解凍データのうちブランク部分のデータについては、0を展開してマージ部22に出力し、ブランク部分以外のデータのみ画像処理部20に入力するようにする。   In the present embodiment, the example in which the decompressed data generated by the decoder unit 12 is stored in the buffer memory and transferred to the image processing unit 20 has been described. However, the image processing performed by the image processing unit 20 is as follows. When the image processing is performed sequentially for each line instead of the image processing performed in units of a plurality of lines, it may be directly transferred without using the buffer memory. However, even in this case, it is necessary to perform control so that the blank skip portion 18 skips the blank portion. Specifically, among the decompressed data input from the decoder unit 12, the blank portion data is expanded to 0 and output to the merge unit 22, and only the data other than the blank portion is input to the image processing unit 20. To do.

また、本実施の形態では、マスタ画像データを処理するための系、及びバリアブル画像を処理するための系の双方に、ブランク部分を検出して、該部分が画像処理されないようにスキップ処理する機能を設けたが、これに限定されず、いずれか一方の系にのみ該機能を設け、他方の系は、ブランク判定はせずにそのまま解凍して解凍データを生成し、該解凍データの全てに画像処理を施すように構成してもよい。   In the present embodiment, a blank part is detected in both the system for processing the master image data and the system for processing the variable image, and the skip processing is performed so that the part is not image-processed. However, the present invention is not limited to this, and the function is provided only in one of the systems, and the other system decompresses the data as it is without performing blank determination to generate decompressed data. You may comprise so that image processing may be performed.

図7は、マスタ画像データを処理する系にのみ、ブランク部分を検出して、該部分が画像処理されないようにスキップ処理する機能を設け、バリアブル画像データを処理する系には該機能を設けない画像処理装置15の構成例を示す図である。   In FIG. 7, only a system that processes master image data is provided with a function of detecting a blank portion and performing a skip process so that the image is not processed, and a system that processes variable image data is not provided with this function. 2 is a diagram illustrating a configuration example of an image processing device 15. FIG.

デコーダ部12A、ブランクスキップ部18A、及び画像処理部20Aからなるマスタ画像データを処理する系は、上記で説明した通りに動作する。また、デコーダ部13及び画像処理部20Bからなるバリアブル画像データを処理する系において、デコーダ部13では、ブランク部分を検出せず解凍データを生成して画像処理部20Bにそのまま受け渡す。画像処理部20Bでは、これをそのまま画像処理してマージ部22に受け渡す。   The system that processes the master image data including the decoder unit 12A, the blank skip unit 18A, and the image processing unit 20A operates as described above. Further, in the system for processing variable image data including the decoder unit 13 and the image processing unit 20B, the decoder unit 13 generates decompressed data without detecting a blank portion, and passes it to the image processing unit 20B as it is. In the image processing unit 20B, the image is processed as it is and transferred to the merge unit 22.

マージ部22は、入力されたマスタ画像データとバリアブル画像データとを合成処理する。   The merge unit 22 synthesizes the input master image data and variable image data.

このような画像処理装置であっても、マスタ画像データ及びバリアブル画像データのいずれか一方の画像処理の負荷が軽減する。   Even in such an image processing apparatus, the load of image processing of either master image data or variable image data is reduced.

[第2の実施の形態]
バリアブル印刷において、マスタ画像データは繰り返し使用されるため、解凍されて画像処理された後のマスタ画像データを保存しておけば、次回からは該保存しておいたマスタ画像データを用いて合成データを生成できる。本実施の形態は、第1の実施の形態の構成にマスタ画像データを保存する保存手段を設けた場合を例に挙げて説明する。
[Second Embodiment]
Since the master image data is repeatedly used in variable printing, if the master image data after being decompressed and image processed is saved, the synthesized data can be used from the next time using the saved master image data. Can be generated. In the present embodiment, an example in which a storage unit that stores master image data is provided in the configuration of the first embodiment will be described.

図8は、本実施の形態に係る画像処理装置70の構成例を示す図である。同図に示すように、本実施の形態に係る画像処理装置70は、第1の実施の形態に係る画像処理装置10の構成に加え、マスタ画像データを保存するマスタ画像データ記憶部72を備えている。マスタ画像データ記憶部72は、画像処理部20Aの後段とマージ部22との間に設けられ、画像処理部20Aで画像処理された後のマスタ画像データが記憶される。   FIG. 8 is a diagram illustrating a configuration example of the image processing apparatus 70 according to the present embodiment. As shown in the figure, an image processing apparatus 70 according to the present embodiment includes a master image data storage unit 72 that stores master image data in addition to the configuration of the image processing apparatus 10 according to the first embodiment. ing. The master image data storage unit 72 is provided between the subsequent stage of the image processing unit 20A and the merging unit 22, and stores master image data after image processing by the image processing unit 20A.

ここで、画像処理装置70の動作について説明する。   Here, the operation of the image processing apparatus 70 will be described.

最初に圧縮されたマスタ画像データを解凍して画像処理する際には、第1の実施の形態と同様に、まずデコーダ部12Aがマスタ画像の解凍データを生成すると共に、ブランク部分を検出する。   When the first compressed master image data is decompressed and processed, the decoder unit 12A first generates the decompressed data of the master image and detects a blank portion, as in the first embodiment.

ブランクスキップ部18Aは、該解凍データのうちブランク部分以外の解凍データについては、画像処理部20Aに入力する。画像処理部20Aで画像処理された解凍データは、マージ部22に出力されると共にマスタ画像データ記憶部72に格納される。一方、ブランクスキップ部18Aは、ブランク部分の解凍データについては、画像処理部20Aには入力せず、ブランク部分のサイズだけ0データが展開されたデータをマージ部22に出力すると共にマスタ画像データ記憶部72に格納する。これにより、マスタ画像データ記憶部72には、ブランク部分以外の部分には画像処理が施され、ブランク部分は画像処理されず0データが埋め込まれたマスタ画像データが格納される。   The blank skip unit 18A inputs the decompressed data other than the blank portion of the decompressed data to the image processing unit 20A. The decompressed data image-processed by the image processing unit 20A is output to the merge unit 22 and stored in the master image data storage unit 72. On the other hand, the blank skip unit 18A does not input the decompressed data of the blank part to the image processing unit 20A, and outputs the data in which 0 data is expanded by the size of the blank part to the merge unit 22 and stores the master image data. Stored in the unit 72. As a result, the master image data storage unit 72 stores image data on the portions other than the blank portion, and stores the master image data in which 0 data is embedded without image processing of the blank portion.

一方、バリアブル画像データを処理するための系においては、第1の実施の形態と同様に、デコーダ部12Bによりバリアブル画像の解凍データが生成されると共にブランク部分が検出され、ブランクスキップ部18B及び画像処理部20Bにより、ブランク部分以外の部分には画像処理が施され、ブランク部分は画像処理されず0データが埋め込まれたバリアブル画像データがマージ部22に入力される。   On the other hand, in the system for processing variable image data, similarly to the first embodiment, decompressed data of the variable image is generated by the decoder unit 12B and a blank portion is detected, and the blank skip unit 18B and the image are processed. The processing unit 20 </ b> B performs image processing on a portion other than the blank portion, and the blank portion is not subjected to image processing, and variable image data in which 0 data is embedded is input to the merging portion 22.

マージ部22は、入力されたマスタ画像データとバリアブル画像データを合成する。   The merging unit 22 synthesizes the input master image data and variable image data.

これ以降、合成データを生成する場合には、バリアブル画像データと合成するマスタ画像データとして、マスタ画像データ記憶部72に保存されたマスタ画像データが使用される。マージ部22は、マスタ画像データ記憶部72に保存されたマスタ画像データと、上記バリアブル画像データを処理するための系で新たに解凍され画像処理されたバリアブル画像データとを合成する。   Thereafter, when generating composite data, master image data stored in the master image data storage unit 72 is used as master image data to be combined with variable image data. The merge unit 22 synthesizes the master image data stored in the master image data storage unit 72 and the variable image data that has been newly decompressed and processed in the system for processing the variable image data.

このように、保存しておいたマスタ画像データを利用できるため、処理が効率化する。   Thus, since the stored master image data can be used, the processing becomes efficient.

なお、解凍され画像処理されたマスタ画像データを圧縮してマスタ画像データ記憶部72に保存しておき、該保存しておいたマスタ画像データを使用する際に解凍して用いるようにしてもよい。これにより、必要な記憶容量を削減できる。   Note that the master image data that has been decompressed and subjected to image processing may be compressed and stored in the master image data storage unit 72, and may be decompressed and used when the stored master image data is used. . Thereby, the required storage capacity can be reduced.

[第3の実施の形態]
第1の実施の形態および第2の実施の形態では、画像処理を施した後に合成する画像処理装置を例に挙げて説明したが、本実施の形態では、合成してから画像処理する画像処理装置であって、合成後の合成データのブランク部分は画像処理されないようにスキップ処理する画像処理装置80を例に挙げて説明する。
[Third Embodiment]
In the first embodiment and the second embodiment, the image processing apparatus that performs the image processing after performing the image processing has been described as an example. However, in the present embodiment, the image processing that performs the image processing after the image processing is performed. An image processing apparatus 80 that performs skip processing so as not to perform image processing on the blank portion of the combined data after combining will be described as an example.

図9は、本実施の形態に係る画像処理装置80の構成例を示す図である。なお、図9に示す符号と、図1に示す符号とが同一の構成要素は、それぞれ、同一の機能を有する構成要素を意味するため、ここでは説明を省略し、相違点のみを以下に説明する。   FIG. 9 is a diagram illustrating a configuration example of the image processing apparatus 80 according to the present embodiment. In addition, since the component with the code | symbol shown in FIG. 9 and the code | symbol shown in FIG. 1 means the component which respectively has the same function, description is abbreviate | omitted here and only a difference is demonstrated below. To do.

図9に示すように、画像処理装置80は、デコーダ部12A、デコーダ部12B、マージ部22、ブランクスキップ部28、および画像処理部20を備えている。マージ部22は、デコーダ部12A及びデコーダ部12Bと、ブランクスキップ部28との間に設けられ、ブランクスキップ部28及び画像処理部20は、マージ後の合成データについて処理するため、各々1つずつ設けられている。   As shown in FIG. 9, the image processing device 80 includes a decoder unit 12A, a decoder unit 12B, a merge unit 22, a blank skip unit 28, and an image processing unit 20. The merging unit 22 is provided between the decoder unit 12A and the decoder unit 12B and the blank skip unit 28. The blank skip unit 28 and the image processing unit 20 process each one of the merged data after merging. Is provided.

デコーダ部12A及びデコーダ部12Bは、第1の実施の形態と同様に解凍データを生成する。なお、第1の実施の形態では、デコーダ部12A及びデコーダ部12Bに含まれる第1デコーダ14を、ブランク部分を0データ展開せずにRUN値のみで表した解凍データを生成するものとして説明したが、本実施の形態では、ブランク部分についてもRUN値の数だけ0データを展開した解凍データを生成するものとする。   The decoder unit 12A and the decoder unit 12B generate decompressed data as in the first embodiment. In the first embodiment, the first decoder 14 included in the decoder unit 12A and the decoder unit 12B has been described as generating decompressed data represented only by the RUN value without developing 0 data in the blank portion. However, in this embodiment, it is assumed that decompressed data in which 0 data is expanded by the number of RUN values is generated for the blank portion.

マージ部22は、このように生成されたマージ画像データの解凍データ及びバリアブル画像データの解凍データを、第1の実施の形態と同様に合成する。合成した合成データはブランクスキップ部18に入力される。   The merging unit 22 synthesizes the decompressed data of the merged image data and the decompressed data of the variable image data generated in this way, as in the first embodiment. The combined data that has been combined is input to the blank skip unit 18.

また、第1デコーダ14、第2デコーダ16で生成されたブランクコードは、マージ部22を介して(或いはブランクスキップ部28に直接)入力される。本実施の形態のブランクスキップ部28は、入力されたブランクコードに基づいて、マスタ画像データ及びバリアブル画像データの双方がブランクの部分を求め、この部分については画像処理部20で画像処理されないようにスキップ処理する。スキップ処理については、第1の実施の形態と同様に行なう。マスタ画像データ及びバリアブル画像データの双方でブランクとなる部分は、すなわち、マスタ画像データのブランク部分及びバリアブル画像データのブランク部分の重複部分であるため、ブランクスキップ部28は、デコーダ部12Aから入力されたブランクコードと、デコーダ部12Bから入力されたブランクコードとのAND(論理積)をとり、1となった部分を重複部分として、この部分がスキップされるようにスキップ処理する。   The blank codes generated by the first decoder 14 and the second decoder 16 are input via the merge unit 22 (or directly to the blank skip unit 28). The blank skip unit 28 according to the present embodiment obtains a blank part of both the master image data and the variable image data based on the input blank code, and the image processing unit 20 does not perform image processing on this part. Skip processing. The skip process is performed in the same manner as in the first embodiment. Since the blank part in both the master image data and the variable image data is an overlapping part of the blank part of the master image data and the blank part of the variable image data, the blank skip unit 28 is input from the decoder unit 12A. An AND (logical product) of the blank code and the blank code input from the decoder unit 12B is taken, and the part that becomes 1 is regarded as an overlapping part and skip processing is performed so that this part is skipped.

なお、重複部分が無い場合、或いはマスタ画像データ及びバリアブル画像データの双方でブランク部分が無い場合には、スキップ処理は行なわれず、全ての解凍データについて画像処理が行なわれる。   If there is no overlapping part, or if there is no blank part in both master image data and variable image data, skip processing is not performed and image processing is performed on all decompressed data.

このような構成であっても、上記第1の実施の形態と同様の効果を奏する。   Even with such a configuration, the same effects as those of the first embodiment can be obtained.

[第4の実施の形態]
通常、画像データは、ライン方向のストリーミングデータであることが多く、圧縮データもライン方向に圧縮されている。一方で、画像処理装置では、複数ライン単位で画像処理が行なわれる場合も多い。従って、複数ライン単位で画像処理を行なう場合には、第1の実施の形態で例示したようにデコーダ部12の後段に、複数ライン分のバッファメモリを設ける必要がある。
[Fourth Embodiment]
Usually, image data is often streaming data in the line direction, and compressed data is also compressed in the line direction. On the other hand, image processing apparatuses often perform image processing in units of a plurality of lines. Therefore, when image processing is performed in units of a plurality of lines, it is necessary to provide a buffer memory for a plurality of lines in the subsequent stage of the decoder unit 12 as exemplified in the first embodiment.

本実施の形態では、デコーダ部の後段にバッファメモリを設ける代わりに、複数のラインバッファメモリと複数のデコーダ部とを設け、該複数のデコーダ部により複数ライン分の圧縮データを同時にデコードしてライン単位でブランクスキップ判定を行ない、複数ライン分の解凍データがバッファメモリを介さずそのまま画像処理部に入力されるように構成した画像処理装置を例に挙げて説明する。   In this embodiment, instead of providing a buffer memory in the subsequent stage of the decoder unit, a plurality of line buffer memories and a plurality of decoder units are provided, and the plurality of decoder units simultaneously decode the compressed data for a plurality of lines. An image processing apparatus configured to perform blank skip determination on a unit basis and input decompressed data for a plurality of lines as it is to the image processing unit without going through the buffer memory will be described as an example.

図10は、本実施形態に係る画像処理装置90の構成例を示す図である。同図に示すように、この画像処理装置90は、マスタ画像データを処理する系と、バリアブル画像データを処理する系を備えている。マスタ画像データを処理する系は、FIFO型の複数のラインバッファメモリ82AN−1、82A、82AN+1(ここでは、例として3個のラインバッファメモリを図示したがこれに限定されない)、該複数のラインバッファメモリ82AN−1、82A、82AN+1の出力端に接続され、接続されたラインバッファメモリから入力された圧縮されたマスタ画像データを解凍すると共にブランク部分を検出するデコーダ部12AN−1、12A、12AN+1、ブランクスキップ部84A、画像処理部20Aを備えている。 FIG. 10 is a diagram illustrating a configuration example of the image processing apparatus 90 according to the present embodiment. As shown in the figure, the image processing apparatus 90 includes a system for processing master image data and a system for processing variable image data. The system for processing the master image data includes a plurality of FIFO type line buffer memories 82A N−1 , 82A N , 82A N + 1 (here, three line buffer memories are illustrated as an example, but the present invention is not limited thereto), A decoder unit 12A that is connected to the output terminals of a plurality of line buffer memories 82A N−1 , 82A N , and 82A N + 1 and that decompresses the compressed master image data input from the connected line buffer memories and detects a blank portion. N-1 , 12A N , 12A N + 1 , a blank skip unit 84A, and an image processing unit 20A.

また、バリアブル画像データを処理する系は、FIFO型の複数のラインバッファメモリ82BN−1、82B、82BN+1(ここでは、例として3個のラインバッファメモリを図示したがこれに限定されない)、該複数のラインバッファメモリ82BN−1、82B、82BN+1の出力端に接続され、接続されたラインバッファメモリから入力された圧縮されたバリアブル画像データを解凍すると共にブランク部分を検出するデコーダ部12BN−1、12B、12BN+1、ブランクスキップ部84B、画像処理部20Bを備えている。 A system for processing variable image data includes a plurality of FIFO type line buffer memories 82B N−1 , 82B N , and 82B N + 1 (here, three line buffer memories are illustrated as an example, but are not limited thereto). A decoder connected to the output ends of the plurality of line buffer memories 82B N−1 , 82B N , and 82B N + 1 for decompressing the compressed variable image data input from the connected line buffer memories and detecting a blank portion Units 12B N−1 , 12B N , 12B N + 1 , a blank skip unit 84B, and an image processing unit 20B.

なお、デコーダ部12AN−1、12A、12AN+1、およびデコーダ部12BN−1、12B、12BN+1、の各々は、第1の実施の形態で説明したデコーダ部12A、デコーダ部12Bと同一機能を有するため、説明を省略する。また、画像処理部20A,画像処理部20B、マージ部22も、第1の実施の形態で説明したものと同一であるため、説明を省略する。 The decoder units 12A N−1 , 12A N , 12A N + 1 , and the decoder units 12B N−1 , 12B N , 12B N + 1 are respectively the same as the decoder unit 12A and the decoder unit 12B described in the first embodiment. Since it has the same function, description is abbreviate | omitted. The image processing unit 20A, the image processing unit 20B, and the merging unit 22 are also the same as those described in the first embodiment, and thus description thereof is omitted.

また、マスタ画像データを処理する系の作用、及びバリアブル画像データを処理する系の作用はそれぞれ同一であるため、それぞれ特に区別せずに説明する場合には、各構成要素の末尾の符号A、Bを省略して、説明する。更にまた、デコーダ部12AN−1、12A、12AN+1、およびデコーダ部12BN−1、12B、12BN+1、や、複数のラインバッファメモリ82AN−1、82A、82AN+1、複数のラインバッファメモリ82AN−1、82A、82AN+1については、A,Bの符号だけでなく、末尾の添字N,N−1,N+1も省略して説明する。 In addition, since the operation of the system that processes the master image data and the operation of the system that processes the variable image data are the same, in the case of explaining without particularly distinguishing each, A description will be given by omitting B. Furthermore, the decoder units 12A N−1 , 12A N , 12A N + 1 , the decoder units 12B N−1 , 12B N , 12B N + 1 , a plurality of line buffer memories 82A N−1 , 82A N , 82A N + 1 , a plurality of The line buffer memories 82A N−1 , 82A N and 82A N + 1 will be described by omitting not only the signs of A and B but also the suffixes N, N−1 and N + 1 at the end.

複数のラインバッファメモリ82は直列に接続されており、ラインバッファメモリ82に入力された圧縮データは1ライン分だけ次々に遅延されて後段のラインバッファメモリ82に出力されると共に、各々の出力端に接続されたデコーダ部12に出力される。   The plurality of line buffer memories 82 are connected in series, and the compressed data input to the line buffer memory 82 is successively delayed by one line and output to the line buffer memory 82 in the subsequent stage, and each output terminal Is output to the decoder unit 12 connected to.

デコーダ部12の各々のデコード処理は、第1の実施の形態と同様に行なわれるが、ブランク判定結果を示すブランクコード及び解凍データは全てブランクスキップ部84に出力される。   Each decoding process of the decoder unit 12 is performed in the same manner as in the first embodiment, but all blank codes and decompressed data indicating blank determination results are output to the blank skip unit 84.

まず、ブランクスキップ部84が第1デコーダ14から出力されたデータに基づいてスキップ制御する場合についての具体例を説明する。ブランクスキップ部84に、第1デコーダ14からブランクコード「0」が入力された場合には、該ブランクコードと共に入力されたデータ値(解凍データ)を画像処理部20に出力する。また、第1デコーダ14からブランクコード「1」が入力された場合には、該ブランクコード「1」と共に入力されたRUN値だけ連続した0データをマージ部22に出力する。   First, a specific example of the case where the blank skip unit 84 performs skip control based on the data output from the first decoder 14 will be described. When the blank code “0” is input from the first decoder 14 to the blank skip unit 84, the data value (decompressed data) input together with the blank code is output to the image processing unit 20. When a blank code “1” is input from the first decoder 14, 0 data that is continuous by the RUN value input together with the blank code “1” is output to the merge unit 22.

次に、ブランクスキップ部84が第2デコーダ16から出力されたデータに基づいてスキップ制御する場合について説明する。ブランクスキップ部84にブランクコード「0」が入力されたときには、該ブランクコード「0」と共に入力された解凍データを画像処理部20に出力する。また、ブランクスキップ部84にブランクコード「1」が入力されたときには、1ブロック分の0データをマージ部22に出力する。   Next, the case where the blank skip unit 84 performs skip control based on the data output from the second decoder 16 will be described. When the blank code “0” is input to the blank skip unit 84, the decompressed data input together with the blank code “0” is output to the image processing unit 20. When a blank code “1” is input to the blank skip unit 84, 0 data for one block is output to the merge unit 22.

このように、本実施の形態では、デコーダ部12と画像処理部20との間にバッファメモリを設けず、デコーダ部12からブランクスキップ部84を介して画像処理部20に直接解凍データが転送される。   As described above, in this embodiment, the buffer memory is not provided between the decoder unit 12 and the image processing unit 20, and the decompressed data is transferred directly from the decoder unit 12 to the image processing unit 20 via the blank skip unit 84. The

以上説明したように、本実施の形態では、圧縮データをライン毎に複数のラインバッファメモリ82で保持し、該複数のラインバッファメモリ82の出力端に接続された複数のデコーダ部12により、圧縮データをライン毎にデコード処理してブランク判定を行なうと共に解凍データを生成し、ブランクスキップ部84によりブランクスキップ処理を行うようにしたため、デコーダ部12の後段にバッファメモリを設けずにリアルタイムに処理することができる。また、高解像度な画像データ、大きなサイズの画像データでも影響を受けず、高速に処理できる。   As described above, in this embodiment, compressed data is held in a plurality of line buffer memories 82 for each line, and compressed by a plurality of decoder units 12 connected to the output ends of the plurality of line buffer memories 82. Since the data is decoded for each line, blank determination is performed, decompressed data is generated, and blank skip processing is performed by the blank skip unit 84. Therefore, processing is performed in real time without providing a buffer memory in the subsequent stage of the decoder unit 12. be able to. Also, high-resolution image data and large-size image data are not affected and can be processed at high speed.

なお、本実施の形態では、マスタ画像データを処理するための系、及びバリアブル画像を処理するための系の双方に、ブランク部分を検出して、該部分が画像処理されないようにスキップ処理する機能を設けたが、これに限定されず、いずれか一方の系にのみ該機能を設け、他方の系は、ブランク判定はせずにそのまま解凍して解凍データを生成し、該解凍データの全てに画像処理を施すように構成してもよい。   In the present embodiment, a blank part is detected in both the system for processing the master image data and the system for processing the variable image, and the skip processing is performed so that the part is not image-processed. However, the present invention is not limited to this, and the function is provided only in one of the systems, and the other system decompresses the data as it is without performing blank determination to generate decompressed data. You may comprise so that image processing may be performed.

[第5の実施の形態]
第4の実施の形態では、シーケンシャルなラインバッファメモリ82を複数設けて複数のデコーダ部12に圧縮データをライン単位で入力させる例について説明したが、ラインバッファメモリ82に代えて、複数ライン分の圧縮データが格納可能なプレーン空間のメモリ(連続した記憶領域を有するメモリ)を設け、該メモリに格納された複数ラインの各々の圧縮データが格納された読出アドレスを各々指定して、複数のデコーダ部12に複数ラインの圧縮データを読み込ませるような構成としてもよい。
[Fifth Embodiment]
In the fourth embodiment, an example in which a plurality of sequential line buffer memories 82 are provided and compressed data is input to the plurality of decoder units 12 in units of lines has been described. A plain space memory (memory having a continuous storage area) capable of storing compressed data is provided, and a plurality of decoders are designated by designating read addresses storing compressed data of a plurality of lines stored in the memory. The unit 12 may be configured to read compressed data of a plurality of lines.

図11は、本実施形態に係る画像処理装置92の構成例を示す図である。同図から明らかなように、ラインバッファメモリ82に代えて設けたメモリ86A,86B以外の構成は、第2の実施の形態と共通している。   FIG. 11 is a diagram illustrating a configuration example of the image processing apparatus 92 according to the present embodiment. As can be seen from the figure, the configuration other than the memories 86A and 86B provided in place of the line buffer memory 82 is the same as that of the second embodiment.

メモリ86A、86Bは、複数ライン分の圧縮データが格納可能なプレーン空間のメモリであり、予め圧縮データが記憶されている。メモリ86A、86Bは同一であるため、以下では、各々末尾の符号A、Bを省略して、説明する。   The memories 86A and 86B are plain space memories capable of storing a plurality of lines of compressed data, and the compressed data is stored in advance. Since the memories 86A and 86B are the same, the following explanation will be made by omitting the last symbols A and B, respectively.

複数のデコーダ部12の各々は、メモリ86の予め定められたアドレスで指定された記憶領域から、対応する1ライン分の圧縮データを同時に読み込む。そして読み込んだ圧縮データに対して、第1の実施の形態と同様の処理を行なう。デコーダ部12の後段のブランクスキップ部84の処理は、第2の実施の形態と同様であるため説明を省略する。   Each of the plurality of decoder units 12 simultaneously reads corresponding one line of compressed data from a storage area designated by a predetermined address in the memory 86. Then, the same processing as in the first embodiment is performed on the read compressed data. Since the processing of the blank skip unit 84 subsequent to the decoder unit 12 is the same as that of the second embodiment, description thereof is omitted.

なお、本実施の形態では、マスタ画像データを処理するための系、及びバリアブル画像を処理するための系の双方に、ブランク部分を検出して、該部分が画像処理されないようにスキップ処理する機能を設けたが、これに限定されず、いずれか一方の系にのみ該機能を設け、他方の系は、ブランク判定はせずにそのまま解凍して解凍データを生成し、該解凍データの全てに画像処理を施すように構成してもよい。   In the present embodiment, a blank part is detected in both the system for processing the master image data and the system for processing the variable image, and the skip processing is performed so that the part is not image-processed. However, the present invention is not limited to this, and the function is provided only in one of the systems, and the other system decompresses the data as it is without performing blank determination to generate decompressed data. You may comprise so that image processing may be performed.

[第6の実施の形態]
第4の実施の形態の画像処理装置の構成を、第3の実施の形態のように合成してから画像処理する構成に変更することもできる。以下、このような構成の画像処理装置を例に挙げて説明する。
[Sixth Embodiment]
The configuration of the image processing apparatus according to the fourth embodiment can be changed to a configuration in which image processing is performed after combining as in the third embodiment. Hereinafter, the image processing apparatus having such a configuration will be described as an example.

図12は、本実施形態に係る画像処理装置94の構成例を示す図である。なお、図12に示す符号と、図10に示す符号とが同一の構成要素は、それぞれ、同一の機能を有する構成要素を意味するため、ここでは説明を省略し、相違点のみを以下に説明する。   FIG. 12 is a diagram illustrating a configuration example of the image processing apparatus 94 according to the present embodiment. Note that components having the same reference numerals shown in FIG. 12 and FIG. 10 mean components having the same functions, and thus description thereof will be omitted here, and only differences will be described below. To do.

図12に示すように、画像処理装置94には、圧縮されたマスタ画像データの解凍データを生成する複数のデコーダ部12AN−1、12A、12AN+1、と、圧縮されたバリアブル画像データの解凍データを生成する複数のデコーダ部12BN−1、12B、12BN+1、とに対応して、マージ部22N−1、22、22N+1が設けられている。マージ部22N−1には、デコーダ部12AN−1及びデコーダ部12BN−1の各々から解凍データが入力され、該入力された解凍データを合成する。合成の方法は、第1の実施の形態と同様である。 As shown in FIG. 12, the image processing device 94 includes a plurality of decoder units 12A N−1 , 12A N , 12A N + 1 for generating decompressed data of compressed master image data, and compressed variable image data Merge units 22 N−1 , 22 N , and 22 N + 1 are provided corresponding to the plurality of decoder units 12B N−1 , 12B N , and 12B N + 1 that generate the decompressed data. The merge unit 22 N-1 receives the decompressed data from each of the decoder units 12A N-1 and the decoder unit 12B N-1 , and synthesizes the input decompressed data. The synthesis method is the same as in the first embodiment.

同様に、マージ部22には、デコーダ部12A及びデコーダ部12Bの各々から解凍データが入力され、該入力された解凍データを合成する。更に、マージ部22Nー1には、デコーダ部12AN+1及びデコーダ部12BN+1の各々から解凍データが入力され、該入力された解凍データを合成する。 Similarly, the merging unit 22 N, decompressed data from each decoder 12A N and the decoder unit 12B N are input, to synthesize the decompressed data the input. Further, the merge unit 22 N−1 receives decompressed data from each of the decoder units 12A N + 1 and the decoder unit 12B N + 1 , and synthesizes the inputted decompressed data.

ブランクスキップ部88には、複数のデコーダ部12AN−1、12A、12AN+1、の各々から、マージ部22AN−1、22A、22AN+1を介して(或いはブランクスキップ部88に直接)ブランクコードが入力されると共に、複数のデコーダ部12BN−1、12B、12BN+1の各々から、マージ部22AN−1、22A、22AN+1を介して(或いはブランクスキップ部88に直接)ブランクコードが入力される。 The blank skip unit 88 includes, from each of the plurality of decoder units 12A N−1 , 12A N , 12A N + 1 , via the merge units 22A N−1 , 22A N , 22A N + 1 (or directly to the blank skip unit 88). with blank code has been entered, a plurality of decoder sections 12B N-1, 12B N, from each of 12B N + 1, the merge unit 22A N-1, 22A N, via 22A N + 1 (or directly to the blank skip unit 88) A blank code is entered.

また、ブランクスキップ部88には、マージ部22AN−1、22A、22AN+1の各々から合成画像データが入力される。 Further, the blank skip unit 88 receives the composite image data from each of the merge units 22A N−1 , 22A N , and 22A N + 1 .

ブランクスキップ部88は対応する2つのデコーダ部12から入力されたブランクコードに基づいて、第3の実施の形態と同様にブランク部分の重複部分を求める。重複部分が存在する場合には、該該重複部分に相当する合成画像データは画像処理部20に入力せず、画像処理部20の後段に0データを出力する。また、少なくとも一方のブランクコードが「0」の場合、或いは重複部分が存在しない場合には、入力された合成画像データを画像処理部20に入力して画像処理させる。   The blank skip unit 88 obtains the overlapping portion of the blank portion based on the blank code input from the corresponding two decoder units 12 as in the third embodiment. When there is an overlapping portion, the composite image data corresponding to the overlapping portion is not input to the image processing unit 20 and 0 data is output to the subsequent stage of the image processing unit 20. If at least one of the blank codes is “0” or there is no overlapping portion, the input composite image data is input to the image processing unit 20 for image processing.

なお、ラインバッファメモリ82に代えてメモリ86を設けた第5の実施の形態のような画像処理装置であっても、本実施の形態のように、合成処理してから画像処理するように構成してもよい。   Note that the image processing apparatus as in the fifth embodiment provided with the memory 86 instead of the line buffer memory 82 is configured to perform image processing after combining processing as in the present embodiment. May be.

第1の実施形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 1st Embodiment. (A)は、第1デコーダの構成例を示す図であり、(B)は第1デコーダから出力されるデータの構成例を示す図である。(A) is a figure which shows the structural example of a 1st decoder, (B) is a figure which shows the structural example of the data output from a 1st decoder. 第2デコーダの構成例を示す図である。It is a figure which shows the structural example of a 2nd decoder. ハフマン復号部の構成例を示す図である。It is a figure which shows the structural example of a Huffman decoding part. マージ部の構成例を示す図である。It is a figure which shows the structural example of a merge part. マージ部の合成処理を説明する説明図である。It is explanatory drawing explaining the synthetic | combination process of a merge part. マスタ画像データを処理する系にのみ、ブランク部分を検出して、該部分が画像処理されないようにスキップ処理する機能を設け、バリアブル画像データを処理する系には該機能を設けない画像処理装置の構成例を示す図である。Only in the system that processes the master image data, a blank part is detected and a skip processing function is provided so that the part is not subjected to image processing. A variable image data processing system is not provided with this function. It is a figure which shows the example of a structure. 第2の実施の形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 2nd Embodiment. 第3の実施の形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 3rd Embodiment. 第4の実施の形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 4th Embodiment. 第5の本実施形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 5th this embodiment. 第6の実施形態に係る画像処理装置の構成例を示す図である。It is a figure which shows the structural example of the image processing apparatus which concerns on 6th Embodiment.

符号の説明Explanation of symbols

10 画像処理装置
12A、12AN−1、12A、12AN+1 デコーダ部
12B、12BN−1、12B、12BN+1 デコーダ部
15 画像処理装置
18A、18B ブランクスキップ部
20A、20B 画像処理部
22、22N−1、22、22N+1 マージ部
24 合成部
26 変換部
28 ブランクスキップ部
30 ブランク判定部
32 RUN値レジスタ
34 カウンタ
36 データ出力レジスタ
38 データセレクタ
40 JPEGデータ解析部
50 ハフマン復号部
51 データ切り出し部
52 ハフマンコード判定部
53 ランレングス・データ復号部
54 FIFO
55 データ生成部
56 ブランク判定部
57 DC成分保存部
60 逆量子化部
62 逆DCT変換部
70 画像処理装置
72 マスタ画像データ記憶部
80 画像処理装置
82AN−1、82A、82AN+1 ラインバッファメモリ
82BN−1、82B、82BN+1 ラインバッファメモリ
84 ブランクスキップ部
86A,86B メモリ
88 ブランクスキップ部
90 画像処理装置
92 画像処理装置
94 画像処理装置
10 image processing devices 12A, 12A N−1 , 12A N , 12A N + 1 decoder unit 12B, 12B N−1 , 12B N , 12B N + 1 decoder unit 15 image processing devices 18A, 18B blank skip units 20A, 20B image processing unit 22, 22 N−1 , 22 N , 22 N + 1 merge unit 24 synthesis unit 26 conversion unit 28 blank skip unit 30 blank determination unit 32 RUN value register 34 counter 36 data output register 38 data selector 40 JPEG data analysis unit 50 Huffman decoding unit 51 data Cutout unit 52 Huffman code determination unit 53 Run length data decoding unit 54 FIFO
55 Data generation unit 56 Blank determination unit 57 DC component storage unit 60 Inverse quantization unit 62 Inverse DCT conversion unit 70 Image processing device 72 Master image data storage unit 80 Image processing devices 82A N−1 , 82A N , 82A N + 1 line buffer memory 82B N−1 , 82B N , 82B N + 1 line buffer memory 84 blank skip unit 86A, 86B memory 88 blank skip unit 90 image processing device 92 image processing device 94 image processing device

Claims (6)

圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出手段と、
前記第1の空白部分が検出された場合には、前記第1の解凍データの前記第1の空白部分以外の部分を画像処理し、前記第2の空白部分が検出された場合には、前記第2の解凍データの前記第2の空白部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分が検出されない場合には、前記第1の解凍データ及び前記第2の解凍データを画像処理し、前記第1の解凍データに対応する第1の処理画像データ及び前記第2の解凍データに対応する第2の処理画像データを生成する画像処理手段と、
前記第1の処理画像データと前記第2の処理画像データとを合成する合成手段と、
を有する画像処理装置。
The compressed first image data is decompressed to generate first decompressed data, and the compressed second image data different from the first image data is decompressed to generate second decompressed data. And detecting a first blank portion of the first image data based on the compressed first image data and a second of the second image data based on the compressed second image data. Decompression detection means for performing at least one of detection of two blank portions;
When the first blank portion is detected, image processing is performed on portions other than the first blank portion of the first decompressed data, and when the second blank portion is detected, When a portion other than the second blank portion of the second decompressed data is subjected to image processing, and the first blank portion and the second blank portion are not detected, the first decompressed data and the second decompressed data are detected. Image processing means for image-processing the decompressed data and generating first processed image data corresponding to the first decompressed data and second processed image data corresponding to the second decompressed data;
Combining means for combining the first processed image data and the second processed image data;
An image processing apparatus.
圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出手段と、
前記第1の解凍データと前記第2の解凍データとを合成して合成画像データを生成する合成手段と、
前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在する場合には、前記合成画像データの該重複部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分の少なくとも一方が検出されない場合、または前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在しない場合には、前記合成画像データを画像処理する画像処理手段と、
を有する画像処理装置。
The compressed first image data is decompressed to generate first decompressed data, and the compressed second image data different from the first image data is decompressed to generate second decompressed data. And detecting a first blank portion of the first image data based on the compressed first image data and a second of the second image data based on the compressed second image data. Decompression detection means for performing at least one of detection of two blank portions;
Combining means for combining the first decompressed data and the second decompressed data to generate composite image data;
When the first blank portion and the second blank portion are detected, and there is an overlapping portion in the first blank portion and the second blank portion, other than the overlapping portion of the composite image data When the portion is image-processed and at least one of the first blank portion and the second blank portion is not detected, or the first blank portion and the second blank portion are detected, and the first blank portion is detected. If there is no overlapping portion in the portion and the second blank portion, image processing means for image processing the composite image data;
An image processing apparatus.
前記第1の画像データは、内容が固定の固定画像データであり、前記第2の画像データは、内容が可変の可変画像データであり、
前記画像処理手段で画像処理された前記第1の処理画像データを保存する保存手段を更に有し、
前記合成手段は、前記保存手段に保存された前記第1の処理画像データと、前記画像処理手段で生成された前記第2の処理画像データとを合成する、
請求項1に記載の画像処理装置。
The first image data is fixed image data whose content is fixed, and the second image data is variable image data whose content is variable,
A storage unit that stores the first processed image data image-processed by the image processing unit;
The synthesizing unit synthesizes the first processed image data stored in the storing unit and the second processed image data generated by the image processing unit;
The image processing apparatus according to claim 1.
前記解凍検出手段は、
前記圧縮された第1の画像データが入力される複数のラインメモリが直列に接続された第1のラインメモリ部と、前記第1のラインメモリ部の複数のラインメモリの出力端の各々に接続され、接続されたラインメモリからから入力された前記圧縮された第1の画像データを解凍して第1の解凍データを生成すると共に、入力された前記圧縮された第1の画像データに基づいて前記第1の空白部分を検出する複数のデコーダからなる第1のデコード部と、
前記圧縮された第2の画像データが入力される複数のラインメモリが直列に接続された第2のラインメモリ部と、前記第2のラインメモリ部の複数のラインメモリの出力端の各々に接続され、接続されたラインメモリからから入力された前記圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、入力された前記圧縮された第2の画像データに基づいて前記第2の空白部分を検出する複数のデコーダからなる第2のデコード部と、
を有する
請求項1〜請求項3のいずれか1項記載の画像処理装置。
The thaw detection means is
A plurality of line memories to which the compressed first image data is input are connected in series, and connected to each of output terminals of the plurality of line memories of the first line memory unit. The compressed first image data input from the connected line memory is decompressed to generate first decompressed data, and based on the input compressed first image data A first decoding unit comprising a plurality of decoders for detecting the first blank portion;
A plurality of line memories to which the compressed second image data is input are connected in series to a second line memory unit connected to each of output terminals of the plurality of line memories of the second line memory unit. The compressed second image data input from the connected line memory is decompressed to generate second decompressed data, and based on the input compressed second image data A second decoding unit comprising a plurality of decoders for detecting the second blank portion;
The image processing apparatus according to any one of claims 1 to 3.
圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出ステップと、
前記第1の空白部分が検出された場合には、前記第1の解凍データの前記第1の空白部分以外の部分を画像処理し、前記第2の空白部分が検出された場合には、前記第2の解凍データの前記第2の空白部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分が検出されない場合には、前記第1の解凍データ及び前記第2の解凍データを画像処理し、前記第1の解凍データに対応する第1の処理画像データ及び前記第2の解凍データに対応する第2の処理画像データを生成する画像処理ステップと、
前記第1の処理画像データと前記第2の処理画像データとを合成する合成ステップと、
を有する画像処理方法。
The compressed first image data is decompressed to generate first decompressed data, and the compressed second image data different from the first image data is decompressed to generate second decompressed data. And detecting a first blank portion of the first image data based on the compressed first image data and a second of the second image data based on the compressed second image data. A defrost detection step for performing at least one of detection of the two blank portions;
When the first blank portion is detected, image processing is performed on portions other than the first blank portion of the first decompressed data, and when the second blank portion is detected, When a portion other than the second blank portion of the second decompressed data is subjected to image processing, and the first blank portion and the second blank portion are not detected, the first decompressed data and the second decompressed data are detected. An image processing step of performing image processing on the decompressed data and generating first processed image data corresponding to the first decompressed data and second processed image data corresponding to the second decompressed data;
A combining step of combining the first processed image data and the second processed image data;
An image processing method.
圧縮された第1の画像データを解凍して第1の解凍データを生成し、かつ前記第1の画像データと異なる圧縮された第2の画像データを解凍して第2の解凍データを生成すると共に、前記圧縮された第1の画像データに基づいた前記第1の画像データの第1の空白部分の検出、及び前記圧縮された第2の画像データに基づいた前記第2の画像データの第2の空白部分の検出の少なくとも一方を行なう解凍検出ステップと、
前記第1の解凍データと前記第2の解凍データとを合成して合成画像データを生成する合成ステップと、
前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在する場合には、前記合成画像データの該重複部分以外の部分を画像処理し、前記第1の空白部分及び前記第2の空白部分の少なくとも一方が検出されない場合、または前記第1の空白部分及び前記第2の空白部分が検出され、前記第1の空白部分及び前記第2の空白部分に重複部分が存在しない場合には、前記合成画像データを画像処理する画像処理ステップと、
を有する画像処理方法。
The compressed first image data is decompressed to generate first decompressed data, and the compressed second image data different from the first image data is decompressed to generate second decompressed data. And detecting a first blank portion of the first image data based on the compressed first image data and a second of the second image data based on the compressed second image data. A defrost detection step for performing at least one of detection of the two blank portions;
Combining the first decompressed data and the second decompressed data to generate composite image data;
When the first blank portion and the second blank portion are detected, and there is an overlapping portion in the first blank portion and the second blank portion, other than the overlapping portion of the composite image data When the portion is image-processed and at least one of the first blank portion and the second blank portion is not detected, or the first blank portion and the second blank portion are detected, and the first blank portion is detected. An image processing step for image processing the composite image data when there is no overlapping portion in the portion and the second blank portion;
An image processing method.
JP2008086724A 2008-03-28 2008-03-28 Image processing apparatus and image processing method Pending JP2009239852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008086724A JP2009239852A (en) 2008-03-28 2008-03-28 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008086724A JP2009239852A (en) 2008-03-28 2008-03-28 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2009239852A true JP2009239852A (en) 2009-10-15

Family

ID=41253219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008086724A Pending JP2009239852A (en) 2008-03-28 2008-03-28 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2009239852A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013508867A (en) * 2009-10-23 2013-03-07 サンプリファイ システムズ インコーポレイテッド Block floating point compression of signal data
CN104869406A (en) * 2010-07-09 2015-08-26 三星电子株式会社 Method And Apparatus For Encoding Video, And Method And Apparatus For Decoding Video
US9503736B2 (en) 2010-07-09 2016-11-22 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013508867A (en) * 2009-10-23 2013-03-07 サンプリファイ システムズ インコーポレイテッド Block floating point compression of signal data
CN104869406A (en) * 2010-07-09 2015-08-26 三星电子株式会社 Method And Apparatus For Encoding Video, And Method And Apparatus For Decoding Video
CN104869404A (en) * 2010-07-09 2015-08-26 三星电子株式会社 Method And Apparatus For Encoding Video, And Method And Apparatus For Decoding Video
CN104869407A (en) * 2010-07-09 2015-08-26 三星电子株式会社 Method And Apparatus For Encoding Video, And Method And Apparatus For Decoding Video
US9503736B2 (en) 2010-07-09 2016-11-22 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging
US9554138B2 (en) 2010-07-09 2017-01-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging
CN104869407B (en) * 2010-07-09 2017-04-12 三星电子株式会社 Method For Decoding Video
US9635367B2 (en) 2010-07-09 2017-04-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging
CN104869404B (en) * 2010-07-09 2017-06-23 三星电子株式会社 Method and apparatus to Video coding and the method and apparatus to video decoding
CN104869406B (en) * 2010-07-09 2017-10-17 三星电子株式会社 Method and apparatus to Video coding and the method and apparatus to video decoding
US9800872B2 (en) 2010-07-09 2017-10-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging
US10212427B2 (en) 2010-07-09 2019-02-19 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging

Similar Documents

Publication Publication Date Title
US20020131084A1 (en) Storing coding image data in storage of fixed memory size
CN102223463B (en) Multi-function printer
JP2010103681A (en) Image processing device and method
JP2006121645A (en) Image compression apparatus and image compression program
JP4902474B2 (en) Image processing apparatus and image processing method
US8175401B2 (en) Image processing apparatus and computer readable medium storing program therefor
JP5614122B2 (en) Image data decoding device
JP2009239852A (en) Image processing apparatus and image processing method
JP4009808B2 (en) Image processing device
JP4045457B2 (en) Image processing system and image processing method
US6574008B1 (en) Image processing device
JP3023215B2 (en) Image processing device
US8582168B2 (en) Image processing apparatus and processing method thereof
JP3311221B2 (en) Image processing apparatus and method
US9049404B2 (en) Image processing apparatus and method that perform multiple image processes, and storage medium storing a program thereof, for decompressing a compressed image according to first and second information indicating image processing to be performed
JP3190118B2 (en) Image processing device
JPH06113145A (en) Image processor
JP2007060261A (en) Image formation apparatus
JP2005252531A (en) Device and program for compressing data
JP4219079B2 (en) Image processing device
JP2005260420A (en) Data compression apparatus and data compression program
JP6428232B2 (en) Image processing apparatus and image composition method
JP3119387B2 (en) Image processing device
JPWO2006025090A1 (en) Image restoration apparatus, image restoration method, and image restoration program
JP2005184168A (en) Device and method for video coding