JP2009284407A - Background removing apparatus and program, and image forming device - Google Patents

Background removing apparatus and program, and image forming device Download PDF

Info

Publication number
JP2009284407A
JP2009284407A JP2008136602A JP2008136602A JP2009284407A JP 2009284407 A JP2009284407 A JP 2009284407A JP 2008136602 A JP2008136602 A JP 2008136602A JP 2008136602 A JP2008136602 A JP 2008136602A JP 2009284407 A JP2009284407 A JP 2009284407A
Authority
JP
Japan
Prior art keywords
background
area
density
histogram
section
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.)
Granted
Application number
JP2008136602A
Other languages
Japanese (ja)
Other versions
JP4692575B2 (en
Inventor
Takashi Nakajima
孝 中島
Junichi Goto
淳一 後藤
Hidetaka Hama
英隆 浜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2008136602A priority Critical patent/JP4692575B2/en
Publication of JP2009284407A publication Critical patent/JP2009284407A/en
Application granted granted Critical
Publication of JP4692575B2 publication Critical patent/JP4692575B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a background removing apparatus and a background removal program that prevent occurrence of a concentration step even if the background of an original changes for each compartment of a line, and to provide an image forming device. <P>SOLUTION: At an input gradation conversion section 310 of an input gradation correction section 32, input image data is converted according to the characteristics of an image read section 20 so that a prescribed gradation change is achieved. Further, at a color space conversion section 320, conversion to a brightness signal and a chromaticity signal is performed for internal image processing. The brightness signal in the converted signals is used to generate a histogram with prescribed image data width as one concentration region at a histogram generation section 330. At a background region determination section 340, a concentration region to which the background of an original 1 belongs is determined based on the histogram. At a background correction section 350, image data from the color space conversion section 320 is subjected to background removal by a threshold for background removal corresponding to a concentration region of background determined by the background region determination section 340 by converting a part thinner than background concentration to a while level. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、地肌除去装置およびプログラムおよび画像形成装置に関する。   The present invention relates to a background removing device, a program, and an image forming apparatus.

従来、地肌のある原稿を読み取り、各種の画像処理を施して印刷用画像を生成する画像形成装置において、地肌を取り除いた画像を生成することにより、印刷画像の判読性を向上させる技術としては、特許文献1に開示されたものが知られている。   Conventionally, in an image forming apparatus that reads a background document and performs various image processing to generate a print image, by generating an image with the background removed, as a technique for improving the readability of the print image, What was disclosed by patent document 1 is known.

この特許文献1に記載された画像形成装置は、画像を読み取って出力用画像を生成する際に、バッファに記憶したシェーディング補正後の数ライン分の画像データのヒストグラムから、その度数が極大となる部分を地肌濃度と判定して、地肌の除去処理を施すように構成されている。
特開2001−223898号公報
When the image forming apparatus described in Patent Document 1 reads an image and generates an output image, the frequency is maximized from the histogram of image data for several lines after shading correction stored in the buffer. The portion is determined to have a background density, and a background removal process is performed.
JP 2001-223898 A

上述した特許文献1に記載された従来技術においては、この方式を原稿全体に対して実施する場合、地肌濃度に近い画像がある程度の面積をもって存在した場合には、極大となる濃度領域が変化してしまい、その結果、地肌を除去するためのしきい値も変化して、出力画像上に部分的な濃度段差が発生するという問題が発生する。   In the conventional technique described in Patent Document 1 described above, when this method is applied to the entire document, if an image close to the background density exists with a certain area, the maximum density region changes. As a result, the threshold value for removing the background also changes, causing a problem that a partial density step occurs on the output image.

また、地肌の検出対象としている濃度域以外の画像が大きな面積を持っている場合には、本来の地肌の部分の度数が相対的に減少してしまい、判定のためのしきい値を下回って、地肌として検出できなくなるという問題が発生する。   In addition, when the image other than the density range that is the detection target of the background has a large area, the frequency of the original background is relatively decreased and falls below the threshold for determination. The problem that it cannot be detected as a background occurs.

そこで、この発明は、ラインの区画毎に原稿の地肌が変化しても濃度段差が生じるのを防止した地肌除去装置およびプログラムおよび画像形成装置を提供することを目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a background removing apparatus, a program, and an image forming apparatus that prevent a density step from occurring even if the background of an original changes for each line section.

上記目的を達成するため、請求項1の発明の地肌除去装置は、原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段と、前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段と、前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段と、前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段とを具備する。   In order to achieve the above object, the background removing apparatus according to the first aspect of the present invention is a histogram generating means for dividing a document into a plurality of sections each having a predetermined number of lines and generating a histogram having a predetermined density width from image data of each section. A background area determination means for determining a background area to which the background belongs from the frequency of each density area of the histogram generated by the histogram generation means, and image data of each section corresponding to the background area determined by the background area determination means Threshold calculating means for calculating a threshold for removing the background from the image, and background removal for removing the background from the image data of each section of the document based on the threshold calculated by the threshold calculating means Means.

また、請求項2の発明は、請求項1の発明において、前記地肌領域判定手段は、前記ヒストグラムの低濃度側の所定の濃度領域から高濃度側に向かって各濃度領域の度数を調べ、最初に度数が極大となり、かつ予め設定した第1の値を超える濃度領域を前記地肌領域として判定する。   Further, according to a second aspect of the present invention, in the first aspect, the background area determination means examines the frequency of each density area from a predetermined density area on the low density side toward the high density side of the histogram. A density area having a frequency maximum and exceeding a preset first value is determined as the background area.

また、請求項3の発明は、請求項2の発明において、前記地肌領域判定手段は、前記ヒストグラムのすべての濃度領域でその度数が前記第1の値を超えない場合は、あらかじめ設定した濃度領域を前記地肌領域と判定する。   According to a third aspect of the present invention, in the second aspect of the present invention, the background area determination means is configured to set a predetermined density area when the frequency does not exceed the first value in all density areas of the histogram. Is determined as the background area.

また、請求項4の発明は、請求項2の発明において、前記地肌領域判定手段は、前記ヒストグラム作成手段により作成された直前の区画のヒストグラムにより前記第1の値を超えたとして前記地肌領域と判定した濃度領域の度数が、前記第1の値を下回り、かつ、予め設定した第2の値より大きい場合は、該濃度領域を前記地肌領域として継続判定する。   According to a fourth aspect of the present invention, in the second aspect of the present invention, the background area determination means determines that the background area exceeds the first value by the histogram of the immediately preceding section created by the histogram creation means. When the frequency of the determined density area is lower than the first value and larger than the preset second value, the density area is continuously determined as the background area.

また、請求項5の発明は、請求項2の発明において、前記地肌領域判定手段は、前記地肌領域と判定した濃度領域が所定の区画で連続した場合、その濃度領域が原稿全体の地肌領域であると判定して固定し、それ以降の区画での地肌の判定を中止する。   According to a fifth aspect of the present invention, in the second aspect of the invention, when the density region determined as the background region is continuous in a predetermined section, the density region is the background region of the entire document. It is determined that there is, and is fixed, and the determination of the background in the subsequent sections is stopped.

また、請求項6の発明は、請求項2の発明において、前記地肌領域判定手段は、前記ヒストグラム作成手段により作成された前記ヒストグラムのすべての濃度領域で前記第1の値を超えない区画が所定区間連続した場合、その原稿が絵柄原稿であると判定して現在の地肌領域を原稿全体の地肌領域として固定し、それ以降の区画での地肌の判定を中止する。   According to a sixth aspect of the present invention, in the second aspect of the present invention, the background region determining means has predetermined sections that do not exceed the first value in all density regions of the histogram created by the histogram creating means. If the sections continue, it is determined that the document is a pattern document, the current background area is fixed as the background area of the entire document, and background determination in the subsequent sections is stopped.

また、請求項7の発明は、請求項1の発明において、前記地肌領域判定手段は、前記ヒストグラムにより地肌領域として判定した濃度領域が直前の区画と異なる場合、直前の区画からの地肌領域の変化量をあらかじめ設定した変化量以下に制限する。   In the invention of claim 7, in the invention of claim 1, when the density area determined as the background area by the histogram is different from the immediately preceding section, the background area determining means changes the background area from the immediately preceding section. Limit the amount to less than a preset amount of change.

また、請求項8の発明は、請求項1の発明において、前記地肌除去手段は、前記算出ヒストグラムにより判定した地肌領域が直前の区画と異なる場合、それぞれの地肌領域に対応するしきい値を、区画の境界でライン毎に順次変化させる。   Further, in the invention of claim 8, in the invention of claim 1, when the background area determined by the calculation histogram is different from the immediately preceding section, the threshold value corresponding to each background area is Sequentially change line by line at the boundary of the section.

また、請求項9の発明の地肌除去プログラムは、コンピュータを、原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段、前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段、前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段、前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段として機能させる。   According to a ninth aspect of the present invention, there is provided a histogram removing means for dividing a computer into a plurality of sections each having a predetermined number of lines and creating a histogram having a predetermined density width from image data of each section, A background area determination means for determining the background area to which the background belongs from the frequency of each density area of the histogram generated by the histogram generation means, and the background is removed from the image data of each section corresponding to the background area determined by the background area determination means. A threshold value calculating means for calculating a threshold value for performing the processing, and a background removing means for removing a background portion from the image data of each section of the document based on the threshold value calculated by the threshold value calculating means.

また、請求項10の発明は、原稿の画像データから地肌除去装置により地肌を除去して該地肌を除去した画像データに基づき原稿の画像を形成する画像形成装置であって、前記地肌除去装置は、原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段と、前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段と、前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段と、前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段とを具備する。   According to a tenth aspect of the present invention, there is provided an image forming apparatus that forms an image of a document based on image data obtained by removing the background from the image data of the document using a background removal device, and the background removal device includes: A histogram generating means for dividing a document into a plurality of sections each having a predetermined number of lines, creating a histogram having a predetermined density width from image data of each section, and the frequency of each density area of the histogram generated by the histogram generating means. A skin area determination means for determining a skin area to which the skin belongs, and a threshold value calculation for calculating a threshold value for removing the skin from the image data of each section corresponding to the skin area determined by the skin area determination means And background removal means for removing a background portion from the image data of each section of the document based on the threshold value calculated by the threshold value calculation means.

請求項1の発明によれば、ラインの区画毎に原稿の地肌が変化しても濃度段差が生じるのを防止することができる。   According to the first aspect of the present invention, it is possible to prevent a density step from occurring even if the background of the document changes for each line section.

また、請求項2の発明によれば、ラインの区画毎に原稿の地肌が変化しても地肌に対応する最適な地肌領域を判定することができる。   According to the second aspect of the present invention, it is possible to determine the optimum background area corresponding to the background even if the background of the document changes for each section of the line.

また、請求項3の発明によれば、ヒストグラムのすべての濃度領域で第1のしきい値を超えない場合でも地肌領域の判定を行うことができる。   According to the invention of claim 3, the background area can be determined even when the first threshold value is not exceeded in all density areas of the histogram.

また、請求項4の発明によれば、ラインの区画毎に原稿の地肌が変化しても大きな濃度段差が生じるのを防止することができる。   According to the invention of claim 4, it is possible to prevent a large density step from occurring even if the background of the document changes for each line section.

また、請求項5の発明によれば、原稿全体の濃度領域の判定を行うことなく、最適な地肌領域の判定を行うことができる。   According to the invention of claim 5, the optimum background area can be determined without determining the density area of the entire document.

また、請求項6の発明によれば、ヒストグラムのすべての濃度領域で第1のしきい値を超えない場合でも地肌領域の判定を行うことができるとともに、原稿全体の濃度領域の判定を行うことなく、最適な地肌領域の判定を行うことができる。   According to the invention of claim 6, it is possible to determine the background area even when the first threshold value is not exceeded in all density areas of the histogram, and to determine the density area of the entire document. And the optimum background area can be determined.

また、請求項7の発明によれば、ラインの区画毎に原稿の地肌が変化しても急激な濃度段差が生じるのを防止することができる。   According to the seventh aspect of the present invention, it is possible to prevent an abrupt density step from occurring even if the background of the document changes for each line section.

また、請求項8の発明によれば、ラインの区画毎に原稿の地肌が変化してもなだらかに濃度段差が生じる画像を得ることができる。   According to the invention of claim 8, it is possible to obtain an image in which a density step is gradually generated even if the background of the document changes for each section of the line.

また、請求項9の発明によれば、ラインの区画毎に原稿の地肌が変化しても濃度段差が生じるのを防止した地肌除去プログラムを提供することができる。   According to the ninth aspect of the present invention, it is possible to provide a background removal program that prevents a density step from occurring even if the background of a document changes for each line section.

また、請求項10の発明によれば、ラインの区画毎に原稿の地肌が変化しても濃度段差が生じるのを防止した画像形成装置を提供することができる。   According to the tenth aspect of the present invention, it is possible to provide an image forming apparatus that prevents a density step from occurring even if the background of the document changes for each line section.

以下、本発明に係わる地肌除去装置およびプログラムおよび画像形成装置の実施例について添付図面を参照して詳細に説明する。   Embodiments of a background removal apparatus, a program, and an image forming apparatus according to the present invention will be described below in detail with reference to the accompanying drawings.

図1は、本発明に係わる画像形成装置の一実施例の全体構成を示す図である。   FIG. 1 is a diagram showing the overall configuration of an embodiment of an image forming apparatus according to the present invention.

図1に示す画像形成装置100は、電子写真式の複写機を構成する。この画像形成装置100は、画像読取部20、画像処理部30、画像形成部40を具備して構成される。   An image forming apparatus 100 shown in FIG. 1 constitutes an electrophotographic copying machine. The image forming apparatus 100 includes an image reading unit 20, an image processing unit 30, and an image forming unit 40.

画像読取部20は、原稿台2上に置かれた原稿1から画像を読み取るもので、原稿1に光を照射する光源3および反射器4、原稿1からの反射光を光電変換部21に導く反射鏡5a、5b、5c、光収束器5dからなる光学系5、光電変換部21、A/D変換部22を具備する。   The image reading unit 20 reads an image from the document 1 placed on the document table 2, and guides the light source 3 and the reflector 4 that irradiates the document 1 with light and the reflected light from the document 1 to the photoelectric conversion unit 21. The optical system 5 which consists of the reflective mirrors 5a, 5b, 5c and the light converging device 5d, the photoelectric conversion unit 21, and the A / D conversion unit 22 are provided.

ここで、光電変換部21は、光学系5により導かれた光の光量に応じて蓄積された電荷を取り出すことによって、原稿上の画像に対応した電気信号を生成する。   Here, the photoelectric conversion unit 21 generates an electrical signal corresponding to the image on the document by taking out the accumulated electric charge according to the amount of light guided by the optical system 5.

A/D変換部22は、光電変換部21から出力された電気信号をアナログ・デジタル変換して画像データを画像処理部30へ出力する。   The A / D conversion unit 22 performs analog / digital conversion on the electrical signal output from the photoelectric conversion unit 21 and outputs image data to the image processing unit 30.

画像処理部30は、画像処理制御部31による制御により、画像読取部20で読み取った画像に対応する画像データを処理するもので、入力階調補正部32、先鋭度補正部33、色変換部34、出力階調補正部35、網点処理部36を具備する。   The image processing unit 30 processes image data corresponding to the image read by the image reading unit 20 under the control of the image processing control unit 31, and includes an input gradation correction unit 32, a sharpness correction unit 33, and a color conversion unit. 34, an output tone correction unit 35, and a halftone processing unit 36.

ここで、入力階調補正部32は、A/D変換部22から出力される画像データを画像読取部20に固有の特性に合わせて階調補正するとともに、画像読取部20からの画像データを画像処理用の色空間信号に変換して、画像データから地肌を除去する地肌除去処理を行う。   Here, the input tone correction unit 32 corrects the tone of the image data output from the A / D conversion unit 22 in accordance with the characteristics specific to the image reading unit 20, and the image data from the image reading unit 20 is also corrected. Conversion to a color space signal for image processing is performed to perform background removal processing for removing the background from the image data.

先鋭度補正部33は、入力階調補正部32で変換された画像データを文字部は先鋭度合いを強く、写真や背景部分は弱くなるように補正する。   The sharpness correction unit 33 corrects the image data converted by the input tone correction unit 32 so that the character portion has a high degree of sharpness and the photograph and the background portion become weak.

色変換部34は、先鋭度補正部33で補正された画像データを画像処理部30の色空間信号から画像形成部40の色空間信号に変換する。   The color conversion unit 34 converts the image data corrected by the sharpness correction unit 33 from the color space signal of the image processing unit 30 to the color space signal of the image forming unit 40.

出力階調補正部35は、色変換部34で変換された画像データを画像形成部40に固有の特性に合わせて階調補正する。   The output tone correction unit 35 corrects the tone of the image data converted by the color conversion unit 34 in accordance with characteristics unique to the image forming unit 40.

網点処理部36は、出力階調補正部35で階調補正された画像データに対して画像形成部40の特性に適した線数の網点化処理を実施する。   The halftone processing unit 36 performs a halftone processing of the number of lines suitable for the characteristics of the image forming unit 40 on the image data subjected to the gradation correction by the output gradation correction unit 35.

画像形成部40は、画像形成制御部41の制御により、画像処理部30で処理された画像データに対応する画像を用紙上に形成して外部に排出する。この画像形成部40は、パルス発生部42、レーザ駆動部43、感光体6、帯電器7、現像器8、トナー供給装置9、濃度センサ10、清掃器11、中間転写体12、用紙搬送路13、定着器14、温度センサ15、湿度センサ16を具備し、更に、画像形成制御部41により制御されるレーザ光量制御部44、トナー供給制御部45、現像バイアス制御部46、帯電制御部47を具備する。   Under the control of the image formation control unit 41, the image forming unit 40 forms an image corresponding to the image data processed by the image processing unit 30 on a sheet and discharges it to the outside. The image forming unit 40 includes a pulse generation unit 42, a laser driving unit 43, a photosensitive member 6, a charger 7, a developing unit 8, a toner supply device 9, a density sensor 10, a cleaning unit 11, an intermediate transfer member 12, and a paper conveyance path. 13, a fixing device 14, a temperature sensor 15, and a humidity sensor 16, and further, a laser light amount control unit 44, a toner supply control unit 45, a development bias control unit 46, and a charging control unit 47 controlled by the image formation control unit 41. It comprises.

ここで、パルス発生部42は、網点処理部36により網点化処理された画像データに対応したパルス幅のパルス信号を発生する。   Here, the pulse generator 42 generates a pulse signal having a pulse width corresponding to the image data subjected to the halftone processing by the halftone processing unit 36.

レーザ駆動部43は、パルス発生部42から発生されたパルス信号により駆動されて、感光体6上に原稿の画像に対応した静電潜像を形成するためのレーザ光を照射する。   The laser driving unit 43 is driven by a pulse signal generated from the pulse generating unit 42 and irradiates a laser beam for forming an electrostatic latent image corresponding to the image of the document on the photosensitive member 6.

画像形成制御部41は、濃度センサ10、温度センサ15、湿度センサ16の検出出力を入力して、レーザ光量制御部46によりレーザ駆動部43から照射されるレーザ光の光量を制御し、トナー供給制御部45によりトナー供給装置9から供給されるトナー量を制御し、現像バイアス制御部46により現像器9のバイアスを制御し、帯電制御部47により感光体6を帯電する帯電器8を制御する。   The image formation control unit 41 receives detection outputs from the density sensor 10, the temperature sensor 15, and the humidity sensor 16, controls the amount of laser light emitted from the laser drive unit 43 by the laser light amount control unit 46, and supplies toner. The controller 45 controls the amount of toner supplied from the toner supply device 9, the developing bias controller 46 controls the bias of the developing device 9, and the charging controller 47 controls the charger 8 that charges the photoreceptor 6. .

上記構成からなる画像形成装置100の概略動作を説明すると以下のようになる。   The schematic operation of the image forming apparatus 100 having the above configuration will be described as follows.

複写動作に先立ち、画像形成装置100の画像形成部40では、感光体6上にキャリブレーションのためのパッチを形成し、これに光を照射してその反射量を濃度センサ10で測定することで感光体6に付着したトナー量を計測して、この値をもとに目的の濃度が得られるよう画像形成部40の各部のパラメータを決定する。   Prior to the copying operation, the image forming unit 40 of the image forming apparatus 100 forms a patch for calibration on the photosensitive member 6, irradiates light on the patch, and measures the reflection amount by the density sensor 10. The amount of toner adhering to the photosensitive member 6 is measured, and the parameters of each part of the image forming unit 40 are determined so as to obtain a target density based on this value.

実際の複写動作においては、画像読取部20で、原稿台2上に置かれた原稿1を光源3で照射し、その反射光を光学系5を経由して光電変換部21に導光し、光電変換部21から受光光量に応じて蓄積された電荷を取り出すことによって、原稿1上の画像に対応した電気信号を生成し、これをA/D変換部22でデジタルデータ(画像データ)に変換して画像処理部30に出力する。   In an actual copying operation, the image reading unit 20 irradiates the document 1 placed on the document table 2 with the light source 3 and guides the reflected light to the photoelectric conversion unit 21 via the optical system 5. An electric signal corresponding to the image on the original 1 is generated by taking out the electric charge accumulated according to the amount of received light from the photoelectric conversion unit 21, and converted into digital data (image data) by the A / D conversion unit 22. And output to the image processing unit 30.

画像処理部30では、画像読取部20から出力された画像データを、入力階調補正部32で画像読取部20に固有の特性に合わせて階調を補正するとともに、画像読取部20からの色空間信号を画像処理用の色空間信号に変換し、画像データから地肌を除去する地肌除去処理を行う。先鋭度補正部33で文字部は先鋭度合いを強く、写真や背景部分は弱くなるよう補正する。色変換部34では画像読取部からの画像処理用の色空間信号を画像形成部用の色空間信号に変換し、出力階調補正部35で画像形成部40に固有の特性に合わせて階調を補正し、これに網点処理部36で画像形成部40の特性に適した線数の網点化処理を実施する。   The image processing unit 30 corrects the gradation of the image data output from the image reading unit 20 in accordance with the characteristics specific to the image reading unit 20 by the input gradation correction unit 32, and the color from the image reading unit 20. The space signal is converted into a color space signal for image processing, and a background removal process for removing the background from the image data is performed. The sharpness correction unit 33 corrects the character portion so that the sharpness degree is strong and the photograph and the background portion are weak. The color conversion unit 34 converts the color space signal for image processing from the image reading unit into a color space signal for the image forming unit, and the output gradation correction unit 35 adjusts the gradation in accordance with the characteristics specific to the image forming unit 40. Then, the halftone dot processing unit 36 performs a halftone dot conversion process suitable for the characteristics of the image forming unit 40.

画像形成部40では、画像形成制御部41の制御のもと、帯電制御部48によって決定された電位で帯電器7が帯電されることにより、感光体6の表面に所定の電位が施され、一方、トナー供給装置9から供給された現像器8内のトナーには、現像バイアス制御部47によって決定されたバイアス電位が施される。   In the image forming unit 40, under the control of the image forming control unit 41, the charger 7 is charged with the potential determined by the charging control unit 48, whereby a predetermined potential is applied to the surface of the photoreceptor 6. On the other hand, the bias potential determined by the development bias controller 47 is applied to the toner in the developing device 8 supplied from the toner supply device 9.

このような状態のもと、画像処理部30から出力された網点処理後のデータに対応したパルス幅のパルス信号をパルス発生部42で生成し、これをレーザ駆動部43に与えてレーザ信号を発生させる。これが感光体1上を走査することによって画像データの静電潜像が生成され、この部分に現像バイアスが施されたトナーが付着し、中間転写体12上にイエロー、マゼンダ、シアン、ブラックの順に転写されて4色の重なったトナー像が生成される。これが用紙搬送路13上を搬送されてくる用紙上に転写され、定着器14で加熱されることによってトナーが用紙に定着して、装置外に排出される。   Under such a state, a pulse signal having a pulse width corresponding to the data after halftone dot processing output from the image processing unit 30 is generated by the pulse generating unit 42, and this is supplied to the laser driving unit 43 to provide a laser signal. Is generated. This scans the surface of the photosensitive member 1 to generate an electrostatic latent image of image data, and a toner to which a developing bias is applied adheres to this portion, and yellow, magenta, cyan, and black are deposited on the intermediate transfer member 12 in this order. Transferred toner images with four colors overlapped are generated. This is transferred onto the paper transported on the paper transport path 13 and heated by the fixing device 14 so that the toner is fixed on the paper and discharged outside the apparatus.

次に、この発明の主要部を構成する地肌除去について説明する。   Next, the background removal constituting the main part of the present invention will be described.

この発明の地肌除去処理は、図1に示した画像処理部30の入力階調補正部32で行われる。   The background removal process of the present invention is performed by the input tone correction unit 32 of the image processing unit 30 shown in FIG.

図2は、図1に示した入力階調補正部32で行われる地肌除去処理の概要を示す図である。   FIG. 2 is a diagram showing an outline of the background removal process performed by the input tone correction unit 32 shown in FIG.

図2(a)に示すように、原稿1内を所定の読み取りライン数毎の複数の区画1−1〜1-nに分割する。そして、それぞれの区画1−1〜1−nで、図2(b)のような所定の画像データ幅を1つの濃度領域(1〜9)としたヒストグラムを生成する。   As shown in FIG. 2A, the document 1 is divided into a plurality of sections 1-1 to 1-n for each predetermined number of read lines. Then, in each of the sections 1-1 to 1-n, a histogram having a predetermined image data width as one density region (1 to 9) as shown in FIG. 2B is generated.

図2(b)示すスヒストグラムにおいて、縦軸は、各濃度領域(1〜9)における画素の出現回数に対応する度数を示し、横軸は、濃度領域(1〜9)を示す。この図2(b)示すスヒストグラムの形状から原稿1の地肌が属する領域を特定する。   In the histogram shown in FIG. 2B, the vertical axis indicates the frequency corresponding to the number of appearances of the pixels in each density region (1-9), and the horizontal axis indicates the density region (1-9). The region to which the background of the document 1 belongs is specified from the shape of the histogram shown in FIG.

すなわち、図2(b)に示すヒストグラムは、原稿1の区画1−1に対応するものであり、この区画1−1に対応するスヒストグラムから、例えば、このヒストグラムの各濃度領域(1〜9)の内で、ヒストグラムの低濃度側の所定の濃度領域から高濃度側に向かって検出対象とする最大エリアまでサーチし、最初に度数が極大となり、かつ所定の値を超える領域、図2(b)の濃度領域(4)を原稿1の区画1−1の地肌に対応する地肌領域と判定する。この判定した地肌領域に対応して、地肌を除去するための地肌除去用のしきい値を算出し、原稿1の区画1−1の入力画像データの内、このしきい値より小さい(うすい)入力画像データを白レベルに変換することにより地肌除去を行う。   That is, the histogram shown in FIG. 2B corresponds to the section 1-1 of the document 1, and, for example, each density region (1 to 9) of the histogram is determined from the histogram corresponding to the section 1-1. 2), a search is performed from a predetermined density region on the low density side of the histogram to a maximum area to be detected from the low density side toward the high density side. First, the frequency reaches a maximum and exceeds a predetermined value. The density area (4) of b) is determined as a background area corresponding to the background of the section 1-1 of the document 1. A background removal threshold for removing the background is calculated corresponding to the determined background area, and is smaller than this threshold in the input image data of the section 1-1 of the document 1 (light). The background is removed by converting the input image data to a white level.

図3は、図1に示した入力階調補正部32の内部構成の一例を示すブロック図である。   FIG. 3 is a block diagram showing an example of the internal configuration of the input tone correction unit 32 shown in FIG.

図3に示す入力階調補正部32は、画像読取部20から入力された画像データから地肌を除去する地肌除去処理を行うもので、入力階調変換部310、色空間変換部320、ヒストグラム生成部330、地肌領域判定部340、地肌補正部350を具備する。   The input tone correction unit 32 shown in FIG. 3 performs a background removal process for removing the background from the image data input from the image reading unit 20, and includes an input tone conversion unit 310, a color space conversion unit 320, and a histogram generation. Unit 330, background region determination unit 340, and background correction unit 350.

すなわち、入力階調補正部32では、入力された画像データを入力階調変換部310で、画像読取部20の特性に合わせて、所定の階調変化になるよう変換テーブルを用いて変換し、さらに色空間変換部320で、内部での画像処理用に明度信号および色度信号に変換する。   In other words, in the input tone correction unit 32, the input image data is converted by the input tone conversion unit 310 using the conversion table so as to have a predetermined tone change in accordance with the characteristics of the image reading unit 20, Further, the color space conversion unit 320 converts it into a lightness signal and a chromaticity signal for internal image processing.

この色空間変換部320で変換された信号の内の明度信号を用いて、ヒストグラム生成部330で、所定の画像データ幅を1つの濃度領域とした図2(b)に示すようなヒストグラムを生成し、地肌領域判定部340で、このヒストグラムをもとに原稿1の地肌が属する濃度領域を判定する。   Using the brightness signal in the signal converted by the color space conversion unit 320, the histogram generation unit 330 generates a histogram as shown in FIG. 2B with a predetermined image data width as one density region. Then, the background area determination unit 340 determines the density area to which the background of the document 1 belongs based on this histogram.

