JP2000253250A - Picture data ground judging method, device therefor and medium recording picture data ground control program - Google Patents

Picture data ground judging method, device therefor and medium recording picture data ground control program

Info

Publication number
JP2000253250A
JP2000253250A JP11054285A JP5428599A JP2000253250A JP 2000253250 A JP2000253250 A JP 2000253250A JP 11054285 A JP11054285 A JP 11054285A JP 5428599 A JP5428599 A JP 5428599A JP 2000253250 A JP2000253250 A JP 2000253250A
Authority
JP
Japan
Prior art keywords
image data
image
background
frequency distribution
gradation
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
JP11054285A
Other languages
Japanese (ja)
Other versions
JP3846524B2 (en
Inventor
Hidekuni Moriya
英邦 守屋
Naoki Kuwata
直樹 鍬田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP05428599A priority Critical patent/JP3846524B2/en
Priority to DE60042257T priority patent/DE60042257D1/en
Priority to PCT/JP2000/001216 priority patent/WO2000052922A1/en
Priority to AT00906615T priority patent/ATE432589T1/en
Priority to US09/674,638 priority patent/US7099041B1/en
Priority to EP00906615A priority patent/EP1085747B1/en
Publication of JP2000253250A publication Critical patent/JP2000253250A/en
Application granted granted Critical
Publication of JP3846524B2 publication Critical patent/JP3846524B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To make a picture to be clearly by obtaining picture data expressed by multi-gradations with the picture element of a dot matrix form, adding gradations, generating degree distribution, calculating the statistical quantity of the characteristic display of an area divided by prescribed gradation and deciding that an area constituting a ground exists when statistical quantity shows a value sufficient for constituting the ground. SOLUTION: A color scanner 20 starts scanning and generates picture data formed of the picture element of low resolution on the picture of a whole flat bed containing the picture of a document. Thus, pre-scanning is executed. It is decided whether or not an area constituting the ground exists in picture data of the document picture, based on a prescribed method from generated picture data. The color scanner 20 operates the flat bed and starts the real scanning of high resolution. A correction processing is executed on picture data which is read by real scanning by a correction curve, based on a prescribed statistical value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像データ下地判
定方法、画像データ下地判定装置および画像データ下地
判定制御プログラムを記録した媒体に関し、特に、画像
における下地の有無を同画像を構成する画像データの所
定の度数分布に基づいて判定する画像データ下地判定方
法、画像データ下地判定装置および画像データ下地判定
制御プログラムを記録した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data base determination method, an image data base determination apparatus, and a medium on which an image data base determination control program is recorded. The present invention relates to an image data base determination method, an image data base determination apparatus, and a medium in which an image data base determination control program is determined based on a predetermined frequency distribution.

【0002】[0002]

【従来の技術】コンピュータなどで画像を扱う際には、
スキャナやデジタルカメラなどの画像入力機器から取得
した入力画像の画像データをドットマトリクス状の画素
で表現し、各画素を階調値で表している。かかる場合、
コンピュータのCRT画面で水平方向に640ドット、
垂直方向に480ドットの画素で画像を表示することが
多い。また、各画素ごとに色や明るさを階調値で表わし
たデータを持つことになるため、このデータを変化させ
て画像処理が行われている。この画像処理として、文書
画像などに対しては、下地を除去する画像処理が行われ
ている。ここで、文書画像の下地とは、文書用紙の紙の
領域を表わす画素の集合を指し、背景や裏うつりともい
う。また、下地の除去とは、紙の領域を表わす画素の階
調を最大に変化させることをいう。すなわち、この画像
処理後に文書画像を印刷する場合、上述したように階調
を最大にした画素は印刷されず、この画素の部分は紙の
地のままになる。従って、見かけ上、紙の領域を表わす
部分の画素が除去されたようになり、下地と文字とにお
いてメリハリのある印刷物を得ることが可能になる。か
かる場合、下地の有無に関わらず、一律に所定のしきい
値以上の階調を有する画素の階調を最大にしている。適
用事例として、両面に印刷が施された文書用紙をスキャ
ナで読み取った場合に、この文書画像の表面の画像デー
タに裏面の画像データが裏映りしまうことを防止するた
めに利用されている。この裏映りは、表面の何も印刷さ
れないはずの領域に表れるため、この領域の画素の階調
を最大にしてしまうことにより、裏映りを除去してい
る。
2. Description of the Related Art When handling images on a computer or the like,
Image data of an input image acquired from an image input device such as a scanner or a digital camera is represented by dot matrix pixels, and each pixel is represented by a gradation value. In such cases,
640 dots horizontally on the CRT screen of the computer,
In many cases, an image is displayed with 480 pixels in the vertical direction. Further, since each pixel has data representing a color or brightness by a gradation value, image processing is performed by changing this data. As this image processing, image processing for removing a background is performed on a document image or the like. Here, the background of the document image refers to a set of pixels representing a paper area of the document paper, and is also referred to as a background or a backside. The removal of the background means to change the gradation of the pixel representing the area of the paper to the maximum. That is, when a document image is printed after this image processing, the pixel having the maximum gradation as described above is not printed, and the pixel portion remains on the paper. Therefore, apparently, the pixels in the portion representing the area of the paper are removed, and it is possible to obtain a printed material with sharpness in the base and the character. In such a case, regardless of the presence or absence of the base, the gradation of a pixel having a gradation equal to or higher than a predetermined threshold is uniformly maximized. As an application example, when document paper having both sides printed is read by a scanner, the document image is used to prevent the image data on the back side from being reflected on the image data on the front side of the document image. Since the show-through appears in an area of the surface where nothing should be printed, the show-through is removed by maximizing the gradation of the pixels in this area.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の下地を
除去する画像処理においては、次のような課題がある。
すなわち、この下地除去処理は、下地の有無に関わら
ず、下地があると仮定して画像全体に対して一律に画像
処理を実施する。従って、入力した画像に下地があり、
この下地の輝度の階調が比較的低い場合は、下地部分を
除去することができないという課題がある。また、この
下地除去処理を実施しても、一律の画像処理であるた
め、入力する画像ごとに最適な下地除去処理を実施する
ことがでないため、下地部分が残ったり、下地と下地以
外の画像にめりはりがなくなったりするという課題があ
る。
The above-described conventional image processing for removing a background has the following problems.
That is, in the background removal processing, regardless of the presence or absence of the background, image processing is uniformly performed on the entire image on the assumption that there is a background. Therefore, the input image has a base,
When the gradation of the luminance of the background is relatively low, there is a problem that the background cannot be removed. In addition, even if this background removal processing is performed, since the image processing is uniform, it is not possible to perform the optimum background removal processing for each input image, so that the background part remains or an image other than the background and the background is removed. There is a problem that the nails disappear.

【0004】本発明は、上記課題にかんがみてなされた
もので、画像における下地の有無を同画像を構成する画
像データの所定の度数分布に基づいて判定するととも
に、下地があると、下地に応じた所定の画像データ修整
処理を実施し、画像データにより再生される画像の下地
と下地以外の画像とのめりはりをつけることが可能な画
像データ下地判定方法、画像データ下地判定装置および
画像データ下地判定制御プログラムを記録した媒体の提
供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and determines the presence or absence of a background in an image based on a predetermined frequency distribution of image data constituting the image. Image data background determination method, image data background determination device, and image data background determination device capable of performing a predetermined image data modification process and attaching a base between an image reproduced by the image data and an image other than the background. It is intended to provide a medium in which a control program is recorded.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、画像における下地を構成
する領域を画像データの所定の度数分布に基づいて判定
する画像データ下地判定方法であって、画像をドットマ
トリクス状の画素で多階調表現した画像データを取得す
る画像データ取得工程と、上記画像データ取得工程にて
取得した画像データの各画素について階調を集計し度数
分布を作成する度数分布作成工程と、上記度数分布の所
定の階調により区分された領域の特性を表示する統計量
を算出し、同統計量が下地を構成するに十分な値を示す
場合、上記画像に下地を構成する領域が存在すると判定
する下地判定工程とを具備する構成としてある。
According to a first aspect of the present invention, there is provided an image data base determination method for determining an area constituting a base in an image based on a predetermined frequency distribution of image data. There is provided an image data obtaining step of obtaining image data in which an image is represented by multi-gradation using pixels in a dot matrix, and a gradation distribution is calculated by summing up the gradation for each pixel of the image data obtained in the image data obtaining step. A frequency distribution creating step of creating, and calculating a statistic indicating a characteristic of an area divided by a predetermined gradation of the frequency distribution, and when the statistic indicates a value sufficient to constitute a base, the image And a background determination step of determining that an area constituting the background exists.

【0006】上記のように構成した請求項1にかかる発
明において、画像下地判定方法は、画像における下地を
構成する領域を画像データを構成する各画素により所定
の度数分布に基づいて判定する。かかる場合、画像デー
タ取得工程は、画像をドットマトリクス状の画素で多階
調表現した画像データを取得する。次に、度数分布作成
工程は、画像データ取得工程にて取得した画像データの
各画素が備える画像データを解析し、各画素の画像デー
タについての階調を集計する。そして、集計結果を階調
と、各階調の度数とによる度数分布を作成する。ここ
で、下地判定工程は、上述した度数分布において、下地
の有無を判定する領域を所定の階調により区分し、この
区分した領域の特性を表示する統計量を算出する。そし
て、この統計量が画像データにおいて下地と判断するに
十分な値を有する場合は、上記画像に下地が存在すると
判定する。すなわち、画像データを構成する各画素の階
調の度数分布から所定の階調により区分された区間の統
計量を算出し、この統計量が所定のしきい値より大きけ
れば、あるいは小さければ、入力した画像に下地が存在
すると判定する。具体的には、この所定の階調にて区分
した領域の相対度数の各々または合計が所定のしきい値
であり圧倒的に大きい場合や、この領域の標準偏差を算
出し、この標準偏差が所定のしきい値以下である場合に
下地が存在すると判定する。上述した相対度数が圧倒的
に大きい場合とは、下地とみなせる範囲において圧倒的
に大きいことを示し、数値的な感覚から捕らえられる圧
倒的な大きさとは異なることは言うまでもない。例え
ば、所定の階調にて区分された領域の相対度数が15パ
ーセントであっても、画像を構成する部分から判断する
と圧倒的に大きいと捕らえる場合もある。この所定のし
きい値は、所定の固定値であってもよいし、入力した画
像の画像データの階調の度数分布に応じて適宜変更して
もよい。また、所定の階調により区分された領域は、判
定する所望の下地に応じて適宜変更可能であり、高階調
の下地を判定するときは、高階調付近の領域を区分すれ
ばよいし、低階調の下地を判定するときは、低階調付近
の領域を区分すればよい。ここで、上述した入力画像に
おける下地とは、例えば、入力画像が文書画像である場
合、文書用紙の領域を表わす画素の集合、すなわち、下
地や裏うつりのことを指すものである。また、下地の色
成分は、上述したように判定する下地に応じて適宜変更
されるため、特に限定されない。
[0008] In the invention according to claim 1 configured as described above, the image background determination method determines an area constituting a background in an image by each pixel constituting image data based on a predetermined frequency distribution. In such a case, the image data obtaining step obtains image data in which an image is expressed in multiple gradations by pixels in a dot matrix. Next, in the frequency distribution creating step, the image data of each pixel of the image data acquired in the image data acquiring step is analyzed, and the gradation of the image data of each pixel is totaled. Then, a frequency distribution based on the gradation and the frequency of each gradation is created based on the totaled result. Here, in the background determination step, in the frequency distribution described above, a region for determining the presence or absence of a background is classified according to a predetermined gradation, and a statistic for displaying characteristics of the divided region is calculated. If this statistic has a value sufficient to determine the background in the image data, it is determined that the background exists in the image. That is, the statistic of the section divided by the predetermined gradation is calculated from the frequency distribution of the gradation of each pixel constituting the image data, and if the statistic is larger or smaller than the predetermined threshold, the input is performed. It is determined that a background exists in the image obtained. Specifically, when each or the total of the relative frequencies of the region divided by this predetermined gradation is a predetermined threshold value and is overwhelmingly large, or when the standard deviation of this region is calculated, If it is equal to or less than a predetermined threshold value, it is determined that a background exists. The case where the relative frequency is overwhelmingly large indicates that the relative frequency is overwhelmingly large in a range that can be regarded as the background, and it is needless to say that the relative frequency is different from the overwhelming size captured from a numerical sense. For example, even if the relative frequency of an area divided by a predetermined gradation is 15%, it may be considered that the relative frequency is overwhelmingly large when judging from a part forming an image. The predetermined threshold value may be a predetermined fixed value, or may be appropriately changed according to the frequency distribution of the gradation of the image data of the input image. Further, the area divided by the predetermined gradation can be appropriately changed according to the desired base to be determined. When determining the base of the high gradation, the area near the high gradation may be divided, When determining the background of the gradation, an area near the low gradation may be divided. Here, the background in the input image described above indicates, for example, when the input image is a document image, a set of pixels representing an area of a document sheet, that is, a background or a back-face. The color component of the background is not particularly limited since it is appropriately changed according to the background determined as described above.

【0007】画像データ取得工程は、画像をドットマト
リクス状の画素で多階調表現した画像データを取得する
ことができればよい。従って、画像の入力元は、スキャ
ナであってもよいし、デジタルカメラであってもよく、
ドットマトリクス状の画素で多階調表現した画像データ
を取得可能であれば、適宜変更可能である。また、度数
分布作成工程は、上記画像データ取得工程にて取得した
画像データの各画素について階調を集計し、画像の階調
傾向を認識できる度数分布を作成することが可能であれ
ばよい。従って、階調を集計する画素は、入力した画像
の全画素について実施してもよいし、適宜サンプリング
して実施してもよい。むろん、サンプリングを利用すれ
ば、計算時間の短縮を図ることが可能になることはいう
までもない。また、かかる場合、上述した画像データ取
得工程の段階においてサンプリング画像を取得するよう
にしてもよい。下地判定工程は、度数分布作成工程にて
作成した度数分布を所定の階調にて区分した領域におけ
る統計量を算出し、この統計量に基づいて画像データ取
得工程にて取得した画像に存在する下地を判定すること
ができればよい。従って、上述したように算出する統計
量は、度数分布における所定の階調により区分された領
域の相対度数であってもよいし、この領域の標準偏差で
あってもよい。むろん、これらの統計値に限定されるも
のではなく、各種の統計値、例えば、最瀕値や中央値や
平均値を利用して下地の存在を判定するものであっても
よいし、これらの統計値を組み合わせて下地の存在を判
定することが可能な条件を設定してもよい。
In the image data obtaining step, it is sufficient that the image data can be obtained by expressing the image in multiple gradations by using dot matrix pixels. Therefore, the input source of the image may be a scanner or a digital camera,
If it is possible to obtain image data expressed in multiple gradations by using pixels in a dot matrix, the image data can be changed as appropriate. In the frequency distribution creating step, it is only necessary to be able to create a frequency distribution in which the gradation of each pixel of the image data acquired in the image data acquiring step is counted and the tone tendency of the image can be recognized. Therefore, the pixels for which the gradation is counted may be implemented for all the pixels of the input image, or may be appropriately sampled and implemented. Needless to say, if sampling is used, the calculation time can be reduced. In such a case, a sampling image may be acquired at the stage of the image data acquiring step described above. The background determination step calculates a statistic in an area obtained by dividing the frequency distribution created in the frequency distribution creating step by a predetermined gradation, and exists in the image acquired in the image data acquiring step based on the statistic. It is only necessary that the base can be determined. Therefore, the statistic calculated as described above may be the relative frequency of an area divided by a predetermined gradation in the frequency distribution, or the standard deviation of this area. Of course, the present invention is not limited to these statistical values, and various statistical values, for example, those that determine the presence of a base using the nearest value, the median value, and the average value may be used. Conditions that can determine the presence of the background may be set by combining statistical values.

【0008】各画素は、入力画像がカラー画像であれ
ば、R(赤)G(緑)B(青)ごとの階調値をデータと
して備え、二値画像であれば、濃淡の階調値をデータと
して備えている。度数分布作成工程は、前者であれば、
各画素のRGBの階調値を階調ごとに集計し、度数分布
を作成するし、後者であれば、各画素の輝度の階調を集
計し、度数分布を作成する。また、RGBのカラー画像
についてもRGBのデータから輝度を算出し、輝度の階
調を集計し度数分布を作成してもよい。ここで、後者の
一例として、後者請求項2にかかる発明は、請求項1に
記載の画像データ下地判定方法において、上記度数分布
作成工程は、各画素の輝度を算出するとともに、同輝度
の階調を集計し、度数分布を作成する構成としてある。
上記のように構成した請求項2にかかる発明において、
度数分布作成工程は、入力した画像がカラー画像であれ
ば、各画素のRGBのデータから各画素の輝度を算出
し、濃淡を示す階調値を取得する。また、入力した画像
が二値画像であれば、画素の濃淡を示す階調値を取得す
る。そして、各輝度の階調を集計し、度数分布を作成す
る。
Each pixel is provided with gradation values for each of R (red), G (green), and B (blue) as data when the input image is a color image. Is provided as data. If the frequency distribution creation process is the former,
The RGB gradation values of each pixel are totaled for each gradation to create a frequency distribution. In the latter case, the luminance gradation of each pixel is totaled to generate a frequency distribution. Also, for an RGB color image, the luminance may be calculated from the RGB data, and the luminance gradation may be totaled to create a frequency distribution. Here, as an example of the latter, according to the second aspect of the present invention, in the image data base determination method according to the first aspect, the frequency distribution creating step calculates the luminance of each pixel and calculates a level of the same luminance. The configuration is such that keys are totaled and a frequency distribution is created.
In the invention according to claim 2 configured as described above,
In the frequency distribution creating step, if the input image is a color image, the luminance of each pixel is calculated from the RGB data of each pixel, and a gradation value indicating shading is obtained. If the input image is a binary image, a gradation value indicating the density of the pixel is obtained. Then, the gradations of each luminance are totaled to create a frequency distribution.

【0009】上述した度数分布を作成する前者の一例と
して、請求項3にかかる発明は、請求項1に記載の画像
データ下地判定方法において、上記度数分布作成工程
は、各画素を要素色に色分解するとともに、各要素色の
階調を集計し、各要素色ごとの度数分布を作成する構成
としてある。上記のように構成した請求項3にかかる発
明において、度数分布作成工程は、入力したカラー画像
の各画素を要素色、すなわち、各画素の画像データをR
GBの要素色に色分解するとともに、各要素色ごとに階
調を集計し、度数分布を作成する。
As an example of the former for creating the above-described frequency distribution, the invention according to claim 3 is the image data background determination method according to claim 1, wherein the frequency distribution creating step includes: In addition to the decomposition, the gradation of each element color is totaled, and a frequency distribution for each element color is created. In the invention according to claim 3 configured as described above, in the frequency distribution creating step, each pixel of the input color image is set to an element color, that is, the image data of each pixel is converted to an R color.
In addition to performing color separation into GB element colors, gradations are totaled for each element color, and a frequency distribution is created.

【0010】ここで、下地判定工程は、上述した方法に
よって作成された画像データを構成する各画素の輝度ま
たは要素色の階調による度数分布に基づいて、画像に下
地が存在するか否かを判定する。この下地の存在を判定
する手法は、多種の方法を採用することができる。ここ
で、上記度数分布より下地の存在を判定する方法の具体
的な一例として、請求項4にかかる発明は、請求項1〜
請求項3のいずれかに記載の画像データ下地判定方法に
おいて、上記下地判定工程は、上記度数分布における所
定の階調にて区分された領域の相対度数を算出するとと
もに、同算出した相対度数の各々または合計が所定のし
きい値以上である場合、画像に下地を構成する領域が存
在すると判定する構成としてある。上記のように構成し
た請求項4にかかる発明において、下地判定工程は、上
記度数分布における所定の階調にて区分された領域の相
対度数を算出する。そして、この算出した相対度数の各
々または合計が所定のしきい値以上である場合、画像に
下地の領域が存在すると判定する。すなわち、下地と推
定する区分した領域の画素数が全体の画素数と比較し
て、しきい値以上ある場合は、画像において下地が存在
すると判定する。むろん、判定の方法は、所定のしきい
値以上により実施するものに限定されず、反対から観念
すれば、区分した領域以外の相対度数がしきい値以下に
なる。従って、しきい値以下または以上という判定方法
に特定されるものではなく、相対度数から下地の存在を
判定できれば、適宜変更可能である。
Here, the background determination step determines whether or not a background exists in the image based on the luminance distribution of each pixel constituting the image data or the frequency distribution based on the gradation of element colors. judge. Various methods can be adopted as a method of determining the presence of the base. Here, as a specific example of a method of determining the presence of a base from the frequency distribution, the invention according to claim 4 is based on claims 1 to
4. The image data background determination method according to claim 3, wherein the background determination step calculates a relative frequency of a region divided by a predetermined gradation in the frequency distribution, and calculates the relative frequency of the calculated relative frequency. When each or the sum is equal to or more than a predetermined threshold value, it is configured that it is determined that there is a region constituting the base in the image. In the invention according to claim 4 configured as described above, the background determination step calculates a relative frequency of an area divided by a predetermined gradation in the frequency distribution. If each of the calculated relative frequencies or the sum is equal to or greater than a predetermined threshold value, it is determined that a background region exists in the image. In other words, when the number of pixels in the divided area estimated as the background is equal to or larger than the threshold value as compared with the total number of pixels, it is determined that the background exists in the image. Needless to say, the method of determination is not limited to the method performed when the threshold is equal to or higher than the predetermined threshold. From the opposite viewpoint, the relative frequency other than the divided area becomes equal to or lower than the threshold. Therefore, the present invention is not limited to the determination method of being equal to or less than the threshold value, and can be appropriately changed as long as the presence of the base can be determined from the relative frequency.

【0011】また、度数分布より下地の有無を判定する
方法の他の一例として、請求項5にかかる発明は、請求
項1〜請求項3のいずれかに記載の画像データ下地判定
方法において、上記下地判定工程は、上記度数分布の所
定の階調にて区分した領域の各階調における相対度数を
算出するとともに、所定の相対度数を有する階調の合計
が所定のしきい値以上である場合、画像に下地に下地を
構成する領域が存在すると判定する構成としてある。上
記のように構成した請求項5にかかる発明において、下
地判定工程は、上記度数分布の所定の階調にて区分した
領域の各階調における相対度数を算出する。そして、所
定の相対度数を有する階調の合計が所定のしきい値以上
である場合、画像に下地の領域が存在すると判定する。
具体的には、所定の階調により区分した領域を階調20
0から階調255とし、上述した所定の相対度数が10
パーセントであり、しきい値が10である場合を考察す
る。最初に、下地判定工程は、この領域内の56階調の
階調ごとに相対度数を算出する。そして、この各相対度
数が10パーセントであるか判別する。ここで、階調2
30から階調255の相対度数が10パーセントを超え
るものあると、この条件を満たす階調の合計は、26階
調となる。次に、この階調に合計がしきい値以上かを判
別し、かかる場合は、しきい値以上であるため、画像に
おいて下地を構成する領域が存在すると判定することに
なる。
According to a fifth aspect of the present invention, there is provided an image data base determining method according to any one of the first to third aspects. The background determination step calculates the relative frequency in each tone of the area divided by the predetermined tone of the frequency distribution, and when the sum of the tone having the predetermined relative frequency is equal to or more than a predetermined threshold, The configuration is such that it is determined that there is a region constituting the background in the image. In the invention according to claim 5 configured as described above, the background determination step calculates a relative frequency at each tone in an area divided by a predetermined tone in the frequency distribution. When the sum of the gradations having the predetermined relative frequency is equal to or larger than the predetermined threshold value, it is determined that the background area exists in the image.
Specifically, the area divided by the predetermined gradation is represented by gradation 20.
From 0 to gradation 255, the above-mentioned predetermined relative frequency is 10
Consider the case where the threshold is 10. First, in the background determination step, a relative frequency is calculated for each of 56 gray levels in this area. Then, it is determined whether or not each relative frequency is 10%. Here, gradation 2
If the relative frequency from 30 to 255 exceeds 10%, the total number of tones satisfying this condition is 26 tones. Next, it is determined whether or not the sum of the gradations is equal to or larger than a threshold value. In such a case, since the total is equal to or larger than the threshold value, it is determined that there is a region constituting the base in the image.

【0012】さらに、度数分布に基づいて下地を構成す
る領域の存在を判定する方法の他の一例として、請求項
6にかかる発明は、請求項1〜請求項3のいずれかに記
載の画像データ下地判定方法において、上記下地判定工
程は、上記度数分布の所定の階調にて区分した領域にお
ける標準偏差を算出するとともに、同標準偏差が所定の
しきい値以下である場合、画像に下地を構成する領域が
存在すると判定する構成としている。上記のように構成
した請求項6にかかる発明は、下地判定工程は、上記度
数分布の所定の階調にて区分した領域における標準偏差
を算出するとともに、同標準偏差が所定のしきい値以下
である場合、画像に下地を構成する領域が存在すると判
定する。標準偏差がしきい値以下であるということは、
所定の階調にて区分した領域において、度数分布が鋭い
ピークを有することを表わす。ここで、下地は紙の色を
表わすため、同じような色成分を有する。このため、下
地の色成分は、度数分布上で、同程度の階調にカウント
される。このとき、下地がカウントされる階調付近の度
数分布は、鋭いピークを有する。よって、標準偏差を算
出し、この標準偏差がしきい値以下であることを用い
て、下地の判定が可能となる。
Further, as another example of a method of judging the existence of a region constituting a background on the basis of a frequency distribution, the invention according to claim 6 is the image data according to any one of claims 1 to 3. In the background determination method, the background determination step calculates a standard deviation in an area divided by a predetermined gradation of the frequency distribution, and, when the standard deviation is equal to or less than a predetermined threshold, adds a background to the image. It is configured to determine that the region to be configured exists. In the invention according to claim 6 configured as described above, the background determination step calculates a standard deviation in an area divided by a predetermined gradation of the frequency distribution, and the standard deviation is equal to or less than a predetermined threshold. In the case of, it is determined that there is an area constituting the background in the image. If the standard deviation is less than or equal to the threshold,
This indicates that the frequency distribution has a sharp peak in a region divided by a predetermined gradation. Here, the base has a similar color component to represent the color of the paper. For this reason, the color components of the background are counted to the same degree on the frequency distribution. At this time, the frequency distribution near the gradation at which the background is counted has a sharp peak. Therefore, it is possible to determine the background by calculating the standard deviation and using the fact that the standard deviation is equal to or smaller than the threshold value.

【0013】所定の階調にて区分した領域の相対度数や
標準偏差に基づいて画像の下地を構成する領域の存在を
判定する。ここで、判定の方法としては、上述したよう
に相対度数や標準偏差のみを利用して判定してもよい
し、他の統計値とを組み合わせて判定する方法を採用し
ても構わない。そこで、請求項7にかかる発明は、請求
項4〜請求項6のいずれかに記載の画像データ下地判定
方法において、上記下地判定工程は、上記度数分布の所
定の階調にて区分された領域における代表値を算出する
とともに、同代表値を組み合わせて画像に下地を構成す
る領域が存在すると判定する構成としている。上記のよ
うに構成した請求項6にかかる発明において、下地判定
工程は、度数分布の所定の階調にて区分された領域にお
ける代表値を算出するとともに、同代表値を組み合わせ
て画像に下地を構成する領域が存在すると判定する。こ
こで、代表値とは、所定の階調にて区分された領域の最
瀕値であってもよいし、平均値であってもよいし、中央
値であってもく、適宜変更可能である。
[0013] The existence of a region constituting the background of the image is determined based on the relative frequency and the standard deviation of the region divided by a predetermined gradation. Here, as the determination method, the determination may be performed using only the relative frequency and the standard deviation as described above, or a determination method may be employed in combination with other statistical values. According to a seventh aspect of the present invention, in the image data background determination method according to any one of the fourth to sixth aspects, the background determination step includes the step of dividing the frequency distribution by a predetermined gradation. , The representative value is calculated, and the representative value is combined to determine that there is an area constituting the background in the image. In the invention according to claim 6 configured as described above, the background determination step calculates a representative value in an area divided by a predetermined gradation of the frequency distribution, and combines the representative value to form a background on the image. It is determined that the region to be configured exists. Here, the representative value may be a most probable value, an average value, or a median value of an area divided by a predetermined gradation, and may be appropriately changed. is there.

【0014】ここで、度数分布には入力した画像に含ま
れるノイズ成分の画素の階調についても度数に表れるた
め、統計量の算出結果に、このノイズ成分が影響を及ぼ
すことが有り得る。そこで、この度数分布に入り込んだ
ノイズ成分を低減することができる好適な手法として、
請求項8にかかる発明は、請求項1〜請求項7のいずれ
かに記載の画像データ下地判定方法において、上記下地
判定工程は、度数分布の所定の階調にて区分された領域
の統計値を算出するにあたり、同度数分布に対して平滑
化処理を実施する構成としてある。上記のように構成し
た請求項8にかかる発明において、下地判定工程は、度
数分布の所定の階調にて区分された領域の統計値を算出
するにあたり、同度数分布に対して平滑化処理を実施す
る。これによって、ノイズ成分を除去した度数分布に基
づいて統計量を算出するため、算出結果がノイズ成分に
影響を受けない。
Here, in the frequency distribution, since the tone of the pixel of the noise component included in the input image also appears in the frequency, the noise component may influence the calculation result of the statistic. Therefore, as a preferable method for reducing the noise component that has entered the frequency distribution,
According to an eighth aspect of the present invention, in the image data background determination method according to any one of the first to seventh aspects, the background determination step includes calculating a statistical value of an area divided by a predetermined gradation of a frequency distribution. Is calculated, a smoothing process is performed on the same frequency distribution. In the invention according to claim 8 configured as described above, the background determination step performs a smoothing process on the same frequency distribution when calculating the statistical value of the area divided by the predetermined gradation of the frequency distribution. carry out. Thus, since the statistic is calculated based on the frequency distribution from which the noise component has been removed, the calculation result is not affected by the noise component.

【0015】このように、判定された下地を構成する各
画素に対して所定の画像処理を施すことによって、下地
と下地以外の画像についてめりはりをつけることが可能
になる。そこで、請求項9にかかる発明は、請求項1〜
請求項8のいずれかに記載の画像データ下地判定方法に
おいて、上記下地判定工程は、画像に下地を構成する領
域が存在する場合、同下地を構成する領域に応じて各画
素の画像データを修整する修整処理を実施する画像デー
タ修整工程を備える構成としてある。上記のように構成
した請求項9にかかる発明において、画像データ修整工
程はは、上記下地判定工程は、画像に下地を構成する領
域が存在する場合、同下地を構成する領域に応じて各画
素の画像データを修整する修整処理を実施する。ここ
で、画像データ修整工程は、同下地を構成する領域に応
じて各画素の画像データを修整する修整処理を実施すれ
ばよく、修整処理は、領域が存在すると判定された場合
に、この領域を固定的に決定したものに準じて実行して
もよいし、この領域を可変に決定したものに準じて実行
してもよい。また、この修整処理の一例としては、下地
を構成する領域を除去する下地除去処理がある。かかる
下地除去処理は、入力した画像が文書である場合、文書
用紙の紙の領域を表わす画素の階調を最大階調に変化さ
せる処理をいう。すなわち、この修整処理後に、文書画
像を印刷する場合、上述したように階調を最大階調にし
た画素は印刷されず、この画素の部分は紙の地のままに
なる。従って、見かけ上、紙の領域を表わす部分の画素
が除去されたようになり、下地と文字とにおいてめりは
りのある印刷物を得ることが可能になる。
As described above, by performing predetermined image processing on each of the pixels constituting the determined base, it is possible to add a picture to the base and an image other than the base. Therefore, the invention according to claim 9 is based on claims 1 to
9. The image data background determination method according to claim 8, wherein the background determination step modifies the image data of each pixel according to the region constituting the background when the image has a region constituting the background. It is configured to include an image data modifying step of performing a modifying process. In the invention according to claim 9 configured as described above, the image data modifying step includes the step of: if the image includes a region forming a base, the image determining unit determines each pixel according to the region forming the base. A retouching process for retouching the image data is performed. Here, the image data retouching step may be a retouching process for retouching the image data of each pixel in accordance with the region constituting the same base. The retouching process is performed when it is determined that the region exists. May be executed according to a fixedly determined one, or may be executed according to a variablely determined area. Further, as an example of the modification processing, there is a background removal processing for removing a region constituting the background. When the input image is a document, the background removal process is a process of changing the gradation of the pixel representing the area of the document paper to the maximum gradation. That is, when a document image is printed after the modification process, the pixel whose gradation is set to the maximum gradation as described above is not printed, and the pixel portion remains on the paper. Therefore, apparently, the pixels in the portion representing the area of the paper are removed, and it is possible to obtain a printed matter having a squeezed base and characters.

【0016】この画像データ修整の具体的な手法の一例
として、請求項10にかかる発明は、請求項9に記載の
画像データ下地判定方法において、上記画像データ修整
工程は、画像の下地を構成する領域がハイライト付近で
ある場合、同ハイライト付近の各画素の階調を最大階調
にするパラメータを備えた補正曲線を生成し、同補正曲
線に基づいて画像データ取得工程にて取得した各画素の
階調を補正する構成としてある。上記のように構成した
請求項9にかかる発明において、画像データ修整工程
は、画像の下地を構成する領域がハイライト付近である
場合、同ハイライト付近の各画素の階調を最大階調にす
るパラメータを備えた補正曲線を生成し、同補正曲線に
基づいて画像データ取得工程にて取得した各画素の階調
を補正する。
According to a tenth aspect of the present invention, as a specific example of the image data modifying method, in the image data base determining method according to the ninth aspect, the image data modifying step forms a base of the image. When the region is near the highlight, a correction curve having a parameter that maximizes the gradation of each pixel in the vicinity of the highlight is generated, and each of the correction curves obtained in the image data obtaining step based on the correction curve is generated. The configuration is such that the gradation of the pixel is corrected. In the invention according to claim 9 configured as described above, in the image data modifying step, when an area constituting the base of the image is near a highlight, the tone of each pixel near the highlight is set to the maximum tone. A correction curve having the parameters to be generated is generated, and the gradation of each pixel obtained in the image data obtaining step is corrected based on the correction curve.

【0017】一方、入力した画像が文章画像であれば、
下地以外の画像は文字になり、写真画像であれば、下地
以外の画像は写真となる。この写真のように、多種の色
が含まれているものに対して、文字など黒色の単色によ
って構成されるものと同じ補正曲線に基づいて画像デー
タを補正すると、写真部分の階調の飛びが大きくなって
しまうことがある。そこで、請求項11にかかる発明
は、請求項9または請求項10のいずれかに記載の画像
データ下地判定方法において、上記下地判定工程は、所
定の手法に基づいて画像に含まれるオブジェクトの有無
を判定し、オブジェクトが有る場合、上記画像データ修
整工程は、上記補正曲線のパラメータを変更する構成と
してある。上記のように構成した請求項11にかかる発
明において、下地判定工程は、所定の手法に基づいて画
像に含まれるオブジェクトの有無を判定し、オブジェク
トが有る場合、上記画像データ修整工程は、上記補正曲
線のパラメータを変更する。すなわち、写真部分に該当
するオブジェクトがある場合、最大階調にクランプする
幅を狭くし、文字などによって画像が構成される場合、
最大階調にクランプする幅を広くする。これにより、写
真部分を含む画像においては修整処理後の画像の写真部
分において階調の飛びを防止することができるととも
に、文字などによって構成される二値的画像においては
修整処理後の画像がめりはりのあるもにになる。
On the other hand, if the input image is a sentence image,
The image other than the background is a character, and if it is a photographic image, the image other than the background is a photograph. If the image data is corrected based on the same correction curve as that composed of a single black color, such as characters, for images that contain various colors, as in this photo, the gradation jumps in the photo portion It can get bigger. Therefore, according to an eleventh aspect of the present invention, in the image data background determination method according to any one of the ninth and tenth aspects, the background determination step determines the presence or absence of an object included in the image based on a predetermined method. If it is determined that there is an object, the image data modifying step changes the parameter of the correction curve. In the invention according to claim 11 configured as described above, the background determination step determines the presence or absence of an object included in the image based on a predetermined method, and if there is an object, the image data modification step includes the correction Change curve parameters. In other words, when there is an object corresponding to a photograph part, the width to be clamped to the maximum gradation is narrowed, and when an image is composed of characters and the like,
Increase the width to clamp to the maximum gradation. This makes it possible to prevent gradation jumps in the photographic part of the image after the retouching processing in an image including a photographic part, and to reduce the retouching image in a binary image composed of characters and the like. It becomes something with a beam.

【0018】このように、画像における下地を構成する
領域の存在を画像データの所定の度数分布に基づいて判
定する手法は必ずしも方法に限られる必要はなく、その
方法を実体に組み込んで動作させることにより、機能を
実現する装置として利用することが可能なことは容易に
理解できる。このため、請求項12にかかる発明は、画
像をドットマトリクス状の画素で多階調表現した画像デ
ータを取得する画像データ取得手段と、上記画像データ
取得手段にて取得した画像データの各画素について階調
を集計し、度数分布を作成する度数分布作成手段と、上
記度数分布の所定の階調により区分された領域の特性を
表示する統計量を算出し、同統計量が下地を構成するに
十分な値を示す場合、上記画像に下地を構成する領域が
存在すると判定する下地判定手段とを具備する構成とし
てある。すなわち、必ずしも方法に限定されず実体のあ
る装置としても有効であることに相違はない。
As described above, the method of determining the existence of the region constituting the background in the image based on the predetermined frequency distribution of the image data is not necessarily limited to the method, and the method is implemented by incorporating the method into the entity. Therefore, it can be easily understood that the device can be used as a device for realizing the function. Therefore, according to the twelfth aspect of the present invention, there is provided an image data acquiring unit for acquiring image data in which an image is expressed by a plurality of gradations using dot matrix pixels, A frequency distribution creating unit that aggregates gradations and creates a frequency distribution, and a statistic that displays characteristics of an area divided by a predetermined gradation of the frequency distribution is calculated, and the statistic forms a base. When the value indicates a sufficient value, the image processing apparatus includes a background determination unit that determines that an area constituting the background exists in the image. That is, there is no difference in that the present invention is not necessarily limited to the method and is effective as a substantial device.

【0019】ところで、このような画像における下地を
構成する領域の存在を画像データの所定の度数分布に基
づいて判定する画像データ下地判定装置は単独で存在す
る場合もあるし、ある機器に組み込まれた状態で利用さ
れることもあるなど、発明の思想としてはこれに限ら
ず、各種の態様を含むものである。従って、ソフトウェ
アであったりハードウェアであったりするなど、適宜変
更可能である。発明の思想の具現化例として画像におけ
る下地を構成する領域を画像データの所定の度数分布に
基づいて判定する画像データ下地判定装置のソフトウェ
アとなる場合には、かかるソフトウェアを記録した記録
媒体上においても当然に存在し、利用されるといわざる
をえない。
By the way, an image data base determination device for determining the presence of a region constituting a base in an image based on a predetermined frequency distribution of image data may exist alone or may be incorporated in a certain device. The concept of the invention is not limited to this, and may include various aspects, for example, it may be used in a state where it is used. Therefore, it can be changed as appropriate, such as software or hardware. As an example of an embodiment of the idea of the present invention, in the case of software of an image data base determination device that determines a region constituting a base in an image based on a predetermined frequency distribution of image data, the image data is recorded on a recording medium on which the software is recorded. Naturally exist and must be said when used.

【0020】その一例として、請求項13にかかる発明
は、画像における下地を構成する領域を画像データの所
定の度数分布に基づいて判定する画像データ下地判定制
御プログラムを記録した媒体であって、画像をドットマ
トリクス状の画素で多階調表現した画像データを取得す
る画像データ取得ステップと、上記画像データ取得ステ
ップにて取得した画像データの各画素について階調を集
計し、度数分布を作成する度数分布作成ステップと、上
記度数分布の所定の階調により区分された領域の特性を
表示する統計量を算出し、同統計量が下地を構成するに
十分な値を示す場合、上記画像に下地を構成する領域が
存在すると判定する下地判定ステップとを具備する構成
としてある。
As one example, the invention according to claim 13 is a medium in which an image data base determination control program for determining an area constituting a base in an image based on a predetermined frequency distribution of image data is recorded. Image data obtaining step of obtaining image data in which a plurality of gradations are represented by pixels in a dot matrix form, and a frequency for creating a frequency distribution by summing up the gradation for each pixel of the image data obtained in the image data obtaining step. A distribution creating step, calculating a statistic indicating a characteristic of an area divided by a predetermined gradation of the frequency distribution, and when the statistic indicates a value sufficient to constitute a base, the base is added to the image. And a background determination step of determining that there is a region to be configured.

【0021】むろん、その記録媒体は、磁気記録媒体で
あってもよいし光磁気記録媒体であってもよいし、今後
開発されるいかなる記録媒体においても全く同様に考え
ることができる。また、一次複製品、二次複製品などの
複製段階については全く問う余地無く同等である。その
他、供給方法として通信回線を利用して行なう場合でも
本発明が利用されていることにはかわりない。さらに、
一部がソフトウェアであって、一部がハードウェアで実
現されている場合においても発明の思想において全く異
なるものではなく、一部を記録媒体上に記憶しておいて
必要に応じて適宜読み込まれるような形態のものとして
あってもよい。
Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium to be developed in the future. Also, the duplication stages of the primary duplicated product, the secondary duplicated product, and the like are equivalent without any question. In addition, the present invention is not limited to the case where the present invention is used even when the supply is performed using a communication line. further,
The concept of the present invention is not completely different even when part is software and part is realized by hardware, and part is stored on a recording medium and read as needed as needed. Such a form may be adopted.

【0022】[0022]

【発明の効果】以上説明したように本発明は、画像にお
ける下地を構成する領域を画像データの所定の度数分布
に基づいて判定するとともに、下地の領域が存在する
と、下地に応じた所定の修整処理を実施し、画像データ
により再生される画像の下地と下地以外の画像とのめり
はりをつけることが可能な画像データ下地判定方法を提
供することができる。また、請求項2にかかる発明によ
れば、簡易な手法に基づいて、入力した画像の各画素の
階調を集計し、度数分布を作成することが可能になる。
さらに、請求項3にかかる発明によれば、カラー画像に
ついて、画像の状態を適切に示した度数分布を作成する
ことが可能になる。さらに、請求項4にかかる発明によ
れば、所定の階調にて区分した領域の相対度数によって
画像における下地の有無を判定するため、簡易に判定を
実行することが可能になる。さらに、請求項5にかかる
発明によれば、所定の階調にて区分した領域の所定の相
対度数であって、所定のしきい値を越えるものにて判定
するため、より正確に画像における下地の有無を判定す
ることが可能になる。さらに、請求項6にかかる発明に
よれば、所定の階調にて区分した領域の標準偏差によっ
て画像における下地の有無を判定することが可能にな
る。さらに、請求項7にかかる発明によれば、所定の階
調にて区分した領域の他の統計量を組み合わせて判定す
ることによって、より正確に下地を構成する領域の存在
を判定することが可能になる。さらに、請求項8にかか
る発明によれば、入力画像に含まれるノイズ成分を低減
した度数分布から特徴量を抽出するため、より適確に下
地の有無を判定することが可能になる。さらに、請求項
9にかかる発明によれば、下地の有無に応じて所定の画
像データ修整処理を実施することが可能になる。さら
に、請求項10にかかる発明によれば、簡易な手法によ
り、画像の下地を構成するハイライト付近の領域を除去
することが可能になる。
As described above, according to the present invention, a region constituting a background in an image is determined based on a predetermined frequency distribution of image data, and when a background region exists, a predetermined modification corresponding to the background is performed. It is possible to provide an image data base determination method capable of executing a process and attaching a base of an image reproduced by image data to an image other than the base. According to the second aspect of the invention, it is possible to create a frequency distribution by summing up the gradation of each pixel of the input image based on a simple method.
Furthermore, according to the third aspect of the present invention, it is possible to create a frequency distribution appropriately indicating a state of an image for a color image. Furthermore, according to the invention of claim 4, since the presence or absence of the base in the image is determined based on the relative frequency of the area divided by the predetermined gradation, the determination can be easily performed. Further, according to the invention according to claim 5, since the determination is made based on a predetermined relative frequency of an area divided by a predetermined gradation and exceeding a predetermined threshold value, the background in the image can be more accurately determined. Can be determined. Further, according to the invention of claim 6, it is possible to determine the presence or absence of a base in an image based on the standard deviation of an area divided by a predetermined gradation. Furthermore, according to the seventh aspect of the invention, it is possible to more accurately determine the existence of the region constituting the base by determining the combination of other statistics of the region divided by the predetermined gradation. become. Furthermore, according to the invention of claim 8, since the feature amount is extracted from the frequency distribution in which the noise component included in the input image is reduced, it is possible to more accurately determine the presence or absence of the background. Furthermore, according to the ninth aspect of the present invention, it is possible to perform a predetermined image data modifying process according to the presence or absence of a base. Further, according to the tenth aspect of the present invention, it is possible to remove an area near a highlight constituting a base of an image by a simple method.

【0023】さらに、請求項11にかかる発明によれ
ば、入力した画像に写真などのオブジェクトが存在する
場合に、好適な画像データ修整処理を実施することが可
能になる。さらに、請求項12にかかる発明によれば、
画像における下地を構成する領域を画像データの所定の
度数分布に基づいて判定するとともに、下地の領域が存
在すると、下地に応じた所定の修整処理を実施し、画像
データにより再生される画像の下地と下地以外の画像と
のめりはりをつけることが可能な画像データ下地判定装
置を提供することができる。さらに、請求項13にかか
る発明によれば、画像における下地を構成する領域を画
像データの所定の度数分布に基づいて判定するととも
に、下地の領域が存在すると、下地に応じた所定の修整
処理を実施し、画像データにより再生される画像の下地
と下地以外の画像とのめりはりをつけることが可能な画
像データ下地判定制御プログラムを記録した媒体を提供
することができる。
Further, according to the present invention, when an object such as a photograph exists in an input image, it is possible to perform a preferable image data modifying process. Further, according to the invention of claim 12,
A region constituting a background in the image is determined based on a predetermined frequency distribution of the image data, and if a background region exists, a predetermined modification process is performed in accordance with the background, and the background of the image reproduced by the image data is performed. It is possible to provide an image data base determination device capable of applying a color to an image other than the base and the image other than the base. Further, according to the invention according to claim 13, the region constituting the background in the image is determined based on the predetermined frequency distribution of the image data, and if the region of the background exists, the predetermined modifying process according to the background is performed. According to the present invention, it is possible to provide a medium in which an image data base determination control program capable of attaching a base of an image reproduced by image data and an image other than the base is recorded.

【0024】[0024]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。図1は、本発明の一実施形態にか
かる画像データ下地判定方法のクレーム対応図を示して
いる。同図において、本画像データ下地判定方法は、概
略、画像における下地を構成する領域の存在を同画像を
構成する画像データの所定の度数分布に基づいて判定す
る。具体的には、画像データ取得工程A1において、下
地判定の対象となる画像をドットマトリクス状の画素で
多階調表現した画像データを取得する。次に、度数分布
作成工程A2は、画像データ取得工程A1にて取得した
画像データの各画素について階調を集計し、度数分布を
作成する。そして、下地判定工程A3は、度数分布の所
定の階調により区分された領域の特性を表示する統計量
を算出し、同統計量が下地を構成するに十分な値を示す
場合、上記画像に下地を構成する領域が存在すると判定
する。ここで、下地判定工程A3は、画像の高階調付近
に下地を構成する領域が存在する場合、同下地を構成す
る領域に応じて各画素の画像データを修整する修整処理
を実施する画像データ修整工程A4を備える。この画像
データ修整工程A4は、上記高階調付近、すなわち、略
白色を形成する各画素の階調を最大階調、すなわち、白
色にするパラメータを備えた補正曲線を生成し、同補正
曲線に基づいて画像データ取得工程にて取得した各画素
の階調を補正する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a claim correspondence diagram of an image data base determination method according to an embodiment of the present invention. In the figure, the image data base determination method roughly determines the presence of a region constituting a base in an image based on a predetermined frequency distribution of image data forming the image. Specifically, in the image data obtaining step A1, image data in which an image to be subjected to background determination is expressed in multiple gradations by dot matrix pixels is obtained. Next, the frequency distribution creating step A2 totals the gradation for each pixel of the image data acquired in the image data acquiring step A1, and creates a frequency distribution. Then, the background determination step A3 calculates a statistic indicating the characteristics of the area divided by the predetermined gradation of the frequency distribution, and if the statistic indicates a value sufficient to form the background, the base image determination step A3 includes It is determined that there is a region constituting the base. Here, in the background determination step A3, when there is a region constituting the background near the high gradation of the image, the image data modification is performed by modifying the image data of each pixel according to the region constituting the background. Step A4 is provided. The image data modifying step A4 generates a correction curve having a parameter for setting the vicinity of the high gradation, that is, the gradation of each pixel forming substantially white to the maximum gradation, that is, white, and based on the correction curve. To correct the gradation of each pixel obtained in the image data obtaining step.

【0025】次に、本画像データ下地判定方法を実体化
した画像データ下地判定装置を構成するために適用した
カラー複写装置の外観斜視図を図2に示す。本カラー複
写装置10は、カラースキャナ20と、コピーサーバ3
0と、カラープリンタ40とから構成されており、コピ
ーサーバ30による制御に基づいてカラースキャナ20
にて画像をスキャンすると、スキャンにより読み込まれ
た画像データに対して同コピーサーバ30が画像処理を
実施して印刷データを生成し、この印刷データに基づい
てカラープリンタ40が印刷を行う。
Next, FIG. 2 is a perspective view showing the appearance of a color copying apparatus which is applied to constitute an image data base determination apparatus which embodies the present image data base determination method. The color copying apparatus 10 includes a color scanner 20 and a copy server 3
0, and a color printer 40, and the color scanner 20 based on the control of the copy server 30.
When the image is scanned, the copy server 30 performs image processing on the image data read by the scan to generate print data, and the color printer 40 performs printing based on the print data.

【0026】図3はカラースキャナ20の概略構成を示
しており、フラットベッドタイプを採用している。同図
において、スキャン対象物を載置する透明板材21の下
方には照明ランプ22とラインセンサ23とが往復スラ
イド移動可能に支持されるとともに、これらを駆動する
ための駆動ベルト24aとプーリ24bと駆動モータ2
4cとが配置され、制御回路25に接続されている。画
像を読み込むときには、制御回路25からの制御信号に
基づいて照明ランプ22が点灯すると、透明板材21を
介してスキャン対象物を照明するので、同スキャン対象
物からの反射光が同透明板材21を介してラインセンサ
23に照射される。
FIG. 3 shows a schematic configuration of the color scanner 20, which employs a flatbed type. In the figure, an illumination lamp 22 and a line sensor 23 are slidably supported below a transparent plate 21 on which an object to be scanned is placed, and a driving belt 24a and a pulley 24b for driving these lamps. Drive motor 2
4c are connected to the control circuit 25. When reading an image, when the illumination lamp 22 is turned on based on a control signal from the control circuit 25, the object to be scanned is illuminated via the transparent plate 21. Therefore, the reflected light from the scan target illuminates the transparent plate 21. The light is radiated to the line sensor 23 via the light source.

【0027】ここで、ラインセンサ23には光の三原色
に対応するRGBフィルタとCCD素子とが一色につき
一列、通常三列配置されており、この三列のCCD素子
によりスキャン対象物の水平方向にわたる一列分の色配
置を読み込み、画像データとして出力する。一方、制御
回路25は駆動モータ24cを駆動させることにより、
これらの照明ランプ22とラインセンサ24とを一体的
にスキャン対象物の垂直方向に向かって移動させ、微少
距離分だけ移動させる毎にラインセンサ23から画像デ
ータを取得して出力する。これにより、外部的にはスキ
ャン対象物を水平方向に主走査しながら垂直方向に副走
査し二次元の画像データを生成していくことになる。
Here, the line sensor 23 is provided with RGB filters and CCD elements corresponding to the three primary colors of light, one row for each color, usually three rows, and the three rows of CCD elements extend in the horizontal direction of the scanning object. The color arrangement for one row is read and output as image data. On the other hand, the control circuit 25 drives the drive motor 24c to
The illumination lamp 22 and the line sensor 24 are integrally moved in the vertical direction of the scan target, and image data is acquired and output from the line sensor 23 each time the illumination lamp 22 and the line sensor 24 are moved by a minute distance. Accordingly, externally, the object to be scanned is sub-scanned in the vertical direction while main scanning in the horizontal direction, and two-dimensional image data is generated.

【0028】図4および図5はコピーサーバ30を概略
ブロック図により示している。同コピーサーバ30は概
略的にはコンピュータと同等であり、CPU31のバス
32に対してRAM33とROM34と操作パネル35
とハードディスク36とI/F37とが接続される構成
になっている。ここで、カラースキャナ20やカラープ
リンタ40はI/F37を介して接続されている。ま
た、ROM34には基本的な演算プログラムや変換テー
ブルが書き込まれており、CPU31はRAM33をワ
ークエリアとして使用しながら同演算プログラムを実行
するし、必要に応じて上記変換テーブルを参照する。本
実施形態においてはI/F37を特定していないが、同
I/F37はカラースキャナ20やカラープリンタ40
をコピーサーバ30に接続可能であればよく、LPTポ
ートにより接続する形態であってもよいし、USBポー
トやSCSIにより接続する形態であっても構わない。
FIGS. 4 and 5 show the copy server 30 in a schematic block diagram. The copy server 30 is roughly equivalent to a computer, and a RAM 33, a ROM 34 and an operation panel 35 are connected to a bus 32 of the CPU 31.
And the hard disk 36 and the I / F 37 are connected. Here, the color scanner 20 and the color printer 40 are connected via the I / F 37. Further, a basic calculation program and a conversion table are written in the ROM 34, and the CPU 31 executes the calculation program while using the RAM 33 as a work area, and refers to the conversion table as needed. In the present embodiment, the I / F 37 is not specified, but the I / F 37 is used for the color scanner 20 and the color printer 40.
Can be connected to the copy server 30 and may be connected by an LPT port or may be connected by a USB port or SCSI.

【0029】また、ハードディスク36は、カラースキ
ャナ20を駆動するスキャナドライバ38aやプリンタ
40を駆動するプリンタドライバ38bを備え、同スキ
ャナドライバ38aはカラースキャナ20から画像デー
タを同プリンタドライバ38bはカラープリンタ40へ
画像データをそれぞれ入出力可能になっている。そし
て、ハードディスク36はこの画像データを一時的に蓄
えるようなバッファとして使用したり、スキャナドライ
バ38aが入力した画像データを読み込み、同画像デー
タに含まれる下地を構成する領域を検出し、この検出し
た下地の領域に対応する画像データ修整処理を実施する
とともに、この画像データ修整処理を実施した画像デー
タをプリンタドライバ38bに出力し、カラープリンタ
40に印刷を実行させる画像データ下地判定制御プログ
ラム39などを格納している。この他、操作パネル35
にはスキャン開始ボタン35aであるとか、印刷枚数を
入力したり、画像を修整する項目を設定するテンキー3
5bなどの各種の操作ボタンとともに、操作情報を確認
するための液晶表示器35cなども備えられ、CPU3
1はバス32を介して同操作パネル35の操作状況を監
視可能となっている。
The hard disk 36 has a scanner driver 38a for driving the color scanner 20 and a printer driver 38b for driving the printer 40. The scanner driver 38a receives image data from the color scanner 20 and the printer driver 38b is a color printer 40. The image data can be input and output to and from each other. Then, the hard disk 36 uses the image data as a buffer for temporarily storing the image data, reads the image data input by the scanner driver 38a, detects an area constituting the background included in the image data, and detects the detected area. An image data background determination control program 39 and the like which execute image data modification processing corresponding to the background area, output the image data subjected to the image data modification processing to the printer driver 38b, and cause the color printer 40 to execute printing. Stored. In addition, the operation panel 35
Is a ten key 3 for inputting a scan start button 35a, inputting the number of prints, and setting items for modifying an image.
In addition to various operation buttons such as 5b, a liquid crystal display 35c for confirming operation information is also provided.
1 is capable of monitoring the operation status of the operation panel 35 via the bus 32.

【0030】図6はカラープリンタ40の構成を概略的
に示しており、記録紙上に対してドットマトリクス状に
色インクを吐出して印字を行うインクジェット方式を採
用している。より詳細には、三つの印字ヘッドユニット
41aからなる印字ヘッド41と、この印字ヘッド41
を制御する印字ヘッドコントローラ42と、同印字ヘッ
ド41を桁方向に移動させる印字ヘッド桁移動モータ4
3と、印字用紙を行方向に送る紙送りモータ44と、こ
れらの印字ヘッドコントローラ42と印字ヘッド桁移動
モータ43と紙送りモータ44における外部機器とのイ
ンターフェイスにあたるプリンタコントローラ45とか
ら構成されている。
FIG. 6 schematically shows the structure of the color printer 40, which employs an ink jet system in which color ink is ejected onto a recording paper in a dot matrix form to perform printing. More specifically, a print head 41 including three print head units 41a,
Head controller 42 for controlling the print head and a print head girder moving motor 4 for moving the print head 41 in the girder direction
3, a paper feed motor 44 for feeding print paper in the row direction, a print head controller 42, a print head digit moving motor 43, and a printer controller 45 which serves as an interface between the paper feed motor 44 and external devices. .

【0031】このカラープリンタ40は印字インクとし
て四色の色インクを使用するものであり、各印字ヘッド
ユニット41aにはそれぞれ独立した二列の印字ノズル
が形成されている。供給する色インクは印字ノズルの列
単位で変えることができ、この場合は図示左方の印字ヘ
ッドユニット41aについては二列とも黒色インク
(K)を供給し、図示右方の印字ヘッドユニット41a
については左列にマゼンタ色インク(M)を供給すると
ともに右列にイエロー色インク(Y)を供給し、図示真
ん中の印字ヘッドユニット41aについては左列にシア
ン色インク(C)を供給するとともに右列は不使用とし
ている。
The color printer 40 uses four color inks as print inks, and each print head unit 41a has two independent rows of print nozzles. The color ink to be supplied can be changed for each row of print nozzles. In this case, black ink (K) is supplied to both rows of the print head unit 41a on the left side in the figure, and the print head unit 41a on the right side in the figure.
With respect to, the magenta ink (M) is supplied to the left column, the yellow ink (Y) is supplied to the right column, and the cyan ink (C) is supplied to the left column for the print head unit 41a in the middle of the drawing. The right column is unused.

【0032】なお、本実施形態においては、四色の色イ
ンクを使用しているが、三つの印字ヘッドユニット41
aにおける二列の印字ノズルを最大限に利用して六色の
色インクを使用することも可能である。この場合、シア
ンとマゼンタについては濃色インクと淡色インクとを使
用するものとし、さらにイエローとブラックとを使用し
て合計六色とすることができる。本実施形態において
は、このようなコピーサーバ30を核とする一体型に形
成した専用のカラー複写装置10として本画像データ下
地判定装置を適用しているが、図6に示すようなカラー
スキャナ51とカラープリンタ52を備えたパソコン5
3によって、カラー複写システムを採用したとしても同
様に実現できることはいうまでもない。
Although four color inks are used in this embodiment, three print head units 41 are used.
It is also possible to use six color inks by maximizing the use of the two rows of print nozzles in a. In this case, dark and light inks are used for cyan and magenta, and a total of six colors can be used using yellow and black. In the present embodiment, the present image data base determination device is applied as the integrated color copying device 10 formed integrally with the copy server 30 as a core, but the color scanner 51 shown in FIG. And a personal computer 5 equipped with a color printer 52
Needless to say, the third embodiment can be similarly realized even if a color copying system is adopted.

【0033】図8は、上述したコピーサーバ30が実行
するカラー複写処理のうち、本発明にかかる画像データ
下地判定処理の処理内容について概略をフローチャート
により示している。同図において、本カラー複写装置1
0の操作者は、カラースキャナ20のフラットベッド2
1にスキャン対象物の文書を載置すると、操作パネル3
5aにてスキャン開始ボタン35aを押し下げる。これ
によりカラースキャナ20はスキャンを開始する。最初
に、上記文書の画像を含むフラットベッド21全体の画
像について低解像度の画素からなる画像データを生成す
るために、プレスキャンを実行する(ステップS10
0)。そして、生成された画像データから所定の手法に
基づいて文書画像の画像データに下地を構成する領域が
存在するか否かを判定する(ステップS200)。次
に、カラースキャナ20は、判定結果に基づいて後述す
る所定の画像データ修整処理を実行するために、フラッ
トベッド21を動作させ、上記文書画像の詳細な画像デ
ータを取得する高解像度の本スキャンを開始する(ステ
ップS300)。そして、この本スキャンによって読み
込まれた画像データに対して、ステップS200にて下
地と判定した領域の所定の統計値に基づく補正曲線によ
り画像データ修整処理を実行する(ステップS40
0)。この画像データ修整処理が完了すると、カラープ
リンタ40に出力する印刷データを生成する画像データ
変換処理を実行する(ステップS500)。これにより
上記ステップS100にて入力した文書画像の画像デー
タに対して同文書画像の下地の領域を考慮した画像デー
タ修整処理を実行することになる。
FIG. 8 is a flowchart showing an outline of the processing contents of the image data base determination processing according to the present invention, out of the color copying processing executed by the copy server 30 described above. Referring to FIG.
0 is the flatbed 2 of the color scanner 20.
When a document to be scanned is placed on the operation panel 1, the operation panel 3
At 5a, the scan start button 35a is pressed down. Thus, the color scanner 20 starts scanning. First, in order to generate image data composed of low-resolution pixels for the entire image of the flatbed 21 including the image of the document, a pre-scan is performed (step S10).
0). Then, it is determined from the generated image data based on a predetermined method whether or not there is a region constituting a base in the image data of the document image (step S200). Next, the color scanner 20 operates the flatbed 21 to execute predetermined image data modification processing described later based on the determination result, and obtains a high-resolution main scan that acquires detailed image data of the document image. Is started (step S300). Then, image data read processing is performed on the image data read by the main scan using a correction curve based on a predetermined statistical value of the area determined to be the background in step S200 (step S40).
0). When the image data modification process is completed, an image data conversion process for generating print data to be output to the color printer 40 is executed (step S500). As a result, image data modification processing is performed on the image data of the document image input in step S100 in consideration of the background area of the document image.

