JP2004242102A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2004242102A
JP2004242102A JP2003029941A JP2003029941A JP2004242102A JP 2004242102 A JP2004242102 A JP 2004242102A JP 2003029941 A JP2003029941 A JP 2003029941A JP 2003029941 A JP2003029941 A JP 2003029941A JP 2004242102 A JP2004242102 A JP 2004242102A
Authority
JP
Japan
Prior art keywords
image
data
edge
unit
compression
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
JP2003029941A
Other languages
Japanese (ja)
Inventor
Naoki Sugiyama
尚樹 杉山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003029941A priority Critical patent/JP2004242102A/en
Publication of JP2004242102A publication Critical patent/JP2004242102A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Analysis (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus for extracting edges of print data from compression codes of the print data in the case of carrying out print composition, selecting an extracted edge / non-edge signal of the print data and an image area separated signal of the original image and composing them so as to be capable of providing proper image area separated data to the image data in post-stage image processing, especially in half-tone processing. <P>SOLUTION: The image processing apparatus comprises: a scanner 201; a shading correction processing section 202; an RGB γ correction processing section 203; an image area separation processing section 204; a filter processing section 205; a background reduction processing section 206; a color correction processing section 207; a magnification processing section 208; a compression processing section 209; an expansion processing section 210; a printer γ processing section 211; a half-tone processing section 212; a printer 213; a controller I/F 220; an image composite processing section 222; a large capacity storage device 221; and an edge detection section 223. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置に関し、さらに詳しくは、画像データと印字データの合成方法に関するものである。
【0002】
【従来の技術】
近年、画像データをデジタル信号として扱うカラーデジタル複写機が普及している。このようなデジタル複写機では画像をデジタル信号として取り扱うため、メモリに画像を蓄積することが可能である。ただし、カラー画像データの情報量は非常に大きく、そのまま蓄積するとメモリ容量が増大し大幅なコスト高になってしまう。このことから、一般的にカラー画像データはそのまま蓄積するのではなく、画像を一度符号化してデータ量を圧縮することにより必要なメモリ容量を削減してコストを抑えている。また蓄積された画像データはJPEGやTIFFなどの汎用フォーマットに変換され配信等がおこなわれる。このため、プリンタの特性に応じて設計がなされるプリンタγ補正や中間調処理を、画像データに施す前に画像データの圧縮をおこない大容量記憶装置に蓄積される。
通常、デジタル複写機のプリンタγ補正や中間調処理では、文字や図形が混在した原稿の画質向上を図るため、網点写真領域、文字領域、色領域、白背景領域などの像域分離により得られた分離データに応じて処理を施すことで画質改善をおこなっている。しかし、前述したようにプリンタγ補正や中間調処理の前に画像データは圧縮され蓄積される。このため、伸長後にプリンタγ補正や中間調処理を、分離データに応じて処理をおこなえるよう、分離データも大容量記憶装置に蓄積されている。
また特許第3134756号では、圧縮前の画像処理には第1の像域分離データを使用して画像処理をおこない、伸長後の画像処理には伸長後の画像データからエッジ検出処理をおこないエッジ量を第2の像域分離データとして中間調処理など、伸長後の画像処理に使用している。
【0003】
図6は従来の画像処理装置のブロック図である。この画像処理装置は、スキャナ101、シェーディング補正処理部102、RGBγ補正処理部103、像域分離処理部104、フィルタ処理部105、下地除去処理部106、色補正処理部107、変倍処理部108、圧縮処理部109、伸長処理部110、プリンタγ処理部111、中間調処理部112、プリンタ113、コントローラI/F120、画像合成処理部122、大容量記憶装置121により構成される。
複写すべき原稿は、カラースキャナ101によりR、G、Bに色分解されて読み取られる。シェーディング補正処理部102では、撮像素子のムラ、光源の照明ムラなどが補正される。RGBγ補正処理部103では、スキャナ101からの読取り信号が反射率データから明度データに変換される。像域分離処理部104では、文字部と写真部の判定、及び有彩色、無彩色判定が行われる。フィルタ処理部105では、シャープな画像やソフトな画像など、使用者の好みに応じてエッジ強調や平滑化等、画像信号の周波数特性を変更する処理が行われる。下地除去処理部106では、紙などの白レベルを検出してスキャナの濃度ムラなどが補正される。色補正処理部107は、入力系の色分解特性と出力系の色材の分光特性の違いを補正し、忠実な色再現に必要な色材CMYKの量を計算する色補正処理部とUCR(下色除去)からなる。変倍処理部108は、縦横変倍が行われる。圧縮処理部109では、画像データの各版(C、M、Y、K=8bit)を4x4画素にブロック化をおこない画像圧縮される。圧縮された画像データと分離データはコントローラI/F120を介して大容量記憶装置121に蓄積される。コントローラI/Fは、LANなどのネットワークにも接続しており、PCとの接続や画像の送受信も可能となっている。
【0004】
画像合成処理部122は、蓄積された画像データと印字データの合成を圧縮された状態で行う。印字データは、画像データ同様スキャナ101から読取った画像データに同様の処理をおこない蓄積した画像データや、PC上で作成した画像データをコントローラI/F120よりネットワークを介して蓄積された画像である。伸長処理部110では、コントローラI/F120より受信した画像データを圧縮コードにより伸長する。プリンタγ処理部111では、コントローラI/F120から受信した分離データにより制御され、プリンターの特性に応じた画像データの補正が行われる。中間調処理部112では、分離信号に応じたディザ処理またはパターン処理が行われてプリンタ113に出力される。
【特許文献1】特許第3134756号
【0005】
【発明が解決しようとする課題】
このように上述のカラーデジタル複写機のシステムにおいては、スタンプなどの印字データを画像データに合成する場合、大容量のメモリを画像データ圧縮後に保有し、圧縮後の画像データに対して印字合成がおこなわれている。このため画像合成をおこなった場合、合成部分に対して伸長後、画像データと共に蓄積された分離データによって中間調処理を行うと、印字データ部分の処理が印字合成前の画像データの処理でおこなわれてしまうため、最適な処理がされないといった不具合があった。
また、印字部分に対しては分離データを固定にして中間調処理を文字あるいは写真処理に固定しておこなっているが、中間調処理が固定処理になってしまうため印字合成をおこなった場合に、最適な画像処理を行うことができないといった問題がある。
また特許文献1の方式であれば、伸長後の印字部分にもエッジ量を分離データとして中間調処理を制御することは可能であるが、エッジ検出処理は各版(C、M、Y、K)を独立に処理を行うため、像域分離処理としては誤判定をしやすく原画像領域まで影響が出てしまうといった問題がある。
また図6の従来の画像処理装置では、像域分離処理部104は合成処理部122より前にあるため、図7に示すように原稿画像データ701に対して印字データ702を合成した合成画像703の中間調処理は、原稿画像の分離データを用いると印字部分は写真領域で処理がなされてしまといった不具合があった。また、原稿の文字上に写真画像を合成する場合なども問題となる。このため、合成処理を行う場合は、分離データを文字か写真の固定値として処理がなされている。本発明は、かかる課題に鑑み、印字合成を行う場合、印字データの圧縮コードから印字データのエッジ抽出をおこない、抽出された印字データのエッジ/非エッジ信号と原稿画像の像域分離信号の選択および合成を行うことで、後段の画像処理、特に中間調処理に画像データに対して適切な像域分離データを与えることが可能な画像処理装置を提供することを目的する。
【0006】
【課題を解決するための手段】
本発明はかかる課題を解決するために、請求項1は、 原稿画像を光学的に走査してデジタル信号に変換する画像読取り手段と、該画像読取り手段から入力された画像データの領域を判定して複数の像域に分離する像域分離手段と、前記画像読取り手段より入力された画像データを前記像域分離手段により生成された像域分離データに基づいて画像処理を施す画像処理手段と、該画像処理手段により画像処理が施された画像データと前記像域分離データを圧縮する圧縮手段と、該圧縮手段により圧縮された画像データおよび像域分離データを蓄積する蓄積手段と、圧縮した画像データと印字データを画像合成する画像合成手段と、前記圧縮手段により圧縮された画像データを伸長する伸長手段とを備えた画像処理装置において、前記圧縮手段により生成された圧縮コードを利用して前記印字データのエッジ検出を行うエッジ検出手段を更に備え、前記画像合成手段は、前記圧縮手段により圧縮された像域分離データと前記エッジ検出手段により検出された印字データのエッジデータを合成する分離合成手段と、前記印字データと前記圧縮手段により圧縮された画像データを合成する画像データ合成手段とを備え、前記伸長手段により伸長された画像データに対して前記分離合成手段により再生成された分離合成データにより画像処理を施すことを特徴とする。
本発明は従来の画像読取り手段、像域分離手段、画像処理手段、圧縮手段、蓄積手段、画像合成手段及び伸長手段とを備えた画像処理装置において、エッジ検出手段を更に備え、このエッジ検出手段を画像合成手段の前に備えることにより、画像データと印字データを合成した画像合成データと、印字エッジデータと画像分離データを合成した分離合成データとを再生成して伸張データを画像処理するものである。
かかる発明によれば、第1の像域分離処理をおこなった後に、画像合成のような領域判定結果と画像データが合致しなくなる処理をおこなった場合に、改めて像域分離処理を施すので、後段の画像処理手段に的確な像域分離信号を提供することができる。
【0007】
請求項2は、前記圧縮手段は、多値画像を任意の大きさの矩形ブロック領域に分割し、該矩形ブロック領域単位に前記多値画像を変換係数に変換する画像変換手段と、該画像変換手段により変換された変換係数から符号化のモード分けを行う符号化モード制御部と、該符号化モード制御部の結果を符号化する符号化部とを備え、前記符号化モード制御部は前記画像変換手段から得られた変換係数からエッジ成分が存在するか否かを判別し、該判別結果に基づいて前記符号化部により符号化を行うことを特徴とする。
本発明の圧縮手段は、画像変換手段と符号化モード制御部と符号化部により構成される。画像変換手段は例えばWavelet変換を用い、画像情報を矩形ブロック領域単位に変換係数に変換する。この変換された係数に基づいてエッジ成分が存在するか否かを判別して符号化を行うものである。
かかる発明によれば、画像データにエッジ成分が存在するか否かを判別して符号化を行うので、符号化を行う上でエッジ情報の傾き方向性をできる限り保存することができる。
請求項3は、前記印字データのエッジ検出を行うエッジ検出手段は、前記画像変換手段から得られた変換係数を所定の閾値により判定して画像のエッジ若しくは非エッジを検出することを特徴とする。
画像のエッジは画像変換手段により変換係数に変換される。この変換係数は所定の閾値に比べて大きいか、小さいかにより画像にエッジが存在するか否かが判断される。
かかる発明によれば、変換係数を所定の閾値により判定して画像のエッジ若しくは非エッジを検出するので、容易に画像の特徴を判定することができる。
請求項4は、前記圧縮データのエッジ若しくは非エッジを検出するエッジ検出手段に、前記圧縮手段の圧縮コードを用いることを特徴とする。
画像合成を行う場合、エッジ検出手段に圧縮された印字データが入力される。圧縮された印字データはモードに対応したコードが符号化されている。このため、圧縮コードからモードに対応したエッジブロックに対してエッジ信号を出力する。
かかる発明によれば、圧縮コードにはエッジ情報が符号化され保存されているので、回路の規模を最小減に抑え容易にエッジ検出を行うことができる。
【0008】
請求項5は、前記符号化モード制御部は、前記画像変換手段から得られた変換係数の前記矩形ブロック領域内の垂直成分をHL、水平成分をLH、斜め成分をHH、前記所定の閾値をThとした場合、HL>ThまたはLH>ThまたはHH>Thの何れかの条件を満足した場合、画像にエッジ成分が存在すると判定し、前記条件以外の場合は、画像にエッジ成分が存在しないと判定することを特徴とする。
ブロック化された画像情報は、例えば256種類の多値データである。その多値データは所定のアルゴリズムにより演算されて変換係数として出力される。その変換係数を所定の閾値で判定して1/0のパターンに変換し、そのパターンが各モードに対応してコード化されて出力される。
かかる発明によれば、各成分の変換係数が所定の閾値により、各パターンに変換されるので、そのパターンに対応したモードの符号化コードを発生することができる。
【0009】
【発明の実施の形態】
以下、本発明を図に示した実施形態を用いて詳細に説明する。但し、この実施形態に記載される構成要素、種類、組み合わせ、形状、その相対配置などは特定的な記載がない限り、この発明の範囲をそれのみに限定する主旨ではなく単なる説明例に過ぎない。
図1は本発明の一実施形態に係る画像処理装置のブロック図である。この画像処理装置は、スキャナ201、シェーディング補正処理部202、RGBγ補正処理部203、像域分離処理部204、フィルター処理部205、下地除去処理部206、色補正処理部207、変倍処理部208、圧縮処理部209、伸長処理部210、プリンタγ処理部211、中間調処理部212、プリンタ213、コントローラI/F220、画像合成処理部222、大容量記憶装置221、エッジ検出部223により構成される。
複写すべき原稿は、カラースキャナ201によりR、G、Bに色分解されて読み取られる。シェーディング補正処理部202では、撮像素子のムラ、光源の照明ムラなどが補正される。RGBγ補正処理部203では、スキャナ201からの読取り信号が反射率データから明度データに変換される。像域分離処理部204では、文字部と写真部の判定、及び有彩色、無彩色判定が行われる。フィルタ処理部205では、シャープな画像やソフトな画像など、使用者の好みに応じてエッジ強調や平滑化等、画像信号の周波数特性を変更する処理が行われる。下地除去処理部206では、紙などの白レベルを検出してスキャナの濃度ムラなどが補正される。色補正処理部207は、入力系の色分解特性と出力系の色材の分光特性の違いを補正し、忠実な色再現に必要な色材CMYKの量を計算する色補正処理部とUCR(下色除去)からなる。変倍処理部208は、縦横変倍が行われる。圧縮処理部209では、画像データの各版(C、M、Y、K=8bit)を4x4画素にブロック化をおこない画像圧縮される。圧縮された画像データと分離データはコントローラI/F220を介して大容量記憶装置221に蓄積される。コントローラI/Fは、LANなどのネットワークにも接続しており、PCとの接続や画像の送受信も可能となっている。
また画像合成処理部222は、エッジ検出処理部223により生成された印字データ236のエッジ/非エッジデータ237が追加入力される。エッジ検出処理部223は圧縮処理部209で生成される圧縮コードを利用してエッジ検出を行う。圧縮処理部209に関しては、例えば、特開2001−285646に記載の圧縮処理を用いる。伸長処理部210では、コントローラI/F220より受信した画像データを圧縮コードにより伸長する。プリンタγ処理部211では、コントローラI/F220から受信した分離データにより制御され、プリンタの特性に応じた画像データの補正が行われる。中間調処理部212では、分離信号に応じたディザ処理またはパターン処理が行われてプリンタ213に出力される。
【0010】
図2は、図1の圧縮処理部209を示したブロック図である。図2において、Wavelet変換回路301は2x2画素を対象としてWavelet変関係数を演算する。符号化モード制御回路302では前記Wavelet変換係数から符号化のモード分けを行い、符号化部303では、符号化モード制御回路302の結果を符号化する。
【0011】
図3は、図2のWavelet変換回路301の動作を説明する図である。 図3(a)はブロック化された2x2画素の画像情報を表し、例えば、a〜dは256種類の値を持つ多値データである。図3(b)は2x2画素に対応したWavelet変換係数のテーブルである。このテーブルにはLL、HL、LH、HHの変換係数があり、それぞれ下記の式から導かれる。
LL=(a+b+c+d)/4、HL=(a−b)/2+(c−d)/2、
LH=(a+b)/2−(c+d)/2、HH=(a−b)−(c−d)
ここでLLは低域通過フィルタとしては変換単位内の画素平均を示す。また、HL、LH、HHは高域通過フィルタとして変換単位内の画素の最大値と最小値の差を方向を考慮して出力し、HLはブロック内垂直成分を、LHはブロック内水平成分を、HHはブロック内斜め成分の強度を示す。またWavelet変換は2x2画素を対象として行われるが、符号化は4x4画素単位となるため2x2に分割した4ブロックに対して処理を行う。そして符号化モード制御回路302はWavelet変換回路301から得られたWavelet変換係数から、エッジ成分が存在するかどうかで判別する。判定は2x2画素のブロックで行われ、Wavelet変換係数を閾値Th0により判定する。つまり、HL>Th0またはLH>Th0またはHH>Th0のときは、判定はエッジが存在する。それ以外は非エッジと判定する。
例えば、図3(a)はブロック化された2x2画素の画像情報がa=100、b=250、c=50、d=150とすると、上記の式に当てはめると、
LL=(100+250+50+150)/4=138、
HL=(100−250)/2+(50−150)/2=−25
LH=(100+250)/2−(50+150)/2=125
HH=(100−250)−(50−150)=−50
となる。
【0012】
図4は、16通りのモードを表す図である。ここでは2x2のブロックが4ブロックあるためモード分けは16通りで行われる。符号化回路303は、符号化モード制御回路302の結果からエッジブロックか非エッジブロックかで処理をおこない、非エッジブロックではLL成分を符号とし、エッジブロックでは最大最小平均近似法で符号化を行う。例えば、前記の変換係数の場合、閾値Th0を100として判定すると、LH以外は0となり、パターンとして図4のmode=4になる。これが符号化部303により符号化されて出力される。
また大容量記憶装置221に蓄積されている印字データは、画像データ同様スキャナ201から読取った画像データに同様の処理をおこない蓄積した画像データや、PC上で作成した画像データをコントローラI/F220よりネットワークを介して蓄積された画像であり、蓄積されるさい画像と同様の圧縮処理がなされている。図1において画像合成を行う場合、エッジ検出回路223に圧縮された印字データ235が入力される。圧縮された印字データ235は図4に示すモードに対応したコードが符号化されている。このため、圧縮コードから図4に示すモードに対応したエッジブロックに対してエッジ信号を出力する。
【0013】
図5は図1の画像合成処理部222のブロック図である。画像印字合成処理例えばOR処理は、画像合成回路601において原稿画像データ603(図1の233に対応)と印字データ604(図1の236に対応)の濃度情報の大きい値が選択され、画像合成データ605(図1の277に対応)として出力される。同様に分離合成回路602において原稿画像の分離データ606(図1の234に対応)と前記エッジ検出回路223により検出された印字データ607(図1の237に対応)のエッジデータのOR処理を行い、分離合成データ609(図1の238に対応)として出力される。このとき、原稿画像データの濃度が閾値Th1より大きい場合は原稿分離データを優先する。尚、画像合成処理にはOR処理以外にもAND、EXOR処理などがあり分離信号選択回路602も同様の処理がなされる。前記のように印字データのエッジデータを分離信号に合成することで画像合成領域の分離信号を合成画像に適切な分離信号として扱うことができる。
【0014】
【発明の効果】
以上記載のごとく請求項1の発明によれば、第1の像域分離処理をおこなった後に、画像合成のような領域判定結果と画像データが合致しなくなる処理をおこなった場合に、改めて像域分離処理を施すので、後段の画像処理手段に的確な像域分離信号を提供することができる。
また請求項2では、画像データにエッジ成分が存在するか否かを判別して符号化を行うので、符号化を行う上でエッジ情報の傾き方向性をできる限り保存することができる。
また請求項3では、変換係数を所定の閾値により判定して画像のエッジ若しくは非エッジを検出するので、容易に画像の特徴を判定することができる。
また請求項4では、圧縮コードにはエッジ情報が符号化され保存されているので、回路の規模を最小減に抑え容易にエッジ検出を行うことができる。
また請求項5では、各成分の変換係数が所定の閾値により、各パターンに変換されるので、そのパターンに対応したモードの符号化コードを発生することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る画像処理装置のブロック図である。
【図2】本発明の図1の圧縮処理部209を示したブロック図である。
【図3】本発明の図2のWavelet変換回路301の動作を説明する図である。
【図4】本発明の16通りのモードを表す図である。
【図5】本発明の図1の画像合成処理部222のブロック図である。
【図6】従来の画像処理装置のブロック図である。
【図7】原稿画像データ701に対して印字データ702を合成した合成画像703の図である。
【符号の説明】
201 スキャナ、202 シェーディング補正処理部、203 RGBγ補正処理部、204 像域分離処理部、205 フィルタ処理部、206 下地除去処理部、207 色補正処理部、208 変倍処理部、209 圧縮処理部、210 伸長処理部、211 プリンタγ処理部、212 中間調処理部、213 プリンタ、220 コントローラI/F、222 画像合成処理部、221大容量記憶装置、223 エッジ検出部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus, and more particularly, to a method for synthesizing image data and print data.
[0002]
[Prior art]
In recent years, color digital copying machines that handle image data as digital signals have become widespread. In such a digital copying machine, since an image is handled as a digital signal, the image can be stored in a memory. However, the amount of information of the color image data is very large, and if it is stored as it is, the memory capacity is increased and the cost is greatly increased. For this reason, generally, the color image data is not stored as it is, but the image is encoded once and the amount of data is compressed, thereby reducing the required memory capacity and the cost. The stored image data is converted into a general-purpose format such as JPEG or TIFF and distributed. For this reason, the image data is compressed before being subjected to printer γ correction and halftone processing designed according to the characteristics of the printer, and is stored in a large-capacity storage device.
Normally, in printer gamma correction and halftone processing of digital copiers, to improve the image quality of originals with mixed characters and figures, image quality is obtained by separating image areas such as halftone photographic areas, character areas, color areas, and white background areas. The image quality is improved by performing processing in accordance with the obtained separated data. However, as described above, the image data is compressed and stored before the printer γ correction and halftone processing. For this reason, the separated data is also stored in the large-capacity storage device so that the printer γ correction and halftone processing can be performed according to the separated data after decompression.
In Japanese Patent No. 3134756, image processing is performed using first image area separation data for image processing before compression, and edge detection processing is performed on image data after expansion for image processing after expansion. Is used as the second image area separation data in the post-decompression image processing such as halftone processing.
[0003]
FIG. 6 is a block diagram of a conventional image processing apparatus. The image processing apparatus includes a scanner 101, a shading correction processing unit 102, an RGB γ correction processing unit 103, an image area separation processing unit 104, a filter processing unit 105, a background removal processing unit 106, a color correction processing unit 107, a scaling processing unit 108 , A compression processing unit 109, a decompression processing unit 110, a printer γ processing unit 111, a halftone processing unit 112, a printer 113, a controller I / F 120, an image synthesis processing unit 122, and a large-capacity storage device 121.
The original to be copied is read by the color scanner 101 after being separated into R, G, and B colors. The shading correction processing unit 102 corrects unevenness of the image sensor, illumination unevenness of the light source, and the like. In the RGB γ correction processing unit 103, a read signal from the scanner 101 is converted from reflectance data into brightness data. In the image area separation processing unit 104, determination of a character part and a photograph part, and determination of a chromatic color and an achromatic color are performed. In the filter processing unit 105, processing for changing the frequency characteristics of the image signal, such as edge enhancement and smoothing, according to the user's preference, such as a sharp image or a soft image, is performed. The background removal processing unit 106 detects a white level of paper or the like and corrects unevenness in density of the scanner. A color correction processing unit 107 corrects the difference between the color separation characteristics of the input system and the spectral characteristics of the color materials of the output system, and calculates the amount of the color materials CMYK necessary for faithful color reproduction, and a UCR ( Under color removal). The scaling unit 108 performs scaling in the vertical and horizontal directions. In the compression processing unit 109, each version (C, M, Y, K = 8 bits) of the image data is divided into 4 × 4 pixels to perform image compression. The compressed image data and the separated data are stored in the mass storage device 121 via the controller I / F 120. The controller I / F is also connected to a network such as a LAN, and can also connect to a PC and transmit and receive images.
[0004]
The image synthesis processing unit 122 synthesizes the stored image data and print data in a compressed state. The print data is image data obtained by performing the same processing on the image data read from the scanner 101 as in the image data and storing the image data, or an image obtained by storing image data created on a PC via the controller I / F 120 via a network. The decompression processing unit 110 decompresses the image data received from the controller I / F 120 using a compression code. The printer γ processing unit 111 is controlled by the separated data received from the controller I / F 120, and corrects image data according to the characteristics of the printer. The halftone processing unit 112 performs dither processing or pattern processing according to the separation signal and outputs the result to the printer 113.
[Patent Document 1] Japanese Patent No. 3134756
[Problems to be solved by the invention]
As described above, in the above-described color digital copying machine system, when combining print data such as a stamp with image data, a large-capacity memory is held after image data compression, and print synthesis is performed on the compressed image data. It is being done. For this reason, when image synthesis is performed, if halftone processing is performed using the separated data stored together with the image data after decompression of the synthesized part, the processing of the print data part is performed by processing the image data before print synthesis. Therefore, there was a problem that the optimum processing was not performed.
Also, for the print part, the separation data is fixed and the halftone processing is fixed to character or photographic processing, but when the halftone processing is fixed processing, when the print synthesis is performed, There is a problem that optimal image processing cannot be performed.
Further, according to the method disclosed in Patent Document 1, it is possible to control the halftone processing using the edge amount as the separation data even in the print portion after decompression, but the edge detection processing is performed for each plate (C, M, Y, K). ) Is performed independently, there is a problem that erroneous determination is likely to occur in the image area separation processing, which affects the original image area.
In the conventional image processing apparatus of FIG. 6, since the image area separation processing unit 104 is located before the synthesis processing unit 122, a synthesized image 703 obtained by synthesizing the print data 702 with the original image data 701 as shown in FIG. However, in the halftone processing, if the separation data of the original image is used, the printing portion is processed in the photographic area. In addition, a problem arises when a photographic image is combined with characters on a document. For this reason, when performing synthesis processing, the separation data is processed as fixed values of characters or photographs. SUMMARY OF THE INVENTION In view of the above problem, when performing print synthesis, the present invention extracts an edge of print data from a compressed code of print data and selects an edge / non-edge signal of the extracted print data and an image area separation signal of a document image. It is another object of the present invention to provide an image processing apparatus capable of giving appropriate image area separation data to image data in subsequent image processing, particularly, halftone processing by performing synthesis.
[0006]
[Means for Solving the Problems]
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides an image reading unit that optically scans a document image and converts the image into a digital signal, and determines an area of image data input from the image reading unit. Image area separating means for separating the image data into a plurality of image areas, image processing means for performing image processing based on the image area separated data generated by the image area separating means, the image data input from the image reading means, Compression means for compressing image data subjected to image processing by the image processing means and the image area separation data; storage means for storing the image data and image area separation data compressed by the compression means; An image processing apparatus comprising: an image synthesizing unit for synthesizing data and print data with an image; and an expanding unit for expanding the image data compressed by the compressing unit. Edge detection means for performing edge detection of the print data using the generated compression code, wherein the image synthesizing means is detected by the image area separation data compressed by the compression means and the edge detection means. Separation / combination means for combining edge data of the print data, and image data combination means for combining the print data and the image data compressed by the compression means. The image processing is performed by using the separated and combined data regenerated by the separating and combining means.
The present invention relates to a conventional image processing apparatus comprising image reading means, image area separating means, image processing means, compression means, storage means, image synthesizing means and decompression means, further comprising an edge detection means, Is provided in front of the image synthesizing means to regenerate image synthesized data obtained by synthesizing image data and print data, and separated synthesized data obtained by synthesizing print edge data and image separation data, and perform image processing of decompressed data. It is.
According to this invention, after performing the first image area separation processing, when processing such as image synthesis that the area determination result does not match the image data is performed, the image area separation processing is performed again. An accurate image area separation signal can be provided to the image processing means.
[0007]
2. The image conversion device according to claim 1, wherein the compression unit divides the multi-valued image into rectangular block regions of an arbitrary size, and converts the multi-valued image into transform coefficients in units of the rectangular block regions. A coding mode control unit for classifying the coding mode from the transform coefficients converted by the means, and a coding unit for coding the result of the coding mode control unit, wherein the coding mode control unit It is characterized in that it is determined whether or not an edge component exists from the transform coefficient obtained from the transforming means, and encoding is performed by the encoding unit based on the result of the determination.
The compression means of the present invention includes an image conversion means, an encoding mode control unit, and an encoding unit. The image conversion means converts the image information into conversion coefficients in units of rectangular block areas using, for example, Wavelet conversion. The coding is performed by determining whether or not an edge component exists based on the converted coefficients.
According to this invention, since the encoding is performed by determining whether or not an edge component exists in the image data, the inclination direction of the edge information can be preserved as much as possible in performing the encoding.
According to a third aspect of the present invention, the edge detection means for detecting the edge of the print data determines an edge or a non-edge of the image by determining a conversion coefficient obtained from the image conversion means with a predetermined threshold value. .
The edges of the image are converted into conversion coefficients by the image conversion means. It is determined whether an edge exists in the image based on whether the conversion coefficient is larger or smaller than a predetermined threshold.
According to the invention, since the edge or non-edge of the image is detected by determining the conversion coefficient based on the predetermined threshold, the feature of the image can be easily determined.
A fourth aspect of the present invention is characterized in that a compression code of the compression unit is used for an edge detection unit that detects an edge or a non-edge of the compressed data.
When performing image synthesis, compressed print data is input to the edge detection means. Codes corresponding to the modes are encoded in the compressed print data. Therefore, an edge signal is output from the compressed code to an edge block corresponding to the mode.
According to this invention, since the edge information is encoded and stored in the compressed code, the edge detection can be easily performed while minimizing the circuit size.
[0008]
According to a fifth aspect of the present invention, the encoding mode control unit sets a vertical component in the rectangular block area of the transform coefficient obtained from the image converting unit to HL, a horizontal component to LH, a diagonal component to HH, and the predetermined threshold value. When Th is satisfied, it is determined that an edge component exists in the image when any of the conditions of HL> Th, LH> Th, or HH> Th is satisfied. In other cases, the edge component does not exist in the image. Is determined.
The blocked image information is, for example, 256 types of multi-value data. The multi-value data is calculated by a predetermined algorithm and output as a conversion coefficient. The conversion coefficient is determined by a predetermined threshold and converted into a 1/0 pattern, and the pattern is coded and output according to each mode.
According to this invention, since the conversion coefficient of each component is converted into each pattern by the predetermined threshold value, it is possible to generate an encoded code of a mode corresponding to the pattern.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail using embodiments shown in the drawings. However, the components, types, combinations, shapes, relative arrangements, and the like described in this embodiment are not merely intended to limit the scope of the present invention but are merely illustrative examples unless otherwise specified. .
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention. The image processing apparatus includes a scanner 201, a shading correction processing unit 202, an RGB gamma correction processing unit 203, an image area separation processing unit 204, a filter processing unit 205, a background removal processing unit 206, a color correction processing unit 207, and a scaling processing unit 208. , A compression processing unit 209, an expansion processing unit 210, a printer γ processing unit 211, a halftone processing unit 212, a printer 213, a controller I / F 220, an image synthesis processing unit 222, a large-capacity storage device 221, and an edge detection unit 223. You.
The document to be copied is read by being separated into R, G, and B colors by the color scanner 201. The shading correction processing unit 202 corrects unevenness of the image sensor, illumination unevenness of the light source, and the like. In the RGB γ correction processing unit 203, a read signal from the scanner 201 is converted from reflectance data into brightness data. In the image area separation processing unit 204, determination of a character part and a photographic part, and determination of chromatic color and achromatic color are performed. The filter processing unit 205 performs a process of changing the frequency characteristics of the image signal, such as edge enhancement and smoothing, according to the user's preference, such as a sharp image or a soft image. The background removal processing unit 206 detects a white level of paper or the like and corrects unevenness in density of the scanner. The color correction processing unit 207 corrects the difference between the color separation characteristics of the input system and the spectral characteristics of the color materials of the output system, and calculates the amount of the color materials CMYK necessary for faithful color reproduction, and a UCR ( Under color removal). The scaling unit 208 performs vertical and horizontal scaling. In the compression processing unit 209, each plate (C, M, Y, K = 8 bits) of the image data is divided into 4 × 4 pixels to perform image compression. The compressed image data and the separated data are stored in the mass storage device 221 via the controller I / F 220. The controller I / F is also connected to a network such as a LAN, and can also connect to a PC and transmit and receive images.
Further, the image synthesis processing unit 222 additionally receives the edge / non-edge data 237 of the print data 236 generated by the edge detection processing unit 223. The edge detection processing unit 223 performs edge detection using the compression code generated by the compression processing unit 209. For the compression processing unit 209, for example, the compression processing described in JP-A-2001-285646 is used. The expansion processing section 210 expands the image data received from the controller I / F 220 using a compression code. The printer γ processing unit 211 is controlled by the separation data received from the controller I / F 220, and corrects image data according to the characteristics of the printer. The halftone processing unit 212 performs dither processing or pattern processing according to the separation signal and outputs the result to the printer 213.
[0010]
FIG. 2 is a block diagram showing the compression processing unit 209 of FIG. In FIG. 2, a Wavelet conversion circuit 301 calculates a Wavelet variable relation number for 2 × 2 pixels. The coding mode control circuit 302 performs coding mode division based on the Wavelet transform coefficient, and the coding unit 303 codes the result of the coding mode control circuit 302.
[0011]
FIG. 3 is a diagram illustrating the operation of the Wavelet conversion circuit 301 in FIG. FIG. 3A shows image information of 2 × 2 pixels which are divided into blocks, and, for example, a to d are multivalued data having 256 kinds of values. FIG. 3B is a table of Wavelet transform coefficients corresponding to 2 × 2 pixels. This table has conversion coefficients LL, HL, LH, and HH, which are respectively derived from the following equations.
LL = (a + b + c + d) / 4, HL = (ab) / 2 + (cd) / 2,
LH = (a + b) / 2− (c + d) / 2, HH = (ab) − (cd)
Here, LL indicates a pixel average in a conversion unit as a low-pass filter. HL, LH, and HH output the difference between the maximum value and the minimum value of the pixel in the conversion unit in consideration of the direction as a high-pass filter, HL indicates the vertical component in the block, and LH indicates the horizontal component in the block. , HH indicate the intensity of the oblique component in the block. Further, the Wavelet transform is performed on 2 × 2 pixels, but the encoding is performed in units of 4 × 4 pixels, so that processing is performed on four blocks divided into 2 × 2. Then, the encoding mode control circuit 302 determines whether or not an edge component exists from the Wavelet transform coefficient obtained from the Wavelet transform circuit 301. The determination is performed on a block of 2 × 2 pixels, and the Wavelet transform coefficient is determined based on a threshold Th0. That is, when HL> Th0 or LH> Th0 or HH> Th0, the determination has an edge. Otherwise, it is determined to be non-edge.
For example, in FIG. 3A, if the image information of 2 × 2 pixels which are divided into blocks is a = 100, b = 250, c = 50, and d = 150, the above equation is applied.
LL = (100 + 250 + 50 + 150) / 4 = 138,
HL = (100−250) / 2 + (50−150) / 2 = −25
LH = (100 + 250) / 2− (50 + 150) / 2 = 125
HH = (100−250) − (50−150) = − 50
It becomes.
[0012]
FIG. 4 is a diagram showing 16 modes. Here, since there are four 2 × 2 blocks, the mode is divided into 16 types. The coding circuit 303 performs processing based on the result of the coding mode control circuit 302 as to whether the block is an edge block or a non-edge block. For the non-edge block, the LL component is used as a code, and for the edge block, coding is performed using the maximum / minimum average approximation method. . For example, in the case of the above conversion coefficient, if the threshold Th0 is determined to be 100, it becomes 0 except LH, and the pattern becomes mode = 4 in FIG. This is encoded by the encoding unit 303 and output.
The print data stored in the large-capacity storage device 221 is obtained by performing similar processing on image data read from the scanner 201 in the same manner as image data, and storing image data or image data created on a PC by the controller I / F 220. This is an image stored via a network, and has undergone the same compression processing as the stored image. When performing image synthesis in FIG. 1, the compressed print data 235 is input to the edge detection circuit 223. A code corresponding to the mode shown in FIG. 4 is encoded in the compressed print data 235. Therefore, an edge signal is output from the compressed code to an edge block corresponding to the mode shown in FIG.
[0013]
FIG. 5 is a block diagram of the image synthesis processing unit 222 of FIG. In the image print synthesizing process, for example, the OR process, a large value of the density information of the original image data 603 (corresponding to 233 in FIG. 1) and the print data 604 (corresponding to 236 in FIG. 1) is selected in the image synthesizing circuit 601, and the image synthesizing is performed. It is output as data 605 (corresponding to 277 in FIG. 1). Similarly, the separation / synthesis circuit 602 performs OR processing on the edge data of the separation data 606 (corresponding to 234 in FIG. 1) of the original image and the print data 607 (corresponding to 237 in FIG. 1) detected by the edge detection circuit 223. , And 609 (corresponding to 238 in FIG. 1). At this time, if the density of the document image data is larger than the threshold Th1, the document separation data is given priority. Note that the image synthesis processing includes AND and EXOR processing in addition to the OR processing, and the separation signal selection circuit 602 performs the same processing. By synthesizing the edge data of the print data with the separation signal as described above, the separation signal in the image synthesis area can be handled as a separation signal appropriate for the synthesized image.
[0014]
【The invention's effect】
As described above, according to the first aspect of the present invention, after performing the first image area separation processing, if a processing such as image synthesis that makes the area determination result and the image data do not match is performed, the image area is renewed. Since the separation processing is performed, an accurate image area separation signal can be provided to the subsequent image processing unit.
According to the second aspect, since encoding is performed by determining whether or not an edge component exists in image data, the inclination direction of edge information can be preserved as much as possible in performing encoding.
According to the third aspect, since the edge or non-edge of the image is detected by determining the conversion coefficient based on a predetermined threshold value, the feature of the image can be easily determined.
According to the fourth aspect, since edge information is encoded and stored in the compressed code, edge detection can be easily performed while minimizing the circuit size.
According to the fifth aspect, since the conversion coefficient of each component is converted into each pattern by a predetermined threshold value, it is possible to generate an encoded code of a mode corresponding to the pattern.
[Brief description of the drawings]
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a compression processing unit 209 of FIG. 1 of the present invention.
FIG. 3 is a diagram illustrating the operation of the Wavelet conversion circuit 301 of FIG. 2 of the present invention.
FIG. 4 is a diagram showing 16 modes of the present invention.
FIG. 5 is a block diagram of an image synthesis processing unit 222 of FIG. 1 of the present invention.
FIG. 6 is a block diagram of a conventional image processing apparatus.
FIG. 7 is a diagram of a combined image 703 obtained by combining print data 702 with original image data 701.
[Explanation of symbols]
201 scanner, 202 shading correction processing section, 203 RGBγ correction processing section, 204 image area separation processing section, 205 filter processing section, 206 background removal processing section, 207 color correction processing section, 208 scaling processing section, 209 compression processing section, 210 decompression processing unit, 211 printer gamma processing unit, 212 halftone processing unit, 213 printer, 220 controller I / F, 222 image synthesis processing unit, 221 mass storage device, 223 edge detection unit

Claims (5)

原稿画像を光学的に走査してデジタル信号に変換する画像読取り手段と、該画像読取り手段から入力された画像データの領域を判定して複数の像域に分離する像域分離手段と、前記画像読取り手段より入力された画像データを前記像域分離手段により生成された像域分離データに基づいて画像処理を施す画像処理手段と、該画像処理手段により画像処理が施された画像データと前記像域分離データを圧縮する圧縮手段と、該圧縮手段により圧縮された画像データおよび像域分離データを蓄積する蓄積手段と、圧縮した画像データと印字データを画像合成する画像合成手段と、前記圧縮手段により圧縮された画像データを伸長する伸長手段とを備えた画像処理装置において、
前記圧縮手段により生成された圧縮コードを利用して前記印字データのエッジ検出を行うエッジ検出手段を更に備え、
前記画像合成手段は、前記圧縮手段により圧縮された像域分離データと前記エッジ検出手段により検出された印字データのエッジデータを合成する分離合成手段と、前記印字データと前記圧縮手段により圧縮された画像データを合成する画像データ合成手段とを備え、前記伸長手段により伸長された画像データに対して前記分離合成手段により再生成された分離合成データにより画像処理を施すことを特徴とする画像処理装置。
Image reading means for optically scanning a document image and converting it into a digital signal; image area separating means for determining an area of image data input from the image reading means and separating the image data into a plurality of image areas; Image processing means for performing image processing on the image data input from the reading means based on the image area separation data generated by the image area separation means; image data subjected to image processing by the image processing means; Compression means for compressing the area separation data, storage means for storing image data and image area separation data compressed by the compression means, image synthesis means for synthesizing the compressed image data and print data, and the compression means A decompression means for decompressing the image data compressed by
Edge detection means for detecting the edge of the print data using a compression code generated by the compression means,
The image synthesizing unit is a separating and synthesizing unit that synthesizes image area separation data compressed by the compression unit and edge data of the print data detected by the edge detection unit, and is compressed by the print data and the compression unit. Image data synthesizing means for synthesizing image data, wherein image processing is performed on the image data decompressed by the decompression means using the separated and synthesized data regenerated by the separation and synthesis means. .
前記圧縮手段は、多値画像を任意の大きさの矩形ブロック領域に分割し、該矩形ブロック領域単位に前記多値画像を変換係数に変換する画像変換手段と、該画像変換手段により変換された変換係数から符号化のモード分けを行う符号化モード制御部と、該符号化モード制御部の結果を符号化する符号化部とを備え、
前記符号化モード制御部は前記画像変換手段から得られた変換係数からエッジ成分が存在するか否かを判別し、該判別結果に基づいて前記符号化部により符号化を行うことを特徴とする請求項1に記載の画像処理装置。
The compression unit divides the multi-valued image into rectangular block regions of an arbitrary size, and converts the multi-valued image into a conversion coefficient in units of the rectangular block region. An encoding mode control unit that performs encoding mode division from transform coefficients, and an encoding unit that encodes the result of the encoding mode control unit,
The encoding mode control unit determines whether or not an edge component exists from the transform coefficient obtained from the image conversion unit, and performs encoding by the encoding unit based on the determination result. The image processing device according to claim 1.
前記印字データのエッジ検出を行うエッジ検出手段は、前記画像変換手段から得られた変換係数を所定の閾値により判定して画像のエッジ若しくは非エッジを検出することを特徴とする請求項1に記載の画像処理装置。2. The image processing apparatus according to claim 1, wherein the edge detection unit that detects an edge of the print data determines an edge or a non-edge of the image by determining a conversion coefficient obtained from the image conversion unit using a predetermined threshold. 3. Image processing device. 前記圧縮データのエッジ若しくは非エッジを検出するエッジ検出手段に、前記圧縮手段の圧縮コードを用いることを特徴とする請求項1又は3に記載の画像処理装置。The image processing apparatus according to claim 1, wherein a compression code of the compression unit is used for an edge detection unit that detects an edge or a non-edge of the compressed data. 前記符号化モード制御部は、前記画像変換手段から得られた変換係数の前記矩形ブロック領域内の垂直成分をHL、水平成分をLH、斜め成分をHH、前記所定の閾値をThとした場合、HL>ThまたはLH>ThまたはHH>Thの何れかの条件を満足した場合、画像にエッジ成分が存在すると判定し、前記条件以外の場合は、画像にエッジ成分が存在しないと判定することを特徴とする請求項1又は3に記載の画像処理装置。The encoding mode control unit, when a vertical component in the rectangular block area of the transform coefficient obtained from the image conversion unit is HL, a horizontal component is LH, an oblique component is HH, and the predetermined threshold is Th, If any one of the conditions of HL> Th or LH> Th or HH> Th is satisfied, it is determined that an edge component exists in the image. Otherwise, it is determined that no edge component exists in the image. The image processing apparatus according to claim 1, wherein:
JP2003029941A 2003-02-06 2003-02-06 Image processing apparatus Pending JP2004242102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003029941A JP2004242102A (en) 2003-02-06 2003-02-06 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003029941A JP2004242102A (en) 2003-02-06 2003-02-06 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2004242102A true JP2004242102A (en) 2004-08-26

Family

ID=32956977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003029941A Pending JP2004242102A (en) 2003-02-06 2003-02-06 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2004242102A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299194A (en) * 2014-09-30 2015-01-21 杭州电子科技大学 Method for segmenting and extracting name card area image under noise pollution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299194A (en) * 2014-09-30 2015-01-21 杭州电子科技大学 Method for segmenting and extracting name card area image under noise pollution

Similar Documents

Publication Publication Date Title
JP2720924B2 (en) Image signal encoding device
US7376268B2 (en) Image processing apparatus for transmitting image data to an external device
JP4176114B2 (en) Image compression apparatus, image reading apparatus including the same, image processing apparatus including the image compression apparatus, image forming apparatus including the same, and image compression processing method
JP4115460B2 (en) Image processing apparatus and method, and computer program and recording medium
JP2006005939A (en) Segmentation-based hybrid compression scheme for scanned documents
JP2007028408A (en) Image processing apparatus
JP2004228811A (en) Image processor, image processing method and program for computer to perform execution
JP2005045404A (en) Image processor and method, and program
EP1103918A2 (en) Image enhancement on JPEG compressed image data
JP2004193964A (en) Picture processor, picture processing method, program and recording medium
US6987587B2 (en) Multiple recognition image processing apparatus
JP3929030B2 (en) Image processing device
JP2005101765A (en) Method and apparatus for processing image, and image forming apparatus
JP4050639B2 (en) Image processing apparatus, image processing method, and program executed by computer
JP2017216540A (en) Image processing apparatus, image forming apparatus, program, and recording medium
JP3117331B2 (en) Image data processing device
JP2004242102A (en) Image processing apparatus
JPH06178122A (en) Adaptive encoding device for color image
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP3842909B2 (en) Image processing device
JP2005332154A (en) Image processor and image processing method
JP2002158879A (en) Method for compressing/uncompressing image with gradation and compressing/uncompressing device
JP2004128664A (en) Image processor and processing method
JP2007189275A (en) Image processor
JP2004112604A (en) Image processing apparatus