そして、地肌補正部350で、地肌領域判定部340により判定された地肌の濃度領域に対応した地肌除去用のしきい値で、色空間変換部320からの画像データを、地肌濃度よりうすい部分を白レベルに変換することにより地肌除去を行う。   Then, the background correction unit 350 converts the image data from the color space conversion unit 320 to a portion that is lighter than the background density with a threshold for background removal corresponding to the background density region determined by the background region determination unit 340. Remove background by converting to white level.

図4は、図3に示したヒストグラム生成部330の内部構成の一例を示すブロック図である。   FIG. 4 is a block diagram illustrating an example of an internal configuration of the histogram generation unit 330 illustrated in FIG.

図4に示すヒストグラム生成部330は、加算部331、加算値保持部332、平均値算出部333、ヒストグラム度数加算部334、ヒストグラム保持部335、タイミング発生部336を具備する。   4 includes an adding unit 331, an added value holding unit 332, an average value calculating unit 333, a histogram frequency adding unit 334, a histogram holding unit 335, and a timing generating unit 336.

すなわち、図4に示すヒストグラム生成部330では、図3に示した色空間変換部320から出力される画像データを加算部331で所定の画素数分加算し、これを加算値保持部332で保持する。タイミング発生部336では、所定の画素数毎に1度タイミング信号を生成し、この信号が入力される度にそのときに加算値保持部332で保持されている値を元に、所定の画素数分の平均値を平均値算出部333で算出するとともに、加算値保持部332で保持している加算値をクリアする。   That is, in the histogram generation unit 330 shown in FIG. 4, image data output from the color space conversion unit 320 shown in FIG. 3 is added by a predetermined number of pixels by the addition unit 331, and this is held by the addition value holding unit 332. To do. The timing generation unit 336 generates a timing signal once for each predetermined number of pixels, and each time this signal is input, a predetermined number of pixels is generated based on the value held in the added value holding unit 332 at that time. The average value of the minute is calculated by the average value calculation unit 333 and the addition value held by the addition value holding unit 332 is cleared.