【0034】本実施形態においては、ステップS100
においてプレスキャン処理を実行し、低解像度のサンプ
リング画像データに基づいてステップS200にて画像
の下地を構成する領域を判定し、ステップS300の本
スキャン処理にて取得した詳細な画像データに対してス
テップS400の画像データ修整処理を実行する構成を
採用しているが、むろん、ステップS100のプレスキ
ャン処理を取り外し、本スキャン処理によって取得した
画像データに基づいて画像の下地を構成する領域を判定
するとともに、画像データ修整処理を実行する構成を採
用してもかまわない。
In the present embodiment, step S100
In step S200, a pre-scanning process is executed to determine a region constituting the background of the image based on the low-resolution sampled image data, and a step S300 is performed for the detailed image data acquired in the main scanning process. Although the configuration for executing the image data modification process in S400 is adopted, it goes without saying that the pre-scan process in step S100 is removed, and the area constituting the base of the image is determined based on the image data acquired by the main scan process. Alternatively, a configuration for executing image data modification processing may be employed.

【0035】次に、ステップS100〜S500の各処
理について、より具体的な処理内容を図9〜図17のフ
ローチャートを使用して説明する。図9のフローチャー
トはステップS100のプレスキャン処理の処理内容を
示している。上述したように本カラー複写装置の操作者
がフラットベッド21に文書をスキャン対象物として載
置し、スキャナ開始ボタン35aを押し下げると、I/
O37を介してカラースキャナ20に対して画像読み取
り指令が送出されスキャンが開始される(ステップS1
01)。そして、操作者がテンキー35bにて設定した
プレスキャンの解像度を読み出す(ステップS10
5)。ここで、カラースキャナ20の制御回路25は照
明ランプ22を点灯させ、駆動モータ24cに駆動指令
を出力して同照明ランプ22とラインセンサ23とをス
ライド移動させることにより画像の走査を開始する(ス
テップS110)。そして、所定距離分を移動するごと
に制御回路25はラインセンサ23は読み取った画像を
解像度により分割された画素の画像データを生成し(ス
テップS115)、コピーサーバ30に送信する。コピ
ーサーバ30の側ではこの画像データをI/F37を介
して受け取り、ハードディスク36にスプールする。こ
こで、上記分割された画素について全ての走査が終了し
たと判定すると(ステップS120)、上記スプールさ
れた画像データをハードディスク36に格納する(ステ
ップS125)。
Next, the respective steps S100 to S500 will be described in more detail with reference to the flowcharts of FIGS. The flowchart of FIG. 9 shows the processing content of the pre-scan processing of step S100. As described above, when the operator of this color copying apparatus places a document on the flatbed 21 as a scan target and depresses the scanner start button 35a, the I / O
An image reading command is sent to the color scanner 20 via O37 to start scanning (step S1).
01). Then, the pre-scan resolution set by the operator using the numeric keypad 35b is read (step S10).
5). Here, the control circuit 25 of the color scanner 20 turns on the illumination lamp 22, outputs a drive command to the drive motor 24c, and starts scanning of the image by sliding the illumination lamp 22 and the line sensor 23 (see FIG. 1). Step S110). Each time the control circuit 25 moves by a predetermined distance, the control circuit 25 generates image data of pixels obtained by dividing the image read by the line sensor 23 according to resolution (step S115), and transmits the image data to the copy server 30. The copy server 30 receives this image data via the I / F 37 and spools it on the hard disk 36. Here, if it is determined that all the scanning has been completed for the divided pixels (step S120), the spooled image data is stored in the hard disk 36 (step S125).

【0036】従って、このように低解像度のスキャンを
実行して画像データを取得しつつ格納するプレスキャン
処理は、画像データ取得工程A1を構成する。本実施形
態においては、プレスキャンを所定の低解像度により実
行する構成を採用しているが、具体的な解像度は50d
piであってもよく、60dpiであってもよい。ま
た、同解像度は予めRAM34やROM35やハードデ
ィスク36に格納されているものであってもよいし、上
述したように操作パネル35あるいはパソコン53が備
えるキーボードやマウスから所定の方法により適宜設定
可能であってもよい。
Accordingly, the pre-scan processing of acquiring and storing image data by executing low-resolution scanning in this manner constitutes an image data acquiring step A1. In the present embodiment, a configuration in which the pre-scan is executed at a predetermined low resolution is adopted.
pi or 60 dpi. The resolution may be stored in the RAM 34, the ROM 35, or the hard disk 36 in advance, or can be appropriately set by the predetermined method from the keyboard or mouse of the operation panel 35 or the personal computer 53 as described above. You may.

【0037】そして、この画像データから図10に示す
ステップS200の下地判定処理のフローチャートに従
って同画像データに含まれる各画素の度数分布を作成
し、同度数分布より画像の下地の領域の存在を判定す
る。同図において、最初に、ステップS125にてハー
ドディスク36に格納された画像データを読み出す(ス
テップS201)。ここで、同画像データの各画素の色
あいを構成するR(赤)G(緑)B(青)データの色成
分を抽出する。各色成分は、階調0〜255の濃度を備
えているため、各画素について、このRGBデータの階
調0〜255を次式(1)に代入し、輝度Yを算出する
(ステップS205)。 Y=0.30R+0.59G+0.11B ・・・(1) この式(1)により画像データの全画素について輝度を
算出すると、輝度の階調0〜255ごとに画素数を集計
し、図11に示す度数分布を作成する。次に、各階調0
〜255における相対度数を算出する。各階調の度数I
は次式(2)にて表わされる。 I=f(n) n=0〜255 ・・・(2) 従って、各階調における相対度数は、次式(3)によっ
て算出することができる(ステップS210)。
Then, a frequency distribution of each pixel included in the image data is created from the image data according to the flowchart of the background determination process in step S200 shown in FIG. 10, and the existence of the background area of the image is determined from the frequency distribution. I do. In the figure, first, the image data stored in the hard disk 36 in step S125 is read (step S201). Here, the color components of R (red), G (green), and B (blue) data constituting the color of each pixel of the image data are extracted. Since each color component has a density of gradation 0 to 255, the gradation Y of the RGB data is substituted into the following equation (1) for each pixel to calculate the luminance Y (step S205). Y = 0.30R + 0.59G + 0.11B (1) When the luminance is calculated for all the pixels of the image data according to the equation (1), the number of pixels is totaled for each gradation 0 to 255 of the luminance. Create the frequency distribution shown. Next, each gradation 0
Calculate the relative frequency at ~ 255. Frequency I of each gradation
Is represented by the following equation (2). I = f (n) n = 0 to 255 (2) Accordingly, the relative frequency in each gradation can be calculated by the following equation (3) (step S210).

【数式1】 そして、この度数分布において画像の下地を構成する領
域である下地分布の抽出区間を設定する(ステップS2
15)。この下地分布の区間を設定するにあたり、最初
に、同度数分布における最大度数を次式(4)によって
決定する。 fmod=max[f(n)] n=0〜255 ・・・(4) そして、この最大度数fmodに該当する階調を最瀕値
nmodとする。この最瀕値nmodは、図11に示す
ように度数分布の最頂部を形成する階調となる。そし
て、この最瀕値nmodを利用して下地分布の抽出区間
を決定する階調M1およびM2を次式(5)に基づいて
算出する。
[Formula 1] Then, in this frequency distribution, an extraction section of the background distribution, which is a region constituting the background of the image, is set (step S2).
15). In setting the section of the background distribution, first, the maximum frequency in the same frequency distribution is determined by the following equation (4). fmod = max [f (n)] n = 0 to 255 (4) Then, the gradation corresponding to the maximum frequency fmod is set as the closest value nmod. The closest value nmod is a gradation that forms the top of the frequency distribution as shown in FIG. Then, using the most probable value nmod, the gradations M1 and M2 for determining the extraction section of the background distribution are calculated based on the following equation (5).

【0038】 M1=nmod−N N<=nmod =0 N>nmod ・・・(5) M2=nmod+N−1 N<=256−nmod =255 N>256−nmod ここで、定数Nは、予め決められた正の整数とする。具
体的には、Nは10前後であればよい。この階調M1お
よびM2により、図11に示すように下地分布の抽出区
間が区間[M1,M2]に決定される。次に、上記のよう
に決定した下地分布の抽出区間における各画素の相対度
数の累積を算出する(ステップS220)。この相対度
数は、上記式(3)を利用して、次式(6)により算出
することができる。
M1 = nmod−N N <= nmod = 0 N> nmod (5) M2 = nmod + N−1 N <= 256-nmod = 255 N> 256-nmod Here, the constant N is predetermined. Is a positive integer. Specifically, N may be around 10. With the gradations M1 and M2, the extraction section of the background distribution is determined to be the section [M1, M2] as shown in FIG. Next, the accumulation of the relative frequency of each pixel in the extraction section of the background distribution determined as described above is calculated (step S220). This relative frequency can be calculated by the following equation (6) using the above equation (3).

【数式2】 この相対度数Rは、図11に示す区間[M1,M2]と度
数分布によって囲まれる斜線部分の面積によって示すこ
とができる。このように、算出された下地分布の抽出区
間における相対度数Rと、度数分布における最瀕値nm
odを使用して、下地分布の存在を判定する(ステップ
S225)。かかる場合、次式(7)の条件を満たすと
きに、画像に下地を構成する領域が存在すると判定す
る。
[Formula 2] This relative frequency R can be indicated by the area of the hatched portion surrounded by the section [M1, M2] shown in FIG. 11 and the frequency distribution. As described above, the calculated relative frequency R in the extraction section of the background distribution and the most likely value nm in the frequency distribution
The existence of the background distribution is determined using the odd (step S225). In such a case, when the condition of the following equation (7) is satisfied, it is determined that the image has a region constituting the base.

【0039】 R>Rth かつ nmod>nth ・・・(7) ここで、Rthおよびnthは予め決められた正の整数
であって、所定のしきい値を構成する。具体的には、R
thは、0.15程度となるとともに、nthは、18
0程度となる。むろん、これらの数値は、一例にすぎ
ず、適宜変更可能である。このようにして、下地を構成
する領域が存在するか否かが判定される。本実施形態に
おいては、輝度を算出し、略白色を構成する部分を下地
と判定する処理を構成しているが、各色成分の度数分布
に基づいて各色成分について本処理を実施し、それぞれ
の度数分布の傾向を考慮すれば、各色やその混合色によ
って形成される下地を判定することも可能である。従っ
て、各画素の色成分を形成する階調より輝度を算出し、
画像データの度数分布を作成するとともに、同度数分布
より画像の下地を構成する領域を判定する下地分布を作
成し、この下地分布の所定の統計量に基づいて画像に下
地が存在するか否かを判定することから、ステップS2
10〜S225の下地判定処理が度数分布作成工程A2
および下地判定工程A3を構成する。
R> Rth and nmod> nth (7) Here, Rth and nth are predetermined positive integers and constitute a predetermined threshold value. Specifically, R
th is about 0.15 and nth is 18
It is about 0. Of course, these numerical values are merely examples, and can be changed as appropriate. In this way, it is determined whether or not there is a region constituting the base. In the present embodiment, the processing for calculating the luminance and determining the portion constituting substantially white as the background is configured. However, this processing is performed for each color component based on the frequency distribution of each color component, and the respective frequencies are calculated. By considering the tendency of the distribution, it is also possible to determine the base formed by each color or a mixture thereof. Therefore, the luminance is calculated from the gradation that forms the color component of each pixel,
In addition to creating a frequency distribution of image data, creating a background distribution for determining an area constituting the background of the image from the same frequency distribution, and determining whether a background exists in the image based on a predetermined statistic of the background distribution. Is determined, step S2
The background determination processing of 10 to S225 is a frequency distribution creation step A2
And a base determination step A3.

【0040】次に、画像に下地、すなわち、所定量の文
書の用紙の紙の地により形成される略白色の領域が存在
すると判定された場合に、この下地の領域に対応して後
述する画像データ修整処理を実施するため、カラースキ
ャナ20に載置されているスキャン対象物の文書画像に
ついて本スキャン処理を実行する。この本スキャン処理
の処理内容を図12のフローチャートに示す。最初に、
操作者がテンキー35bにて設定した本スキャンの解像
度を読み出す(ステップS301)。かかる解像度は上
述したプレスキャン処理の解像度より密なものに設定さ
れることは言うまでもない。そして、カラースキャナ2
0の制御回路25は照明ランプ22を点灯させ、駆動モ
ータ24cに駆動指令を出力して同照明ランプ22とラ
インセンサ23とをスライド移動させることにより画像
の走査を開始し(ステップS305)、所定距離分を移
動するごとに制御回路25はラインセンサ23は読み取
った画像を解像度により分割された画素の画像データを
生成し(ステップS310)、コピーサーバ30に送信
する。コピーサーバ30の側ではこの画像データをI/
F37を介して受け取り、ハードディスク36にスプー
ルする。ここで、上記分割された画素について全ての走
査が終了したと判定すると(ステップS315)、上記
スプールされた画像データをハードディスク36に格納
する(ステップS320)。従って、このように高解像
度による本スキャンを実行して文書画像の画像データを
取得しつつ格納する本スキャン処理は、上記プレスキャ
ン処理とともに画像データ取得工程A1を構成する。
Next, when it is determined that the image has a background, that is, a substantially white area formed by the ground of the paper of the predetermined amount of the document, an image described later corresponding to the background area is determined. In order to perform the data modification process, the main scan process is performed on the document image of the scan target placed on the color scanner 20. The processing content of the main scan processing is shown in the flowchart of FIG. At first,
The resolution of the main scan set by the operator using the numeric keypad 35b is read (step S301). Needless to say, the resolution is set to be higher than the resolution of the above-described pre-scan processing. And color scanner 2
The 0 control circuit 25 turns on the illumination lamp 22, outputs a drive command to the drive motor 24c, and starts scanning the image by sliding the illumination lamp 22 and the line sensor 23 (step S305). Every time the control circuit 25 moves by the distance, the control circuit 25 generates image data of pixels obtained by dividing the image read by the line sensor 23 according to resolution (step S310), and transmits the image data to the copy server 30. On the copy server 30 side, this image data is
It is received via F37 and spooled on the hard disk 36. Here, if it is determined that all the scanning has been completed for the divided pixels (step S315), the spooled image data is stored in the hard disk 36 (step S320). Therefore, the main scan processing of executing the main scan at a high resolution to acquire and store the image data of the document image while forming the image data constitutes an image data acquisition step A1 together with the pre-scan processing.

【0041】このように、下地を構成する領域が存在す
ると判定された場合、略白色付近の各画素を画像データ
修整処理において、白色、つまり、最大階調にクランプ
する。すると、このクランプした部分は、カラープリン
タ40の印刷において、インクが印刷媒体に塗布されな
いため、白色の紙の地のままの領域となる。従って、文
書の画像においては、下地の紙の領域と文字の黒色部分
のコントラストがはっきりとするようになり、めりはり
の有る見栄えの良い画像に修整することが可能になる。
As described above, when it is determined that there is an area constituting the base, each pixel near substantially white is clamped to white, that is, the maximum gradation in the image data modification processing. Then, in the printing by the color printer 40, the ink is not applied to the print medium, so that the clamped portion remains as a white paper ground. Accordingly, in the image of the document, the contrast between the base paper region and the black portion of the character becomes clear, and it is possible to modify the image into a good-looking image with a sharp edge.

【0042】次に、図13のフローチャートに示した上
記画像データ修整処理の概略処理内容を説明するととも
に、以下、各処理について詳細を説明する。。同図にお
いて、最初に、画像データの各画素に対して修整を実施
する対応関係を示す補正曲線を決定する補正曲線決定処
理を実行し(ステップS401)、次に、この補正曲線
に基づいて各画素の各色成分の階調を順次修整し(ステ
ップS450)、画像データを生成する。
Next, the outline of the image data modifying process shown in the flowchart of FIG. 13 will be described, and the details of each process will be described below. . In the figure, first, a correction curve determination process is performed to determine a correction curve indicating a correspondence relationship in which modification is performed on each pixel of the image data (step S401). The gradation of each color component of the pixel is sequentially modified (step S450), and image data is generated.

【0043】図14は、ステップS401にて実行する
補正曲線決定処理の処理内容をフローチャートにより示
している。同図において、式(4)にて決定した度数分
布の最瀕値nmodを取得する(ステップS405)。
そして、この最瀕値nmodの階調が階調255、すな
わち、最大階調であるか否かを判定する(ステップS4
10)。次に、下地分布の統計量を算出する区間を設定
する(ステップS415)。ここで設定する下地分布
は、上記区間[M1,M2]であってもよいし、下地とす
る領域を略白色部分とする場合は、領域を区分する階調
について、一方を階調255に設定し、他方を次式
(8)より算出して設定してもよい。 A=nmod−B*(255−nmod) ・・・(8) ここで、定数Bは、予め決定された変数で、次式(9)
の条件を満たすように決定されている。 0<B<nmod/(255−nmod) ・・・(9) この変数Bは、具体的に、2前後であればよい。以上よ
り下地分布の統計量を算出する区間は、区間[A,25
5]と決定される。次に、この区間[A,255]におけ
る平均値naveを次式(10)により算出するととも
に、標準偏差nstdを次式(11)により算出する
(ステップS420)。
FIG. 14 is a flowchart showing the contents of the correction curve determination process executed in step S401. In the figure, the most probable value nmod of the frequency distribution determined by the equation (4) is obtained (step S405).
Then, it is determined whether or not the gray level of the lowest value nmod is the gray level 255, that is, the maximum gray level (step S4).
10). Next, a section for calculating the statistic of the background distribution is set (step S415). The background distribution set here may be the section [M1, M2], or when the region to be the background is a substantially white portion, one of the gradations for dividing the region is set to the gradation 255. Alternatively, the other may be calculated by the following equation (8) and set. A = nmod−B * (255−nmod) (8) Here, the constant B is a variable determined in advance and is expressed by the following equation (9).
It is determined to satisfy the condition of. 0 <B <nmod / (255-nmod) (9) The variable B may be around 2 specifically. As described above, the section for calculating the statistic of the background distribution is the section [A, 25
5]. Next, the average value “nave” in this section [A, 255] is calculated by the following equation (10), and the standard deviation nstd is calculated by the following equation (11) (step S420).

【数式3】 [Equation 3]

【数式4】 (Equation 4)

【0044】そして、この平均値naveおよび標準偏
差nstdを利用して、補正曲線のしきい値Tを次式
(12)に基づいて算出する(ステップS425)。 T=nave−Cnstd ・・・(12) ここで、定数Cは、次式(13)の条件を満たすように
設定される。 C=C2 1−R>=Cth2 ・・・(13) =C1 Cth1<=1−R<Cth2 また、このC1およびC2は、予め決定された正の整数
であり、Cth1は、Rthを利用して次式(14)に
よって設定されている。 Cth2=1−Rth ・・・(14)
Using the average value nave and the standard deviation nstd, a threshold value T of the correction curve is calculated based on the following equation (12) (step S425). T = nave−Cnstd (12) Here, the constant C is set to satisfy the condition of the following equation (13). C = C2 1−R> = Cth2 (13) = C1 Cth1 <= 1−R <Cth2 Further, C1 and C2 are predetermined positive integers, and Cth1 uses Rth. Is set by the following equation (14). Cth2 = 1−Rth (14)

【0045】本実施形態においては、C1は4程度に、
C2は2程度に、そして、Cth1は0.7程度に設定
されている。このようにして、しきい値Tが算出される
と、補正曲線が決定される。本実施形態において、補正
曲線は、図15に示すように、しきい値T以降の入力階
調を出力階調255にクランプするとともに、入力階調
0〜Tの間を傾き255/Tを有する一次直線によって
形成している。むろん、しきい値Tから階調255の入
力階調を出力階調255にクランプすることができれば
よく、入力階調0〜Tの間を二次曲線にして良いし、傾
きが異なる一次直線にしてもよく、適宜変更可能であ
る。この補正曲線をRGBデータごとに作成する。ま
た、ステップS410にて最瀕値nmodが255であ
った場合は、入力階調と出力階調において(0,0)と
(255,255)を結ぶ傾き1の一次直線を生成させ
る。すなわち、しきい値Tの階調を255にする。
In the present embodiment, C1 is set to about 4,
C2 is set to about 2, and Cth1 is set to about 0.7. When the threshold value T is calculated in this way, a correction curve is determined. In the present embodiment, as shown in FIG. 15, the correction curve clamps the input gray scale after the threshold T to the output gray scale 255 and has a slope 255 / T between the input gray scales 0 to T. It is formed by a primary straight line. Of course, it is sufficient if the input gradation of the gradation 255 can be clamped to the output gradation 255 from the threshold value T, and a quadratic curve may be formed between the input gradations 0 to T or a primary straight line having a different slope. It may be changed as appropriate. This correction curve is created for each of the RGB data. If the closest value nmod is 255 in step S410, a primary line having a slope 1 connecting (0, 0) and (255, 255) is generated between the input gradation and the output gradation. That is, the gradation of the threshold value T is set to 255.

【0046】次に、ステップS450の画像データ修整
処理の処理内容を図16のフローチャートにより示す。
同図において、最初に、本スキャン処理によって生成さ
れた画像データを取得する(ステップS455)。そし
て、画像データの各画素を走査し、各画素の備える各色
成分の階調を入力階調とし、補正曲線に代入し、出力階
調を算出する(ステップS460)。ステップS455
にて取得した画像データの全画素について補正曲線に基
づく修整処理が完了しているか否かを判定し(ステップ
S465)、完了していない場合は、ステップS460
に戻り次の画素を走査して順次補正曲線に基づいて修整
処理を実行する。全画素について修整処理が完了してい
れば、出力階調から構成される画像データをハードディ
スク36に格納する(ステップS470)。
Next, the processing contents of the image data modification processing in step S450 will be described with reference to the flowchart of FIG.
In the figure, first, image data generated by the main scan processing is obtained (step S455). Then, each pixel of the image data is scanned, and the gradation of each color component included in each pixel is set as an input gradation, substituted into a correction curve, and an output gradation is calculated (step S460). Step S455
It is determined whether or not the modification process based on the correction curve has been completed for all the pixels of the image data acquired in (Step S465).
Then, the next pixel is scanned, and the modification process is sequentially performed based on the correction curve. If the modification processing has been completed for all the pixels, the image data composed of the output gradation is stored in the hard disk 36 (step S470).

【0047】このように画像データ修整処理が実施され
生成された画像データは、色変換処理などが施されてカ
ラープリンタ40に送出され印刷が実行される。ここ
で、修整後の画像データに対してカラープリンタ40に
送出される前に実行される画像データ変換処理の処理内
容を図17のフローチャートに示す。同図において、最
初に、画像データ修整処理が実行され、各画素が出力階
調により構成されている画像データを入力し(ステップ
S501)、色変換する(ステップS505)。画像デ
ータが一般的なRGB256階調であるとするとプリン
タ50ではCMYK2階調の印刷用色画像データが必要
となるので、色変換と階調変換が必要になる。従って、
ステップ505では、RGB256階調の色画像データ
をCMYK256階調の色画像データに変換する。この
とき標準的は手法に基づいてLUTを利用して色変換処
理を実行すればよい。次に、CMYK256階調をCM
YK2階調へとハーフトーン化し(ステップS51
0)、ハーフトーン化したデータをパラレル通信でパソ
コン10からプリンタ50へと送信する(ステップS5
15)。
The image data generated as a result of the image data modifying process is subjected to a color conversion process and the like, sent to the color printer 40, and printed. Here, the processing content of the image data conversion processing executed before the modified image data is sent to the color printer 40 is shown in the flowchart of FIG. In the figure, first, image data modification processing is executed, and image data in which each pixel is constituted by output gradation is input (step S501), and color conversion is performed (step S505). Assuming that the image data has general RGB 256 gradations, the printer 50 needs printing color image data of CMYK 2 gradations, so that color conversion and gradation conversion are required. Therefore,
In step 505, the color image data of 256 gradations of RGB is converted into the color image data of 256 gradations of CMYK. At this time, a color conversion process may be performed using a LUT based on a standard method. Next, the CMYK 256 gradations
Halftoning to YK2 gradation (Step S51)
0), the halftoned data is transmitted from the personal computer 10 to the printer 50 by parallel communication (step S5).
15).

【0048】ここで、画像データ修整処理における実行
前と実行後との画像データの状態の変化を図18に示
す。実行前の画像データは図18(a)に示し、実行後
の画像データは図18(b)に示す。なお、同図は、各
小区画によって画像データを構成する各画素を示し、階
調0の画素は画像において黒色となる箇所を示してい
る。一方、階調255の画素は画像において白色、すな
わち、文書画像の紙の領域を示している。ここで、図1
8(a)においては、黒色の部分と、紙の領域の境界に
斜線で示したグレーの画素が存在していることが分か
る。かかる画素があるために黒色と白色部分の境界があ
いまいになり、図19(a)に示すように、文書を表示
した画像において、めりはりのない画像になってしまっ
てう。一方、上述した画像データ修整処理を実行した場
合、図18(b)に示すように、このグレーの部分を最
大階調255にクランプするため、黒色と白色部分につ
いてはっきりと境界を作ることができ、図19(b)に
示すようにめりはりの付いた画像になることが分かる。
FIG. 18 shows changes in the state of the image data before and after the execution of the image data modifying process. FIG. 18A shows image data before execution, and FIG. 18B shows image data after execution. Note that FIG. 3 shows each pixel constituting image data by each small section, and a pixel of gradation 0 indicates a black portion in the image. On the other hand, a pixel having a gradation of 255 indicates white in an image, that is, a paper area of a document image. Here, FIG.
In FIG. 8A, it can be seen that a gray pixel indicated by oblique lines exists at the boundary between the black part and the paper area. Because of the presence of such pixels, the boundary between the black and white portions becomes ambiguous, and as shown in FIG. 19A, the image displayed as a document becomes a continuous image. On the other hand, when the above-described image data modification processing is executed, as shown in FIG. 18B, since the gray part is clamped to the maximum gradation 255, a clear boundary can be created between the black part and the white part. It can be seen that the image has a sharp edge as shown in FIG.

【0049】このように、文書をカラースキャナ40に
てスキャンし、同文書の画像における下地を構成する紙
の地の領域、すなわち、略白色の領域を同画像を構成す
る画像データの所定の度数分布に基づいて判定すること
が可能になる。また、下地の存在を判定すると、補正曲
線により略白色の下地領域を画像データ修整処理によっ
て白色、すなわち、最大階調に修整するため、画像デー
タにより再生される画像の下地と下地以外の画像とのめ
りはりをつけることができ、裏うつりなど下地に表れる
ノイズ成分を除去することが可能になる。
As described above, the document is scanned by the color scanner 40, and the area of the ground of the paper constituting the base in the image of the document, that is, the substantially white area is converted into the predetermined frequency of the image data constituting the image. The determination can be made based on the distribution. Also, when the presence of the background is determined, the substantially white background area is corrected to the maximum gradation by the image data correction processing based on the correction curve. It is possible to add a stitching beam, and it is possible to remove a noise component appearing on the background such as a back fog.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態にかかる画像データ下地判
定方法のクレーム対応図である。
FIG. 1 is a diagram corresponding to a claim in an image data base determination method according to an embodiment of the present invention.

【図2】本画像データ下地判定方法を実体化するために
適用したカラー複写装置の概略外観図である。
FIG. 2 is a schematic external view of a color copying apparatus applied for realizing the image data base determination method.

【図3】本カラー複写装置のスキャナの構成を示した概
略図である。
FIG. 3 is a schematic diagram illustrating a configuration of a scanner of the color copying apparatus.

【図4】本カラー複写装置のコピーサーバの構成を示し
た概略ブロック図である。
FIG. 4 is a schematic block diagram showing a configuration of a copy server of the color copying apparatus.

【図5】同コピーサーバの構成を示した概略ブロック図
である。
FIG. 5 is a schematic block diagram showing a configuration of the copy server.

【図6】本カラー複写装置のカラープリンタの構成を示
した概略図である。
FIG. 6 is a schematic diagram showing a configuration of a color printer of the present color copying apparatus.

【図7】本カラー複写装置の変形例を示したコンピュー
タシステムの概略外観図である。
FIG. 7 is a schematic external view of a computer system showing a modification of the present color copying apparatus.

【図8】同コピーサーバが実行するカラー複写処理の概
略の処理内容を示したフローチャートである。
FIG. 8 is a flowchart showing an outline of a color copying process executed by the copy server;

【図9】同コピーサーバが実行するプレスキャン処理の
処理内容を示したフローチャートである。
FIG. 9 is a flowchart showing processing contents of a pre-scan processing executed by the copy server.

【図10】同コピーサーバが実行する下地判定処理の処
理内容を示したフローチャートである。
FIG. 10 is a flowchart showing processing contents of a background determination processing executed by the copy server.

【図11】同下地判定処理により作成された画像データ
の度数分布を示した図である。
FIG. 11 is a diagram showing a frequency distribution of image data created by the background determination processing.

【図12】同コピーサーバが実行する本スキャン処理の
処理内容を示したフローチャートである。
FIG. 12 is a flowchart showing the contents of a main scan process executed by the copy server.

【図13】同コピーサーバが実行する画像データ修整処
理の処理内容を示したフローチャートである。
FIG. 13 is a flowchart showing processing contents of image data modification processing executed by the copy server.

【図14】同コピーサーバが実行する補正曲線決定処理
の処理内容を示したフローチャートある。
FIG. 14 is a flowchart showing processing contents of a correction curve determination processing executed by the copy server.

【図15】同補正曲線決定処理にて決定された補正曲線
の一例を示した図である。
FIG. 15 is a diagram illustrating an example of a correction curve determined in the correction curve determination process.

【図16】同コピーサーバが実行する画像データ修整処
理の処理内容を示したフローチャートである。
FIG. 16 is a flowchart showing processing contents of image data modification processing executed by the copy server.

【図17】同コピーサーバが実行する画像データ変換処
理の処理内容を示したフローチャートである。
FIG. 17 is a flowchart showing processing contents of image data conversion processing executed by the copy server.

【図18】同画像データ修整処理によって修整される画
像データ修整処理の実行前と実行後の画素の構成を示し
た図である。
FIG. 18 is a diagram showing a configuration of a pixel before and after execution of the image data modifying process modified by the image data modifying process.

【図19】同画像データ修整処理によってめりはりが付
いた画像になる様子を示した図である。
FIG. 19 is a diagram showing a state in which an image having a roll-up is obtained by the image data modifying process.

【符号の説明】[Explanation of symbols]

A1…画像データ取得工程 A2…度数分布作成工程 A3…下地判定工程 A4…画像データ修整工程 A1: image data acquisition step A2: frequency distribution creation step A3: background determination step A4: image data modification step

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 AA11 BA28 CA01 CA02 CA12 CA16 CB01 CB02 CB12 CB16 CC03 CE05 CE11 CE17 CE18 CH11 CH18 DC23 5C077 MM20 MP06 MP08 NN03 PP02 PP15 PP27 PP32 PP33 PP38 PP43 PP68 PQ08 PQ19 PQ20 PQ22 RR14 TT05 TT06  ──────────────────────────────────────────────────続 き Continued from the front page F term (reference) 5B057 AA11 BA28 CA01 CA02 CA12 CA16 CB01 CB02 CB12 CB16 CC03 CE05 CE11 CE17 CE18 CH11 CH18 DC23 5C077 MM20 MP06 MP08 NN03 PP02 PP15 PP27 PP32 PP33 PP38 PP43 PP68 PQ08 PQ19 PQ20 TT06

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像における下地を構成する領域を画像
データの所定の度数分布に基づいて判定する画像データ
下地判定方法であって、 画像をドットマトリクス状の画素で多階調表現した画像
データを取得する画像データ取得工程と、 上記画像データ取得工程にて取得した画像データの各画
素について階調を集計し、度数分布を作成する度数分布
作成工程と、 上記度数分布の所定の階調により区分された領域の特性
を表示する統計量を算出し、同統計量が下地を構成する
に十分な値を示す場合、上記画像に下地を構成する領域
が存在すると判定する下地判定工程とを具備することを
特徴とする画像データ下地判定方法。
An image data base determination method for determining an area constituting a base in an image based on a predetermined frequency distribution of the image data, the method comprising the steps of: An image data acquiring step to be acquired; a frequency distribution creating step of creating a frequency distribution by summing up gradations for each pixel of the image data acquired in the image data acquiring step; and dividing by a predetermined tone of the frequency distribution Calculating a statistic indicating the characteristics of the selected region, and determining that the image has a region constituting the base when the statistic indicates a value sufficient to form the base. An image data base determination method, characterized in that:
【請求項2】 上記請求項1に記載の画像データの下地
判定方法において、 上記度数分布作成工程は、各画素の輝度を算出するとと
もに、同輝度の階調を集計し、度数分布を作成すること
を特徴とする画像データ下地判定方法。
2. The method according to claim 1, wherein the frequency distribution creating step includes calculating a luminance of each pixel and totalizing a gradation of the same luminance to create a frequency distribution. An image data base determination method, characterized in that:
【請求項3】 上記請求項1に記載の画像データ下地判
定方法において、 上記度数分布作成工程は、各画素を要素色に色分解する
とともに、各要素色の階調を集計し、各要素色ごとの度
数分布を作成することを特徴とする画像データ下地判定
方法。
3. The image data background determination method according to claim 1, wherein in the frequency distribution creating step, each pixel is color-separated into element colors, the gradation of each element color is totaled, and each element color is calculated. An image data base determination method, wherein a frequency distribution is created for each image.
【請求項4】 上記請求項1〜請求項3のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、上記度数分布における所定の階調
にて区分された領域の相対度数を算出するとともに、同
算出した相対度数の各々または合計が所定のしきい値以
上である場合、画像に下地の構成する領域が存在すると
判定することを特徴とする画像データ下地判定方法。
4. The image data background determination method according to claim 1, wherein the background determination step includes determining a relative frequency of an area divided by a predetermined gradation in the frequency distribution. An image data base determination method, comprising: calculating, when each or the total of the calculated relative frequencies is equal to or more than a predetermined threshold value, determining that an area constituting a base exists in the image.
【請求項5】 上記請求項1〜請求項3のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、上記度数分布の所定の階調にて区
分した領域の各階調における相対度数を算出するととも
に、所定の相対度数を有する階調の合計が所定のしきい
値以上である場合、画像に下地を構成する領域が存在す
ると判定することを特徴とする画像データ下地判定方
法。
5. The image data background determination method according to claim 1, wherein the background determination step includes a step of determining a relative position of each of the regions divided by the predetermined gradation of the frequency distribution. An image data base determination method, comprising: calculating a frequency; and determining, when a total of gradations having a predetermined relative frequency is equal to or more than a predetermined threshold, an area constituting a background in the image.
【請求項6】 上記請求項1〜請求項3のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、上記度数分布の所定の階調にて区
分した領域における標準偏差を算出するとともに、同標
準偏差が所定のしきい値以下である場合、画像に下地を
構成する領域が存在すると判定することを特徴とする画
像データ下地判定方法。
6. The image data background determination method according to claim 1, wherein the background determination step calculates a standard deviation in an area divided by a predetermined gradation of the frequency distribution. An image data base determination method, wherein when the standard deviation is equal to or smaller than a predetermined threshold, it is determined that an area constituting a base exists in the image.
【請求項7】 上記請求項4〜請求項6のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、上記度数分布の所定の階調にて区
分された領域における代表値を算出するとともに、同代
表値を組み合わせて画像に下地を構成する領域が存在す
ると判定することを特徴とする画像データ下地判定方
法。
7. The image data background determination method according to any one of claims 4 to 6, wherein the background determination step includes determining a representative value in a region of the frequency distribution divided by a predetermined gradation. An image data base determination method, comprising calculating and determining that an area constituting a base exists in an image by combining the representative values.
【請求項8】 上記請求項1〜請求項7のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、度数分布の所定の階調にて区分さ
れた領域の統計値を算出するにあたり、同度数分布に対
して平滑化処理を実施することを特徴とする画像データ
下地判定方法。
8. The image data background determination method according to claim 1, wherein said background determination step calculates a statistical value of an area divided by a predetermined gradation of a frequency distribution. In doing so, a smoothing process is performed on the same frequency distribution.
【請求項9】 上記請求項1〜請求項8のいずれかに記
載の画像データ下地判定方法において、 上記下地判定工程は、画像に下地を構成する領域が存在
する場合、同下地を構成する領域に応じて各画素の画像
データを修整する修整処理を実施する画像データ修整工
程を備えることを特徴とする画像データ下地判定方法。
9. The image data background determination method according to claim 1, wherein the background determination step includes, when an image includes a region constituting the background, the region configuring the background. An image data modifying step of performing a modifying process of modifying the image data of each pixel according to the image data.
【請求項10】 上記請求項9に記載の画像データ下地
判定方法において、 上記画像データ修整工程は、画像の下地を構成する領域
がハイライト付近である場合、同ハイライト付近の各画
素の階調を最大階調にするパラメータを備えた補正曲線
を生成し、同補正曲線に基づいて画像データ取得工程に
て取得した各画素の階調を補正することを特徴とする画
像データ下地判定方法。
10. The image data background determination method according to claim 9, wherein the image data modifying step includes: when an area forming the background of the image is near a highlight, the floor of each pixel near the highlight. An image data base determination method, comprising: generating a correction curve having a parameter for setting a key to a maximum gradation, and correcting a gradation of each pixel obtained in an image data obtaining step based on the correction curve.
【請求項11】 上記請求項10に記載の画像データ下
地判定方法において、上記下地判定工程は、所定の手法
に基づいて画像に含まれるオブジェクトの有無を判定
し、オブジェクトが有る場合、上記画像データ修整工程
は、上記補正曲線のパラメータを変更することを特徴と
する画像データ下地判定方法。
11. The image data background determination method according to claim 10, wherein the background determination step determines the presence or absence of an object included in the image based on a predetermined method. In the modifying step, a parameter of the correction curve is changed.
【請求項12】 画像をドットマトリクス状の画素で多
階調表現した画像データを取得する画像データ取得手段
と、 上記画像データ取得手段にて取得した画像データの各画
素について階調を集計し、度数分布を作成する度数分布
作成手段と、 上記度数分布の所定の階調により区分された領域の特性
を表示する統計量を算出し、同統計量が下地を構成する
に十分な値を示す場合、上記画像に下地を構成する領域
が存在すると判定する下地判定手段とを具備することを
特徴とする画像データ下地判定装置。
12. An image data obtaining means for obtaining image data in which an image is expressed by a plurality of gradations of pixels in a dot matrix, and a gradation is totalized for each pixel of the image data obtained by said image data obtaining means. A frequency distribution creating means for creating a frequency distribution, and calculating a statistic indicating a characteristic of an area divided by a predetermined gradation of the frequency distribution, wherein the statistic indicates a value sufficient to constitute a base An image data background determination device, comprising: a background determination unit that determines that a region constituting a background exists in the image.
【請求項13】 画像における下地を構成する領域を画
像データの所定の度数分布に基づいて判定する画像デー
タ下地判定制御プログラムを記録した媒体であって、 画像をドットマトリクス状の画素で多階調表現した画像
データを取得する画像データ取得ステップと、 上記画像データ取得ステップにて取得した画像データの
各画素について階調を集計し、度数分布を作成する度数
分布作成ステップと、 上記度数分布の所定の階調により区分された領域の特性
を表示する統計量を算出し、同統計量が下地を構成する
に十分な値を示す場合、上記画像に下地を構成する領域
が存在すると判定する下地判定ステップとを具備するこ
とを特徴とする画像データ下地判定制御プログラムを記
録した媒体。
13. A medium in which an image data base determination control program for determining an area constituting a base in an image based on a predetermined frequency distribution of image data is recorded, wherein the image is formed by multi-gradation using dot matrix pixels. An image data acquiring step of acquiring the expressed image data; a frequency distribution creating step of creating a frequency distribution by summing up gradations for each pixel of the image data acquired in the image data acquiring step; Calculates a statistic that indicates the characteristics of the area divided by the gradation of, and if the statistic indicates a value sufficient to form the background, it is determined that there is an area constituting the background in the image. And a recording medium for storing an image data base determination control program.
JP05428599A 1999-03-02 1999-03-02 Image data background determination method, image data background determination device, and medium storing image data background determination program Expired - Fee Related JP3846524B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP05428599A JP3846524B2 (en) 1999-03-02 1999-03-02 Image data background determination method, image data background determination device, and medium storing image data background determination program
DE60042257T DE60042257D1 (en) 1999-03-02 2000-03-02 APPRAISAL DEVICE FOR BACKGROUND IMAGE DATA, ASSESSMENT PROCEDURE FOR BACKGROUND IMAGE DATA AND MEDIUM IN WHICH A CONTROL PROGRAM FOR BACKGROUND IMAGE DATA IS RECORDED
PCT/JP2000/001216 WO2000052922A1 (en) 1999-03-02 2000-03-02 Image data background judging device, image data background judging method, and medium on which image data background judging control program is recorded
AT00906615T ATE432589T1 (en) 1999-03-02 2000-03-02 ASSESSMENT DEVICE FOR BACKGROUND IMAGE DATA, ASSESSMENT METHOD FOR BACKGROUND IMAGE DATA AND MEDIUM IN WHICH A CONTROL PROGRAM FOR BACKGROUND IMAGE DATA IS RECORDED
US09/674,638 US7099041B1 (en) 1999-03-02 2000-03-02 Image data background determining apparatus image data background determining method, and medium recording thereon image data background determination control program
EP00906615A EP1085747B1 (en) 1999-03-02 2000-03-02 Image data background judging device, image data background judging method, and medium on which image data background judging control program is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05428599A JP3846524B2 (en) 1999-03-02 1999-03-02 Image data background determination method, image data background determination device, and medium storing image data background determination program

Publications (2)

Publication Number Publication Date
JP2000253250A true JP2000253250A (en) 2000-09-14
JP3846524B2 JP3846524B2 (en) 2006-11-15

Family

ID=12966304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05428599A Expired - Fee Related JP3846524B2 (en) 1999-03-02 1999-03-02 Image data background determination method, image data background determination device, and medium storing image data background determination program

Country Status (1)

Country Link
JP (1) JP3846524B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007295260A (en) * 2006-04-25 2007-11-08 Fujifilm Corp Image processing method and digital camera
JP2008124693A (en) * 2006-11-10 2008-05-29 Nec Access Technica Ltd Image processor, copier and image processing program for whiteboard
JP2009017412A (en) * 2007-07-06 2009-01-22 Fuji Xerox Co Ltd Image forming apparatus, and image processing apparatus
JP2009017411A (en) * 2007-07-06 2009-01-22 Fuji Xerox Co Ltd Image forming apparatus, and image processing apparatus
JP2010219857A (en) * 2009-03-17 2010-09-30 Seiko Epson Corp Noise component removing device, and medium having noise component removing program recorded thereon
JP2013211678A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image processing device
JP2015156539A (en) * 2014-02-19 2015-08-27 学校法人東京理科大学 Image restoration device, method, and program
JP2015171099A (en) * 2014-03-10 2015-09-28 キヤノン株式会社 Image processing apparatus and image processing method
US9712721B2 (en) 2014-12-26 2017-07-18 Brother Kogyo Kabushiki Kaisha Image processing apparatus that processes image containing background color

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007295260A (en) * 2006-04-25 2007-11-08 Fujifilm Corp Image processing method and digital camera
JP2008124693A (en) * 2006-11-10 2008-05-29 Nec Access Technica Ltd Image processor, copier and image processing program for whiteboard
JP2009017412A (en) * 2007-07-06 2009-01-22 Fuji Xerox Co Ltd Image forming apparatus, and image processing apparatus
JP2009017411A (en) * 2007-07-06 2009-01-22 Fuji Xerox Co Ltd Image forming apparatus, and image processing apparatus
JP2010219857A (en) * 2009-03-17 2010-09-30 Seiko Epson Corp Noise component removing device, and medium having noise component removing program recorded thereon
JP2013211678A (en) * 2012-03-30 2013-10-10 Brother Ind Ltd Image processing device
JP2015156539A (en) * 2014-02-19 2015-08-27 学校法人東京理科大学 Image restoration device, method, and program
JP2015171099A (en) * 2014-03-10 2015-09-28 キヤノン株式会社 Image processing apparatus and image processing method
US9736334B2 (en) 2014-03-10 2017-08-15 Canon Kabushiki Kaisha Image processing apparatus method and medium correcting value of pixel of interest in image data using determined amount of correction
US9712721B2 (en) 2014-12-26 2017-07-18 Brother Kogyo Kabushiki Kaisha Image processing apparatus that processes image containing background color

Also Published As

Publication number Publication date
JP3846524B2 (en) 2006-11-15

Similar Documents

Publication Publication Date Title
US8482804B2 (en) Image processing apparatus and image processing method
JP4683654B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6808325B2 (en) Image processing equipment, image processing methods and programs
US7099041B1 (en) Image data background determining apparatus image data background determining method, and medium recording thereon image data background determination control program
JP3846524B2 (en) Image data background determination method, image data background determination device, and medium storing image data background determination program
JP2002112022A (en) Image formation device, image formation method, and recording medium capable of reading computer recording image formation program
US20100014121A1 (en) Printing Apparatus, Printing Method, and Recording Medium
EP1079601B1 (en) Image data correcting device, image data correcting method, medium on which image data correcting program is recorded
JP7034742B2 (en) Image forming device, its method and program
JP2007088741A (en) Image processing apparatus and image processing method
JP3962890B2 (en) Image data modifying apparatus, image data modifying method, and computer readable recording medium recording image data modifying program
US10872216B2 (en) Image output device, image output method, and output image data production method
JP7182931B2 (en) PRINTING SYSTEM, PRINTING METHOD, IMAGE PROCESSING APPARATUS, AND IMAGE PROCESSING METHOD
JP2009089266A (en) Image processing device and pixel attribute identification method
JP3738810B2 (en) Image printing method and apparatus
EP2571244A2 (en) Image processing apparatus, method, image forming apparatus, and storage medium
JP2006109482A (en) Image processing method, image processing apparatus and image processing program
JP2000253251A (en) Picture data ground area setting method, device therefor and medium recording picture data ground area setting control program
JP3664371B2 (en) Image data acquisition method, image data acquisition device, and medium on which image data acquisition processing program is recorded
JP2018078464A (en) Image processing device and program
JP2000201273A (en) Medium storing image data generation program, image data generation device and image data generating method
JP2000261662A (en) Image data correction method, image data correction device and medium with image data correction control program recorded therein
JP2007129447A (en) Image processor, image processing method, program implementing image processing method, and storage medium
JP2001189848A (en) Medium storing picture data preparing program and device and method for generating picture data
JP2000312292A (en) Medium recorded with image data generation program, image data generating device and image data generating method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060331

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060815

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100901

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100901

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110901

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120901

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130901

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees