JP2001298613A - Image processor - Google Patents

Image processor

Info

Publication number
JP2001298613A
JP2001298613A JP2000115008A JP2000115008A JP2001298613A JP 2001298613 A JP2001298613 A JP 2001298613A JP 2000115008 A JP2000115008 A JP 2000115008A JP 2000115008 A JP2000115008 A JP 2000115008A JP 2001298613 A JP2001298613 A JP 2001298613A
Authority
JP
Japan
Prior art keywords
threshold
threshold value
density
value
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000115008A
Other languages
Japanese (ja)
Inventor
Hiromichi Nakayama
裕理 中山
Yasushi Adachi
靖 安達
Takuya Iwanami
琢也 岩波
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000115008A priority Critical patent/JP2001298613A/en
Publication of JP2001298613A publication Critical patent/JP2001298613A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor which stably discriminates a character area regardless of change of the variable magnification of an image or contents of density correction. SOLUTION: A color image processor 1 is comprised of an A/D conversion part 11, a shading correction part 12, an input gradation correction part 13, a color correction part 14, an ink generating under-color removal part 15, a zoom processing part 16, a space filter part 17, a halftone generation part 18, and a character edge discrimination part 20, and the character edge discrimination part 20 is comprised of a line memory 21, edge detection parts 22C, 22M, and 22Y, character discrimination parts 23C, 23M, and 23Y, and a threshold setting part 26. And the threshold setting part 26 linearly calculates threshold Thmax, Thmin, and Thdif on the basis of a prescribed reference value in accordance with change of a variable magnification Z in the zoom processing part 16.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルカラー複
写機やファクシミリなどに適用され、文字写真混在原稿
の文字領域を検出するための画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus which is applied to a digital color copying machine, a facsimile, and the like, and detects a character area of a text-photograph mixed document.

【0002】[0002]

【従来の技術】近年、OA機器のデジタル化が進展し、
またカラー画像出力の需要が増加しつつあり、デジタル
カラー複写機やカラープリンタが広く普及してきてい
る。これらの画像形成装置において、高画質化や高機能
化を実現する上で、画像処理技術は重要な位置を占めて
いる。たとえばデジタルカラー複写機において、文字写
真混在原稿に対して領域分離処理を施し、その分離結果
に基づいて文字領域にはエッジ強調を施し、写真領域に
はスムージング処理を施すことで、出力画像が向上す
る。
2. Description of the Related Art In recent years, digitalization of OA equipment has been progressing,
In addition, demand for color image output is increasing, and digital color copying machines and color printers are becoming widespread. In these image forming apparatuses, image processing technology occupies an important position in realizing higher image quality and higher functionality. For example, in a digital color copier, an area separation process is performed on a document containing text and photographs, and based on the result of the separation, the character region is edge-emphasized and the photographic region is smoothed to improve the output image. I do.

【0003】文字領域のエッジを検出する方法として、
エッジ画素周辺の特徴量を算出し、その結果を閾値処理
することによって文字領域に属するか否かを判定する方
法が知られている。この場合、閾値処理で使用する閾値
は予め設定された固定値である。
As a method of detecting the edge of a character area,
There is known a method of calculating a feature amount around an edge pixel and performing a threshold process on the result to determine whether the pixel belongs to a character area. In this case, the threshold used in the threshold processing is a preset fixed value.

【0004】[0004]

【発明が解決しようとする課題】原稿をスキャンして得
られた画像は、等倍率で画像処理部に入力されることが
多いが、ラインセンサの移動速度を変えて原稿をスキャ
ンすると副走査方向に変倍した変倍画像が得られる。こ
うした変倍画像を画像処理部に入力して、そのまま等倍
画像の閾値処理を実行すると、適切な判定結果が得られ
ない。
An image obtained by scanning a document is often input to the image processing unit at the same magnification. However, when the document is scanned while changing the moving speed of the line sensor, the image is scanned in the sub-scanning direction. To obtain a scaled image. If such a scaled image is input to the image processing unit and threshold processing of the same-size image is executed as it is, an appropriate determination result cannot be obtained.

【0005】この対策として、たとえば特開平11−5
8875号では、画像周辺の特徴量として最大濃度差を
算出し、この最大濃度差を閾値処理することによって文
字領域か否かを判定し、その際、画像の変倍率に応じて
閾値を切り替えている。閾値の切替手法として、変倍率
を50〜70%、70〜100%、等倍、100〜14
0%、140%以上、という5段階に区分して、各段階
に対応して1つの閾値を設定し、変倍率に応じた閾値を
選択している。
As a countermeasure against this, for example, Japanese Patent Application Laid-Open No. H11-5
In No. 8875, a maximum density difference is calculated as a feature amount around an image, and whether or not the area is a character area is determined by performing threshold processing on the maximum density difference. At that time, the threshold is switched according to the magnification of the image. I have. As the threshold value switching method, the scaling ratio is set to 50 to 70%, 70 to 100%, 1: 1, and 100 to 14.
It is divided into five stages of 0% and 140% or more, one threshold is set corresponding to each stage, and a threshold according to the magnification is selected.

【0006】こうした手法では、変倍率を区分した数に
応じて多数の閾値を用意しなければならず、しかも変倍
率が1%異なるだけで閾値がステップ的に変化すること
があり、文字領域の判定結果が変倍率の大小に応じて著
しく変動してしまう。
In such a method, a large number of thresholds must be prepared in accordance with the number of variable magnifications, and the thresholds may change stepwise only by a 1% difference in the magnification. The judgment result fluctuates significantly according to the magnitude of the magnification.

【0007】一方、原稿のスキャン画像は、何らかの濃
度補正を施した後、画像処理部に入力することもある。
濃度補正は、濃度補正曲線などを用いて画像濃度値を変
換して、たとえば下地とばし、露光調整、画質調整等を
行なう。こうした濃度補正を施した後の画像をそのまま
固定閾値による閾値処理を実行すると、適切な判定結果
が得られない。
On the other hand, a scanned image of a document may be input to an image processing unit after some density correction.
The density correction converts an image density value using a density correction curve or the like, and performs, for example, background removal, exposure adjustment, image quality adjustment, and the like. If threshold processing using a fixed threshold is performed on the image after such density correction as it is, an appropriate determination result cannot be obtained.

【0008】この対策として、上述の特開平11−58
875号では、最大濃度差を閾値処理する際に、画像の
等倍率や製版濃度設定に応じて閾値を切り替えている。
閾値の切替手法として、複数種類の入力濃度補正に対応
して1つの固定閾値をそれぞれ設定している。
As a countermeasure against this, Japanese Patent Laid-Open Publication No.
No. 875, when threshold processing is performed on the maximum density difference, the threshold value is switched according to the equal magnification of the image and the plate making density setting.
As a threshold switching method, one fixed threshold is set for each of a plurality of types of input density correction.

【0009】こうした手法では、濃度補正の種類数に応
じて多数の閾値を用意しなければならず、濃度補正の種
類をグループ化してグループごとに1つの閾値で代表さ
せると、濃度補正グループの境界で閾値がステップ的に
変化することがあり、文字領域の判定結果が濃度補正の
種類に応じて著しく変動してしまう。
In such a method, a large number of thresholds must be prepared in accordance with the number of types of density correction. If the types of density correction are grouped and one group is represented by one threshold, the boundary of the density correction group is determined. , The threshold value may change in a stepwise manner, and the determination result of the character area may fluctuate significantly depending on the type of density correction.

【0010】本発明の目的は、画像の変倍率が変化して
も安定した文字領域判定を実施できる画像処理装置を提
供することである。
An object of the present invention is to provide an image processing apparatus capable of performing stable character area determination even when the magnification of an image changes.

【0011】また本発明の目的は、濃度補正の内容が変
化しても安定した文字領域判定を実施できる画像処理装
置を提供することである。
It is another object of the present invention to provide an image processing apparatus capable of performing stable character area determination even when the content of density correction changes.

【0012】[0012]

【課題を解決するための手段】本発明は、原稿を走査し
て画像を読み取る読取り手段と、読み取った画像を所定
の変倍率で変倍する変倍手段と、画像の所定領域におけ
る特徴量を算出する特徴量算出手段と、変倍率に応じて
閾値を算出する閾値算出手段と、算出した特徴量と算出
した閾値とを比較して、文字エッジ部を抽出するエッジ
抽出手段とを備えることを特徴とする画像処理装置であ
る。
SUMMARY OF THE INVENTION The present invention provides a reading means for scanning a document to read an image, a scaling means for scaling the read image at a predetermined magnification, and a feature amount in a predetermined area of the image. A feature value calculating means for calculating, a threshold value calculating means for calculating a threshold value according to the scaling factor, and an edge extracting means for comparing the calculated feature value with the calculated threshold value and extracting a character edge portion. It is an image processing apparatus characterized by the following.

【0013】本発明に従えば、画像の変倍率に応じて閾
値を算出することによって、画像変倍時でも適切な文字
エッジ抽出結果が得られる。また、従来のように変倍率
の区分に応じた固定閾値を複数用意する必要がなくな
り、文字抽出処理の簡素化が図られる。
According to the present invention, an appropriate character edge extraction result can be obtained even at the time of image scaling by calculating the threshold value in accordance with the scaling ratio of the image. Further, unlike the related art, it is not necessary to prepare a plurality of fixed thresholds according to the division of the magnification ratio, and the character extraction processing is simplified.

【0014】また本発明は、前記特徴量算出手段は、所
定領域における最大濃度、最小濃度、および最大濃度差
を特徴量として算出することを特徴とする。
Further, the present invention is characterized in that the characteristic amount calculating means calculates a maximum density, a minimum density, and a maximum density difference in a predetermined area as a characteristic amount.

【0015】本発明に従えば、最大濃度差だけでなく最
大濃度および最小濃度も特徴量として考慮することによ
って、より適切な文字エッジ抽出結果が得られる。
According to the present invention, a more appropriate character edge extraction result can be obtained by considering not only the maximum density difference but also the maximum density and the minimum density as feature amounts.

【0016】また本発明は、前記閾値算出手段は、所定
基準値をもとに変倍率に応じて線形的に閾値を算出する
ことを特徴とする。
Further, the present invention is characterized in that the threshold value calculating means linearly calculates a threshold value according to a magnification based on a predetermined reference value.

【0017】本発明に従えば、画像の変倍率に応じて閾
値が連続的に変化するようになるため、変倍率の大小に
拘らず安定した文字エッジ抽出結果が得られる。従っ
て、従来のように変倍率が僅かに変化しただけで閾値が
ステップ的に変化し、文字エッジ抽出結果が著しく変動
するといった不具合を防止できる。
According to the present invention, since the threshold value changes continuously according to the magnification of the image, a stable character edge extraction result can be obtained regardless of the magnitude of the magnification. Therefore, it is possible to prevent a problem that the threshold value changes in a stepwise manner even when the magnification changes slightly as in the related art, and the character edge extraction result fluctuates significantly.

【0018】また本発明は、所定基準値は、変倍率が1
であるときの閾値であることを特徴とする。
Further, according to the present invention, the predetermined reference value is such that the scaling factor is one.
Is a threshold value when

【0019】本発明に従えば、使用頻度が高い等倍画像
に関して1つの閾値を設定し、変倍率が1以外の場合に
はこの閾値をもとに線形算出した閾値を使用すること
で、少ないデータで多様な閾値を生成できる。
According to the present invention, one threshold value is set for the same-size image that is frequently used, and when the scaling ratio is other than 1, a threshold value that is linearly calculated based on this threshold value is used to reduce the Various thresholds can be generated from the data.

【0020】また本発明は、前記閾値算出手段は、最大
濃度に関する閾値THmax、最小濃度に関する閾値THmin、
最大濃度差に関する閾値THdifを算出し、各閾値は、THd
if≧(THmax−THmin) の関係を満たすことを特徴とす
る。
Further, in the present invention, the threshold value calculating means includes a threshold value THmax for a maximum density, a threshold value THmin for a minimum density,
Calculate the threshold THdif for the maximum density difference, and set each threshold to THd
It is characterized by satisfying the relationship of if ≧ (THmax−THmin).

【0021】本発明に従えば、どのような変倍率であっ
ても最大濃度差という特徴量を有効に活かして文字エッ
ジ抽出を行なうことができる。
According to the present invention, character edge extraction can be performed by effectively utilizing the characteristic amount of the maximum density difference at any magnification.

【0022】また本発明は、前記閾値算出手段は、最大
濃度に関する閾値THmax、最小濃度に関する閾値THmin、
最大濃度差に関する閾値THdifを、変倍率に応じて変化
する線形関数によってそれぞれ算出し、閾値THdifの変
化率Cは、閾値THmaxの変化率Aおよび閾値THminの変化率
Bに基づいて決定される範囲内にあることを特徴とす
る。
Also, in the present invention, the threshold value calculating means includes a threshold value THmax for a maximum density, a threshold value THmin for a minimum density,
The threshold value THdif for the maximum density difference is calculated by a linear function that changes according to the magnification, and the change rate C of the threshold value THdif is the change rate A of the threshold value THmax and the change rate of the threshold value THmin.
It is within the range determined based on B.

【0023】本発明に従えば、変倍率が変化する範囲が
限定されている場合に、最大濃度差という特徴量を有効
に活かして文字エッジ抽出を行なうことができる。
According to the present invention, when the range in which the magnification changes is limited, character edge extraction can be performed by effectively utilizing the characteristic amount of the maximum density difference.

【0024】また本発明は、原稿を走査して画像を読み
取る読取り手段と、読み取った画像の濃度値を補正する
濃度補正手段と、画像の所定領域における特徴量を算出
する特徴量算出手段と、濃度補正に応じて閾値を算出す
る閾値算出手段と、算出した特徴量と算出した閾値とを
比較して、文字エッジ部を抽出するエッジ抽出手段とを
備えることを特徴とする画像処理装置である。
According to the present invention, there is provided a reading means for scanning a document to read an image, a density correcting means for correcting a density value of the read image, a feature calculating means for calculating a feature in a predetermined area of the image, An image processing apparatus comprising: a threshold calculating unit that calculates a threshold according to a density correction; and an edge extracting unit that compares a calculated feature amount with a calculated threshold to extract a character edge portion. .

【0025】本発明に従えば、画像の濃度補正に応じて
閾値を算出することによって、濃度補正された画像に対
して適切な文字エッジ抽出結果が得られる。また、従来
のように複数種類の濃度補正に応じた固定閾値を複数用
意する必要がなくなり、文字抽出処理の簡素化が図られ
る。
According to the present invention, by calculating the threshold value in accordance with the density correction of the image, an appropriate character edge extraction result can be obtained for the image whose density has been corrected. Further, unlike the related art, it is not necessary to prepare a plurality of fixed threshold values corresponding to a plurality of types of density correction, and the character extraction processing can be simplified.

【0026】また本発明は、前記特徴量算出手段は、所
定領域における最大濃度、最小濃度、および最大濃度差
を特徴量として算出することを特徴とする。
Further, the present invention is characterized in that the feature amount calculating means calculates a maximum density, a minimum density, and a maximum density difference in a predetermined area as a feature amount.

【0027】本発明に従えば、最大濃度差だけでなく最
大濃度および最小濃度も特徴量として考慮することによ
って、より適切な文字エッジ抽出結果が得られる。
According to the present invention, a more appropriate character edge extraction result can be obtained by considering not only the maximum density difference but also the maximum density and the minimum density as feature amounts.

【0028】また本発明は、前記閾値算出手段は、所定
基準値に濃度補正を施した値を閾値として算出すること
を特徴とする。
Further, the invention is characterized in that the threshold value calculating means calculates a value obtained by performing density correction on a predetermined reference value as a threshold value.

【0029】本発明に従えば、画像に施される濃度補正
と同等な処理を所定基準値に施すことによって閾値を算
出できるため、安定した文字エッジ抽出結果が得られ
る。従って、従来のように濃度補正の種類が僅かに変化
しただけで閾値がステップ的に変化し、文字エッジ抽出
結果が著しく変動するといった不具合を防止できる。
According to the present invention, a threshold value can be calculated by performing processing equivalent to the density correction performed on an image to a predetermined reference value, so that a stable character edge extraction result can be obtained. Therefore, it is possible to prevent a problem that the threshold value changes stepwise even if the type of the density correction slightly changes as in the related art, and the character edge extraction result fluctuates significantly.

【0030】また本発明は、所定基準値は、濃度補正が
リニアであるときの閾値であることを特徴とする。
Further, the present invention is characterized in that the predetermined reference value is a threshold value when the density correction is linear.

【0031】本発明に従えば、使用頻度が高いリニア濃
度補正に関して1つの閾値を設定し、ノンリニア濃度補
正の場合にはこの閾値をもとに算出した閾値を使用する
ことで、少ないデータで多様な閾値を生成できる。
According to the present invention, one threshold value is set for linear density correction which is frequently used, and in the case of non-linear density correction, a threshold value calculated based on this threshold value is used, so that various data can be obtained with a small amount of data. Threshold can be generated.

【0032】また本発明は、前記閾値算出手段は、最大
濃度に関する閾値THmax、最小濃度に関する閾値THmin、
最大濃度差に関する閾値THdifを算出し、各閾値は、THd
if≧(THmax−THmin) の関係を満たすことを特徴とす
る。
Also, in the present invention, the threshold value calculating means includes a threshold value THmax for a maximum density, a threshold value THmin for a minimum density,
Calculate the threshold THdif for the maximum density difference, and set each threshold to THd
It is characterized by satisfying the relationship of if ≧ (THmax−THmin).

【0033】本発明に従えば、濃度補正に対応して、最
大濃度に関する閾値THmaxおよび最小濃度に関する閾値T
Hminを変化させることができる。また、どのような濃度
補正であっても最大濃度差という特徴量を有効に活かし
て文字エッジ抽出を行なうことができる。
According to the present invention, the threshold value THmax for the maximum density and the threshold value T for the minimum density correspond to the density correction.
Hmin can be varied. In addition, character edge extraction can be performed by effectively utilizing the characteristic amount of the maximum density difference in any density correction.

【0034】[0034]

【発明の実施の形態】図1は、本発明の実施の一形態を
示すブロック図である。カラー画像処理装置1は、A/
D(アナログデジタル)変換部11と、シェーディング
補正部12と、入力階調補正部13と、色補正部14
と、墨生成下色除去部15と、ズーム処理部16と、空
間フィルタ部17と、中間調生成部18と、文字エッジ
判定部20等で構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention. The color image processing apparatus 1 has an A /
D (analog-digital) conversion unit 11, shading correction unit 12, input gradation correction unit 13, color correction unit
And a black generation and under color removal unit 15, a zoom processing unit 16, a spatial filter unit 17, a halftone generation unit 18, a character edge determination unit 20, and the like.

【0035】カラー画像処理装置1の前段にはカラー画
像入力装置2が接続され、後段にはカラー画像出力装置
3が接続され、全体としてデジタルカラー複写機等が構
成可能である。
A color image input device 2 is connected to a stage preceding the color image processing device 1, and a color image output device 3 is connected to a stage subsequent thereto, so that a digital color copying machine or the like can be constituted as a whole.

【0036】カラー画像入力装置2は、たとえばカラー
CCD(Charge Coupled Device) ラインセンサを搭載し
たスキャナで構成され、原稿から反射してきた光をRG
B(R:赤、G:緑、B:青)に色分解されたアナログ
信号に変換する。
The color image input device 2 is composed of, for example, a scanner equipped with a color CCD (Charge Coupled Device) line sensor, and converts the light reflected from the original into RG.
The signal is converted into an analog signal that has been color-separated into B (R: red, G: green, B: blue).

【0037】A/D変換部11は、カラー画像入力装置
2から入力されるアナログ信号をRGBのデジタル信号
に変換する。シェーディング補正部12は、カラー画像
入力装置2の照明系、結像系、撮像系等で生ずる各種の
歪みを除去する。
The A / D converter 11 converts an analog signal input from the color image input device 2 into an RGB digital signal. The shading correction unit 12 removes various types of distortion generated in the illumination system, the imaging system, the imaging system, and the like of the color image input device 2.

【0038】入力階調補正部13は、RGB信号を画像
処理に適した濃度信号に変換し、さらに色別の階調変換
により濃度補正処理を施し、CMY(C:シアン、M:
マゼンタ、Y:イエロー)信号を出力する。濃度補正処
理では、補正前後の濃度値の関係を示すガンマ曲線また
はガンマテーブルを使用する。ガンマ曲線またはガンマ
テーブルは予め複数設定されており、所望の濃度補正処
理が選択されたときに、その処理に応じたガンマ曲線ま
たはガンマテーブルが選択される。
The input tone correction section 13 converts the RGB signals into density signals suitable for image processing, further performs density correction processing by tone conversion for each color, and outputs CMY (C: cyan, M:
Magenta, Y: yellow) signals. In the density correction processing, a gamma curve or a gamma table indicating the relationship between the density values before and after the correction is used. A plurality of gamma curves or gamma tables are set in advance, and when a desired density correction process is selected, a gamma curve or a gamma table according to the process is selected.

【0039】色補正部14は、カラー画像出力装置3で
使用するCMY色材の分光特性が不要吸収成分を有する
場合、色濁りを除去して、CMY信号の色再現性を高め
る処理を施す。墨生成下色除去部15は、色補正後のC
MY信号からK(黒)信号を生成するとともに、元のC
MY信号からK信号を差し引いて、新たなCMY信号を
生成する。
When the spectral characteristics of the CMY color materials used in the color image output device 3 have unnecessary absorption components, the color correction unit 14 performs processing for removing color turbidity and improving the color reproducibility of the CMY signals. The black generation and under color removal unit 15 calculates the C
A K (black) signal is generated from the MY signal and the original C
A new CMY signal is generated by subtracting the K signal from the MY signal.

【0040】文字エッジ判定部20は、色補正後の画像
に含まれる文字エッジ部を抽出して、文字エッジ領域お
よびその他の領域に区分し、文字エッジ判定信号として
後段の空間フィルタ部17へ出力する。
The character edge judging section 20 extracts a character edge portion included in the color-corrected image, divides it into a character edge area and other areas, and outputs it as a character edge judging signal to the subsequent spatial filter section 17. I do.

【0041】ズーム処理部16は、主走査方向がM画
素、副走査方向がN画素の入力画像を所定の変倍率Zで
変倍して、MZ画素とNZ画素の画像を生成する。原稿
をスキャンする際にラインセンサの移動速度を変えてス
キャンすることにより副走査方向を変倍する構造の場合
は、ズーム処理部は主走査方向を変倍率Zで変倍した画
像を生成する。
The zoom processing section 16 scales an input image having M pixels in the main scanning direction and N pixels in the sub-scanning direction at a predetermined scaling factor Z to generate an image of MZ pixels and NZ pixels. In the case where the original is scanned, the zoom processing unit changes the speed in the sub-scanning direction by scanning while changing the moving speed of the line sensor.

【0042】空間フィルタ部17は、原稿に文字と写真
とが混在している場合に文字の再現性を高めるため、文
字エッジ判定部20からの文字エッジ判定信号に基づい
て、文字エッジ領域にエッジ強調処理を施し、その他の
領域にスムージング処理を施す。
The spatial filter unit 17 determines whether or not the character edge region is to be detected based on the character edge determination signal from the character edge determination unit 20 in order to enhance the reproducibility of the character when the document includes both characters and photographs. Enhancement processing is performed, and smoothing processing is performed on other areas.

【0043】中間調生成部18は、CMYK信号別に階
調再現処理を施す。カラー画像出力装置3は、電子写真
プロセスやインクジェット等のカラープリンタで構成さ
れ、中間調生成部18からのCMYK信号に基づいて用
紙にカラー記録を行なう。
The halftone generator 18 performs a tone reproduction process for each CMYK signal. The color image output device 3 is configured by a color printer such as an electrophotographic process or an ink jet, and performs color recording on paper based on a CMYK signal from the halftone generation unit 18.

【0044】図2は、文字エッジ判定部20の構成を示
すブロック図である。文字エッジ判定部20は、ライン
メモリ21と、エッジ検出部22C,22M,22Y
と、文字判定部23C,23M,23Yと、AND回路
24C,24M,24Yと、OR回路25と、閾値設定
部26などで構成される。
FIG. 2 is a block diagram showing the structure of the character edge judgment section 20. The character edge determination unit 20 includes a line memory 21 and edge detection units 22C, 22M, and 22Y.
And character determination units 23C, 23M, and 23Y, AND circuits 24C, 24M, and 24Y, an OR circuit 25, and a threshold setting unit 26.

【0045】ラインメモリ21は、入力階調補正部13
からのCMY信号を複数ライン分ずつ格納して、図3に
示すように、注目画素を中心とする7×7画素マスクを
形成し、エッジ検出部22C,22M,22Yおよび文
字判定部23C,23M,23Yに供給する。ここでは
7×7画素マスクを使用する例を説明するが、本願発明
は7×7以外のマスクであっても適用できる。
The line memory 21 stores the input tone correction unit 13
3 are stored for each of a plurality of lines, and as shown in FIG. 3, a 7 × 7 pixel mask centering on the target pixel is formed, and the edge detecting units 22C, 22M, 22Y and the character determining units 23C, 23M are formed. , 23Y. Here, an example in which a 7 × 7 pixel mask is used will be described, but the present invention can be applied to a mask other than 7 × 7.

【0046】エッジ検出部22C,22M,22Yは、
注目画素が画像のエッジであるか否かを色別に判定し、
エッジであればエッジ検出信号EDGEを出力する。
The edge detectors 22C, 22M, 22Y
Determine whether the target pixel is an edge of the image by color,
If it is an edge, an edge detection signal EDGE is output.

【0047】文字判定部23C,23M,23Yは、マ
スク内の49画素について最大濃度、最小濃度および最
大濃度差を特徴量として色別に算出し、これらの特徴量
と閾値設定部26から供給される最大濃度に関する閾値
THmax、最小濃度に関する閾値THmin、最大濃度差に関す
る閾値THdifとをそれぞれ比較して、注目画素が文字領
域であるか否かを判定し、文字領域であれば文字判定信
号TEXTを出力する。
The character determination units 23C, 23M, and 23Y calculate the maximum density, the minimum density, and the maximum density difference for each of the 49 pixels in the mask as feature amounts, and supply these feature amounts and the threshold value setting unit 26. Threshold for maximum concentration
The threshold value THmax for the minimum density, the threshold value THdif for the maximum density difference, and the threshold value THdif for the maximum density difference are compared to determine whether the pixel of interest is a character area. If the pixel of interest is a character area, a character determination signal TEXT is output.

【0048】AND回路24C,24M,24Yは、エ
ッジ検出信号EDGEと文字判定信号TEXTとの論理積を色別
に演算し、判定信号TEDGEをそれぞれ出力する。OR回
路25は、AND回路24C,24M,24Yが出力す
る色別の判定信号TEDGEの論理和を演算し、最終的な文
字エッジ判定信号を空間フィルタ部17へ出力する。
The AND circuits 24C, 24M, and 24Y calculate the logical product of the edge detection signal EDGE and the character determination signal TEXT for each color, and output the determination signal TEDGE. The OR circuit 25 calculates the logical sum of the color-based determination signals TEDGE output from the AND circuits 24C, 24M, and 24Y, and outputs a final character edge determination signal to the spatial filter unit 17.

【0049】閾値設定部26は、所定基準値をもとにズ
ーム処理部16での変倍率Zの変化に応じて、閾値THma
x、THmin、THdifを線形的に算出する。
The threshold value setting unit 26 sets a threshold value THma according to a change in the magnification ratio Z in the zoom processing unit 16 based on a predetermined reference value.
x, THmin, THdif are calculated linearly.

【0050】以下、エッジ検出部22C,22M,22
Y、文字判定部23C,23M,23Yおよび閾値設定
部26の処理について詳細に説明する。
The edge detectors 22C, 22M, 22
The processing of Y, character determination units 23C, 23M, 23Y and threshold value setting unit 26 will be described in detail.

【0051】図4は、エッジ検出部22C,22M,2
2Yの構成を示すブロック図である。ラインメモリ21
から読み出された7×7画素マスクのうち、図5に示す
ように、注目画素を中心とする3×3画素マスクを抽出
して、主走査ゾーベルフィルタ部31mと副走査ゾーベ
ルフィルタ部31sに入力する。
FIG. 4 shows the edge detectors 22C, 22M, 2
It is a block diagram which shows the structure of 2Y. Line memory 21
As shown in FIG. 5, a 3 × 3 pixel mask centering on the pixel of interest is extracted from the 7 × 7 pixel mask read out from the main scanning sobel filter unit 31m and the sub-scanning sobel filter unit. 31s.

【0052】主走査ゾーベルフィルタ部31mは、抽出
した3×3画素マスクに対して、たとえば図6に示すよ
うな3×3の主走査ゾーベルフィルタを用いた畳込み演
算を行なう。副走査ゾーベルフィルタ部31sも同様
に、抽出した3×3画素マスクに対して、たとえば図7
に示すような3×3の副走査ゾーベルフィルタを用いた
畳込み演算を行なう。
The main scanning sobel filter section 31m performs a convolution operation on the extracted 3 × 3 pixel mask using, for example, a 3 × 3 main scanning sobel filter as shown in FIG. Similarly, the sub-scanning Sobel filter unit 31s applies the extracted 3 × 3 pixel mask to, for example, FIG.
A convolution operation using a 3 × 3 sub-scanning Sobel filter as shown in FIG.

【0053】注目画素に関する畳込み演算の結果は、絶
対値算出部32m,32sによってそれぞれ絶対値とな
り、さらに加算器33によって加算される。ここで、絶
対値をとる理由は、各ゾーベルフィルタに負の係数が存
在するためであり、加算するのは主走査方向と副走査方
向の双方の結果を考慮するためである。
The results of the convolution operation on the target pixel become absolute values by the absolute value calculation units 32m and 32s, respectively, and are further added by the adder 33. Here, the reason for taking the absolute value is that a negative coefficient exists in each Sobel filter, and the reason for adding the values is to consider the results in both the main scanning direction and the sub-scanning direction.

【0054】加算結果は、比較器34によって所定の閾
値edgeTHと比較され、加算結果が閾値edgeTH以上であれ
ばエッジ検出信号EDGEを「1」とし、それ以外はエッジ
検出信号EDGEを「0」とする。
The addition result is compared with a predetermined threshold value edgeTH by the comparator 34. If the addition result is equal to or more than the threshold value edgeTH, the edge detection signal EDGE is set to "1", otherwise, the edge detection signal EDGE is set to "0". I do.

【0055】図8は、文字判定部23C,23M,23
Yの構成を示すブロック図である。文字判定部23C,
23M,23Yは、特徴量算出部40と判定回路44な
どで構成される。文字領域は、一般に、低濃度の下地に
高濃度の文字が存在する場合と、逆に高濃度の下地に低
濃度の文字が存在する場合とがあり、最大濃度はある程
度高く、最小濃度はある程度低いという特徴を持つ。さ
らに文字領域は、文字と下地のコントラストが高いた
め、最大濃度差が高いという特徴を持つ。そこで、注目
画素周辺の最大濃度、最小濃度および最大濃度差を特徴
量として算出し、閾値処理を施すことによって注目画素
が文字領域に属するか否かを判定できる。
FIG. 8 shows the character determination units 23C, 23M, 23
FIG. 3 is a block diagram showing a configuration of Y. Character determination unit 23C,
Each of 23M and 23Y includes a feature amount calculation unit 40 and a determination circuit 44. In general, the character area includes a case where a high density character exists on a low density background and a case where a low density character exists on a high density background. It has the characteristic of being low. Further, the character region has a feature that the maximum density difference is high because the contrast between the character and the background is high. Therefore, the maximum density, the minimum density, and the maximum density difference around the pixel of interest are calculated as feature amounts, and threshold processing is performed to determine whether the pixel of interest belongs to the character area.

【0056】特徴量算出部40において、ラインメモリ
21から読み出された7×7画素マスクに関して最大値
検出部41は最大濃度を検出し、最小値検出部42は最
小濃度を検出し、差分器43は最大濃度から最小濃度を
引算して最大濃度差を算出する。
In the feature value calculating section 40, the maximum value detecting section 41 detects the maximum density, the minimum value detecting section 42 detects the minimum density, and the differentiator for the 7 × 7 pixel mask read from the line memory 21. 43 calculates the maximum density difference by subtracting the minimum density from the maximum density.

【0057】次の判定回路44において、比較器45は
最大濃度と閾値THmaxとを比較して最大濃度が閾値THmax
より大きいとき「1」を出力し、比較器46は最小濃度
と閾値THminとを比較して最小濃度が閾値THminより小さ
いとき「1」を出力し、比較器47は最大濃度差と閾値
THdifとを比較して最大濃度差が閾値THdifより大きいと
き「1」を出力し、これらの出力はAND回路48によ
って論理積がとられ、全ての特徴量について「1」が成
立すると文字判定信号TEXTは「1」となる。
In the next judgment circuit 44, the comparator 45 compares the maximum density with the threshold value THmax and determines that the maximum density is equal to the threshold value THmax.
When the minimum density is smaller than the threshold value THmin, the comparator 46 outputs “1” when the minimum density is smaller than the threshold value THmin, and the comparator 47 outputs “1” when the minimum density is smaller than the threshold value THmin.
Compared with THdif, if the maximum density difference is greater than the threshold value THdif, "1" is output. These outputs are ANDed by the AND circuit 48, and when "1" is satisfied for all the feature amounts, a character determination signal is output. TEXT is "1".

【0058】図9は、閾値設定部26の構成を示すブロ
ック図である。ズーム処理部16で使用する変倍率Zが
減算器51a〜51cにそれぞれ入力され、変倍率1と
の差分が計算される。各差分結果は乗算器52a〜52
cにそれぞれ入力され、所定の変化率A,B,Cを乗ずる線
形演算を行なう。各乗算結果は加算器53a〜53cに
それぞれ入力され、所定の基準値Max,Min,Difが加算さ
れ、最終的に、変倍率Zに応じて変化する線形関数とし
て最大濃度に関する閾値THmax(Z)、最小濃度に関する閾
値THmin(Z)、最大濃度差に関する閾値THdif(Z)が算出さ
れる。ここで、各閾値の演算式は次式(1)〜(3)と
して表現できる。 THmax(Z) = Max+A・( Z−1 ) …(1) THmin(Z) = Min+B・( Z−1 ) …(2) THdif(Z) = Dif+C・( Z−1 ) …(3)
FIG. 9 is a block diagram showing the configuration of the threshold value setting section 26. The scaling factor Z used in the zoom processing unit 16 is input to each of the subtractors 51a to 51c, and the difference from the scaling factor 1 is calculated. Each difference result is calculated by multipliers 52a to 52
c, and performs a linear operation by multiplying by a predetermined rate of change A, B, C. Each multiplication result is input to each of the adders 53a to 53c, and predetermined reference values Max, Min, and Dif are added, and finally, a threshold value THmax (Z) regarding the maximum density as a linear function that changes according to the scaling factor Z , A threshold THmin (Z) for the minimum density and a threshold THdif (Z) for the maximum density difference. Here, the arithmetic expression of each threshold value can be expressed as the following expressions (1) to (3). THmax (Z) = Max + A · (Z-1) ... (1) THmin (Z) = Min + B · (Z-1) ... (2) THdif (Z) = Dif + C · (Z-1) ... (3)

【0059】ここで、変倍率Zは入力画像の変倍率であ
り、等倍(100%)のとき1となる。また、変化率A,B,Cは
等しい値であっても異なる値でもよく、各閾値THmax
(Z)、THmin(Z)、THdif(Z)を変倍率Zに応じて同じよう
に変化させたい場合は等しい値とし、変倍率Zに応じて
異なる特性を付与したい場合は異なる値とする。さら
に、縮小時(Z<1)に閾値を小さくし、拡大時(Z>
1)に閾値を大きいした場合は、正の変化率とし、逆に
縮小時に閾値を大きくし、拡大時に閾値を小さくした場
合は、負の変化率とする。
Here, the scaling factor Z is a scaling factor of the input image, and becomes 1 when the magnification is 100%. Further, the change rates A, B, and C may be equal values or different values, and each threshold value THmax
When (Z), THmin (Z), and THdif (Z) are to be changed in the same manner according to the scaling factor Z, they are set to the same value, and when it is desired to provide different characteristics according to the scaling factor Z, they are set to different values. Further, the threshold value is reduced at the time of reduction (Z <1) and at the time of enlargement (Z>
If the threshold is increased in 1), the rate of change is a positive rate. Conversely, if the threshold is increased during reduction and the threshold is reduced during enlargement, the rate of change is negative.

【0060】さらに、各閾値は次式(4)の関係を満た
すことによって、どのような変倍率であっても最大濃度
差という特徴量を有効に活かして文字エッジ抽出を行な
うことができる。 THdif ≧ (THmax−THmin) …(4)
Further, if each threshold value satisfies the relationship of the following equation (4), character edge extraction can be carried out by effectively utilizing the feature amount of the maximum density difference at any magnification. THdif ≧ (THmax−THmin)… (4)

【0061】図10は、各閾値と変倍率Zとの関係を示
すグラフである。変倍率ZがZp≦Z≦Zq(Zp<
1、Zq>1)の範囲で変化する場合、式(4)の関係
が常に成立する条件を調べる。まず、変倍率Zp、Zq
において式(4)が成立すると、次式(5)(6)が得
られる。 THdif(Zp) ≧ (THmax(Zp)−THmin(Zp)) …(5) THdif(Zq) ≧ (THmax(Zq)−THmin(Zq)) …(6)
FIG. 10 is a graph showing the relationship between each threshold value and the scaling factor Z. When the magnification Z is Zp ≦ Z ≦ Zq (Zp <
1, when Zq> 1), the condition for always satisfying the relationship of equation (4) is examined. First, the scaling factors Zp and Zq
If the expression (4) is satisfied in the above, the following expressions (5) and (6) are obtained. THdif (Zp) ≧ (THmax (Zp) −THmin (Zp))… (5) THdif (Zq) ≧ (THmax (Zq) −THmin (Zq))… (6)

【0062】次に式(1)〜(3)を式(5)(6)に
代入すると、次式(7)(8)が得られる。 (Dif−C・|Zp−1|)≧(Max−A・|Zp−1|)−(Min−B・|Zp−1|) C ≦ A−B−(Max−Min−Dif)/|Zp−1| …(7) (Dif+C・|Zp−1|)≧(Max+A・|Zp−1|)−(Min+B・|Zp-1|) C≦A−B+(Max−Min−Dif)/|Zp−1| …(8)
Next, when the equations (1) to (3) are substituted into the equations (5) and (6), the following equations (7) and (8) are obtained. (Dif−C · | Zp−1 |) ≧ (Max−A · | Zp−1 |) − (Min−B · | Zp−1 |) C ≦ A−B− (Max−Min−Dif) / | Zp−1 |… (7) (Dif + C · | Zp−1 |) ≧ (Max + A · | Zp−1 |) − (Min + B · | Zp−1 |) C ≦ A−B + (Max−Min−Dif) / | Zp−1 |… (8)

【0063】したがって、式(7)(8)の関係が常に
成立するように、閾値THmaxの変化率Aおよび閾値THmin
の変化率Bに基づいて決定される範囲内に閾値THdifの変
化率Cを選択することが好ましく、変倍率Zが変化して
も閾値THdifが有効に使用でき、最大濃度差という特徴
量を有効に活かした文字エッジ抽出が可能になる。
Therefore, the rate of change A of the threshold THmax and the threshold THmin are set so that the relations of the equations (7) and (8) always hold.
It is preferable to select the change rate C of the threshold value THdif within a range determined based on the change rate B of the threshold value. Even if the scaling factor Z changes, the threshold value THdif can be used effectively, and the feature amount of the maximum density difference is effective. The character edge extraction utilized in the method can be performed.

【0064】このように閾値設定部26がズーム処理部
16での変倍率Zに応じて閾値THmax、THmin、THdifを
変化させることによって、適切な閾値処理が実現する。
As described above, the threshold value setting unit 26 changes the threshold values THmax, THmin, and THdif in accordance with the scaling factor Z in the zoom processing unit 16, thereby realizing appropriate threshold processing.

【0065】次に、閾値設定部26が入力階調補正部1
3での濃度補正処理に応じて閾値THmax、THmin、THdif
を変化させる例を説明する。
Next, the threshold setting unit 26 sets the input tone correction unit 1
Threshold values THmax, THmin, THdif in accordance with the density correction processing in step 3.
An example in which is changed will be described.

【0066】図11は、本発明の第2実施形態における
閾値設定部26の構成を示すブロック図である。本実施
形態は、図1のカラー画像処理装置1、図2の文字エッ
ジ判定部20、図4のエッジ検出部22C,22M,2
2Y、図8の文字判定部23C,23M,23Yと同様
な構成であるため、重複説明を省く。
FIG. 11 is a block diagram showing a configuration of the threshold value setting unit 26 according to the second embodiment of the present invention. In the present embodiment, the color image processing apparatus 1 of FIG. 1, the character edge determination unit 20 of FIG. 2, and the edge detection units 22C, 22M, and 2 of FIG.
2Y, the configuration is the same as that of the character determination units 23C, 23M, and 23Y in FIG.

【0067】閾値設定部26は、入力階調補正部13の
濃度補正関数γを用いた関数処理部61を備え、濃度補
正関数γはガンマ曲線またはガンマテーブルなどで構成
される。関数処理部61は、所定の基準閾値Max,Minが
入力されると、γ(Max),γ(Min)に変換して、最大濃度
に関する閾値THmaxおよび最小濃度に関する閾値THminと
してそれぞれ出力する。
The threshold value setting section 26 includes a function processing section 61 using the density correction function γ of the input tone correction section 13, and the density correction function γ is constituted by a gamma curve or a gamma table. When the predetermined reference thresholds Max and Min are input, the function processing unit 61 converts them into γ (Max) and γ (Min), and outputs them as a threshold THmax for the maximum density and a threshold THmin for the minimum density, respectively.

【0068】差分器62はγ(Max),γ(Min)の差分を演
算し、差分器63はMax,Minの差分を演算し、除算器6
4は差分器62の差分結果を差分器63の差分結果で除
算して、さらに乗算器65は所定の基準閾値Difを乗じ
て、最大濃度差に関する閾値THdifとして出力する。こ
こで、各閾値の演算式は次式(11)〜(13)として
表現できる。 THmax = γ(Max) …(11) THmin = γ(Min) …(12) THdif = Dif・{(γ(Max)−γ(Min))/(Max−Min)} …(13)
A differentiator 62 calculates a difference between γ (Max) and γ (Min), a differentiator 63 calculates a difference between Max and Min, and
Reference numeral 4 divides the difference result of the differentiator 62 by the difference result of the differentiator 63, and the multiplier 65 multiplies the result by a predetermined reference threshold value Dif and outputs the result as a threshold value THdif relating to the maximum density difference. Here, the arithmetic expression of each threshold can be expressed as the following expressions (11) to (13). THmax = γ (Max)… (11) THmin = γ (Min)… (12) THdif = Dif {((γ (Max) −γ (Min)) / (Max−Min)}… (13)

【0069】ここで、基準閾値Max,Min,Difは、濃度補
正が無い場合、すなわち濃度補正関数γがリニアである
場合を対象して予め設定した閾値である。
Here, the reference thresholds Max, Min, and Dif are thresholds set in advance when there is no density correction, that is, when the density correction function γ is linear.

【0070】図12は、濃度補正関数γの一例を示すグ
ラフである。破線グラフは濃度補正が無いリニア特性を
示し、実線グラフは濃度補正用のノンリニア特性を示
す。たとえば、補正前の濃度値がxのとき、補正後の濃
度値はγ(x)となる。
FIG. 12 is a graph showing an example of the density correction function γ. The broken line graph shows the linear characteristic without density correction, and the solid line graph shows the non-linear characteristic for density correction. For example, when the density value before correction is x, the density value after correction is γ (x).

【0071】図13は、閾値THmax、THmin、THdifの算
出方法を示すグラフである。図12に示した濃度補正関
数γにおいて、基準閾値Max,Minが入力されると式(1
1)(12)に従って、閾値THmax、THminを出力する。
また、式(13)に従って、γ(Max),γ(Min)の差分とM
ax,Minの差分との比を基準閾値Difに乗算することで、
閾値THdifを出力する。
FIG. 13 is a graph showing a method of calculating the threshold values THmax, THmin, and THdif. In the density correction function γ shown in FIG.
1) Output threshold values THmax and THmin according to (12).
Also, according to equation (13), the difference between γ (Max) and γ (Min) and M
ax, by multiplying the ratio with the difference of Min to the reference threshold Dif,
Output the threshold value THdif.

【0072】このとき各閾値は次式(14)(15)の
関係を満たすことによって、どのような濃度補正であっ
ても最大濃度差という特徴量を有効に活かして文字エッ
ジ抽出を行なうことができる。 THmax ≧ THmin …(14) THdif ≧ (THmax−THmin) …(15)
At this time, the threshold values satisfy the following equations (14) and (15), so that character edge extraction can be performed effectively utilizing the characteristic amount of the maximum density difference regardless of the density correction. it can. THmax ≧ THmin… (14) THdif ≧ (THmax−THmin)… (15)

【0073】以上の各実施形態において、変倍率Zに応
じて閾値THmax、THmin、THdifを変化させる手法と、濃
度補正関数γに応じて閾値THmax、THmin、THdifを変化
させる手法について説明したが、変倍率Zおよび濃度補
正関数γの両方に応じて閾値THmax、THmin、THdifを変
化させる手法も可能である。
In each of the above embodiments, the method of changing the threshold values THmax, THmin, and THdif according to the scaling factor Z and the method of changing the threshold values THmax, THmin, and THdif according to the density correction function γ have been described. A method of changing the threshold values THmax, THmin, and THdif according to both the scaling factor Z and the density correction function γ is also possible.

【0074】[0074]

【発明の効果】以上詳説したように本発明によれば、画
像の変倍率に応じて閾値を算出することによって、画像
変倍時でも適切な文字エッジ抽出結果が得られる。ま
た、従来のように変倍率の区分に応じた固定閾値を複数
用意する必要がなくなり、文字抽出処理の簡素化が図ら
れる。
As described above in detail, according to the present invention, an appropriate character edge extraction result can be obtained even at the time of image scaling by calculating the threshold value according to the image scaling ratio. Further, unlike the related art, it is not necessary to prepare a plurality of fixed thresholds according to the division of the magnification ratio, and the character extraction processing is simplified.

【0075】また、画像の濃度補正に応じて閾値を算出
することによって、濃度補正された画像に対して適切な
文字エッジ抽出結果が得られる。また、従来のように複
数種類の濃度補正に応じた固定閾値を複数用意する必要
がなくなり、文字抽出処理の簡素化が図られる。
Further, by calculating the threshold value in accordance with the density correction of the image, an appropriate character edge extraction result can be obtained for the image whose density has been corrected. Further, unlike the related art, it is not necessary to prepare a plurality of fixed threshold values corresponding to a plurality of types of density correction, and the character extraction processing can be simplified.

【0076】また、最大濃度差だけでなく最大濃度およ
び最小濃度も特徴量として考慮することによって、より
適切な文字エッジ抽出結果が得られる。
Further, by considering not only the maximum density difference but also the maximum density and the minimum density as the feature amount, a more appropriate character edge extraction result can be obtained.

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

【図1】本発明の実施の一形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】文字エッジ判定部20の構成を示すブロック図
である。
FIG. 2 is a block diagram illustrating a configuration of a character edge determination unit 20.

【図3】注目画素を中心とする7×7画素マスクの例を
示す説明図である。
FIG. 3 is an explanatory diagram showing an example of a 7 × 7 pixel mask centering on a target pixel.

【図4】エッジ検出部22C,22M,22Yの構成を
示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of edge detection units 22C, 22M, and 22Y.

【図5】注目画素を中心とする3×3画素マスクの例を
示す説明図である。
FIG. 5 is an explanatory diagram showing an example of a 3 × 3 pixel mask centered on a target pixel.

【図6】3×3の主走査ゾーベルフィルタの例を示す説
明図である。
FIG. 6 is an explanatory diagram showing an example of a 3 × 3 main scanning Sobel filter.

【図7】3×3の副走査ゾーベルフィルタの例を示す説
明図である。
FIG. 7 is an explanatory diagram illustrating an example of a 3 × 3 sub-scanning sobel filter.

【図8】文字判定部23C,23M,23Yの構成を示
すブロック図である。
FIG. 8 is a block diagram illustrating a configuration of character determination units 23C, 23M, and 23Y.

【図9】閾値設定部26の構成を示すブロック図であ
る。
FIG. 9 is a block diagram showing a configuration of a threshold setting unit 26.

【図10】各閾値と変倍率Zとの関係を示すグラフであ
る。
FIG. 10 is a graph showing a relationship between each threshold value and a scaling factor Z.

【図11】本発明の第2実施形態における閾値設定部2
6の構成を示すブロック図である。
FIG. 11 shows a threshold setting unit 2 according to the second embodiment of the present invention.
6 is a block diagram showing a configuration of FIG.

【図12】濃度補正関数γの一例を示すグラフである。FIG. 12 is a graph showing an example of a density correction function γ.

【図13】閾値THmax、THmin、THdifの算出方法を示す
グラフである。
FIG. 13 is a graph showing a method of calculating threshold values THmax, THmin, and THdif.

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

1 カラー画像処理装置 11 A/D変換部 12 シェーディング補正部 13 入力階調補正部 14 色補正部 15 墨生成下色除去部 16 ズーム処理部 17 空間フィルタ部 18 中間調生成部 20 文字エッジ判定部 21 ラインメモリ 22C,22M,22Y エッジ検出部 23C,23M,23Y 文字判定部 26 閾値設定部 DESCRIPTION OF SYMBOLS 1 Color image processing apparatus 11 A / D conversion part 12 Shading correction part 13 Input gradation correction part 14 Color correction part 15 Black generation and under color removal part 16 Zoom processing part 17 Spatial filter part 18 Halftone generation part 20 Character edge judgment part 21 line memory 22C, 22M, 22Y edge detecting unit 23C, 23M, 23Y character determining unit 26 threshold setting unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06T 7/60 250 B41J 3/00 M 5L096 H04N 1/393 A (72)発明者 岩波 琢也 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 2C262 AA26 AA27 AB07 AB11 AB13 BB03 BB41 BC03 BC07 BC09 BC11 DA03 DA13 DA15 EA07 2C362 CA18 CA24 CB24 CB25 CB29 CB30 CB34 CB37 CB62 5B057 AA11 BA24 BA30 CA01 CA08 CB01 CB08 CC02 CD05 CE03 CE11 CE16 CH11 DA08 DB06 DC16 5C076 AA21 AA22 AA27 BA06 CA10 CB01 5C077 MM16 MP05 MP06 MP08 PP03 PP15 PP20 PP27 PP33 PP47 PP68 PQ12 PQ20 5L096 AA02 AA06 BA17 CA14 EA03 FA06 FA14 FA44 GA51 LA04──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06T 7/60 250 B41J 3/00 M 5L096 H04N 1/393 A (72) Inventor Takuya Iwanami Osaka-shi, Osaka 22-22 Nagaikecho, Abeno-ku F-term in Sharp Corporation (reference) 2C262 AA26 AA27 AB07 AB11 AB13 BB03 BB41 BC03 BC07 BC09 BC11 DA03 DA13 DA15 EA07 2C362 CA18 CA24 CB24 CB25 CB29 CB30 CB34 CB37 CB62 5B030 A01 CB08 CC02 CD05 CE03 CE11 CE16 CH11 DA08 DB06 DC16 5C076 AA21 AA22 AA27 BA06 CA10 CB01 5C077 MM16 MP05 MP06 MP08 PP03 PP15 PP20 PP27 PP33 PP47 PP68 PQ12 PQ20 5L096 AA02 AA06 BA17 CA14 EA03 FA06 FA14 FA51 GA51

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 原稿を走査して画像を読み取る読取り手
段と、 読み取った画像を所定の変倍率で変倍する変倍手段と、 画像の所定領域における特徴量を算出する特徴量算出手
段と、 変倍率に応じて閾値を算出する閾値算出手段と、 算出した特徴量と算出した閾値とを比較して、文字エッ
ジ部を抽出するエッジ抽出手段とを備えることを特徴と
する画像処理装置。
A scanning unit that scans a document to read an image; a scaling unit that scales the read image at a predetermined scaling factor; a feature amount calculation unit that calculates a feature amount in a predetermined area of the image; An image processing apparatus comprising: a threshold calculating unit that calculates a threshold according to a scaling factor; and an edge extracting unit that compares a calculated feature amount with the calculated threshold to extract a character edge portion.
【請求項2】 前記特徴量算出手段は、所定領域におけ
る最大濃度、最小濃度、および最大濃度差を特徴量とし
て算出することを特徴とする請求項1記載の画像処理装
置。
2. The image processing apparatus according to claim 1, wherein said characteristic amount calculating means calculates a maximum density, a minimum density, and a maximum density difference in a predetermined area as a characteristic amount.
【請求項3】 前記閾値算出手段は、所定基準値をもと
に変倍率に応じて線形的に閾値を算出することを特徴と
する請求項1記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein said threshold value calculating means linearly calculates a threshold value according to a magnification based on a predetermined reference value.
【請求項4】 所定基準値は、変倍率が1であるときの
閾値であることを特徴とする請求項3記載の画像処理装
置。
4. The image processing apparatus according to claim 3, wherein the predetermined reference value is a threshold value when the magnification is 1.
【請求項5】 前記閾値算出手段は、最大濃度に関する
閾値THmax、最小濃度に関する閾値THmin、最大濃度差に
関する閾値THdifを算出し、 各閾値は、THdif≧(THmax−THmin) の関係を満たすこと
を特徴とする請求項2記載の画像処理装置。
5. The threshold value calculating means calculates a threshold value THmax for a maximum density, a threshold value THmin for a minimum density value, and a threshold value THdif for a maximum density difference, wherein each threshold value satisfies a relationship of THdif ≧ (THmax−THmin). 3. The image processing apparatus according to claim 2, wherein:
【請求項6】 前記閾値算出手段は、最大濃度に関する
閾値THmax、最小濃度に関する閾値THmin、最大濃度差に
関する閾値THdifを、変倍率に応じて変化する線形関数
によってそれぞれ算出し、 閾値THdifの変化率Cは、閾値THmaxの変化率Aおよび閾値
THminの変化率Bに基づいて決定される範囲内にあること
を特徴とする請求項2記載の画像処理装置。
6. The threshold value calculating means calculates a threshold value THmax for a maximum density, a threshold value THmin for a minimum density value, and a threshold value THdif for a maximum density difference by a linear function that changes in accordance with a scaling factor. C is the change rate A of the threshold THmax and the threshold
3. The image processing apparatus according to claim 2, wherein the value is within a range determined based on a change rate B of THmin.
【請求項7】 原稿を走査して画像を読み取る読取り手
段と、 読み取った画像の濃度値を補正する濃度補正手段と、 画像の所定領域における特徴量を算出する特徴量算出手
段と、 濃度補正に応じて閾値を算出する閾値算出手段と、 算出した特徴量と算出した閾値とを比較して、文字エッ
ジ部を抽出するエッジ抽出手段とを備えることを特徴と
する画像処理装置。
7. A reading means for scanning a document to read an image, a density correcting means for correcting a density value of the read image, a feature value calculating means for calculating a feature value in a predetermined area of the image, An image processing apparatus comprising: a threshold calculating unit that calculates a threshold value in accordance with the threshold value; and an edge extracting unit that compares the calculated feature amount with the calculated threshold value to extract a character edge portion.
【請求項8】 前記特徴量算出手段は、所定領域におけ
る最大濃度、最小濃度、および最大濃度差を特徴量とし
て算出することを特徴とする請求項7記載の画像処理装
置。
8. The image processing apparatus according to claim 7, wherein said characteristic amount calculating means calculates a maximum density, a minimum density, and a maximum density difference in a predetermined area as a characteristic amount.
【請求項9】 前記閾値算出手段は、所定基準値に濃度
補正を施した値を閾値として算出することを特徴とする
請求項7記載の画像処理装置。
9. The image processing apparatus according to claim 7, wherein said threshold value calculating means calculates a value obtained by performing density correction on a predetermined reference value as a threshold value.
【請求項10】 所定基準値は、濃度補正がリニアであ
るときの閾値であることを特徴とする請求項9記載の画
像処理装置。
10. The image processing apparatus according to claim 9, wherein the predetermined reference value is a threshold value when the density correction is linear.
【請求項11】 前記閾値算出手段は、最大濃度に関す
る閾値THmax、最小濃度に関する閾値THmin、最大濃度差
に関する閾値THdifを算出し、 各閾値は、THdif≧(THmax−THmin) の関係を満たすこと
を特徴とする請求項8記載の画像処理装置。
11. The threshold calculating means calculates a threshold THmax for a maximum density, a threshold THmin for a minimum density, and a threshold THdif for a maximum density difference, wherein each threshold satisfies a relationship of THdif ≧ (THmax−THmin). 9. The image processing apparatus according to claim 8, wherein:
JP2000115008A 2000-04-17 2000-04-17 Image processor Pending JP2001298613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000115008A JP2001298613A (en) 2000-04-17 2000-04-17 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000115008A JP2001298613A (en) 2000-04-17 2000-04-17 Image processor

Publications (1)

Publication Number Publication Date
JP2001298613A true JP2001298613A (en) 2001-10-26

Family

ID=18626724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000115008A Pending JP2001298613A (en) 2000-04-17 2000-04-17 Image processor

Country Status (1)

Country Link
JP (1) JP2001298613A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145504A (en) * 2006-12-06 2008-06-26 Nippon Telegr & Teleph Corp <Ntt> Signal feature extracting method, signal feature extracting device, signal feature extracting program, and recording medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145504A (en) * 2006-12-06 2008-06-26 Nippon Telegr & Teleph Corp <Ntt> Signal feature extracting method, signal feature extracting device, signal feature extracting program, and recording medium thereof

Similar Documents

Publication Publication Date Title
US7382915B2 (en) Color to grayscale conversion method and apparatus
JP4197346B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JPH11187266A (en) Image processor and image forming device
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
US20030048958A1 (en) Image processing apparatus, image processing method, and computer program product therefor
JP3862374B2 (en) Image processing apparatus and method
JP2004112536A (en) Image processing apparatus, image processing method, and program to be executed by computer
JP4522978B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2006304015A (en) Image processing apparatus, image forming apparatus, method of processing image, computer program and recording medium
JP2002158872A (en) Image processing method, image processor and recording medium
JP2002077647A (en) Image processor
JP2001298613A (en) Image processor
JPH0877350A (en) Image processor
JP3754736B2 (en) Image processing apparatus and method
JP4007134B2 (en) Image processing device
JP2000134471A (en) Image processor attended with output correction in inside of character
JP3767210B2 (en) Document type determination device and image processing device
JP2003125198A (en) Image processing apparatus and image processing method, and image forming device provided with the same, program, and recording medium
JP3471915B2 (en) Image processing apparatus and method
JP2000357237A (en) Image processor, image reading device and image forming device mounted with the processor, image processing method, and computer-readable storage medium stored with image processing procedure
JP2003224718A (en) Image processing method and image processor
JP2000341547A (en) Device and method for image processing
JP2004096625A (en) Image processing apparatus and method therefor
JP2002354253A (en) Image processor and its program