そして、平均値算出部333で算出した平均値をヒストグラム度数加算部334で、その平均値が属する領域の度数を1つだけ加算してヒストグラムを生成していく。   Then, the average value calculated by the average value calculation unit 333 is added by the histogram frequency addition unit 334 to add the frequency of the region to which the average value belongs to generate a histogram.

ヒストグラム保持部335では、図2(a)に示した1つの区画の末端部分でのヒストグラムを次の区画の間だけ保持して、図3に示す地肌領域判定部340での地肌判定処理に使用する。   The histogram holding unit 335 holds the histogram at the end portion of one section shown in FIG. 2A only during the next section and uses it for the background determination processing in the background area determination unit 340 shown in FIG. To do.

図5は、図3に示した地肌補正部350の内部構成の一例を示すブロック図である。この地肌補正部350は、しきい値算出部351、地肌除去部352を具備する。   FIG. 5 is a block diagram illustrating an example of an internal configuration of the background correction unit 350 illustrated in FIG. 3. The background correction unit 350 includes a threshold value calculation unit 351 and a background removal unit 352.

しきい値算出部351は、図3の地肌領域判定部340で判定した地肌が属する濃度領域を示す信号から地肌濃度に対応した地肌除去用のしきい値を算出する。この地肌除去用のしきい値の算出は、地肌領域判定部340で判定した地肌が属する濃度領域の濃度値に基づき行われる。   The threshold calculation unit 351 calculates a threshold for background removal corresponding to the background density from a signal indicating the density region to which the background belongs, determined by the background region determination unit 340 in FIG. The calculation of the threshold value for removing the background is performed based on the density value of the density area to which the background belongs, determined by the background area determination unit 340.

そして、地肌除去部352で、入力された画像データの濃度データがこの地肌除去用のしきい値より小さい(うすい)と白レベル(出力値0)に変換することで、地肌除去を行う。   Then, the background removal unit 352 converts the density data of the input image data to a value lower than the background removal threshold (light) and a white level (output value 0), thereby removing the background.

ここで、白レベルに変換されなかった地肌除去用のしきい値より若干濃いデータについても出力値を補正して、出力画像上に擬似輪郭が発生しないようにする。   Here, the output value is also corrected for data slightly darker than the background removal threshold value that has not been converted to the white level, so that a pseudo contour does not occur on the output image.

図6は、出力画像上に擬似輪郭が発生しないようにするための地肌除去処理を説明する図である。   FIG. 6 is a diagram illustrating a background removal process for preventing a pseudo contour from being generated on an output image.

図6において、縦軸は出力濃度を示し横軸は入力濃度を示す。地肌除去用のしきい値による地肌除去は、入力濃度がしきい値より小さい部分(図6でaで示す部分)を出力値0にすることにより行われるが、この場合、図6でbで示す部分は急激に濃度が0から変化するので出力画像上に擬似輪郭が発生してしまう。そこで、図6でbで示す部分を図6でcで示すように補正して出力画像上に擬似輪郭が発生しないようにする。   In FIG. 6, the vertical axis represents the output density and the horizontal axis represents the input density. The background removal using the threshold value for removing the background is performed by setting a portion where the input density is smaller than the threshold value (portion indicated by a in FIG. 6) to an output value 0. In the portion shown, since the density suddenly changes from 0, a pseudo contour is generated on the output image. Therefore, the portion indicated by b in FIG. 6 is corrected as indicated by c in FIG. 6 so that a pseudo contour does not occur on the output image.

図7は、図3に示した地肌領域判定部340における地肌領域の判定処理を説明する図である。   FIG. 7 is a diagram for explaining a background area determination process in the background area determination unit 340 shown in FIG. 3.

図3に示した地肌領域判定部340で、図7に示すヒストグラムの濃度領域(1〜11)で地肌が属する地肌領域を特定する場合は、このヒストグラムの低濃度側の所定の濃度領域(図7の開始領域(1))から高濃度側に向かって検出対象とする最大領域(図7の終了領域(8))までサーチし、最初に度数が極大となり、かつ第1の値を超える濃度領域、すなわち濃度領域(4)を地肌領域として判定する。   When the background area to which the background belongs is specified by the density areas (1 to 11) of the histogram shown in FIG. 7 by the background area determination unit 340 shown in FIG. 3, a predetermined density area (see FIG. 7 from the start region (1)) to the maximum region (the end region (8) in FIG. 7) to be detected toward the higher concentration side, and the density first reaches the maximum and exceeds the first value. The area, that is, the density area (4) is determined as the background area.

また、すべての濃度領域(1〜11)で第1の値を超えない場合は、あらかじめ設定した濃度領域(図7の予設定領域(0))を地肌領域と判定する。   If all the density areas (1 to 11) do not exceed the first value, the density area set in advance (the preset area (0) in FIG. 7) is determined as the background area.

図8は、図3に示した地肌領域判定部340における地肌領域の判定処理を示すフローチャートである。   FIG. 8 is a flowchart showing the determination process of the background area in the background area determination unit 340 shown in FIG.

図8において、まず、終了領域より高濃度側の度数をクリアし(ステップ900)、評価領域を開始領域(1)に設定し(ステップ901)、評価領域の度数が1高濃度側の領域の度数より大きいかを調べる(ステップ902)。ここで、評価領域の度数が1高濃度側の領域の度数より大きくないと判断されると(ステップ902でNO)、評価領域を1高濃度側の領域に変更し(ステップ903)、評価領域は終了領域より大きいか、すなわち、高濃度側に向かったサーチにより終了領域を越えたかを判断する(ステップ904)。ここで、終了領域を越えていない場合(ステップ904でNO)は、ステップ902で戻る。   In FIG. 8, first, the frequency on the higher density side than the end area is cleared (step 900), the evaluation area is set to the start area (1) (step 901), and the frequency of the evaluation area is 1 in the area on the higher density side. It is checked whether it is greater than the frequency (step 902). If it is determined that the frequency of the evaluation area is not greater than the frequency of the area on the high density side (NO in step 902), the evaluation area is changed to the area on the high density side (step 903). Is larger than the end area, that is, whether the end area is exceeded by a search toward the high density side (step 904). If the end area is not exceeded (NO in step 904), the process returns in step 902.

ステップ902で、評価領域の度数が1高濃度側の領域の度数より大きいと判断されると(ステップ902でYES)、次に、評価領域の度数が第1の値より大きいかを調べる(ステップ905)。   If it is determined in step 902 that the frequency of the evaluation region is larger than the frequency of the region on the high density side (YES in step 902), it is next checked whether the frequency of the evaluation region is larger than the first value (step 902). 905).

ここで、評価領域の度数が第1の値より大きくないと判断された場合(ステップ905でNO)は、ステップ903に進み、評価領域を1高濃度側の領域に変更する。   If it is determined that the frequency of the evaluation area is not greater than the first value (NO in step 905), the process proceeds to step 903, and the evaluation area is changed to an area on the high concentration side.

ステップ905で、評価領域の度数が第1の値より大きいと判断されると(ステップ905でYES)、この評価領域は、最初に度数が極大となった領域であるので、この領域、すなわち、現在の評価領域を地肌領域として判定して(ステップ906)、この地肌領域判定を終了する。   If it is determined in step 905 that the frequency of the evaluation area is larger than the first value (YES in step 905), this evaluation area is an area where the frequency is first maximized. The current evaluation area is determined as a background area (step 906), and this background area determination is terminated.

また、ステップ904で、終了領域を越えたと判断されると(ステップ904でYES)、開始領域から終了領域までのすべての領域で第1の値を超えていないと判断され、この場合は、あらかじめ設定した濃度領域(図7の予設定領域(0))を地肌領域と判定し(ステップ907)、この地肌領域判定を終了する。   If it is determined in step 904 that the end area has been exceeded (YES in step 904), it is determined that all the areas from the start area to the end area do not exceed the first value. The set density area (preset area (0) in FIG. 7) is determined as a background area (step 907), and this background area determination is terminated.

図8に示したフローチャートでは、ヒストグラムの低濃度側の所定の濃度領域から高濃度側に向かって検出対象とする最大領域までサーチし、最初に度数が極大となり、かつ第1の値を超える濃度領域を地肌領域として判定するように構成したが、このような地肌領域の判定を各区画毎に行うと、地肌濃度に近い画像がある程度の面積をもって存在した場合には、極大となる濃度領域が変化してしまい、その結果、地肌を除去するためのしきい値も変化して、出力画像上に部分的な濃度段差が発生する。   In the flowchart shown in FIG. 8, a search is performed from a predetermined density region on the low density side of the histogram to a maximum area to be detected toward the high density side, and the density first reaches a maximum and exceeds the first value. Although the region is determined as a background region, when such a background region determination is performed for each section, if an image close to the background density exists with a certain area, the maximum concentration region is determined. As a result, the threshold value for removing the background also changes, and a partial density step occurs on the output image.

そこで、この発明の地肌領域判定処理においては、ある区画のヒストグラムにおいて、最初に度数が極大となり、かつ第1の値を超える地肌領域として判定した濃度領域が、次の区画のヒストグラムにおいて、第1の値を下回ったとしても、この濃度領域の度数が第1の値より小さい第2の値を超えていれば、この濃度領域を地肌領域として継続判定する。   Therefore, in the background area determination processing according to the present invention, in the histogram of a certain section, the density area first determined as the background area having the maximum frequency and exceeding the first value is the first area in the histogram of the next section. If the frequency of the density area exceeds the second value smaller than the first value, the density area is continuously determined as the background area.

図9は、この出力画像上の部分的な濃度段差の発生を防止するための地肌領域判定処理を説明する図である。   FIG. 9 is a diagram for explaining a background area determination process for preventing the occurrence of a partial density step on the output image.

図9において、原稿のある区画のヒストグラムが図9(a)のようになり、このヒストグラムにおいて、低濃度領域から高濃度領域へのサーチにより、最初に度数が極大となり、かつ第1の値を超える濃度領域、すなわち濃度領域(3)が地肌領域と判定されたとする。   In FIG. 9, the histogram of a certain section of the document is as shown in FIG. 9A. In this histogram, the frequency is first maximized by the search from the low density area to the high density area, and the first value is set. It is assumed that the density region that exceeds, that is, the density region (3) is determined as the background region.

ここで、この図9(a)のヒストグラムに対応する原稿の区画に隣接する次の原稿の区画のヒストグラムが図9(b)のようになったとする。   Here, it is assumed that the histogram of the next original section adjacent to the original section corresponding to the histogram of FIG. 9A is as shown in FIG.

この場合、図9(b)のヒストグラムにおいて、低濃度領域から高濃度領域へのサーチにより、最初に度数が極大となり、かつ第1の値を超える濃度領域は濃度領域(2)となるが、図9(a)のヒストグラムで地肌領域として判定した濃度領域(3)に対応する図9(b)のヒストグラムの濃度領域(3)の度数は、第2の値を超えているので、図9(b)のヒストグラムにおいては、濃度領域(3)を継続して地肌領域として判定する。   In this case, in the histogram of FIG. 9 (b), the frequency is first maximized by the search from the low density area to the high density area, and the density area exceeding the first value becomes the density area (2). Since the frequency of the density region (3) of the histogram of FIG. 9 (b) corresponding to the density region (3) determined as the background region by the histogram of FIG. 9 (a) exceeds the second value, FIG. In the histogram of (b), the density region (3) is continuously determined as the background region.

また、この発明の地肌領域判定処理においては、原稿内の連続する区画において、第1の値を超えて地肌と判定した濃度領域が、あらかじめ設定した区画数連続した場合、その濃度領域が原稿全体の地肌領域であると判定して固定し、それ以降の区画での地肌の検出を中止することにより、原稿全体で地肌領域判定処理を行わなくてもよいようにしている。   In the background area determination processing according to the present invention, if the density area determined to be the background exceeding the first value in consecutive sections in the document continues for a preset number of sections, the density area is the entire document. The background area is determined and fixed, and detection of the background in subsequent sections is stopped, so that the background area determination process does not have to be performed on the entire document.

図10は、上記地肌領域判定処理を説明する図である。   FIG. 10 is a diagram for explaining the background area determination process.

図10において、原稿のある区画のヒストグラムが図10のようになり、このヒストグラムにおいて、低濃度領域から高濃度領域へのサーチにより、最初に度数が極大となり、かつ第1の値を超える濃度領域、すなわち濃度領域(3)が地肌領域と判定されたとする。   In FIG. 10, the histogram of a certain section of the document is as shown in FIG. 10. In this histogram, the density region first having the maximum frequency and exceeding the first value by the search from the low density region to the high density region. That is, it is assumed that the density region (3) is determined as the background region.

そして、この区画から連続する区間で同一の濃度領域(3)が地肌領域として判定された場合、その連続する区画数をカウントし、このカウント値が予め設定した数に達すると、その濃度領域が原稿全体の地肌領域であると判定して固定し、それ以降の区画での地肌の検出を中止する。なお、図10において、濃度領域(3)の第1の値を超えた部分に記載される複数の点線は、連続する区画で地肌領域と判定された各濃度領域(3)の度数を示す。   And when the same density area (3) is determined as a background area in a continuous section from this section, the number of continuous sections is counted, and when this count value reaches a preset number, The background area of the entire document is determined and fixed, and the background detection in the subsequent sections is stopped. In addition, in FIG. 10, the several dotted line described in the part beyond the 1st value of the density | concentration area | region (3) shows the frequency of each density | concentration area | region (3) determined as a background area | region by a continuous division.

ただし、判定の途中で第1の値を下回る区画があった場合(濃度領域(3)の第1の値を下回る点線で示す)は、その時点で連続カウントが途絶えたものとして、カウント値をクリアする。   However, if there is a section below the first value in the middle of the determination (indicated by a dotted line below the first value of the density region (3)), it is assumed that the continuous count has stopped at that time, and the count value is clear.

また、この発明の地肌領域判定処理においては、すべての濃度領域で第1の値を超えない区画が、あらかじめ設定した区画数連続した場合、その原稿が絵柄原稿であると判定して現在判定されている地肌領域を原稿全体の地肌領域として固定し、それ以降の区画での地肌の検出を中止する。   Further, in the background area determination process of the present invention, when the number of sections that do not exceed the first value in all density areas continues for a preset number of sections, it is determined that the document is a pattern document and is currently determined. The background area is fixed as the background area of the entire document, and detection of the background in subsequent sections is stopped.

図11は、上記地肌領域判定処理を説明する図である。   FIG. 11 is a diagram for explaining the background area determination process.

図11において、原稿のある区画のヒストグラムが図11のようになり、このヒストグラムにおいて、低濃度領域から高濃度領域へのサーチにより、すべての濃度領域で第1の値を超えないと判定されたとする。そして、そして状態があらかじめ設定した区画数連続した場合、その区画数をカウントし、このカウント値が予め設定した数に達すると、その原稿が絵柄原稿であると判定して、現在判定されている地肌領域、すなわち、前の区画で地肌領域として判定された濃度領域を原稿全体の地肌領域として固定し、それ以降の区画での地肌の検出を中止する。   In FIG. 11, the histogram of a certain section of the document is as shown in FIG. 11, and in this histogram, it is determined by searching from the low density area to the high density area that all density areas do not exceed the first value. To do. If the state continues for a preset number of sections, the number of sections is counted, and when the count value reaches a preset number, it is determined that the document is a picture document and is currently determined. The background area, that is, the density area determined as the background area in the previous section is fixed as the background area of the entire document, and detection of the background in the subsequent sections is stopped.

なお、図11において、濃度領域(3)は、前の区画で地肌領域として判定された濃度領域を示し、濃度領域(3)の第2のしきい値を超えた複数の点線および第2のしきい値を下回る点線は、すべての濃度領域で第1のしきい値を超えないと判定された場合の濃度領域(3)の度数を示す。   In FIG. 11, the density region (3) indicates the density region determined as the background region in the previous section, and a plurality of dotted lines exceeding the second threshold value of the density region (3) and the second region A dotted line below the threshold value indicates the frequency of the density region (3) when it is determined that the first threshold value is not exceeded in all density regions.

ただし、判定の途中で、濃度領域(3)の度数が第1の値を超えた場合(濃度領域(3)の第1の値を超える点線で示す)は、その時点で連続カウントが途絶えたものとして、カウント値をクリアする。   However, when the frequency of the density region (3) exceeds the first value during the determination (indicated by a dotted line exceeding the first value of the density region (3)), the continuous count is interrupted at that time. As a thing, the count value is cleared.

また、この発明の地肌領域判定処理においては、直前の区画のヒストグラムで地肌領域として判定した濃度領域が次の区画のヒストグラムで地肌領域として判定した濃度領域と異なる場合、急激な地肌領域の変化を防止するために地肌領域の変化量を所定の値に制限している。   Further, in the background area determination processing of the present invention, when the density area determined as the background area in the histogram of the immediately preceding section is different from the density area determined as the background area in the histogram of the next section, a rapid change in the background area is performed. In order to prevent this, the amount of change in the background area is limited to a predetermined value.

図12は、上記地肌判定処理を説明する図である。   FIG. 12 is a diagram for explaining the background determination process.

図12において、直前の区画のヒストグラムで濃度領域(2)が、点線で示すように第1の値を超えて地肌領域として判定されたが、次の区画のヒストグラムでは濃度領域(6)が第1の値を超えて地肌領域として判定されたとする。   In FIG. 12, the density area (2) in the histogram of the immediately preceding section exceeds the first value as indicated by the dotted line and is determined as the background area, but in the histogram of the next section, the density area (6) is the first area. It is assumed that a background area exceeding 1 is determined.

この場合は、地肌領域の変化量は「6−2=4」となる。そこで、地肌領域の変化量を、例えば、「2」と制限すると、本来は濃度領域(6)が地肌領域として判定されるが、この制限により、濃度領域(4)が地肌領域として判定される。   In this case, the change amount of the background region is “6-2 = 4”. Therefore, when the change amount of the background area is limited to, for example, “2”, the density area (6) is originally determined as the background area, but due to this limitation, the density area (4) is determined as the background area. .

また、この発明においては、各区画のヒストグラムにより判定した地肌領域が直前の区画と異なる場合、それぞれの地肌領域に対応するしきい値を、区画の境界でライン毎に順次変化させる。   In the present invention, when the background area determined by the histogram of each section is different from the immediately preceding section, the threshold value corresponding to each background area is sequentially changed for each line at the boundary of the section.

図13は、上記しきい値を変化させる処理を説明する図である。   FIG. 13 is a diagram for explaining the process of changing the threshold value.

図13において、直前の区画で算出したしきい値がS1であり、次の区画で算出したしきい値がS2であるとする。この場合、次区画の先頭ラインから数ライン分でしきい値をS1からS2に各ライン毎に順次変化させる。   In FIG. 13, it is assumed that the threshold value calculated in the immediately preceding section is S1, and the threshold value calculated in the next section is S2. In this case, the threshold value is sequentially changed for each line from S1 to S2 in several lines from the first line of the next section.

以上が本発明の代表的な実施形態の一例であるが、本発明は、上記実施例及び図面に示す実施例に限定することなく、その要旨を変更しない範囲内で適宜変形して実施できるものである。   Although the above is an example of typical embodiment of this invention, this invention is not limited to the Example shown in the said Example and drawing, It can implement suitably deform | transforming within the range which does not change the summary. It is.

また、上記地肌除去処理は、記憶装置に記憶された地肌除去プログラムに基づき中央演算処理装置で処理することによっても行うことができる。   The background removal processing can also be performed by processing with a central processing unit based on the background removal program stored in the storage device.

なお、上記地肌除去プログラムは、ネットワーク等の通信手段により提供することは勿論、CD−ROM、DVD等の外部記録媒体に記録して提供することも可能である。   The background removal program can be provided not only by a communication means such as a network but also by recording it on an external recording medium such as a CD-ROM or DVD.

本発明に係わる画像形成装置の一実施例の全体構成を示す図である。1 is a diagram illustrating an overall configuration of an embodiment of an image forming apparatus according to the present invention. 図1に示した入力階調補正部で行われる地肌除去処理の概要を示す図である。It is a figure which shows the outline | summary of the background removal process performed in the input gradation correction | amendment part shown in FIG. 図1に示した入力階調補正部の内部構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of an internal configuration of an input tone correction unit illustrated in FIG. 1. 図3に示したヒストグラム生成部の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of an internal structure of the histogram production | generation part shown in FIG. 図3に示した地肌補正部の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of an internal structure of the background correction | amendment part shown in FIG. 出力画像上に擬似輪郭が発生しないようにするための地肌除去処理を説明する図である。It is a figure explaining the background removal process for preventing a pseudo contour from generating on an output image. 図3に示した地肌領域判定部における地肌領域の判定処理を説明する図である。It is a figure explaining the determination process of the background area | region in the background area | region determination part shown in FIG. 図7に示した地肌領域判定部における地肌領域の判定処理を示すフローチャートである。It is a flowchart which shows the determination process of the background area | region in the background area | region determination part shown in FIG. 図3に示した地肌領域判定部における地肌領域判定処理の一例を説明する図である。It is a figure explaining an example of the background area | region determination process in the background area | region determination part shown in FIG. 図3に示した地肌領域判定部における地肌領域判定処理の他の例を説明する図である。It is a figure explaining the other example of the background area | region determination process in the background area | region determination part shown in FIG. 図3に示した地肌領域判定部における地肌領域判定処理の他の例を説明する図である。It is a figure explaining the other example of the background area | region determination process in the background area | region determination part shown in FIG. 図3に示した地肌領域判定部における地肌領域判定処理の他の例を説明する図である。It is a figure explaining the other example of the background area | region determination process in the background area | region determination part shown in FIG. 図3に示した地肌補正部における地肌補正処理の一例を説明する図である。It is a figure explaining an example of the background correction process in the background correction | amendment part shown in FIG.

符号の説明Explanation of symbols

1 原稿
2 原稿台
3 光源
4 反射器
5 光学系
6 感光体
7 帯電器
8 現像器
9 トナー供給装置
10 濃度センサ
11 清掃器
12 中間転写体
13 用紙搬送路
14 定着器
15 温度センサ
16 湿度センサ
20 画像読取部
21 光電変換部
22 A/D変換部
30 画像処理部
31 画像処理制御部
32 入力階調補正部
33 先鋭度補正部
34 色変換部
35 出力階調補正部
36 網点処理部
40 画像形成部
41 画像形成制御部
42 パルス発生部
43 レーザ駆動部
44 レーザ光量制御部
45 トナー供給制御部
46 現像バイアス制御部
47 帯電制御部
310 入力階調変換部
320 色空間変換部
330 ヒストグラム生成部
331 加算部
332 加算値保持部
333 平均値算出部
334 ヒストグラム度数加算部
335 ヒストグラム保持部
336 タイミング発生部
340 地肌領域判定部
350 地肌補正部
351 しきい値算出部
352 地肌除去部
DESCRIPTION OF SYMBOLS 1 Document 2 Document stand 3 Light source 4 Reflector 5 Optical system 6 Photoconductor 7 Charger 8 Developer 9 Toner supply device 10 Density sensor 11 Cleaner 12 Intermediate transfer body 13 Paper conveyance path 14 Fixing device 15 Temperature sensor 16 Humidity sensor 20 Image reading unit 21 Photoelectric conversion unit 22 A / D conversion unit 30 Image processing unit 31 Image processing control unit 32 Input gradation correction unit 33 Sharpness correction unit 34 Color conversion unit 35 Output gradation correction unit 36 Halftone processing unit 40 Image Formation unit 41 Image formation control unit 42 Pulse generation unit 43 Laser drive unit 44 Laser light quantity control unit 45 Toner supply control unit 46 Development bias control unit 47 Charge control unit 310 Input tone conversion unit 320 Color space conversion unit 330 Histogram generation unit 331 Addition unit 332 Addition value holding unit 333 Average value calculation unit 334 Histogram frequency addition unit 335 Hist Ram holder 336 timing generating unit 340 background area determining section 350 background correction unit 351 threshold calculation unit 352 background elimination unit

Claims (10)

原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段と、
前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段と、
前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段と、
前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段と
を具備する地肌除去装置。
Histogram creation means for dividing a document into a plurality of sections each having a predetermined number of lines, and creating a histogram having a predetermined density width from image data of each section;
A background area determination means for determining a background area to which the background belongs from the frequency of each density area of the histogram created by the histogram creation means;
Threshold calculation means for calculating a threshold for removing the background from the image data of each section corresponding to the background area determined by the background area determination means;
A background removing device comprising: a background removing means for removing a background portion from image data of each section of the document based on the threshold value calculated by the threshold value calculating means.
前記地肌領域判定手段は、
前記ヒストグラムの低濃度側の所定の濃度領域から高濃度側に向かって各濃度領域の度数を調べ、最初に度数が極大となり、かつ予め設定した第1の値を超える濃度領域を前記地肌領域として判定する請求項1記載の地肌除去装置。
The background region determination means includes
The frequency of each density region is examined from a predetermined density region on the low density side of the histogram toward the high density side, and a density region where the frequency first reaches a maximum and exceeds a preset first value is defined as the background region. The background removal apparatus according to claim 1 for determination.
前記地肌領域判定手段は、
前記ヒストグラムのすべての濃度領域でその度数が前記第1の値を超えない場合は、あらかじめ設定した濃度領域を前記地肌領域と判定する請求項2記載の地肌除去装置。
The background region determination means includes
The background removal apparatus according to claim 2, wherein when the frequency does not exceed the first value in all density areas of the histogram, a density area set in advance is determined as the background area.
前記地肌領域判定手段は、
前記ヒストグラム作成手段により作成された直前の区画のヒストグラムにより前記第1の値を超えたとして前記地肌領域と判定した濃度領域の度数が、前記第1の値を下回り、かつ、予め設定した第2の値より大きい場合は、該濃度領域を前記地肌領域として継続判定する請求項2記載の地肌除去装置。
The background region determination means includes
The frequency of the density area determined to be the background area as exceeding the first value by the histogram of the immediately preceding section created by the histogram creating means is less than the first value and is set to a preset second value. The background removal apparatus according to claim 2, wherein, when the value is larger than the value, the density region is continuously determined as the background region.
前記地肌領域判定手段は、
前記地肌領域と判定した濃度領域が所定の区画で連続した場合、その濃度領域が原稿全体の地肌領域であると判定して固定し、それ以降の区画での地肌の判定を中止する請求項2記載の地肌除去装置。
The background region determination means includes
3. When the density area determined to be the background area continues in a predetermined section, the density area is determined to be the background area of the entire document and fixed, and determination of the background in the subsequent sections is stopped. The background removal apparatus of description.
前記地肌領域判定手段は、
前記ヒストグラム作成手段により作成された前記ヒストグラムのすべての濃度領域で前記第1の値を超えない区画が所定区間連続した場合、その原稿が絵柄原稿であると判定して現在の地肌領域を原稿全体の地肌領域として固定し、それ以降の区画での地肌の判定を中止する請求項2記載の地肌除去装置。
The background region determination means includes
If all the density areas of the histogram created by the histogram creation means have a section that does not exceed the first value for a predetermined interval, it is determined that the original is a pattern original and the current background area is the entire original. The background removal apparatus according to claim 2, wherein the background is fixed as a background area and the determination of the background in subsequent sections is stopped.
前記地肌領域判定手段は、
前記ヒストグラムにより地肌領域として判定した濃度領域が直前の区画と異なる場合、直前の区画からの地肌領域の変化量をあらかじめ設定した変化量以下に制限する請求項1記載の地肌除去装置。
The background region determination means includes
The background removal device according to claim 1, wherein when the density area determined as the background area by the histogram is different from the immediately preceding section, a change amount of the background area from the immediately preceding section is limited to a predetermined change amount or less.
前記地肌除去手段は、
前記算出ヒストグラムにより判定した地肌領域が直前の区画と異なる場合、それぞれの地肌領域に対応するしきい値を、区画の境界でライン毎に順次変化させる請求項1記載の地肌除去装置。
The background removing means
The background removal apparatus according to claim 1, wherein when the background area determined by the calculated histogram is different from the immediately preceding section, the threshold value corresponding to each background area is sequentially changed for each line at the boundary of the section.
コンピュータを、
原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段、
前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段、
前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段、
前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段
として機能させる地肌除去プログラム。
Computer
A histogram creating means for dividing a document into a plurality of sections each having a predetermined number of lines and creating a histogram having a predetermined density width from image data of each section;
A background area determination means for determining a background area to which the background belongs from the frequency of each density area of the histogram created by the histogram creation means;
Threshold calculation means for calculating a threshold for removing the background from the image data of each section corresponding to the background area determined by the background area determination means;
A background removal program that functions as a background removal means for removing a background portion from image data of each section of the document based on the threshold value calculated by the threshold value calculation means.
原稿の画像データから地肌除去装置により地肌を除去して該地肌を除去した画像データに基づき原稿の画像を形成する画像形成装置であって、
前記地肌除去装置は、
原稿内を所定のライン数毎の複数の区画に区切り、各区画の画像データから所定濃度幅のヒストグラムを作成するヒストグラム作成手段と、
前記ヒストグラム作成手段で作成したヒストグラムの各濃度領域の度数から地肌が属する地肌領域を判定する地肌領域判定手段と、
前記地肌領域判定手段で判定した地肌領域に対応して各区画の画像データから地肌を除去するためのしきい値を算出するしきい値算出手段と、
前記しきい値算出手段で算出したしきい値に基づき前記原稿の各区画の画像データから地肌部分を除去する地肌除去手段と
を具備する画像形成装置
An image forming apparatus that forms an image of a document based on image data obtained by removing the background from the image data of the document using a background removal device,
The background removing device is
Histogram creation means for dividing a document into a plurality of sections each having a predetermined number of lines, and creating a histogram having a predetermined density width from image data of each section;
A background area determination means for determining a background area to which the background belongs from the frequency of each density area of the histogram created by the histogram creation means;
Threshold calculation means for calculating a threshold for removing the background from the image data of each section corresponding to the background area determined by the background area determination means;
An image forming apparatus comprising: a background removing unit that removes a background portion from the image data of each section of the document based on the threshold value calculated by the threshold value calculating unit.
JP2008136602A 2008-05-26 2008-05-26 Background removal apparatus, program, and image forming apparatus Expired - Fee Related JP4692575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008136602A JP4692575B2 (en) 2008-05-26 2008-05-26 Background removal apparatus, program, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008136602A JP4692575B2 (en) 2008-05-26 2008-05-26 Background removal apparatus, program, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2009284407A true JP2009284407A (en) 2009-12-03
JP4692575B2 JP4692575B2 (en) 2011-06-01

Family

ID=41454352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008136602A Expired - Fee Related JP4692575B2 (en) 2008-05-26 2008-05-26 Background removal apparatus, program, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4692575B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07322069A (en) * 1994-05-30 1995-12-08 Fuji Xerox Co Ltd Picture processor
JPH10210287A (en) * 1997-01-27 1998-08-07 Minolta Co Ltd Digital camera
JPH1198359A (en) * 1997-09-19 1999-04-09 Toshiba Corp Image processor and image forming device
JP2000115529A (en) * 1998-10-02 2000-04-21 Ricoh Co Ltd Picture reproducing device
JP2001103309A (en) * 1999-09-28 2001-04-13 Sharp Corp Image processing method and image processing unit
JP2001223898A (en) * 2000-02-10 2001-08-17 Ricoh Co Ltd Image reader and image forming device
JP2001251504A (en) * 2000-03-07 2001-09-14 Ricoh Co Ltd Image processor
JP2005176168A (en) * 2003-12-15 2005-06-30 Fuji Xerox Co Ltd Image processor
JP2005260530A (en) * 2004-03-11 2005-09-22 Fuji Xerox Co Ltd Image reader, image forming device, image processor and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07322069A (en) * 1994-05-30 1995-12-08 Fuji Xerox Co Ltd Picture processor
JPH10210287A (en) * 1997-01-27 1998-08-07 Minolta Co Ltd Digital camera
JPH1198359A (en) * 1997-09-19 1999-04-09 Toshiba Corp Image processor and image forming device
JP2000115529A (en) * 1998-10-02 2000-04-21 Ricoh Co Ltd Picture reproducing device
JP2001103309A (en) * 1999-09-28 2001-04-13 Sharp Corp Image processing method and image processing unit
JP2001223898A (en) * 2000-02-10 2001-08-17 Ricoh Co Ltd Image reader and image forming device
JP2001251504A (en) * 2000-03-07 2001-09-14 Ricoh Co Ltd Image processor
JP2005176168A (en) * 2003-12-15 2005-06-30 Fuji Xerox Co Ltd Image processor
JP2005260530A (en) * 2004-03-11 2005-09-22 Fuji Xerox Co Ltd Image reader, image forming device, image processor and program

Also Published As

Publication number Publication date
JP4692575B2 (en) 2011-06-01

Similar Documents

Publication Publication Date Title
JP2008193677A (en) Image forming apparatus and method of controlling apparatus
US20110249277A1 (en) Image forming apparatus in which intermediate gradation reproducibility is enhanced
JP5171165B2 (en) Image forming apparatus
JP5269012B2 (en) Image forming apparatus
JP2005007697A (en) Imaging apparatus
JPH06230643A (en) Image density controller
JP6296327B2 (en) Image forming apparatus
JP4692575B2 (en) Background removal apparatus, program, and image forming apparatus
JP2011175228A (en) Image forming apparatus
JP2002040731A (en) Image forming device
US8095022B2 (en) Image forming apparatus capable of calculating amount of toner adhesion accurately
JP4817663B2 (en) Image forming apparatus
JP2012150181A (en) Image forming apparatus and image forming method
JP4135750B2 (en) Image forming apparatus
JP2009284408A (en) Background removing apparatus and program, and image forming device
US8031370B2 (en) Device and method removes background component from image using white reference value and background removal level value
JP6261323B2 (en) Image forming apparatus and control method
JP5918119B2 (en) Image forming apparatus
JP4404039B2 (en) Image forming apparatus and image forming method
JP2007088920A (en) Image forming apparatus and image forming method
JP6923305B2 (en) Image forming device
US9417554B2 (en) Image forming apparatus and image formation method that perform smoothing
JPH10145596A (en) Image forming device
JP5995555B2 (en) Image processing apparatus and control method thereof
JPH0983797A (en) Method and device for image formation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110105

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110207

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

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4692575

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees