JP3611407B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP3611407B2
JP3611407B2 JP24717396A JP24717396A JP3611407B2 JP 3611407 B2 JP3611407 B2 JP 3611407B2 JP 24717396 A JP24717396 A JP 24717396A JP 24717396 A JP24717396 A JP 24717396A JP 3611407 B2 JP3611407 B2 JP 3611407B2
Authority
JP
Japan
Prior art keywords
edge
pixel
image data
black
unit
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.)
Expired - Fee Related
Application number
JP24717396A
Other languages
Japanese (ja)
Other versions
JPH1075346A (en
Inventor
裕行 馬場
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP24717396A priority Critical patent/JP3611407B2/en
Publication of JPH1075346A publication Critical patent/JPH1075346A/en
Application granted granted Critical
Publication of JP3611407B2 publication Critical patent/JP3611407B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置に関し、詳細には、画像品質の劣化及び文字の可読性の低下を抑制しつつ記録材の消費量を削減する画像処理装置に関する。
【0002】
【従来の技術】
記録材の消費量を抑える機能(以下、エコノモード)が、大部分のプリンタやファクシミリ装置等の画像処理装置に搭載されており、ファクシミリ装置の受信画像の出力、プリンタの出力、コピーの出力において、記録材、例えば、トナーの消費量を削減するのに利用されている。
【0003】
このようなエコノモードを搭載した従来の画像処理装置としては、例えば、特開平2−144574号公報に開示された電子写真方式のプリンタ装置があり、このプリンタ装置は、トナー節約モードが指定されると、画像部分のドットデータの間引処理を行うことにより、トナー消費量を削減している。
【0004】
このような間引処理は、一般に、図48に示すような画像処理回路1を備え、画像処理回路1は、間引処理部2、エッジ検出部3及びオア回路4等を備えている。すなわち、スキャナ等で読み取られた入力画像データが、画像処理回路1の間引処理部2及びエッジ検出部3に入力され、入力画像データは、白黒2値画像のときには、黒が「1」、白が「0」の2値画像で、カラーあるいはモノクロのグレースケールの場合は、事前に2値画像に画像処理されている。
【0005】
エッジ検出部3と間引処理部2は、各画素の座標(x,y)を与えるタイミング信号によって動作し、例えば、図49のようなビットパターンによる間引処理を行う。
【0006】
例えば、間引処理部2は、座標(x1,y1)の画素の座標が、x1=y1=奇数、あるいは、偶数の場合(図49では、x1=y1=0,x1=y1=1の場合に黒)、黒画素「1」の信号を出力し、それ以外は、白「0」の信号をオア回路4に出力する。エッジ検出部3は、エッジの場合は、「1」、エッジでない場合は、「0」の信号をオア回路4に出力する。オア回路4は、間引処理部2からの出力とエッジ検出部3からの出力の論理和をとり、出力画像データとして電子写真方式の作像プロセス等に出力する。したがって、オア回路4からは、エッジ部の画素は、黒のまま、エッジ部以外の黒画素は、網点パターンになる出力画像データが出力される。
【0007】
【発明が解決しようとする課題】
しかしながら、このような従来の画像処理装置にあっては、エコノモードにおいてトナーの消費量を削減するために、黒画素に間引処理を行っていたため、文字画像の可読性(読みやすさ)が著しく低下し、また、コピー出力の画質が低下するという問題があった。特に、ジェネレーションコピー(エコノモードの出力を原稿としたコピー)においては、作像プロセスの特性にも依存するが、間引パターンのドット潰れやドット抜けが発生し、画像がさらに劣化する。
【0008】
すなわち、上記従来の間引処理によりトナーの削減処理を行うと、例えば、図50に示すような入力画像に対して、図49に示した間引ビットパターンを使用して間引処理を行うと、入力画像の黒領域の全体について間引処理が行われ、出力画像は、図50に示すように、画像全体がぼやけたものとなり、文字画像の場合の可読性が悪化し、また、画質が低下するという問題があった。
【0009】
そこで、請求項1記載の発明は、画像の黒領域のエッジを検出して、当該黒領域のエッジを所定量だけ削除することにより、従来の黒領域の間引処理を行うことなく、文字を細らせて、良好な可読性と良好なコピー時の画像品質を維持しつつ、記録材の消費量を削減することのできる画像処理装置であり、画像の黒領域のエッジを、エッジ削り量指示手段の指示に応じた量だけ削除することにより、文字の可読性及び画像品質と記録材の消費量とのバランスを適宜選択できる画像処理装置を提供することを目的としている。
【0010】
請求項記載の発明は、画像の黒領域の連結性を検出して、画像の黒領域のエッジの削除量を制御することにより、画像の黒領域の連結部分が、画像の黒領域のエッジの削除により、切断されたり、不鮮明となることを防止して、より一層文字の可読性及び画像品質を向上させつつ、記録材の消費量を削減することのできる画像処理装置を提供することを目的としている。
【0011】
【課題を解決するための手段】
請求項1記載の発明は、処理対象となる原画像データの黒画素の一部を削除し、削除した画像データに基づいて作像材を用いて記録紙に画像を記録する、作像材節約モードの動作を行うことが可能な画像処理装置であって、黒画素の削除量を指示する削除量指示手段と、前記削除量指示手段により指示された削除量に応じた条件の画素マトリックス処理によって原画像データにおける削除の対象となる黒画素領域のエッジを検出する処理を行うエッジ検出手段と、前記エッジ検出手段によって検出した黒画素領域のエッジを原画像データから削除する手段を備えることにより、上記目的を達成している。
【0012】
また、請求項2記載の発明は、請求項1に記載された画像処理装置において、処理対象となる原画像データの黒画素が有する周辺黒画素との連結性の有無を画素マトリックス処理によって判定する連結性判定手段と、前記連結性判定手段の判定結果が連結性無しであることを条件に前記エッジ削除手段を動作させる削除制御手段をさらに備えることにより、上記目的を達成している。
【0013】
【発明の実施の形態】
以下、本発明の好適な実施の形態を添付図面に基づいて詳細に説明する。なお、以下に述べる実施の形態は、本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。
【0014】
図1〜図6は、本発明の画像処理装置の基本構成及び処理方法を実施形態に基づいて説明する図である。図1は、本発明を適用したファクシミリ装置10の回路ブロック図である。
【0015】
図1において、ファクシミリ装置10は、読取走査部11、読取処理部12、記録走査部13、記録処理部14、ラインメモリ15、ラインメモリ制御部16、情報圧縮・復元部17、モデム18、通信制御部19、網制御部20、DMAコントローラ21、ROM22、MPU23、RAM24、インターフェース25、機構制御部26、インターフェース27及びパネル部28等を備えており、上記各部は、データバス及びアドレスバスからなるバス29により接続されている。
【0016】
読取走査部11は、例えば、CCD(Charge Coupled Device )を利用したラインイメージスキャナ等が利用されており、読取走査部11は、読取処理部12の制御下で動作して、原稿の画像を所定の解像度で読み取る。読取処理部12は、MPU23の制御下で動作して、読取走査部11の駆動を制御するとともに、読取走査部11の読み取った画像データをバス29を介してラインメモリ15に転送する。
【0017】
記録走査部13は、例えば、電子写真式記録装置等が使用されており、ラインメモリ制御部16を介してラインメモリ15から転送されてくる画像データに基づいてトナー画像を記録紙に記録出力する。記録処理部14は、MPU23の制御下で動作して、記録処理部13を駆動制御し、画像を記録紙に記録出力させる。
【0018】
ラインメモリ15は、情報圧縮・復元部17によってエンコード(符号化)あるいはデコード(復号化)された画像データ、あるいは、読取走査部11で読み取られた画像データ等を1ライン毎に格納する。ラインメモリ制御部16は、MPU23の制御下で動作して、ラインメモリ15への画像データの書き込み及びラインメモリ15からの画像データの読み出しを制御する。
【0019】
情報圧縮・復元部17は、画像データの蓄積の効率化及び伝送時間の短縮化を図るためのものであり、所定の符号化方式に従って画像データを符号化し、また、符号化された画像データを復号化する。
【0020】
網制御部20には、回線L、例えば、公衆電話回線あるいは専用回線が接続され、網制御部20は、回線Lからの発呼に対して自動着呼し、また、回線Lへの自動発呼処理を行う。モデム18は、網制御部20に接続されており、MPU23の制御下で動作して、送信信号の変調及び受信信号の復調を行う。通信制御部19は、相手ファクシミリ装置との間でファクシミリ制御信号を交換し、ファクシミリ通信手順を実行する。
【0021】
DMA(Direct Memory Access)コントローラ21は、入出力装置とメモリ、あるいはメモリ同士のデータの受け渡しを、MPU23を経由せずに、直接行う。
【0022】
ROM(Read Only Memory )22には、ファクシミリ装置10としての基本処理プログラム及び後述する画像処理プログラムが格納されているとともに、これらの各処理プログラムを実行するのに必要なシステムデータやその他の各種データがあらかじめ格納されている。
【0023】
MPU(Micro Processing Unit )23は、ROM22内のプログラムに基づいて、ファクシミリ装置10の各部を制御して、ファクシミリ装置10としての基本処理を実行するとともに、後述する画像処理を実行する。特に、MPU23は、記録走査部13によるトナー画像の記録時のトナー消費量を削減するエコノモードを備えており、このエコノモードにおける画像処理、すなわち、画像データの黒領域のエッジ検出処理、当該エッジ検出結果に基づくエッジ削除処理、黒領域の連結性判定処理及び当該黒領域の連結性判定処理に基づくエッジ削除制御処理等を行って、記録走査部13におけるトナー消費量の削減を行う。
【0024】
RAM(Random Access Memory )24は、受信バッファや送信バッファ、さらには、MPU23のワークメモリ等として利用され、受信画像データや送信画像データを一時記憶するとともに、MPU23の演算結果等を一時記憶する。
【0025】
機構制御部26は、各種ドライバーやセンサー等を総称したものであり、インターフェース25を介してバス29に接続されている。パネル部28は、ファクシミリ装置10のキーやスイッチ類を備えた操作部や表示部等を総称したものであり、インターフェース27を介して読取処理部12に接続されているとともに、インターフェース25を介してバス29に接続されている。このパネル部28には、エコノモードの設定・解除を行うモード切換キー及びエコノモードにおけるエッジの削り量を指示するエッジ削り量指示キー(エッジ削り量指示手段)等が設けられており、MPU23は、モード切換キーのキー設定状態に応じてエコノモード処理あるいは通常モード処理を行い、また、エッジ削り量指示キーの指示に応じた量だけ、エコノモード時に画像データの黒領域のエッジ削除処理を行う。
【0026】
次に、本実施の形態の動作を説明する。ファクシミリ装置10は、送信時、MPU23は、読取処理部12を介して読取走査部11を制御し、原稿の画像を読み取って、当該原稿の画像データを読取処理部12を介して一旦ラインメモリ15に記憶させる。MPU23は、情報圧縮・復元部17の圧縮モードに応じて、ラインメモリ15から画像データの読み出しを行いながら冗長度を除去し、バス29を介してRAM24に一旦蓄積する。ファクシミリ装置10は、このRAM24を送信バッファとして利用しつつ、順次、画像データを通信制御部19を介してモデム18に転送し、モデム18で変調した後、網制御部20を介して回線Lに送出する。また、ファクシミリ装置10は、受信時には、受信した画像データを網制御部20及び通信制御部19を介してRAM24を受信バッファとして利用して、情報圧縮・復元部17に転送し、情報圧縮・復元部17で復号化(復元)して、ラインメモリ15に一旦記憶する。ファクシミリ装置10は、このラインメモリ15の画像データを必要に応じて、MPU23に転送して、各種画像処理を行い、再度、ラインメモリ15に記憶する。その後、ファクシミリ装置10は、ラインメモリ15から画像データを記録処理部14に転送し、記録走査部13によりトナー画像を記録紙に記録出力させる。
【0027】
ファクシミリ装置10は、上記MPU23における画像処理の内容の一つとして、パネル部28のモード切換キーでエコノモードが設定されていると、エッジ削り量指示キーで指定された量だけ、画像データの画像の黒領域のエッジを削除する画像処理を行う。
【0028】
すなわち、MPU23には、図2に示すように、ソフト的に、あるいは、ハード的に画像処理回路30が構成され、画像処理回路30は、エッジ検出部31とアンド回路32を備えている。なお、エッジ検出部31の出力は、アンド回路32に反転入力されている。画像処理回路30のエッジ検出部31及びアンド回路32には、ラインメモリ15から画像データ(入力画像データ)が入力され、アンド回路32には、さらに、エッジ検出部31の出力が反転入力される。なお、この入力画像データは、黒画素が、「1」で、白画素が、「0」の2値画像データである。
【0029】
エッジ検出部(エッジ検出手段)31は、入力画像データが黒領域のエッジ領域であるかどうかの検出を行い、エッジ部のときには、「1」を、非エッジ部のときには、「0」をアンド回路32に出力する。このエッジ検出部31によるエッジ検出処理は、画像データの画像の黒領域のエッジを適切に検出できる方法であれば、どのような方法で黒領域のエッジを検出してもよいが、エッジ検出部31は、例えば、図3に示すような3×3のマトリックスを用いてエッジ検出処理を行う。すなわち、エッジ検出部31は、図3の9個のマトリックスの画素のうち、ハッチングの入っている中央の画素を注目画素として、当該注目画素が黒画素の場合に、周囲の8個の画素の画像データを調べて、周囲画素に1つ以上白画素がある場合は、注目画素は、エッジの画素であると判別する。
【0030】
このエッジ検出部31によるエッジ検出処理を、フローチャートで示すと、図4のようになる。すなわち、エッジ検出部31は、ラインメモリ15から順次入力される入力画像データをマトリックス処理し、注目画素が黒画素であるかどうかチェックする(ステップS1)。ステップS1で、黒画素でないときには、当該注目画素は、非エッジ画素であると判断し、「0」をアンド回路32に出力して、当該注目画素についてのエッジ検出処理を終了する(ステップS2)。
【0031】
ステップS1で、注目画素が黒画素のときには、エッジ検出部31は、周囲8画素のなかに白画素があるかどうかチェックし(ステップS3)、ステップS3で、周囲8画素のなかに白画素がないときには、エッジ検出部31は、当該注目画素は非エッジ画素であると判断して、「0」をアンド回路32に出力して、当該注目画素についてのエッジ検出処理を終了する(ステップS2)。
【0032】
ステップS3で、周囲8画素のなかに白画素があるときには、エッジ検出回路31は、当該注目画素はエッジ画素であると判断し、「1」をアンド回路32に出力して、当該注目画素についてのエッジ検出処理を終了する(ステップS4)。
【0033】
そして、アンド回路(エッジ削除手段)32は、入力画像データとエッジ検出部31の出力を反転したものとの論理積をとって、出力画像データとしてラインメモリ15に出力する。したがって、アンド回路32は、入力画像データ、すなわち注目画像データが画像の黒領域のエッジであるとき、「0」の出力画像データを出力し、エッジ以外の黒領域の画像データのとき、「1」の画像データを出力する。また、アンド回路32は、入力画像データ、すなわち、注目画像データが白画像データのときには、「0」の出力画像データをラインメモリ15に出力する。
【0034】
したがって、画像処理回路30は、ラインメモリ15から順次入力される入力画像データの各画素が画像の黒領域のエッジ画素であるかどうかチェックして、エッジ画素であるときには、白画素を示す「0」を、エッジ画素以外の黒領域の画素であるときには、黒画素を示す「1」を、白領域の画素であるときには、白画素であることを示す「0」を、それぞれ出力し、入力画像データの画像の黒領域のエッジ画素を判別して、当該エッジを1画素分削った状態の画像データを出力画像データとしてラインメモリ15に出力する。
【0035】
そして、ファクシミリ装置10は、この出力画像データをラインメモリ15から記録処理部14に転送し、記録走査部13でトナー画像として記録紙に記録出力する。
【0036】
その結果、ファクシミリ装置10は、図5に示すような入力画像データ(受信画像データあるいは読取走査部11で読み取った画像データ)に対して、各文字画像のエッジを1ドット削った状態の文字画像を、図6に示すように、鮮明で、可読性に富んだトナー画像として、記録走査部13で記録紙に記録出力することができる。
【0037】
したがって、図48に示した画像の間引処理を行う従来のエコノモードの記録に比較して、文字の可読性及び画像品質を向上させることができるとともに、トナー消費量を削減することができる。
【0038】
図7〜図47は、上記で基本構成を示したファクシミリ装置10において、エッジ削り量をその指示に応じて行うとともに、画像データの黒領域の連結性を判定して、その判定結果に基づいてエッジの削り量を制御することを可能にする手段を付加した実施形態を示す図である
【0039】
図7は、本実施の形態のファクシミリ装置40の要部回路ブロック図であり、ファクシミリ装置40は、図示しないが、上記のファクシミリ装置10(図 1 参照)と同様に、読取走査部11、読取処理部12、記録走査部13、記録処理部14、ラインメモリ15、ラインメモリ制御部16、情報圧縮・復元部17、モデム18、通信制御部19、網制御部20、DMAコントローラ21、ROM22、MPU23、RAM24、インターフェース25、機構制御部26、インターフェース27及びパネル部28等を備えており、上記各部は、データバス及びアドレスバスからなるバス29により接続されている。
【0040】
ファクシミリ装置40は、そのMPU23にソフト的に、あるいは、ハード的に画像処理回路41を形成し、画像処理回路41は、図7に示すように、エッジ検出部42、連結性判定部43及び2個のアンド回路44、45を備えている。エッジ検出部42には、エッジ削り量指示部46からエッジ削り量指示データが入力され、エッジ削り量指示部(エッジ削り量指示手段)46は、ファクシミリ装置40のパネル部28に設けられている。エッジ削り量指示部46からは、入力画像データにおける黒領域のエッジ部分の削り量、例えば、エッジ部1ドットを削るのか、2ドットを削るのか、あるいは、3ドットを削るのか等がファクシミリ装置40のオペレータにより入力指示され、MPU23は、エッジ削り量指示部46の操作内容を監視して、入力指示内容であるエッジ削り量をエッジ検出部42に取り込む。
【0041】
上記画像処理回路41の連結性判定部43、エッジ検出部44及びアンド回路45には、ラインメモリ15から画像データ(入力画像データ)が入力され、この入力画像データは、上記ファクシミリ装置10(図 1 参照)におけると同様に、黒画素が、「1」で、白画素が、「0」の2値画像データである。
【0042】
アンド回路(エッジ削除手段)45には、上記入力画像データが入力されるとともに、アンド回路44の出力が反転入力され、アンド回路45は、これらの入力画像データとアンド回路44の反転入力の論理積を取って出力画像データとしてラインメモリ15に出力する。
【0043】
アンド回路44(削除制御手段)には、エッジ検出部42の出力が入力されるとともに、連結性判定部43の判定出力が反転入力され、アンド回路44は、これらの論理積を取ってアンド回路45に出力する。
【0044】
連結性判定部(連結性判定手段)43は、エッジ検出部42で検出されたエッジを削除した場合に文字や線が分離したり、消出するのを防ぐために、文字や線の連結性を判定する。具体的には、連結性判定部43は、斜め線の維持、1画素連結点の維持、2ドット縦線の維持、対象性の維持及び2ドット横線の維持等を行うために、入力画像データの注目画素がこれら斜め線であるか、1画素連結点であるか、2ドット縦線であるか、対象性を必要とする線であるか、2ドット横線であるか等の連結性を判定して、削除されると斜め線の維持、1画素連結点の維持、2ドット縦線の維持、対象性の維持及び2ドット横線の維持等に支障をきたす連結点であると判定すると、連結点であることを示す「1」の判定出力をアンド回路44に出力し、連結点でないと判定すると、非連結点であることを示す「0」の判定出力をアンド回路44に出力する。
【0045】
すなわち、連結性判定部43は、3×3、4×5、あるいは、5×4のマトリックスを使用して注目画素とその周辺画素との連結性を判定する。例えば、連結性判定部43は、図8の(a)、(b)、(c)、(d)に示すように、3×3のマトリックスの中央の注目画素が黒丸●で示すように黒画素であり、その斜め方向に位置する画素の1つが黒画素であるとき、ハッチングの○で示す範囲の画素の1つ以上が黒画素であるような条件(以下、条件1という)の場合、斜め線であると判断して、斜め方向の連結が切れないようにするために、当該注目画素は連結点であると判定する。また、連結性判定部43は、図9(a)と図9(b)に示すように、中央の注目画素が黒画素(●で示す)で、当該注目画素の左右あるいは上下の2画素が白画素(○で示す)であるとき、ハッチングの○で示す上下6画素あるいは左右6画素のうち1つ以上が黒画素であるような条件(以下、条件2という)の場合、1画素連結点であると判断して、主走査方向と副走査方向の連結が途切れないようにするために、当該注目画素は連結点であると判定する。さらに、連結性判定部43は、図10(a)と図10(b)に示すように、中央の注目画素が黒画素(●で示す)で、当該注目画素の左斜め方向あるいは右斜め方向の2画素が白画素(○で示す)であるとき、ハッチングの○で示す残りの斜め上下の3画素ずつのうち1つ以上が黒画素であるような条件(以下、条件3という)の場合、白画素に囲まれた斜め線であると判断して、斜め方向で白画素に挟まれた線の連結が途切れないようにするために、当該注目画素は連結点であると判定する。ところが、上記図10の判定をそのまま行うと、図11に示すような斜め線を連結点と判定して削除することができないが、そこで、連結性判定部43は、図12(a)、(b)に示すような条件(以下、条件4という)の場合に連結点判定を除外するようにすると、図13に示すように、連結性を維持しつつ、エッジ部を削除することができる。そこで、連結性判定部43は、図12のような場合には、連結点判定から除外して、連結点とは、判定しない。また、連結性判定部43は、図14に示すように、注目画素が黒画素であり、この黒画素の注目画素に1画素のみ黒画素が横方向に連続しているような条件(以下、条件5という)の場合には、2ドット幅の縦線のエッジが削除されて消出するのを防ぐために、連結点であると判定する。
【0046】
そして、連結性判定部43は、例えば、図15のような入力画像に対して、上記条件1から条件4により連結性判定を行って、エッジ削除を行うと、図16に示すような出力画像となる。これに対して、連結性判定部43が、図15に示すような入力画像に対して、上記条件5を追加して連結性判定を行ってエッジ削除を行うと、左右で細らせ方が異なり、図17に示すような出力画像となって、左右の対称性が損なわれる。
【0047】
そこで、連結性判定部43は、図18に示すような4×5のマトリックスを用いて、図19(a)〜(f)に示すような条件(以下、条件6という)においては、連結点と判定して、当該注目画素の削除を行わせないようにする。なお、図19において、(2,2)の位置の黒画素(●で表示)が注目画素、○で示す画素が白画素、ハッチングの○で示す画素が上記条件1を満たす画素、そして、◇で示す画素が白画素と黒画素のいずれであってもよい画素である。図15に示した入力画像データに対して、このような条件6を追加して連結性判定部43が連結点の判定を行って、入力画像データのエッジ削除を行うと、図20に示すような対称な出力画像データを得ることができる。
【0048】
また、連結性判定部43は、図21に示すように、注目画素が黒画素であり、この黒画素の注目画素に1画素のみ黒画素が縦方向に連続しているような条件(以下、条件7という)の場合には、2ドット幅の横線のエッジが削除されて消出するのを防ぐために、連結点であると判定する。
【0049】
そして、連結性判定部43は、例えば、図22のような入力画像に対して、上記条件1から条件6により連結性判定を行って、エッジ削除を行うと、図23のような出力画像となる。これに対して、連結性判定部43が、図22のような入力画像に対して、上記条件7を追加して連結性判定を行ってエッジ削除を行うと、上下で細らせ方が異なり、図24のような出力画像となって、上下の対称性が損なわれる。
【0050】
そこで、連結性判定部43は、図25に示すような5×4のマトリックスを用いて、図26(a)〜(f)に示すような条件(以下、条件8という)においては、連結点と判定して、当該注目画素の削除を行わせないようにする。なお、図26において、(2,3)の位置の黒画素(●で表示)が注目画素、○で示す画素が白画素、ハッチングの○で示す画素が上記条件1を満たす画素、そして、◇で示す画素が白画素と黒画素のいずれであってもよい画素である。図22に示した入力画像データに対して、このような条件8を追加して連結性判定部43が連結点を判定し、入力画像データのエッジ削除を行うと、図27に示すような対称な出力画像データを得ることができる。
【0051】
また、図28に示すような2画素幅の斜め線からなる入力画像データに対して、単に片側だけを残した場合、図29に示すように、斜め線の方向によっては、細くなるところと、細くならないところが生じ、左右の対称性が失われる。そこで、連結性判定部43は、図30に示すように、上記条件5を満たすような注目画素(図28にハッチングの○で示す画素)が存在しても、当該注目画素に隣接する画素とその上側の画素に黒画素が存在する条件(以下、条件9という)においては、エッジと判断して、連結点とは判断せず、削除の対象とする。図28に示すような入力画像データに対して、連結性判定部43がこの条件9を追加して連結性を判定し、エッジ削除を行うと、図31に示すように、左右の対称な出力画像データを得ることができる。
【0052】
さらに、図32に示すような入力画像データに対して、上記条件1から条件9により連結点を判定して、エッジの削除を行うと、図33に示すように、連結点が削除され、線が分離する場合が生じる。そこで、連結性判定部43は、図34(a)〜(h)に示すように、注目画素に対してL字型(L字の方向は問わない)に黒画素が隣接している条件(以下、条件10という)においては、連結点であると判定し、当該注目画素のエッジを削除しないようにする。なお、図34において、3×3のマトリックスの中央の●で示す黒画素が注目画素、●で示す画素が黒画素、○で示す画素が白画素、◇で示す画素が白画素と黒画素のいずれであってもよい画素である。そして、図32に示すような入力画像データに対して、連結性判定部43が条件10を追加して連結性を判定し、条件10を満たすようなエッジを削除しないようにすると、図35に示すように、連結点が維持されて、線が分離されることを防止することができる。
【0053】
また、図36に示すような中空の四角が連結されているような入力画像データに対して、連結性判定部43が、上記条件1から条件10により連結点を判定して、エッジの削除を行うと、図37に示すように、中空の四角の連結部が削除され、連結性が失われる。そこで、連結性判定部43は、図38(a)〜(h)に示すような条件(以下、条件11という)においては、連結点であると判断して、削除の対象としない。すなわち、中央の黒画素である注目画素に対して、上下あるいは左右にそれぞれ黒画素が隣接し、注目画素を中心に並んだ3個の黒画素と直交する方向に注目画素に隣接して黒画素が存在するとともに、当該注目画素に隣接した黒画素と反対側であって3個ならんだ黒画素の端の黒画素に隣接して黒画素が存在するような条件11が存在する場合、連結性判定部43は、当該注目画素を連結点と判断し、削除対象から除外する。なお、図38において、●で示す画素が黒画素、○で示す画素が白画素、◇で示す画素が白画素と黒画素のいずれであってもよい画素である。したがって、図36に示すような入力画像データに対して、連結性判定部43が、条件11が満たされるときには、連結点であると判定し、削除対象から除外すると、図39に示すように、入力画像データの連結性を維持しつつ、エッジ削除を行うことができる。
【0054】
上記エッジ検出部(エッジ検出手段)42は、例えば、図40に示すような画素C1〜画素C9からなる3×3のマトリックスを使用して、中央の画素C5を注目画素として、当該注目画素が入力画像データの画像の黒領域の左エッジ、下エッジ、右エッジ、あるいは、上エッジのいずれであるかを判定して、上記エッジ削り量指示部46からのエッジ削り量指示に応じて、エッジ検出を行う。
【0055】
例えば、エッジ削り量指示部46から1ドット削りが指示されているときには、エッジ検出部42は、図41に示すように、注目画素C5の左の画素C4あるいは下の画素C8のいずれかが白画素であるかどうかにより、左エッジと下エッジかどうかを検出している。なお、図41において、●は、黒画素、○は、白画素、*は、白画素と黒画素のいずれでもよい画素である。すなわち、エッジ検出部42は、エッジ削り量指示部46から1ドット削りが指示されているときには、図40に示した3×3マトリックスを使用して、図42に示すように、まず、注目画素C5が黒画素であるかチェックし(ステップP1)、注目画素C5が黒画素でないときには、エッジではなく削除対称外の画素であると判断して、非エッジであることを示す「0」をアンド回路44に出力する(ステップP2)。ステップP1で、注目画素C5が黒画素であるときには、エッジ検出部42は、注目画素C5に隣接する左画素C4あるいは下画素C8が白画素であるかチェックし(ステップP3)、左画素C4及び下画素C8の双方が白画素でないときには、左エッジでも、下エッジでもなく、削除対称外の画素であると判断して、非エッジであることを示す「0」をアンド回路44に出力する(ステップP2)。ステップP3で、左画素C4あるいは下画素C8のいずれかが白画素であるときには、エッジ検出部42は、当該注目画素C5が左エッジあるいは下エッジであり、削除対象のエッジであると判断して、エッジであることを示す「1」をアンド回路44に出力する(ステップP4)。
【0056】
また、エッジ検出部42は、エッジ削り量指示部46から2ドット削りが指示されているときには、エッジ検出部42は、図43に示すように、注目画素C5の上の画素C2、左の画素C4、右の画素C6、あるいは、下の画素C8のいずれかが白画素であるかどうかにより、上エッジ、左エッジ、右エッジ及び下エッジのいずれかどうかを検出している。なお、図43において、●は、黒画素、○は、白画素、*は、白画素と黒画素のいずれでもよい画素である。すなわち、エッジ検出部42は、エッジ削り量指示部46から2ドット削りが指示されているときには、図40に示した3×3マトリックスを使用して、図44に示すように、まず、注目画素C5が黒画素であるかチェックし(ステップP11)、注目画素C5が黒画素でないときには、エッジではなく削除対称外の画素であると判断して、非エッジであることを示す「0」をアンド回路44に出力する(ステップP12)。ステップP11で、注目画素C5が黒画素であるときには、エッジ検出部42は、注目画素C5に隣接する上画素C2、左画素C4、右画像C6、あるいは、下画素C8のいずれかが白画素であるかチェックし(ステップP13)、上画素C2、左画素C4、右画像C6及び下画素C8のいずれもが白画素でないときには、上エッジ、左エッジ、右エッジ及び下エッジのいずれでもなく、削除対称外の画素であると判断して、非エッジであることを示す「0」をアンド回路44に出力する(ステップP12)。ステップP13で、上画素C2、左画素C4、右画像C6、あるいは、下画素C8のいずれかが白画素であるときには、エッジ検出部42は、当該注目画素C5が上エッジ、左エッジ、右エッジ、あるいは、下エッジのいずれかであり、削除対象のエッジであると判断して、エッジであることを示す「1」をアンド回路44に出力する(ステップP14)。
【0057】
なお、3ドット以上を削除することがエッジ削除量指示部46から指示されると、エッジ検出部42は、まず、上記1ドット削りのエッジ検出処理と2ドット削りのエッジ検出処理のいずれかを行って、当該エッジ検出処理に基づいてエッジがその削除処理を行い、当該エッジの削除を行った画像データに対して、再度、1ドット削りのエッジ検出処理と2ドット削りのエッジ検出処理のいずれかを循環して行うことにより、対応することができる。
【0058】
再び、図7に戻って、アンド回路44には、上述のように、上記エッジ検出部42のエッジ検出出力が入力されるとともに、連結性判定部43から連結性判定結果出力が反転入力され、アンド回路44は、これらの論理積を取って、アンド回路45に出力する。すなわち、アンド回路44は、エッジ検出部42がエッジであることを示す「1」を出力し、連結性判定部43が非連結点であることを示す「0」を出力したとき、「1」をアンド回路45に出力し、それ以外のときに、「0」をアンド回路45に出力する。
【0059】
アンド回路45には、上述のように、アンド回路44の論理積出力が反転入力されるとともに、入力画像データが入力され、アンド回路45は、これらの入力の論理積を取って出力画像データとしてラインメモリ15に出力する。すなわち、アンド回路45は、入力画像データが黒画素であり、エッジ検出部42がエッジ画素であると判定し、かつ、連結性判定部43が非連結点であると判定すると、当該黒画素を白画素として、すなわち、エッジの削除を行った出力画像データをラインメモリ15に出力し、それ以外は、入力画像データと同じ出力画像データをラインメモリ15に出力する。
【0060】
このようにしてラインメモリ15に出力画像データが蓄積されると、ファクシミリ装置40は、上記ファクシミリ装置10(図 1 参照)におけると同様に、ラインメモリ15から記録処理部14に画像データを転送して、記録走査部13によりトナー画像を記録紙に記録出力させる。
【0061】
したがって、本実施の形態によれば、図5に示したような入力画像データに対して、エッジ削り量指示部46が、例えば、2ドット削りを指示している場合には、エッジ検出部42が図44に示したエッジ検出処理を行ってエッジ検出を行い、図45に示すように、連結性判定部43の連結性の判定により、連結性を適切に維持しつつ、上下左右を1ドット削除し、トナーを削減しつつ、文字の可読性が良好で、かつ、画像品質の良好な出力画像を記録出力することができる。この場合、入力画像では、黒画素が、17733画素であったところ、出力画像では、黒画素が、10229画素に削減されており、トナー消費量が削減されている。
【0062】
また、例えば、図5に示した入力画像データに対して、エッジ削り量指示部46が3ドット削りを指示している場合には、エッジ検出部42により図44に示したエッジ検出処理とエッジ削除処理を行い、さらに、エッジ削除した画像データに図42に示したエッジ検出処理とエッジ削除処理を行うとともに、連結性判定部43の連結性判定を同時に行うことにより、図46に示すように、3ドット削除してトナーを削減しつつ、文字の可読性が良好で、かつ画像品質の良好な出力画像を記録出力することができる。この場合、入力画像では、黒画素が、17733画素であったところ、出力画像では、黒画素が、7626画素に削減されており、8055画素に削減されていた従来の間引による場合よりも、黒画素数が減少しており、トナーをより一層削減することができるとともに、従来の間引処理を行った出力画像である図51と比較しても分かるように、文字の可読性及び画像品質が向上している。
【0063】
さらに、例えば、図5に示した入力画像データに対して、エッジ削り量指示部46が4ドット削りを指示している場合には、エッジ検出部42により図44に示したエッジ検出処理とエッジ削除処理を行い、さらに、このエッジ削除した画像データに図44に示したエッジ検出処理とエッジ削除処理を再度行うとともに、連結性判定部43の連結性判定を同時に行うことにより、図47に示すように、4ドット削除してトナーを削減しつつ、可読性が良好で、かつ画質の良好な出力画像を記録出力することができる。この場合、入力画像では、黒画素が、17733画素であったところ、出力画像では、黒画素が、6015画素に削減されており、8055画素に削減されていた従来の間引による場合よりも、大幅に黒画素数が減少しており、トナーをより一層削減することができるとともに、従来の間引処理を行った出力画像である図51と比較しても分かるように、文字の可読性及び画像品質が向上している。
【0064】
以上、本発明者によってなされた発明を好適な実施の形態に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
【0065】
例えば、上記各実施の形態においては、記録材としてトナーを利用した電子写真式記録装置で記録する場合に適用しているが、記録材としては、トナーに限るものではなく、例えば、インク噴射式記録装置のインク等であっても、同様に適用することができる。
【0066】
【発明の効果】
請求項1記載の発明の画像処理装置によれば、画像の黒領域のエッジを検出して、当該黒領域のエッジを所定量だけ削除するので、従来の黒領域の間引処理を行うことなく、文字を細らせて、良好な可読性と良好なコピー時の画像品質を維持することができるとともに、記録材の消費量を削減することがで、しかも、画像の黒領域のエッジを、エッジの削除量指示手段の指示に応じた量だけ削除するので、文字の可読性及び画像品質と記録材の消費量とのバランスを適宜選択することができる。
【0067】
請求項記載の発明の画像処理装置によれば、画像の黒領域の連結性を検出して、画像の黒領域のエッジの削除量を制御するので、画像の黒領域の連結部分が、画像の黒領域のエッジの削除により、切断されたり、不鮮明となることを防止することができ、より一層文字の可読性及び画像品質を向上させることができるとともに、記録材の消費量を削減することができる。
【図面の簡単な説明】
【図1】本発明を適用したファクシミリ装置の回路ブロック図。
【図2】図1のMPUに形成される画像処理回路の回路図。
【図3】図2のエッジ検出部で使用するマトリックスの一例を示す図。
【図4】図2のエッジ検出部でのエッジ検出処理を示すフローチャート。
【図5】図1のファクシミリ装置によるエコノモードによりエッジ削除される入力画像の一例を示す図。
【図6】図1のファクシミリ装置によるエコノモードにより図5の入力画像のエッジを2ドット削除した出力画像の一例を示す図。
【図7】本発明を適用したファクシミリ装置の要部回路を示すブロック図。
【図8】図7の連結性判定部により斜め線の連結性を判定する条件1を示すマトリックス図。
【図9】図7の連結性判定部により副走査方向(a)及び主走査方向(b)の連結性を判定する条件2を示すマトリックス図。
【図10】斜め方向で白画素に挟まれている斜め線(a)(b)の連結性を判定する条件3を示すマトリックス図。
【図11】斜め線からなる入力画像の一例を示す図。
【図12】図11の入力画像の連結性を判定する条件4を示すマトリックス図。
【図13】図11の入力画像を図12の条件で連結性を判定してエッジ削除した出力画像の一例を示す図。
【図14】2ドット幅の直線が削除されないための条件5を示すマトリックス図。
【図15】斜め線からなる入力画像の一例を示す図。
【図16】図15の入力画像を条件1から条件4で連結性判定してエッジ削除した出力画像の一例を示す図。
【図17】図15の入力画像を条件5を加えて連結性判定してエッジ削除した出力画像の一例を示す図。
【図18】図7の連結性判定部で使用する4×5マトリックスの一例を示す図。
【図19】条件5を加えた場合の連結性判定に左右対称性を確保するための条件6を示すマトリックス図。
【図20】図15の入力画像を図19の条件6を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図21】主走査方向に2ドットの直線をエッジ削除で消出させないための条件7を示すマトリックス図。
【図22】斜め線からなる入力画像の一例を示す図。
【図23】図22の入力画像を条件1〜条件6で連結性判定してエッジ削除した出力画像の一例を示す図。
【図24】図22の入力画像を条件7を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図25】図7の連結性判定部で使用する5×4マトリックスの一例を示す図。
【図26】条件7を加えた場合の連結性判定に左右対称性を確保するための条件8を示すマトリックス図。
【図27】図22の入力画像を図26の条件8を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図28】斜め線からなる入力画像の一例を示す図。
【図29】図22の入力画像を条件1〜条件8で連結性判定してエッジ削除した出力画像の一例を示す図。
【図30】条件1〜条件8を加えた場合の連結性判定に斜め線の太さの対称性を確保するための条件9を示すマトリックス図。
【図31】図28の入力画像を図30の条件9を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図32】1つ1つのまとまった画像同士が接触している入力画像の一例を示す図。
【図33】図32の入力画像を条件1〜条件9で連結性判定してエッジ削除した出力画像の一例を示す図。
【図34】接触する画像同士の連続性を確保するための条件10を示すマトリックス図。
【図35】図32の入力画像を条件10を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図36】斜め方向に複数の画像が接触して連続する入力画像の一例を示す図。
【図37】図36の入力画像を条件1〜条件10で連結性判定してエッジ削除した出力画像の一例を示す図。
【図38】斜め方向に複数の画像が接触して連続する入力画像の連続性を確保するための条件11を示すマトリックス図。
【図39】図36の入力画像を条件11を追加して連結性判定してエッジ削除した出力画像の一例を示す図。
【図40】図7のエッジ検出部で使用するマトリックスの一例を示す図。
【図41】1ドット削りを行う場合の注目画素と白画素とのエッジ検出条件を示すマトリックス図。
【図42】図7のエッジ検出部による1ドット削りを行う場合のエッジ検出処理を示すフローチャート。
【図43】2ドット削りを行う場合の注目画素と白画素とのエッジ検出条件を示すマトリックス図。
【図44】図7のエッジ検出部による2ドット削りを行う場合のエッジ検出処理を示すフローチャート。
【図45】図7のファクシミリ装置によるエコノモードにより図5の入力画像のエッジを2ドット削除した出力画像の一例を示す図。
【図46】図7のファクシミリ装置によるエコノモードにより図5の入力画像のエッジを3ドット削除した出力画像の一例を示す図。
【図47】図7のファクシミリ装置によるエコノモードにより図5の入力画像のエッジを4ドット削除した出力画像の一例を示す図。
【図48】従来の間引処理によりトナーの削減を行う画像処理回路の一例を示す図。
【図49】図48の画像処理回路での間引処理に使用されるビットパターンを示す図。
【図50】図48の従来の画像処理回路に入力される入力画像の一例を示す図。
【図51】図50の入力画像を図48の従来の画像処理回路で間引処理した出力画像の一例を示す図。
【符号の説明】
10 ファクシミリ装置
11 読取走査部
12 読取処理部
13 記録走査部
14 記録処理部
15 ラインメモリ
16 ラインメモリ制御部
17 情報圧縮・復元部
18 モデム
19 通信制御部
20 網制御部
21 DMAコントローラ
22 ROM
23 MPU
24 RAM
25 インターフェース
26 機構制御部
27 インターフェース
28 パネル部
29 バス
30 画像処理回路
31 エッジ検出部
32 アンド回路
40 ファクシミリ装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus that reduces the consumption of a recording material while suppressing deterioration in image quality and character readability.
[0002]
[Prior art]
A function that suppresses the consumption of recording material (hereinafter referred to as “econo mode”) is installed in most image processing apparatuses such as printers and facsimile machines, and is used for output of received images, output of printers, and output of copies of facsimile machines. It is used to reduce the consumption of a recording material, for example, toner.
[0003]
As a conventional image processing apparatus equipped with such an econo mode, for example, there is an electrophotographic printer apparatus disclosed in JP-A-2-144574, and this printer apparatus is designated with a toner saving mode. The toner consumption is reduced by thinning out the dot data of the image portion.
[0004]
Such thinning processing generally includes an image processing circuit 1 as shown in FIG. 48, and the image processing circuit 1 includes a thinning processing unit 2, an edge detection unit 3, an OR circuit 4, and the like. That is, input image data read by a scanner or the like is input to the thinning processing unit 2 and the edge detection unit 3 of the image processing circuit 1, and when the input image data is a monochrome binary image, black is “1”. In the case of a binary image in which white is “0” and a color or monochrome gray scale, image processing is performed on the binary image in advance.
[0005]
The edge detection unit 3 and the thinning processing unit 2 operate according to a timing signal that gives the coordinates (x, y) of each pixel, and perform a thinning process using a bit pattern as shown in FIG. 49, for example.
[0006]
For example, the thinning-out processing unit 2 determines that the pixel coordinates of the coordinates (x1, y1) are x1 = y1 = odd number or even number (in FIG. 49, x1 = y1 = 0, x1 = y1 = 1). Black), a black pixel “1” signal is output, and a white “0” signal is output to the OR circuit 4 otherwise. The edge detection unit 3 outputs a signal of “1” to the OR circuit 4 when it is an edge and “0” when it is not an edge. The OR circuit 4 calculates the logical sum of the output from the thinning processing unit 2 and the output from the edge detection unit 3 and outputs the result as output image data to an electrophotographic image forming process or the like. Therefore, the OR circuit 4 outputs the output image data in which the pixels in the edge portion remain black and the black pixels other than the edge portion have a halftone dot pattern.
[0007]
[Problems to be solved by the invention]
However, in such a conventional image processing apparatus, the thinning process is performed on the black pixels in order to reduce the toner consumption in the econo mode, so that the readability (readability) of the character image is remarkably high. There is a problem that the image quality of the copy output deteriorates. In particular, in the generation copy (copy using the output in the eco mode as a manuscript), although depending on the characteristics of the image forming process, dot thinning and dot omission occur in the thinning pattern, and the image is further deteriorated.
[0008]
That is, when the toner reduction process is performed by the conventional thinning process, for example, the thinning process is performed on the input image shown in FIG. 50 using the thinning bit pattern shown in FIG. As shown in FIG. 50, thinning processing is performed on the entire black area of the input image, and the entire image becomes blurred as shown in FIG. 50, and the readability in the case of a character image deteriorates, and the image quality deteriorates. There was a problem to do.
[0009]
Accordingly, the invention according to claim 1 detects the edge of the black area of the image and deletes the edge of the black area by a predetermined amount, so that the character can be deleted without performing the conventional thinning process of the black area. Image processing apparatus capable of reducing recording material consumption while maintaining good readability and good image quality during copyingAndProvided is an image processing apparatus capable of appropriately selecting a balance between character readability and image quality and recording material consumption by deleting an edge of a black region of an image by an amount according to an instruction of an edge cutting amount instruction means. The purpose is that.
[0010]
Claim2The described invention detects the connectivity of the black area of the image and controls the deletion amount of the edge of the black area of the image. An object of the present invention is to provide an image processing apparatus capable of reducing the consumption of a recording material while further improving character readability and image quality by preventing cutting or blurring.
[0011]
[Means for Solving the Problems]
Invention of Claim 1The operation of the imaging material saving mode, in which a part of the black pixels of the original image data to be processed is deleted and an image is recorded on the recording paper using the imaging material based on the deleted image data. An image processing apparatus capable of performing deletion of original image data by a deletion amount instruction means for instructing a deletion amount of a black pixel, and a pixel matrix process with a condition corresponding to the deletion amount instructed by the deletion amount instruction means. Edge detection means for performing processing for detecting an edge of a target black pixel area, and means for deleting the edge of the black pixel area detected by the edge detection means from the original image dataBy providing, the above object is achieved.
[0012]
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the presence or absence of connectivity with surrounding black pixels of black pixels of the original image data to be processed is determined by pixel matrix processing. The above object is achieved by further comprising connectivity determination means and deletion control means for operating the edge deletion means on the condition that the determination result of the connectivity determination means is no connectivity.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings. The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. As long as there is no description which limits, it is not restricted to these aspects.
[0014]
1 to 6 show an image processing apparatus according to the present invention.The figure explaining basic composition and a processing method based on an embodimentIt is. FIG. 1 is a circuit block diagram of a facsimile machine 10 to which the present invention is applied.
[0015]
In FIG. 1, a facsimile machine 10 includes a reading scanning unit 11, a reading processing unit 12, a recording scanning unit 13, a recording processing unit 14, a line memory 15, a line memory control unit 16, an information compression / decompression unit 17, a modem 18, and a communication. A control unit 19, a network control unit 20, a DMA controller 21, a ROM 22, an MPU 23, a RAM 24, an interface 25, a mechanism control unit 26, an interface 27, a panel unit 28, and the like are provided. Each unit includes a data bus and an address bus. Connected by a bus 29.
[0016]
For example, a line image scanner using a CCD (Charge Coupled Device) or the like is used as the reading scanning unit 11, and the reading scanning unit 11 operates under the control of the reading processing unit 12 to obtain an image of a document. Read at a resolution of. The reading processing unit 12 operates under the control of the MPU 23 to control the driving of the reading scanning unit 11 and transfers image data read by the reading scanning unit 11 to the line memory 15 via the bus 29.
[0017]
The recording scanning unit 13 uses, for example, an electrophotographic recording device, and records and outputs a toner image on recording paper based on image data transferred from the line memory 15 via the line memory control unit 16. . The recording processing unit 14 operates under the control of the MPU 23 to drive and control the recording processing unit 13 to record and output an image on recording paper.
[0018]
The line memory 15 stores the image data encoded by the information compression / decompression unit 17 or the image data read by the reading scanning unit 11 or the like for each line. The line memory control unit 16 operates under the control of the MPU 23, and controls writing of image data to the line memory 15 and reading of image data from the line memory 15.
[0019]
The information compression / decompression unit 17 is for improving the efficiency of storing image data and shortening the transmission time. The information compression / decompression unit 17 encodes the image data according to a predetermined encoding method, and also converts the encoded image data. Decrypt.
[0020]
The network control unit 20 is connected to a line L, for example, a public telephone line or a dedicated line. The network control unit 20 automatically receives a call from the line L, and automatically issues a call to the line L. Perform call processing. The modem 18 is connected to the network control unit 20 and operates under the control of the MPU 23 to modulate the transmission signal and the reception signal. The communication control unit 19 exchanges facsimile control signals with the partner facsimile machine and executes a facsimile communication procedure.
[0021]
A DMA (Direct Memory Access) controller 21 directly transfers data between the input / output device and the memory or between the memories without going through the MPU 23.
[0022]
A ROM (Read Only Memory) 22 stores a basic processing program as the facsimile apparatus 10 and an image processing program to be described later, and system data and other various data necessary for executing these processing programs. Is stored in advance.
[0023]
An MPU (Micro Processing Unit) 23 controls each part of the facsimile apparatus 10 based on a program in the ROM 22 to execute basic processing as the facsimile apparatus 10 and also performs image processing to be described later. In particular, the MPU 23 has an econo mode for reducing the toner consumption when the toner image is recorded by the recording scanning unit 13, and the image processing in the econo mode, that is, the edge detection process of the black area of the image data, the edge By performing edge deletion processing based on the detection result, black region connectivity determination processing, edge deletion control processing based on the black region connectivity determination processing, and the like, toner consumption in the recording scanning unit 13 is reduced.
[0024]
A RAM (Random Access Memory) 24 is used as a reception buffer, a transmission buffer, a work memory of the MPU 23, etc., and temporarily stores reception image data and transmission image data, and temporarily stores calculation results of the MPU 23 and the like.
[0025]
The mechanism control unit 26 is a generic term for various drivers, sensors, and the like, and is connected to the bus 29 via the interface 25. The panel unit 28 is a general term for an operation unit, a display unit, and the like provided with keys and switches of the facsimile apparatus 10, and is connected to the reading processing unit 12 through the interface 27 and through the interface 25. It is connected to the bus 29. The panel unit 28 is provided with a mode switching key for setting / releasing the eco mode, an edge cutting amount instruction key (edge cutting amount instruction means) for instructing an edge cutting amount in the eco mode, and the like. In accordance with the key setting state of the mode switching key, the eco mode process or the normal mode process is performed, and the edge deletion process of the black area of the image data is performed in the eco mode by the amount according to the instruction of the edge cutting amount instruction key. .
[0026]
Next, the operation of the present embodiment will be described. In the facsimile apparatus 10, during transmission, the MPU 23 controls the reading scanning unit 11 via the reading processing unit 12, reads an image of a document, and temporarily reads the image data of the document via the reading processing unit 12. Remember me. The MPU 23 removes redundancy while reading out image data from the line memory 15 according to the compression mode of the information compression / decompression unit 17, and temporarily stores it in the RAM 24 via the bus 29. The facsimile apparatus 10 uses the RAM 24 as a transmission buffer, sequentially transfers the image data to the modem 18 via the communication control unit 19, modulates it with the modem 18, and then transmits it to the line L via the network control unit 20. Send it out. Further, at the time of reception, the facsimile apparatus 10 transfers the received image data to the information compression / decompression unit 17 using the RAM 24 as a reception buffer via the network control unit 20 and the communication control unit 19, and compresses / decompresses the information. Decoded (restored) by the unit 17 and temporarily stored in the line memory 15. The facsimile apparatus 10 transfers the image data in the line memory 15 to the MPU 23 as necessary, performs various image processing, and stores the image data in the line memory 15 again. Thereafter, the facsimile apparatus 10 transfers the image data from the line memory 15 to the recording processing unit 14 and causes the recording scanning unit 13 to record and output the toner image on the recording paper.
[0027]
As one of the contents of the image processing in the MPU 23, the facsimile apparatus 10 sets the image data image by the amount specified by the edge cutting amount instruction key when the eco mode is set by the mode switching key of the panel unit 28. Image processing is performed to delete the edge of the black area.
[0028]
That is, as shown in FIG. 2, the MPU 23 includes an image processing circuit 30 in software or hardware, and the image processing circuit 30 includes an edge detection unit 31 and an AND circuit 32. Note that the output of the edge detector 31 is inverted and input to the AND circuit 32. Image data (input image data) is input from the line memory 15 to the edge detection unit 31 and the AND circuit 32 of the image processing circuit 30, and the output of the edge detection unit 31 is further input to the AND circuit 32. . The input image data is binary image data in which the black pixel is “1” and the white pixel is “0”.
[0029]
The edge detection unit (edge detection means) 31 detects whether or not the input image data is an edge region of a black region. When the input image data is an edge portion, “1” is input. When the input image data is a non-edge portion, “0” is input. Output to the circuit 32. The edge detection processing by the edge detection unit 31 may detect the edge of the black region by any method as long as it can appropriately detect the edge of the black region of the image of the image data. For example, 31 performs edge detection processing using a 3 × 3 matrix as shown in FIG. That is, the edge detection unit 31 sets the hatched center pixel of the nine matrix pixels in FIG. 3 as a target pixel, and when the target pixel is a black pixel, When the image data is examined and one or more white pixels are present in the surrounding pixels, it is determined that the target pixel is an edge pixel.
[0030]
The edge detection process by the edge detection unit 31 is shown in a flowchart in FIG. That is, the edge detection unit 31 performs matrix processing on the input image data sequentially input from the line memory 15 and checks whether the target pixel is a black pixel (step S1). If it is determined in step S1 that the pixel of interest is not a black pixel, it is determined that the pixel of interest is a non-edge pixel, “0” is output to the AND circuit 32, and the edge detection processing for the pixel of interest is terminated (step S2). .
[0031]
In step S1, when the target pixel is a black pixel, the edge detection unit 31 checks whether there are white pixels in the surrounding eight pixels (step S3), and in step S3, the white pixels are in the surrounding eight pixels. If not, the edge detection unit 31 determines that the target pixel is a non-edge pixel, outputs “0” to the AND circuit 32, and ends the edge detection process for the target pixel (step S2). .
[0032]
In step S3, when there are white pixels in the surrounding eight pixels, the edge detection circuit 31 determines that the pixel of interest is an edge pixel, and outputs “1” to the AND circuit 32. The edge detection process is terminated (step S4).
[0033]
The AND circuit (edge deletion means) 32 calculates the logical product of the input image data and the inverted output of the edge detection unit 31 and outputs the logical product to the line memory 15 as output image data. Therefore, the AND circuit 32 outputs “0” output image data when the input image data, that is, the target image data is the edge of the black region of the image, and “1” when the input image data is the image data of the black region other than the edge. Is output. The AND circuit 32 outputs “0” output image data to the line memory 15 when the input image data, that is, the target image data is white image data.
[0034]
Therefore, the image processing circuit 30 checks whether each pixel of the input image data sequentially input from the line memory 15 is an edge pixel in the black area of the image, and when it is an edge pixel, “0” indicating a white pixel. ”,“ 1 ”indicating a black pixel when the pixel is a black region other than the edge pixel, and“ 0 ”indicating a white pixel when the pixel is a white region, respectively. The edge pixel of the black area of the data image is discriminated, and the image data in a state where the edge is cut by one pixel is output to the line memory 15 as output image data.
[0035]
Then, the facsimile apparatus 10 transfers the output image data from the line memory 15 to the recording processing unit 14, and the recording scanning unit 13 records and outputs it as a toner image on recording paper.
[0036]
As a result, the facsimile machine 10 has a character image in which the edge of each character image is cut by one dot with respect to input image data (received image data or image data read by the reading scanning unit 11) as shown in FIG. As shown in FIG. 6, the recording scanning unit 13 can record and output the toner image as a clear and readable toner image.
[0037]
Therefore, as compared with the conventional economy mode recording in which the image thinning process shown in FIG. 48 is performed, it is possible to improve character readability and image quality, and to reduce toner consumption.
[0038]
7 to 47,In the facsimile apparatus 10 having the basic configuration described above,The edge shaving amount is determined according to the instruction, and the connectivity of the black area of the image data is determined, and the edge shaving amount is controlled based on the determination result.It is a figure which shows embodiment which added the means to enable it.
[0039]
FIG. 7 is a circuit block diagram of a principal part of the facsimile apparatus 40 of the present embodiment. Although not shown, the facsimile apparatus 40 is the above-described facsimile apparatus 10.(Figure 1 reference)In the same manner, the reading scanning unit 11, the reading processing unit 12, the recording scanning unit 13, the recording processing unit 14, the line memory 15, the line memory control unit 16, the information compression / decompression unit 17, the modem 18, the communication control unit 19, and the network A control unit 20, a DMA controller 21, a ROM 22, an MPU 23, a RAM 24, an interface 25, a mechanism control unit 26, an interface 27, a panel unit 28, and the like are provided. The above units are connected by a bus 29 including a data bus and an address bus. ing.
[0040]
The facsimile apparatus 40 forms an image processing circuit 41 in the MPU 23 in software or hardware. The image processing circuit 41 includes an edge detection unit 42, a connectivity determination unit, as shown in FIG.43And two AND circuits 44 and 45. Edge cutting amount instruction data is input from the edge cutting amount instruction unit 46 to the edge detection unit 42, and the edge cutting amount instruction unit (edge cutting amount instruction means) 46 is provided on the panel unit 28 of the facsimile apparatus 40. . From the edge cutting amount instruction unit 46, input image dataInThe operator of the facsimile apparatus 40 is instructed to input the amount of cutting of the edge portion of the black area, for example, whether to cut 1 dot of the edge portion, 2 dots, or 3 dots. The operation content of the instruction unit 46 is monitored, and the edge cutting amount as the input instruction content is taken into the edge detection unit 42.
[0041]
Connectivity determination unit of the image processing circuit 4143The edge detection unit 44 and the AND circuit 45 receive image data (input image data) from the line memory 15, and the input image dataFacsimile device 10 (Fig. 1 See)Similarly to the above, binary image data in which the black pixel is “1” and the white pixel is “0”.
[0042]
The AND circuit (edge deletion means) 45 is supplied with the input image data and the output of the AND circuit 44 is inverted. The AND circuit 45 receives the logic of the input image data and the inverted input of the AND circuit 44. The product is taken and output to the line memory 15 as output image data.
[0043]
The AND circuit 44 (deletion control means) receives the output of the edge detection unit 42 and the connectivity determination unit.43And the AND circuit 44 takes these logical products and outputs them to the AND circuit 45.
[0044]
Connectivity determination unit (connectivity determination means)43Determines the connectivity of characters and lines in order to prevent the characters and lines from separating or disappearing when the edges detected by the edge detector 42 are deleted. Specifically, connectivity determination unit43Whether the target pixel of the input image data is these diagonal lines in order to maintain diagonal lines, maintain pixel connection points, maintain 2 dot vertical lines, maintain objectivity, maintain 2 dot horizontal lines, etc. It is determined whether it is a 1-pixel connection point, a 2-dot vertical line, a line that requires objectivity, a 2-dot horizontal line, etc. If it is determined that it is a connection point that interferes with maintenance, maintenance of 1 pixel connection point, maintenance of 2 dot vertical line, maintenance of objectivity, maintenance of 2 dot horizontal line, etc., “1” indicating that it is a connection point When the determination output is output to the AND circuit 44, and it is determined that it is not a connection point, a determination output of “0” indicating that it is a non-connection point is output to the AND circuit 44.
[0045]
That is, connectivity determination unit43Uses a 3 × 3, 4 × 5, or 5 × 4 matrix to determine connectivity between the pixel of interest and its surrounding pixels. For example, connectivity determination unit43, As shown in FIGS. 8A, 8B, 8C, and 8D, the pixel of interest at the center of the 3 × 3 matrix is a black pixel as indicated by a black circle ●, and its diagonal direction When one of the pixels located at is a black pixel, if the condition is that one or more of the pixels in the hatched range is a black pixel (hereinafter referred to as condition 1), it is determined to be a diagonal line. Therefore, in order to prevent the diagonal connection from being disconnected, it is determined that the target pixel is a connection point. Connectivity determination unit439 (a) and 9 (b), the center pixel of interest is a black pixel (indicated by ●), and the left and right or upper and lower pixels of the pixel of interest are white pixels (indicated by circles). When it is a condition that one or more of the upper and lower 6 pixels or the left and right 6 pixels indicated by hatching ○ are black pixels (hereinafter referred to as condition 2), In order to prevent the connection between the main scanning direction and the sub-scanning direction from being interrupted, it is determined that the target pixel is a connection point. Furthermore, connectivity determination unit4310 (a) and 10 (b), the pixel of interest at the center is a black pixel (indicated by ●), and the two pixels in the left diagonal direction or right diagonal direction of the pixel of interest are white pixels ( When the condition is such that one or more of the remaining three pixels at the top and bottom of the hatched area indicated by hatching are black pixels (hereinafter referred to as Condition 3), the area is surrounded by white pixels. It is determined that the pixel is a diagonal line, and the pixel of interest is determined to be a connection point so that the connection between the white pixels in the diagonal direction is not interrupted. However, if the determination of FIG. 10 is performed as it is, the diagonal line as shown in FIG. 11 cannot be determined as a connection point and cannot be deleted.43If the connection point determination is excluded under the conditions as shown in FIGS. 12A and 12B (hereinafter referred to as condition 4), the connectivity is maintained as shown in FIG. Edge portions can be deleted. Therefore, connectivity determination unit43In such a case as shown in FIG. 12, it is excluded from connection point determination and is not determined as a connection point. Connectivity determination unit43As shown in FIG. 14, when the pixel of interest is a black pixel and only one pixel is continuous in the horizontal direction in the pixel of interest of this black pixel (hereinafter referred to as condition 5). Is determined to be a connection point in order to prevent the vertical line edge of 2 dots width from being deleted and erased.
[0046]
And connectivity determination unit43For example, when the connectivity determination is performed on the input image as shown in FIG. 15 according to the above conditions 1 to 4 and the edge is deleted, an output image as shown in FIG. 16 is obtained. On the other hand, connectivity determination unit43However, if the above condition 5 is added to the input image as shown in FIG. 15 and the connectivity determination is performed to delete the edge, the way of thinning is different on the left and right, and the output image as shown in FIG. And left and rightSymmetrySexuality is impaired.
[0047]
Therefore, connectivity determination unit43Is determined as a connection point under the conditions shown in FIGS. 19A to 19F (hereinafter referred to as condition 6) using a 4 × 5 matrix as shown in FIG. Avoid deleting pixels. In FIG. 19, the black pixel (indicated by ●) at the position (2, 2) is the target pixel, the pixel indicated by ○ is a white pixel, the pixel indicated by hatching ○ is a pixel satisfying the above condition 1, and ◇ Is a pixel that may be either a white pixel or a black pixel. Such a condition 6 is added to the input image data shown in FIG.43When the connection point is determined and the edge of the input image data is deleted, symmetrical output image data as shown in FIG. 20 can be obtained.
[0048]
Connectivity determination unit43As shown in FIG. 21, in the case where the target pixel is a black pixel and only one pixel is continuous in the vertical direction to the target pixel of the black pixel (hereinafter referred to as condition 7). Is determined to be a connection point in order to prevent the edge of the horizontal line having a width of 2 dots from being deleted and disappearing.
[0049]
And connectivity determination unit43For example, when the connectivity determination is performed on the input image as shown in FIG. 22 according to the above conditions 1 to 6 and the edge is deleted, an output image as shown in FIG. 23 is obtained. On the other hand, connectivity determination unit43However, if the above condition 7 is added to the input image as shown in FIG. 22 and the connectivity determination is performed to delete the edge, the way of thinning up and down is different, resulting in an output image as shown in FIG. Up and downSymmetrySexuality is impaired.
[0050]
Therefore, connectivity determination unit43Is determined as a connection point under the conditions shown in FIGS. 26A to 26F (hereinafter referred to as condition 8) using a 5 × 4 matrix as shown in FIG. Avoid deleting pixels. In FIG. 26, the black pixel (indicated by ●) at the position (2, 3) is the pixel of interest, the pixel indicated by ○ is a white pixel, the pixel indicated by hatching ○ is a pixel satisfying the above condition 1, and ◇ Is a pixel that may be either a white pixel or a black pixel. Such a condition 8 is added to the input image data shown in FIG.43If the connection point is determined and the edge of the input image data is deleted, symmetrical output image data as shown in FIG. 27 can be obtained.
[0051]
In addition, when only one side is left for the input image data composed of diagonal lines with a width of two pixels as shown in FIG. 28, depending on the direction of the diagonal lines, as shown in FIG. The place where it does not become thin occurs, and the symmetry of right and left is lost. Therefore, connectivity determination unit43As shown in FIG. 30, even if there is a target pixel satisfying the above condition 5 (a pixel indicated by a hatched circle in FIG. 28), a black pixel is adjacent to the target pixel and a pixel above it. In the condition (hereinafter, referred to as condition 9), the edge is determined, the connection point is not determined, and the deletionTargetAnd A connectivity determination unit for input image data as shown in FIG.43However, if this condition 9 is added to determine connectivity and edge deletion is performed, left and right symmetrical output image data can be obtained as shown in FIG.
[0052]
Further, when the connection point is determined by the above conditions 1 to 9 and the edge is deleted for the input image data as shown in FIG. 32, the connection point is deleted as shown in FIG. May be separated. Therefore, connectivity determination unit43As shown in FIGS. 34 (a) to (h), under the condition that the black pixel is adjacent to the target pixel in an L shape (regardless of the direction of the L shape) (hereinafter referred to as condition 10). Is determined to be a connection point, and the edge of the target pixel is not deleted. In FIG. 34, the black pixel indicated by ● in the center of the 3 × 3 matrix is the target pixel, the pixel indicated by ● is a black pixel, the pixel indicated by ○ is a white pixel, and the pixel indicated by ◇ is a white pixel and a black pixel. It may be any pixel. Then, a connectivity determination unit for input image data as shown in FIG.43If the condition is added and the connectivity is determined and the edge that satisfies the condition 10 is not deleted, the connection point is maintained and the line is prevented from being separated as shown in FIG. be able to.
[0053]
Also, a connectivity determination unit for input image data in which hollow squares as shown in FIG. 36 are connected.43However, when the connection point is determined according to the above conditions 1 to 10 and the edge is deleted, as shown in FIG. 37, the hollow square connection portion is deleted and the connectivity is lost. Therefore, connectivity determination unit43Is determined to be a connection point under the conditions shown in FIGS. 38A to 38H (hereinafter referred to as condition 11).TargetAnd not. That is, with respect to the target pixel which is the central black pixel, black pixels are adjacent to each other in the vertical and horizontal directions, and three black pixels arranged around the target pixel areOrthogonalA black pixel is present adjacent to the target pixel in the direction in which the black pixel is adjacent, and a black pixel is present adjacent to the black pixel at the end of the three black pixels opposite to the black pixel adjacent to the target pixel. When such a condition 11 exists, the connectivity determination unit43Determines that the pixel of interest is a connection point and deletes itTargetExclude from In FIG. 38, the pixel indicated by ● is a black pixel, the pixel indicated by ○ is a white pixel, and the pixel indicated by ◇ is a pixel that may be either a white pixel or a black pixel. Therefore, a connectivity determination unit for input image data as shown in FIG.43However, when the condition 11 is satisfied, it is determined that the point is a connection point and is excluded from the deletion target. As shown in FIG. 39, edge deletion can be performed while maintaining the connectivity of the input image data.
[0054]
The edge detection unit (edge detection means) 42 uses, for example, a 3 × 3 matrix composed of pixels C1 to C9 as shown in FIG. It is determined whether the left edge, the lower edge, the right edge, or the upper edge of the black area of the image of the input image data, and the edge is determined according to the edge cutting amount instruction from the edge cutting amount instruction unit 46. Perform detection.
[0055]
For example, when one-dot cutting is instructed from the edge cutting amount instruction unit 46, the edge detection unit 42 indicates that either the left pixel C4 or the lower pixel C8 of the target pixel C5 is white as shown in FIG. Whether it is a left edge or a lower edge is detected depending on whether it is a pixel. In FIG. 41, ● is a black pixel, ○ is a white pixel, and * is a pixel that may be either a white pixel or a black pixel. That is, the edge detection unit 42 first uses the 3 × 3 matrix shown in FIG. 40 and uses the 3 × 3 matrix shown in FIG. 40, as shown in FIG. It is checked whether C5 is a black pixel (step P1). If the target pixel C5 is not a black pixel, it is determined that it is not an edge but a pixel outside the deletion symmetry, and “0” indicating that it is a non-edge is ANDed. It outputs to the circuit 44 (step P2). In step P1, when the target pixel C5 is a black pixel, the edge detection unit 42 checks whether the left pixel C4 or the lower pixel C8 adjacent to the target pixel C5 is a white pixel (step P3), and the left pixel C4 and When both of the lower pixels C8 are not white pixels, it is determined that the pixel is not a left edge or a lower edge and is a pixel outside the deletion symmetry, and “0” indicating non-edge is output to the AND circuit 44 ( Step P2). In step P3, when either the left pixel C4 or the lower pixel C8 is a white pixel, the edge detection unit 42 determines that the target pixel C5 is the left edge or the lower edge and is the edge to be deleted. Then, “1” indicating an edge is output to the AND circuit 44 (step P4).
[0056]
Further, when the edge detection unit 42 is instructed to cut two dots by the edge cutting amount instruction unit 46, the edge detection unit 42, as shown in FIG. 43, the pixel C2 above the target pixel C5, the left pixel Whether any of the upper edge, the left edge, the right edge, and the lower edge is detected depending on whether any of C4, right pixel C6, or lower pixel C8 is a white pixel. In FIG. 43, ● is a black pixel, ○ is a white pixel, and * is a pixel that may be either a white pixel or a black pixel. That is, the edge detection unit 42 first uses the 3 × 3 matrix shown in FIG. 40 and uses the 3 × 3 matrix shown in FIG. 40, as shown in FIG. It is checked whether C5 is a black pixel (step P11). If the target pixel C5 is not a black pixel, it is determined that it is not an edge but a pixel outside the deletion symmetry, and “0” indicating non-edge is ANDed. It outputs to the circuit 44 (step P12). In step P11, when the target pixel C5 is a black pixel, the edge detection unit 42 determines whether any of the upper pixel C2, the left pixel C4, the right image C6, or the lower pixel C8 adjacent to the target pixel C5 is a white pixel. Check if there is any (Step P13), and if any of the upper pixel C2, the left pixel C4, the right image C6 and the lower pixel C8 is not a white pixel, it is not an upper edge, a left edge, a right edge or a lower edge, and is deleted It is determined that the pixel is out of symmetry, and “0” indicating non-edge is output to the AND circuit 44 (step P12). In step P13, when any of the upper pixel C2, the left pixel C4, the right image C6, or the lower pixel C8 is a white pixel, the edge detection unit 42 determines that the target pixel C5 is an upper edge, a left edge, or a right edge. Or the lower edge, it is determined that the edge is a deletion target edge, and “1” indicating the edge is output to the AND circuit 44 (step P14).
[0057]
When the edge deletion amount instruction unit 46 instructs to delete three or more dots, the edge detection unit 42 first performs one of the above-described one-dot cutting edge detection processing and two-dot cutting edge detection processing. Then, the edge performs the deletion process based on the edge detection process, and the image data from which the edge has been deleted is again either one-dot-cut edge detection process or two-dot-cut edge detection process. It is possible to cope with this by circulating these.
[0058]
Returning to FIG. 7 again, as described above, the edge detection output of the edge detection unit 42 is input to the AND circuit 44, and the connectivity determination result output is inverted from the connectivity determination unit 43. The AND circuit 44 takes these logical products and outputs them to the AND circuit 45. That is, the AND circuit 44 outputs “1” indicating that the edge detection unit 42 is an edge, and “1” when the connectivity determination unit 43 outputs “0” indicating that it is a non-connection point. Is output to the AND circuit 45, and “0” is output to the AND circuit 45 at other times.
[0059]
As described above, the AND output of the AND circuit 44 is inverted and input image data is input to the AND circuit 45, and the AND circuit 45 calculates the logical product of these inputs as output image data. Output to the line memory 15. That is, when the AND circuit 45 determines that the input image data is a black pixel, the edge detection unit 42 is an edge pixel, and the connectivity determination unit 43 determines that the input pixel is a non-connection point, Output image data that has been subjected to edge deletion is output to the line memory 15 as white pixels. Otherwise, output image data that is the same as the input image data is output to the line memory 15.
[0060]
When the output image data is accumulated in the line memory 15 in this way, the facsimile apparatus 40Facsimile device 10 (Fig. 1 See)Similarly, the image data is transferred from the line memory 15 to the recording processing unit 14, and the toner image is recorded on the recording paper by the recording scanning unit 13.
[0061]
Therefore, according to the present embodiment, for the input image data as shown in FIG. 5, when the edge cutting amount instruction unit 46 instructs, for example, 2-dot cutting, the edge detection unit 42. 44 performs edge detection processing as shown in FIG. 44, and as shown in FIG. 45, the connectivity determination unit 43 determines the connectivity, while maintaining the connectivity appropriately, the top, bottom, left, and right are 1 dot. It is possible to record and output an output image with good character readability and good image quality while deleting and reducing toner. In this case, the black pixel is 17733 pixels in the input image, but the black pixel is reduced to 10229 pixels in the output image, and the toner consumption is reduced.
[0062]
Further, for example, when the edge cutting amount instruction unit 46 instructs 3-dot cutting for the input image data shown in FIG. 5, the edge detection processing and the edge shown in FIG. As shown in FIG. 46, the deletion processing is performed, and the edge detection processing and edge deletion processing shown in FIG. 42 are performed on the edge-deleted image data, and the connectivity determination unit 43 performs connectivity determination simultaneously. It is possible to record and output an output image with good character readability and good image quality while eliminating three dots to reduce toner. In this case, in the input image, the black pixels were 17733 pixels, but in the output image, the black pixels were reduced to 7626 pixels, compared to the conventional thinning that was reduced to 8055 pixels. As the number of black pixels is reduced, toner can be further reduced, and as can be seen from FIG. 51, which is an output image that has undergone thinning processing, character readability and image quality are improved. It has improved.
[0063]
Further, for example, in the case where the edge cutting amount instruction unit 46 has instructed 4-dot cutting with respect to the input image data shown in FIG. 5, the edge detection processing and edge shown in FIG. 47, the edge detection process and the edge deletion process shown in FIG. 44 are performed again on the edge-deleted image data, and the connectivity determination by the connectivity determination unit 43 is performed simultaneously. As described above, it is possible to record and output an output image with good readability and good image quality while eliminating toner by deleting four dots. In this case, in the input image, the black pixels were 17733 pixels, but in the output image, the black pixels were reduced to 6015 pixels, compared to the conventional thinning that was reduced to 8055 pixels. The number of black pixels is greatly reduced, toner can be further reduced, and as can be seen from FIG. 51, which is an output image obtained by performing a conventional thinning process, character readability and image Quality has improved.
[0064]
The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. Needless to say.
[0065]
For example, in each of the above embodiments, the present invention is applied when recording is performed with an electrophotographic recording apparatus that uses toner as a recording material. However, the recording material is not limited to toner, and for example, an ink ejection type The same can be applied to ink or the like of a recording apparatus.
[0066]
【The invention's effect】
According to the image processing apparatus of the first aspect of the invention, since the edge of the black area of the image is detected and the edge of the black area is deleted by a predetermined amount, the conventional black area thinning process is not performed. By reducing the size of characters, it is possible to maintain good readability and good image quality during copying, and to reduce consumption of recording materials.AndEdge of black area of image, edgeDeleted amountSince only the amount corresponding to the instruction from the instruction means is deleted, the balance between the character readability and the image quality and the consumption of the recording material can be appropriately selected.
[0067]
Claim2According to the image processing apparatus of the invention described above, since the connectivity of the black area of the image is detected and the amount of deletion of the edge of the black area of the image is controlled, the connected portion of the black area of the image is the black area of the image. It is possible to prevent cutting or smearing by deleting the edges of the image, further improving the character readability and image quality, and reducing the consumption of the recording material.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram of a facsimile apparatus to which the present invention is applied.
FIG. 2 is a circuit diagram of an image processing circuit formed in the MPU of FIG.
FIG. 3 is a diagram illustrating an example of a matrix used in the edge detection unit in FIG. 2;
FIG. 4 is a flowchart showing edge detection processing in the edge detection unit of FIG. 2;
FIG. 5 is a diagram showing an example of an input image whose edge is deleted in an econo mode by the facsimile apparatus of FIG. 1;
6 is a diagram showing an example of an output image obtained by deleting two dots from the edge of the input image in FIG. 5 in the econo mode by the facsimile apparatus in FIG. 1;
FIG. 7 is a main circuit of a facsimile apparatus to which the present invention is applied.Block showingFigure.
8 is a matrix diagram showing Condition 1 for determining the connectivity of diagonal lines by the connectivity determination unit of FIG. 7;
9 is a matrix diagram showing Condition 2 for determining connectivity in the sub-scanning direction (a) and main scanning direction (b) by the connectivity determining unit in FIG. 7;
FIG. 10 is a matrix diagram showing condition 3 for determining connectivity of diagonal lines (a) and (b) sandwiched between white pixels in an oblique direction.
FIG. 11 is a diagram showing an example of an input image made up of diagonal lines.
12 is a matrix diagram showing condition 4 for determining the connectivity of the input image in FIG. 11;
13 is a diagram showing an example of an output image obtained by deleting the edge by determining the connectivity of the input image of FIG. 11 under the conditions of FIG. 12;
FIG. 14 is a matrix diagram showing Condition 5 for preventing a 2-dot-width straight line from being deleted;
FIG. 15 is a diagram showing an example of an input image made up of diagonal lines.
FIG. 16 is a diagram showing an example of an output image obtained by deleting the edge by determining the connectivity of the input image of FIG. 15 under conditions 1 to 4;
FIG. 17 is a diagram showing an example of an output image obtained by deleting the edge of the input image shown in FIG.
18 is a diagram illustrating an example of a 4 × 5 matrix used in the connectivity determination unit in FIG. 7;
FIG. 19 is a matrix diagram showing condition 6 for ensuring left-right symmetry in connectivity determination when condition 5 is added.
20 is a view showing an example of an output image obtained by deleting the edge of the input image of FIG. 15 by adding the condition 6 of FIG. 19 and determining connectivity.
FIG. 21 is a matrix diagram showing condition 7 for preventing a 2-dot straight line from being erased by edge deletion in the main scanning direction;
FIG. 22 is a diagram showing an example of an input image made up of diagonal lines.
FIG. 23 is a diagram showing an example of an output image obtained by deleting the edge after determining the connectivity of the input image of FIG. 22 under conditions 1 to 6;
24 is a diagram showing an example of an output image obtained by deleting the edge by adding the condition 7 to the input image shown in FIG. 22 and determining connectivity. FIG.
25 is a diagram showing an example of a 5 × 4 matrix used in the connectivity determination unit in FIG.
FIG. 26 is a matrix diagram showing condition 8 for ensuring left-right symmetry in connectivity determination when condition 7 is added.
27 is a diagram showing an example of an output image obtained by deleting the edge of the input image shown in FIG. 22 by adding the condition 8 shown in FIG. 26 and determining connectivity.
FIG. 28 is a diagram showing an example of an input image made up of diagonal lines.
29 is a diagram showing an example of an output image obtained by deleting the edge by determining the connectivity of the input image of FIG. 22 under conditions 1 to 8;
FIG. 30 is a matrix diagram showing a condition 9 for ensuring symmetry of the thickness of the diagonal line in the connectivity determination when the conditions 1 to 8 are added.
31 is a diagram showing an example of an output image obtained by deleting the edge by adding the condition 9 of FIG. 30 and determining the connectivity of the input image of FIG. 28;
FIG. 32 is a diagram illustrating an example of an input image in which individual images are in contact with each other.
FIG. 33 is a diagram showing an example of an output image obtained by deleting the edge by determining the connectivity of the input image of FIG. 32 under conditions 1 to 9;
FIG. 34 is a matrix diagram showing a condition 10 for ensuring continuity between images in contact with each other.
FIG. 35 is a diagram showing an example of an output image obtained by deleting the edge by adding the condition 10 to the input image shown in FIG. 32 and determining connectivity.
FIG. 36 is a diagram illustrating an example of an input image in which a plurality of images are in contact with each other in an oblique direction and are continuous.
FIG. 37 is a diagram showing an example of an output image obtained by deleting the edge after determining the connectivity of the input image in FIG. 36 under conditions 1 to 10;
FIG. 38 is a matrix diagram showing a condition 11 for ensuring the continuity of an input image in which a plurality of images contact in an oblique direction and are continuous.
FIG. 39 is a diagram showing an example of an output image obtained by deleting the edge by adding the condition 11 to the input image of FIG. 36 and determining connectivity.
40 is a diagram showing an example of a matrix used in the edge detection unit of FIG.
FIG. 41 is a matrix diagram showing edge detection conditions for a target pixel and a white pixel when performing 1-dot cutting.
42 is a flowchart showing edge detection processing when performing one-dot cutting by the edge detection unit in FIG. 7;
FIG. 43 is a matrix diagram showing edge detection conditions for a target pixel and a white pixel when performing two-dot cutting.
44 is a flowchart showing edge detection processing when performing 2-dot cutting by the edge detection unit of FIG. 7;
45 is a view showing an example of an output image obtained by deleting two dots from the edge of the input image in FIG. 5 in the econo mode by the facsimile apparatus in FIG. 7;
46 is a view showing an example of an output image obtained by deleting three dots from the edge of the input image in FIG. 5 in the econo mode by the facsimile apparatus in FIG. 7;
47 is a diagram showing an example of an output image obtained by deleting four dots from the edge of the input image in FIG. 5 in the econo mode by the facsimile apparatus in FIG. 7;
FIG. 48 is a diagram showing an example of an image processing circuit that performs toner reduction by a conventional thinning process.
FIG. 49 is a diagram showing a bit pattern used for thinning processing in the image processing circuit of FIG. 48;
50 is a diagram showing an example of an input image input to the conventional image processing circuit of FIG. 48. FIG.
51 is a diagram showing an example of an output image obtained by thinning out the input image of FIG. 50 by the conventional image processing circuit of FIG. 48;
[Explanation of symbols]
10 Facsimile machine
11 Scanning section
12 Reading processing unit
13 Recording scanning unit
14 Recording processing section
15 line memory
16 line memory controller
17 Information compression / decompression unit
18 Modem
19 Communication control unit
20 Network control unit
21 DMA controller
22 ROM
23 MPU
24 RAM
25 interface
26 Mechanism control unit
27 Interface
28 Panel
29 Bus
30 Image processing circuit
31 Edge detector
32 AND circuit
40 facsimile machine

Claims (2)

処理対象となる原画像データの黒画素の一部を削除し、削除した画像データに基づいて作像材を用いて記録紙に画像を記録する、作像材節約モードの動作を行うことが可能な画像処理装置であって、黒画素の削除量を指示する削除量指示手段と、前記削除量指示手段により指示された削除量に応じた条件の画素マトリックス処理によって原画像データにおける削除の対象となる黒画素領域のエッジを検出する処理を行うエッジ検出手段と、前記エッジ検出手段によって検出した黒画素領域のエッジを原画像データから削除する手段を備えたことを特徴とする画像処理装置。It is possible to operate in the imaging material saving mode in which a part of the black pixels of the original image data to be processed is deleted and an image is recorded on the recording paper using the imaging material based on the deleted image data. A deletion amount instruction means for instructing a deletion amount of a black pixel, and a deletion target in the original image data by pixel matrix processing under a condition corresponding to the deletion amount instructed by the deletion amount instruction means. An image processing apparatus comprising: edge detection means for performing processing for detecting an edge of the black pixel area, and means for deleting the edge of the black pixel area detected by the edge detection means from the original image data. 請求項1に記載された画像処理装置において、処理対象となる原画像データの黒画素が有する周辺黒画素との連結性の有無を画素マトリックス処理によって判定する連結性判定手段と、前記連結性判定手段の判定結果が連結性無しであることを条件に前記エッジ削除手段を動作させる削除制御手段をさらに備えたことを特徴とする画像処理装置。2. The connectivity determination means according to claim 1, wherein connectivity determination means for determining presence / absence of connectivity with surrounding black pixels of black pixels of original image data to be processed by pixel matrix processing, and the connectivity determination An image processing apparatus, further comprising: a deletion control unit that operates the edge deletion unit on condition that the determination result of the unit is no connectivity.
JP24717396A 1996-08-29 1996-08-29 Image forming apparatus Expired - Fee Related JP3611407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24717396A JP3611407B2 (en) 1996-08-29 1996-08-29 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24717396A JP3611407B2 (en) 1996-08-29 1996-08-29 Image forming apparatus

Publications (2)

Publication Number Publication Date
JPH1075346A JPH1075346A (en) 1998-03-17
JP3611407B2 true JP3611407B2 (en) 2005-01-19

Family

ID=17159533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24717396A Expired - Fee Related JP3611407B2 (en) 1996-08-29 1996-08-29 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP3611407B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5283452B2 (en) * 2008-08-25 2013-09-04 大日本スクリーン製造株式会社 Image forming apparatus and image forming method

Also Published As

Publication number Publication date
JPH1075346A (en) 1998-03-17

Similar Documents

Publication Publication Date Title
US7280249B2 (en) Image processing device having functions for detecting specified images
JP4495745B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
US8401306B2 (en) Image processing apparatus and control method
JP4728695B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP5247492B2 (en) Image forming apparatus, control method, and program
JPH08307717A (en) Image processing device
JP3604902B2 (en) Image processing device
JP3611407B2 (en) Image forming apparatus
JP3880113B2 (en) Image processing device
JPH09168083A (en) Image processing unit
JP3805613B2 (en) Image processing device
JPH10341332A (en) Image-forming device
JP3572499B2 (en) Image recording device
JP2001119575A (en) Image processing unit
US20100188670A1 (en) Image processing apparatus, image processing method and program executing the image processing method
JPH10108007A (en) Image reduction method
JPH1098614A (en) Picture processor
JP3791895B2 (en) Image reduction processing method and apparatus
JPH10276316A (en) Image forming device
JPH08223410A (en) Document image input method
JPH10276315A (en) Image forming device
JP3363684B2 (en) Image processing method and apparatus, and image forming apparatus
JPH09179964A (en) System and method for image input/output data processing, and input/output data controller for the same system
JPH07193717A (en) Picture recorder
JPH11328390A (en) Processor and method for image processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040419

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041019

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041019

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071029

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091029

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101029

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111029

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121029

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131029

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees