JP2008035478A - Method and apparatus for image processing, image forming apparatus, computer program, and recording medium - Google Patents

Method and apparatus for image processing, image forming apparatus, computer program, and recording medium Download PDF

Info

Publication number
JP2008035478A
JP2008035478A JP2007120055A JP2007120055A JP2008035478A JP 2008035478 A JP2008035478 A JP 2008035478A JP 2007120055 A JP2007120055 A JP 2007120055A JP 2007120055 A JP2007120055 A JP 2007120055A JP 2008035478 A JP2008035478 A JP 2008035478A
Authority
JP
Japan
Prior art keywords
document
image processing
determination
determined
pixel
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
JP2007120055A
Other languages
Japanese (ja)
Other versions
JP4958626B2 (en
Inventor
Makio Goto
牧生 後藤
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 JP2007120055A priority Critical patent/JP4958626B2/en
Publication of JP2008035478A publication Critical patent/JP2008035478A/en
Application granted granted Critical
Publication of JP4958626B2 publication Critical patent/JP4958626B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and an apparatus for an image processing, an image forming apparatus, a computer program and a recording medium capable of altering a criterion of ACS based on a document type. <P>SOLUTION: When a document type is a printed photograph (S41:YES), a density threshold is set low and an achromatic determination threshold is set high (S42). When a document type is a printing paper photograph (S43:YES), the density threshold is set high and the achromatic determination threshold is set low (S44). Thereafter, based on the maximum frequency density value and a total frequency value of the maximum density region in a histogram generated by image data containing chromatic color pixels, a decision is made as to whether the document type should be printed as a monochrome copy or a color copy (S46, 48) and a required processing is performed according to the decision result (S49, S50). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、原稿種別に応じてACSの判定基準を変更することができる画像処理方法、画像処理装置、画像形成装置、コンピュータプログラム、及び記録媒体に関する。   The present invention relates to an image processing method, an image processing apparatus, an image forming apparatus, a computer program, and a recording medium that can change an ACS criterion according to a document type.

電子複写機などの画像形成装置は、従来のアナログ式のほかにデジタル式のものが普及しており、またデジタル画像処理技術の進展によって、カラー画像を高画質に再現するフルカラーのデジタル複写機が製品化されている。一般にフルカラーデジタル複写機は、複数のトナーを用いてカラー再現が行われる。また、ブラックのトナーのみを用いるモノクロモードを有している。モノクロモードにおける複写は、ブラックのトナーのみを用いるので複数のトナー像を順に重ね合わせるカラー複写と比べてコストが低く、所用時間が短い。   In addition to the conventional analog type, digital type is widely used as an image forming apparatus such as an electronic copying machine, and with the advancement of digital image processing technology, a full-color digital copying machine that reproduces color images with high image quality is available. It has been commercialized. In general, a full-color digital copying machine performs color reproduction using a plurality of toners. Also, it has a monochrome mode using only black toner. Since copying in the monochrome mode uses only black toner, the cost is lower and the required time is shorter than color copying in which a plurality of toner images are sequentially superimposed.

そこで、原稿がカラー原稿であるかモノクロ原稿であるかを判断し、原稿に応じた複写モードを設定するACS(Auto Color Selection)機能が実用化されている(例えば、特許文献1参照)。この機能は、特にADF(自動原稿送り装置)を使用して多数の原稿を複写する場合に有用である。利用者がカラー原稿とモノクロ原稿とを区別する必要はなく、複数の原稿をADFにセットしてスタートキーを押せば、カラー原稿についてはカラー複写が、モノクロ原稿についてはモノクロ複写が行われる。   Therefore, an ACS (Auto Color Selection) function for determining whether the original is a color original or a monochrome original and setting a copy mode corresponding to the original has been put into practical use (see, for example, Patent Document 1). This function is particularly useful when a large number of documents are copied using an ADF (automatic document feeder). There is no need for the user to distinguish between color originals and monochrome originals. If a plurality of originals are set in the ADF and the start key is pressed, color copying is performed for color originals and monochrome copying is performed for monochrome originals.

例えば、特許文献1に記載されている画像処理装置では、原稿の明度ヒストグラムと原稿中の無彩色ドットのヒストグラムを求め、これらヒストグラムの差分より原稿の有彩色ヒストグラムを算出する。次に、有彩色の画素数と無彩色の画素数との比率より、カラー原稿か白黒原稿かの判定を行い、この結果を基にヒストグラムの解析を行って、白黒写真原稿、白黒標準原稿、フルカラー写真原稿、下地が白色のカラー標準原稿、下地色付きのカラー標準原稿の5種類の原稿に分類する。そして、原稿種別に応じて適切な下地調整、黒文字判別処理、階調再現処理などを行う。
特開平8−251402号公報
For example, in the image processing apparatus described in Patent Document 1, a brightness histogram of an original and a histogram of achromatic dots in the original are obtained, and a chromatic histogram of the original is calculated from a difference between these histograms. Next, based on the ratio between the number of chromatic pixels and the number of achromatic pixels, it is determined whether it is a color document or a black and white document. Based on this result, a histogram is analyzed, and a black and white photo document, a black and white standard document, There are five types of originals: full-color photographic originals, color standard originals with white background, and color standard originals with background color. Then, appropriate background adjustment, black character discrimination processing, gradation reproduction processing, and the like are performed according to the document type.
JP-A-8-251402

しかしながら、カラーの色材で印刷された網点写真原稿の場合、見た目にはモノクロ原稿であるにも関わらず、前述したような手法により原稿種別の判定を行ったときカラー原稿であると判定されることが多い。   However, in the case of a halftone photo original printed with a color material, it is determined to be a color original when the original type is determined by the above-described method even though it looks monochrome. Often.

また、印画紙写真原稿の場合、元の原稿がたとえ白黒写真であってもモノクロ複写を行うと、トーンギャップが目立ち、粒状感を感じやすいなど画質劣化が生じ易いという問題点を有している。   Further, in the case of a photographic paper photographic original, even if the original original is a black-and-white photograph, there is a problem that when a black-and-white copy is made, the tone gap is conspicuous and the image quality is liable to be deteriorated. .

更に、カラー画素が少ない写真(例えば、夜景を撮像した写真)の場合、前述の白黒写真と同様の画像劣化が生じ易いという問題点を有している。   Furthermore, in the case of a photograph with a small number of color pixels (for example, a photograph taken of a night scene), there is a problem that image deterioration is likely to occur as in the case of the above-described black and white photograph.

更に、従来では、画素の領域属性(文字領域、網点領域を含む複数の領域の何れに属するか)に関わらず、画素の有彩・無彩の判別を行い、その結果を用いてカラー原稿、モノクロ原稿の判別を行っているので、識別精度が悪く、画像の品質が低下することがある。例えば、彩度が低い色文字を含む原稿をモノクロ画像と判定したり、混色グレーのみで構成された原稿をカラー画像として判定してしまうことがある。   Further, conventionally, regardless of the pixel region attribute (whether it belongs to a plurality of regions including a character region or a halftone dot region), the chromatic / achromatic determination of the pixel is performed, and the result is used for the color document. Since the monochrome document is discriminated, the discrimination accuracy is poor and the image quality may be lowered. For example, a document including color characters with low saturation may be determined as a monochrome image, or a document composed only of mixed color gray may be determined as a color image.

本発明は斯かる事情に鑑みてなされたものであり、有彩色を含む原稿であるか否かの判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行う構成とすることにより、原稿のカラー/モノクロの判定精度を高めることができ、判定結果に応じて適切な画像処理を行うことにより画質を向上させることができる画像処理方法、画像処理装置、画像形成装置、コンピュータプログラム、及び記録媒体を提供することを目的とする。   The present invention has been made in view of such circumstances, and a criterion for determining whether or not a document includes a chromatic color is set based on the document type, and a document including a chromatic color based on the set criterion. By determining whether the image is present and performing image processing according to the determination result, the color / monochrome determination accuracy of the document can be improved, and by performing appropriate image processing according to the determination result An object is to provide an image processing method, an image processing apparatus, an image forming apparatus, a computer program, and a recording medium that can improve image quality.

本発明に係る画像処理方法は、原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理方法において、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を前記画像データに対して施すことを特徴とする。   An image processing method according to the present invention is an image processing method for performing image processing according to a document type on image data obtained by reading a document. A determination criterion is set based on the document type, whether the document includes a chromatic color is determined based on the set determination criterion, and image processing according to the determination result is performed on the image data. And

本発明にあっては、有彩色を含む原稿であるか否かの判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、原稿が有彩色であるか否かの判定基準を原稿種別に応じて変更することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。   In the present invention, a criterion for determining whether or not the document includes a chromatic color is set based on the document type, and whether or not the document includes a chromatic color is determined based on the set criterion. Since the image processing is performed according to the determination result, the determination criterion as to whether or not the document is a chromatic color can be changed according to the document type, and the determination accuracy as a whole increases. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic.

本発明に係る画像処理方法は、原稿種別が印画紙写真原稿であるか否かを判断し、原稿種別が印画紙写真原稿であると判断した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定することを特徴とする。   The image processing method according to the present invention determines whether or not a document type is a photographic paper photographic document, and if it is determined that the document type is a photographic paper photographic document, the document is a document including a chromatic color. It is characterized in that a determination criterion that makes it easy to determine is set.

本発明にあっては、原稿種別が印画紙写真原稿である場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。印画紙写真をモノクロ複写として出力した場合、一般にトーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多い。そのため、白黒写真であっても、なるべくカラー複写として出力させ、画質の向上を図る。   In the present invention, when the document type is a photographic paper photo document, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. When a photographic paper photograph is output as a monochrome copy, there are many cases in which image quality deterioration such as tone gap generally occurs and dots are conspicuous and graininess is noticeable. Therefore, even black-and-white photographs are output as color copies as much as possible to improve image quality.

本発明に係る画像処理方法は、原稿種別が印刷写真原稿であるか否かを判断し、原稿種別が印刷写真原稿である場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定することを特徴とする。   The image processing method according to the present invention determines whether or not the document type is a printed photo document, and when the document type is a printed photo document, it is easy to determine that the document is an achromatic document. It is characterized by setting a judgment standard.

本発明にあっては、原稿種別が印刷写真原稿である場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。夜景を撮像したようなカラー画素が少ない写真では、トーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多い。そのため、カラー写真であっても、カラー画素が少ない場合にはモノクロ複写として出力させ、画質の向上を図る。   In the present invention, when the document type is a printed photo document, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In a photograph with few color pixels, such as a night scene, there are many cases in which image quality deterioration such as tone gap occurs and dots are noticeable and graininess is noticeable. Therefore, even if it is a color photograph, if there are few color pixels, it is output as a monochrome copy to improve image quality.

本発明に係る画像処理方法は、原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理方法において、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定し、判定した結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を前記画像データに対して施すことを特徴とする。   An image processing method according to the present invention is an image processing method for performing image processing according to a document type on image data obtained by reading a document, wherein a pixel of interest is at least a character region among pixels included in the image data Alternatively, it is determined whether or not the image belongs to a halftone dot region, and based on the determined result, a criterion for determining whether or not the document is a document including a chromatic color is set, and the chromatic color is determined based on the set criterion. It is determined whether or not the document includes a document, and image processing according to the determination result is performed on the image data.

本発明にあっては、注目画素が少なくとも文字領域又は網点領域に属するか否かの判定結果に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。また、本発明はスキャナに適用することも可能である。この場合、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができるので、例えば、白黒画像をカラー画像としてスキャンした場合に画像データの容量が大きくなるのを防ぐことができる。   In the present invention, it is determined whether or not the document of interest includes a chromatic color based on a determination result of whether or not the target pixel belongs to at least a character area or a halftone dot area, and image processing according to the determination result is performed. Therefore, the color / monochrome determination result can be corrected based on the pixel region determination result, and the determination accuracy is improved as a whole. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic. The present invention can also be applied to a scanner. In this case, since the color / monochrome determination result can be corrected based on the pixel region determination result, for example, when a monochrome image is scanned as a color image, an increase in the capacity of the image data can be prevented.

本発明に係る画像処理方法は、前記注目画素が文字領域に属すると判定した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定することを特徴とする。   The image processing method according to the present invention is characterized in that, when it is determined that the pixel of interest belongs to a character area, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color.

本発明にあっては、注目画素が文字領域に属する場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。文字の場合、茶色など無彩色の色との差が小さい色の場合が多く、下地などの領域と比較して有彩色と判定しやすく設定することにより、上記色文字を含む原稿をカラー原稿と判定する精度が高まる。   In the present invention, when the target pixel belongs to the character area, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. In the case of text, there are many cases in which the difference from achromatic colors such as brown is small. The accuracy of determination increases.

本発明に係る画像処理方法は、前記注目画素が網点領域に属すると判定した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定することを特徴とする。   The image processing method according to the present invention is characterized in that, when it is determined that the target pixel belongs to a halftone dot region, a determination criterion is set so that it is easy to determine that the document is an achromatic document.

本発明にあっては、注目画素が網点領域に属する場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。コンポジットグレーの場合(グレーがCMYの混色網点で表現されている場合)、注目画素が有彩色(カラー)であると誤判定されることが防止される。混色グレーのみで形成された原稿がモノクロ原稿と判定される。   In the present invention, when the target pixel belongs to the halftone dot region, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In the case of composite gray (when gray is expressed by a mixed color dot of CMY), erroneous determination that the pixel of interest is a chromatic color (color) is prevented. An original formed only with mixed color gray is determined as a monochrome original.

本発明に係る画像処理装置は、原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理装置において、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定する手段と、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断する手段と、判断結果に応じた画像処理を前記画像データに対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention is an image processing apparatus that performs image processing according to a document type on image data obtained by reading a document, and whether or not the document is a document including a chromatic color. Means for setting a determination criterion based on the document type; means for determining whether the document includes a chromatic color based on the set determination criterion; and image processing corresponding to the determination result for the image data. And means for applying.

本発明にあっては、有彩色を含む原稿であるか否かの判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、原稿が有彩色であるか否かの判定基準を原稿種別に応じて変更することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。   In the present invention, a criterion for determining whether or not the document includes a chromatic color is set based on the document type, and whether or not the document includes a chromatic color is determined based on the set criterion. Since the image processing is performed according to the determination result, the determination criterion as to whether or not the document is a chromatic color can be changed according to the document type, and the determination accuracy as a whole increases. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic.

本発明に係る画像処理装置は、原稿種別が印画紙写真原稿であるか否かを判断する手段を備え、原稿種別が印画紙写真原稿であると判断した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes means for determining whether or not a document type is a photographic paper photographic document, and when the document type is determined to be a photographic paper photographic document, the document includes a chromatic color document. It is characterized in that a determination criterion is set so that it can be easily determined that.

本発明にあっては、原稿種別が印画紙写真原稿である場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。印画紙写真をモノクロ複写として出力した場合、一般にトーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多い。そのため、白黒写真であっても、なるべくカラー複写として出力させ、画質の向上を図る。   In the present invention, when the document type is a photographic paper photo document, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. When a photographic paper photograph is output as a monochrome copy, there are many cases in which image quality deterioration such as tone gap generally occurs and dots are conspicuous and graininess is noticeable. Therefore, even black-and-white photographs are output as color copies as much as possible to improve image quality.

本発明に係る画像処理装置は、原稿種別が印刷写真原稿であるか否かを判断する手段を備え、原稿種別が印刷写真原稿であると判断した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes means for determining whether or not a document type is a printed photo document. When the document type is determined to be a printed photo document, the document is an achromatic document. It is characterized in that a determination criterion that facilitates determination is set.

本発明にあっては、原稿種別が印刷写真原稿である場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。夜景を撮像したようなカラー画素が少ない写真では、トーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多い。そのため、カラー写真であっても、カラー画素が少ない場合にはモノクロ複写として出力させ、画質の向上を図る。   In the present invention, when the document type is a printed photo document, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In a photograph with few color pixels, such as a night scene, there are many cases in which image quality deterioration such as tone gap occurs and dots are noticeable and graininess is noticeable. Therefore, even if it is a color photograph, if there are few color pixels, it is output as a monochrome copy to improve image quality.

本発明に係る画像処理装置は、原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理装置において、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定する手段と、該手段による判定結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定する手段と、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断する手段と、該手段による判断結果に応じた画像処理を前記画像データに対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention is an image processing apparatus that performs image processing according to a document type on image data obtained by reading a document. At least a pixel of interest among pixels included in the image data is a character region. Or means for determining whether or not the image belongs to a halftone dot area; means for setting a criterion for determining whether or not the document is a document including a chromatic color based on a determination result by the unit; And a means for determining whether or not the document includes a chromatic color based on the above and a means for performing image processing on the image data in accordance with a determination result by the means.

本発明にあっては、注目画素が少なくとも文字領域又は網点領域に属するか否かの判定結果に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。注目画素が文字領域又は網点領域に属するか否かの判定結果に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。また、本発明はスキャナに適用することも可能である。この場合、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができるので、例えば、白黒画像をカラー画像としてスキャンした場合に画像データの容量が大きくなるのを防ぐことができる。   In the present invention, it is determined whether or not the document of interest includes a chromatic color based on a determination result of whether or not the target pixel belongs to at least a character area or a halftone dot area, and image processing according to the determination result is performed. Therefore, the color / monochrome determination result can be corrected based on the pixel region determination result, and the determination accuracy is improved as a whole. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic. Based on the determination result of whether or not the target pixel belongs to the character area or the halftone dot area, it is determined whether or not the document includes a chromatic color, and image processing is performed according to the determination result. As a result, the color / monochrome determination result can be corrected, and the determination accuracy is improved as a whole. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic. The present invention can also be applied to a scanner. In this case, since the color / monochrome determination result can be corrected based on the pixel region determination result, for example, when a monochrome image is scanned as a color image, an increase in the capacity of the image data can be prevented.

本発明に係る画像処理装置は、前記注目画素が文字領域に属すると判定した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする。   In the image processing apparatus according to the present invention, when it is determined that the target pixel belongs to a character area, a determination criterion is set so that the document is easily determined to be a document including a chromatic color. Features.

本発明にあっては、注目画素が文字領域に属する場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。文字の場合、茶色など無彩色の色との差が小さい色の場合が多く、下地などの領域と比較して有彩色と判定しやすく設定することにより、上記色文字を含む原稿をカラー原稿と判定する精度が高まる。   In the present invention, when the target pixel belongs to the character area, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. In the case of text, there are many cases in which the difference from achromatic colors such as brown is small. The accuracy of determination increases.

本発明に係る画像処理装置は、前記注目画素が網点領域に属すると判定した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする。   In the image processing apparatus according to the present invention, when it is determined that the target pixel belongs to a halftone dot region, a determination criterion is set so that the document is easily determined to be an achromatic document. Features.

本発明にあっては、注目画素が網点領域に属する場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。コンポジットグレーの場合(グレーがCMYの混色網点で表現されている場合)、注目画素が有彩色(カラー)であると誤判定されることが防止される。混色グレーのみで形成された原稿がモノクロ原稿と判定される。   In the present invention, when the target pixel belongs to the halftone dot region, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In the case of composite gray (when gray is expressed by a mixed color dot of CMY), erroneous determination that the pixel of interest is a chromatic color (color) is prevented. An original formed only with mixed color gray is determined as a monochrome original.

本発明に係る画像形成装置は、前述した発明の何れか1つに記載の画像処理装置と、該画像処理装置によって画像処理が施された画像データに基づいてシート上に画像形成を行う手段とを備えることを特徴とする。   An image forming apparatus according to the present invention includes an image processing apparatus according to any one of the above-described inventions, and a unit that forms an image on a sheet based on image data subjected to image processing by the image processing apparatus. It is characterized by providing.

本発明にあっては、原稿が有彩色であるか否かを精度よく判定し、その判定結果に応じた画像処理を行ってシート上に画像形成を行うため、複写時の画質向上が見込める。   In the present invention, it is possible to accurately determine whether or not the original is a chromatic color and to perform image processing according to the determination result to form an image on the sheet.

本発明に係るコンピュータプログラムは、コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムにおいて、コンピュータに、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有することを特徴とする。   A computer program according to the present invention is a computer program that causes a computer to perform image processing according to a document type on image data obtained by reading a document. The computer is a document that includes a chromatic color. Determining whether there is a document based on the document type, causing the computer to determine whether the document includes a chromatic color based on the set criterion, A step of performing image processing according to the result on the image data.

本発明にあっては、有彩色を含む原稿であるか否かの判断基準を原稿種別に基づいて設定させ、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させ、判断結果に応じた画像処理を行わせるため、原稿が有彩色であるか否かの判定基準を原稿種別に応じて変更することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。   In the present invention, a criterion for determining whether or not a document includes chromatic colors is set based on the document type, and whether or not the document includes chromatic colors is determined based on the determined criterion. Since the image processing according to the determination result is performed, the determination criterion as to whether or not the document is a chromatic color can be changed according to the document type, and the determination accuracy as a whole increases. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic.

本発明に係るコンピュータプログラムは、コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムにおいて、コンピュータに、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定させるステップと、コンピュータに、判定させた結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有することを特徴とする。   A computer program according to the present invention is a computer program that causes a computer to perform image processing according to a document type on image data obtained by reading a document. Among the pixels included in the image data, the computer program A step for determining whether or not the pixel of interest belongs to at least a character area or a halftone dot area, and a criterion for determining whether or not the original is a chromatic color original based on a result of the determination by the computer A step of causing the computer to determine whether or not the document includes a chromatic color based on a set criterion, and causing the computer to perform image processing according to the determination result on the image data And a step.

本発明にあっては、注目画素が少なくとも文字領域又は網点領域に属するか否かの判定結果に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行うため、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができ、全体として判定精度が高まる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上が見込める。   In the present invention, it is determined whether or not the document of interest includes a chromatic color based on a determination result of whether or not the target pixel belongs to at least a character area or a halftone dot area, and image processing according to the determination result is performed. Therefore, the color / monochrome determination result can be corrected based on the pixel region determination result, and the determination accuracy is improved as a whole. Further, image quality can be improved during copying by performing appropriate image processing depending on whether or not the color is chromatic.

本発明に係る記録媒体は、コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムが記録されているコンピュータでの読取りが可能な記録媒体において、コンピュータに、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とする。   A recording medium according to the present invention is a computer-readable recording medium on which a computer program for causing a computer to perform image processing corresponding to a document type on image data obtained by reading the document is recorded. And a step of causing a computer to set a criterion for determining whether or not the document is a document including a chromatic color based on the document type, and a document including a chromatic color based on the criterion set by the computer. A computer program is recorded, which includes a step of determining whether or not the image data is present and a step of causing the computer to perform image processing according to the determination result on the image data.

本発明にあっては、記録媒体から読み出されたプログラムによって上記の画像処理装置がコンピュータ上で実現される。   In the present invention, the above-described image processing apparatus is realized on a computer by a program read from a recording medium.

本発明に係る記録媒体は、コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムが記録されているコンピュータでの読取りが可能な記録媒体において、コンピュータに、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定させるステップと、コンピュータに、判定させた結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とする。   A recording medium according to the present invention is a computer-readable recording medium on which a computer program for causing a computer to perform image processing corresponding to a document type on image data obtained by reading the document is recorded. And determining whether or not the pixel of interest among the pixels included in the image data belongs to at least a character area or a halftone dot area, and the original is chromatically colored based on the determination result. A determination criterion for determining whether the document is a document including chromatic color, a step for causing the computer to determine whether the document is a document including a chromatic color based on the determined determination criterion, and a determination result for the computer A computer program having a step of performing image processing according to the image data on the image data Characterized in that it is recorded.

本発明にあっては、記録媒体から読み出されたプログラムによって上記の画像処理装置がコンピュータ上で実現される。   In the present invention, the above-described image processing apparatus is realized on a computer by a program read from a recording medium.

本発明による場合は、有彩色を含む原稿であるか否かの判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行う。したがって、原稿が有彩色であるか否かの判定基準を原稿種別に応じて変更することができ、有彩色であるか否かの判定精度を高めることができる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質向上を図ることができる。   According to the present invention, a criterion for determining whether or not a document includes a chromatic color is set based on the document type, and whether or not the document includes a chromatic color is determined based on the determined criterion. Perform image processing according to the result. Therefore, the criterion for determining whether or not a document has a chromatic color can be changed according to the document type, and the determination accuracy for determining whether or not the document has a chromatic color can be improved. Further, image quality at the time of copying can be improved by performing appropriate image processing depending on whether or not the color is chromatic.

本発明による場合は、原稿種別が印画紙写真原稿である場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。印画紙写真をモノクロ複写として出力した場合、一般にトーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多いが、白黒写真であってもなるべくカラー複写として出力させることにより、画質向上を図ることができる。   According to the present invention, when the document type is a photographic paper photo document, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. When a photographic paper photo is output as a monochrome copy, there are many cases in which image quality deterioration such as tone gap generally occurs and dots are noticeable and graininess is noticeable. By outputting, image quality can be improved.

本発明による場合は、原稿種別が印刷写真原稿である場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。夜景を撮像したようなカラー画素が少ない写真では、トーンギャップが発生する、ドットが目立ち粒状感が気になるなどの画質劣化が顕著になるケースが多いが、カラー写真であってもカラー画素が少ない場合にはモノクロ複写として出力させることにより、画質向上を図ることができる。   According to the present invention, when the document type is a printed photo document, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In photographs with few color pixels, such as images of night scenes, there are many cases where image quality deterioration such as tone gaps and dots are noticeable and graininess is noticeable. When the number is small, the image quality can be improved by outputting it as a monochrome copy.

本発明による場合は、注目画素が文字領域又は網点領域に属するか否かの判定結果に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を行う。したがって、画素の領域判定結果によってカラー/モノクロ判定結果を修正することができ、全体として判定精度を高めることができる。また、有彩色であるか否かに応じて適切な画像処理を行うことにより複写時の画質を向上させることができる。   According to the present invention, it is determined whether or not the original pixel includes a chromatic color based on the determination result of whether or not the target pixel belongs to the character area or the halftone dot area, and image processing is performed according to the determination result. Therefore, the color / monochrome determination result can be corrected by the pixel region determination result, and the determination accuracy can be improved as a whole. Further, image quality at the time of copying can be improved by performing appropriate image processing depending on whether or not the color is chromatic.

本発明による場合は、注目画素が文字領域に属する場合、原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定する。文字の場合、茶色など無彩色の色との差が小さい色の場合が多く、下地などの領域と比較して有彩色と判定しやすく設定することにより、上記色文字を含む原稿をカラー原稿と判定する精度を高めることができる。   According to the present invention, when the target pixel belongs to the character area, a determination criterion is set so that it is easy to determine that the document is a document including a chromatic color. In the case of text, there are many cases in which the difference from achromatic colors such as brown is small. The accuracy of determination can be increased.

本発明による場合は、注目画素が網点領域に属する場合、原稿が無彩色の原稿であると判断され易くなるような判断基準を設定する。コンポジットグレーの場合(グレーがCMYの混色網点で表現されている場合)、注目画素が有彩色(カラー)であると誤判定されることを防止することができる。混色グレーのみで形成された原稿をモノクロ原稿と判定することができる。   According to the present invention, when the target pixel belongs to the halftone dot region, a determination criterion is set so that it is easy to determine that the document is an achromatic document. In the case of composite gray (when gray is expressed by a mixed-color halftone dot of CMY), it can be prevented that the pixel of interest is erroneously determined to be a chromatic color. An original formed only with mixed-color gray can be determined as a monochrome original.

本発明による場合は、原稿が有彩色であるか否かを精度よく判定し、その判定結果に応じた画像処理を行ってシート上に画像形成を行うため、複写時の画質向上を図ることができる。   According to the present invention, it is possible to accurately determine whether or not a document is a chromatic color, and to perform image processing according to the determination result to form an image on a sheet, thereby improving image quality during copying. it can.

本発明による場合は、コンピュータによる演算処理によって前述した画像処理方法を実現することができる。   In the case of the present invention, the above-described image processing method can be realized by computer processing.

本発明による場合は、記録媒体から読み出されたプログラムによって上記の画像処理装置をコンピュータ上で実現することができる。   In the case of the present invention, the above-described image processing apparatus can be realized on a computer by a program read from a recording medium.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1は本発明に係る画像処理装置の内部構成を説明するブロック図である。本発明に係る画像処理装置は、制御部1、画像入力部3、画像処理部5、及び画像出力部7、操作部9を備えている。制御部1は、前記ハードウェア各部を制御するための制御プログラムが格納されたROM、制御プログラムを実行するCPU、制御プログラムの実行中に生成される各種データを記憶するRAMなどを備える。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
FIG. 1 is a block diagram illustrating an internal configuration of an image processing apparatus according to the present invention. The image processing apparatus according to the present invention includes a control unit 1, an image input unit 3, an image processing unit 5, an image output unit 7, and an operation unit 9. The control unit 1 includes a ROM that stores a control program for controlling the respective hardware units, a CPU that executes the control program, and a RAM that stores various data generated during the execution of the control program.

画像入力部3は、原稿の画像を光学的に読取る手段であり、読取用の原稿に光を照射する光源、CCD(Charge Coupled Device)のようなイメージセンサ等を備えている。画像入力部3では、所定の読取位置にセットされた原稿からの反射光像を当該イメージセンサに結像させ、RGB(R : Red, G : Green, B : Blue)のアナログ電気信号を出力する。画像入力部3が出力したアナログ電気信号は画像処理部5へ入力される。   The image input unit 3 is a unit that optically reads an image of a document, and includes a light source that irradiates light to a document for reading, an image sensor such as a CCD (Charge Coupled Device), and the like. In the image input unit 3, a reflected light image from a document set at a predetermined reading position is formed on the image sensor, and RGB (R: Red, G: Green, B: Blue) analog electrical signals are output. . The analog electrical signal output from the image input unit 3 is input to the image processing unit 5.

画像処理部5は、画像入力部3から出力されるアナログ電気信号をデジタル電気信号に変換した後、原稿種別に応じた画像処理を行って出力用の画像信号を生成する。生成した画像信号は画像出力部7に出力される。本実施の形態では、出力用の画像信号としてCMYK信号(C:Cyan, M:Magenta, Y:Yellow, K:Black)を生成するようにしている。なお、画像処理部5の内部構成、動作等については後に詳述することとする。   The image processing unit 5 converts the analog electrical signal output from the image input unit 3 into a digital electrical signal, and then performs image processing according to the document type to generate an output image signal. The generated image signal is output to the image output unit 7. In the present embodiment, CMYK signals (C: Cyan, M: Magenta, Y: Yellow, K: Black) are generated as image signals for output. The internal configuration and operation of the image processing unit 5 will be described in detail later.

画像出力部7は、画像処理部5が出力する画像信号に基づいて用紙、OHPフィルム等のシート上に画像形成を行う手段である。そのため、画像出力部7は、感光体ドラムを所定の電位に帯電させる帯電器、外部から受付けた画像データに応じてレーザ光を発して感光体ドラム上に静電潜像を生成させるレーザ書込装置、感光体ドラム表面に形成された静電潜像にトナーを供給して顕像化する現像器、感光体ドラム表面に形成されたトナー像を用紙上に転写する転写器等(不図示)を備えており、電子写真方式にて利用者が所望する画像を用紙上に形成する。なお、レーザ書込装置を用いた電子写真方式により画像形成を行う他、インクジェット方式、熱転写方式、昇華方式等により画像形成を行う構成であってもよい。   The image output unit 7 is a unit that forms an image on a sheet such as paper or an OHP film based on the image signal output from the image processing unit 5. Therefore, the image output unit 7 is a charger that charges the photosensitive drum to a predetermined potential, and laser writing that generates an electrostatic latent image on the photosensitive drum by emitting laser light in accordance with image data received from the outside. An apparatus, a developing device that supplies toner to the electrostatic latent image formed on the surface of the photosensitive drum to make it visible, a transfer device that transfers the toner image formed on the surface of the photosensitive drum onto paper (not shown), etc. And an image desired by the user is formed on a sheet by electrophotography. In addition to image formation by an electrophotographic method using a laser writing apparatus, an image formation may be performed by an inkjet method, a thermal transfer method, a sublimation method, or the like.

操作部9は、利用者による指示、選択操作などを受付けるために各種スイッチ、ボタンを備えている。   The operation unit 9 includes various switches and buttons for accepting user instructions and selection operations.

なお、画像入力部3を画像の読取手段として構成し、画像出力部7を画像形成手段として構成したが、外部から画像データを受信する手段、外部に画像データを送信する手段として構成するようにしてもよく、それらを適宜に組み合わせた構成であってもよい。例えば、画像入力部3が画像の読取手段、画像出力部7が画像データの送信手段である場合には、本発明はスキャナ装置(画像読取装置)として動作することとなり、画像入力部3が画像データの受信手段、画像出力部7が画像形成手段である場合には、本発明はプリンタ装置(画像形成装置)として動作することとなる。また、画像の読取手段、画像形成手段、画像データの送受信手段を備えるデジタル複合機にも適用できることは勿論のことである。   Although the image input unit 3 is configured as an image reading unit and the image output unit 7 is configured as an image forming unit, the image input unit 3 is configured as a unit that receives image data from the outside and a unit that transmits image data to the outside. Alternatively, a configuration in which they are appropriately combined may be used. For example, when the image input unit 3 is an image reading unit and the image output unit 7 is an image data transmission unit, the present invention operates as a scanner device (image reading device). When the data receiving unit and the image output unit 7 are image forming units, the present invention operates as a printer device (image forming device). Needless to say, the present invention can also be applied to a digital multi-function peripheral including an image reading unit, an image forming unit, and an image data transmitting / receiving unit.

図2は画像処理部5の構成を説明するブロック図である。画像処理部5は、AD変換部51、シェーディング補正部52、原稿種別判定部53、ACS判別部54、入力階調補正部55、領域分離処理部56、色補正部57、黒生成下色除去部58、空間フィルタ処理部59、出力階調補正部60、階調再現処理部61を備えている。   FIG. 2 is a block diagram illustrating the configuration of the image processing unit 5. The image processing unit 5 includes an AD conversion unit 51, a shading correction unit 52, a document type determination unit 53, an ACS determination unit 54, an input tone correction unit 55, a region separation processing unit 56, a color correction unit 57, and a black generation under color removal. Unit 58, spatial filter processing unit 59, output tone correction unit 60, and tone reproduction processing unit 61.

AD変換部51は、画像入力部3から入力されたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部52は、AD変換部51から出力されたデジタル形式のRGB信号に対して、画像入力部3の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。また、シェーディング補正部52ではカラーバランスの調整を行う。   The AD conversion unit 51 converts the RGB analog signal input from the image input unit 3 into a digital signal. The shading correction unit 52 performs a process of removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image input unit 3 on the digital RGB signal output from the AD conversion unit 51. Further, the shading correction unit 52 adjusts the color balance.

原稿種別判定部53は、シェーディング補正部52にて各種の歪みが取り除かれカラーバランスの調整がなされたRGB(RGBの反射率信号)を濃度信号などカラー画像処理装置に採用されている画像処理システムの扱いやすい信号に変換すると共に、原稿種別の判定を行う。原稿種別判定部53が判定結果として出力する原稿種別判定信号は、後段のACS判別部54、入力階調補正部55、色補正部57、黒生成下色除去部58、空間フィルタ処理部59、及び階調再現処理部61に入力される。なお、判定手法については後に詳述する。   The document type determination unit 53 uses an RGB (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 52 and the color balance is adjusted, such as a density signal, and is used in a color image processing apparatus. Is converted into an easy-to-handle signal, and the document type is determined. A document type determination signal output as a determination result by the document type determination unit 53 includes an ACS determination unit 54, an input tone correction unit 55, a color correction unit 57, a black generation and under color removal unit 58, a spatial filter processing unit 59, And input to the gradation reproduction processing unit 61. The determination method will be described in detail later.

ACS判別部54は、画像入力部3にて読取られた原稿がカラー原稿であるかモノクロ原稿であるかの判別を行う。ACS判別部54が判定結果として出力するACS判別信号は、後段の入力階調補正部55、色補正部57、及び黒生成下色除去部58に入力される。なお、判別手法については後に詳述する。   The ACS determination unit 54 determines whether the document read by the image input unit 3 is a color document or a monochrome document. The ACS discrimination signal output by the ACS discrimination unit 54 as a determination result is input to the input tone correction unit 55, the color correction unit 57, and the black generation and under color removal unit 58 in the subsequent stage. The determination method will be described in detail later.

入力階調補正部55は、下地濃度の除去やコントラストなどの画質調整処理を行う。領域分離処理部56は、RGB信号より、入力画像中の各画素を文字領域、網点領域、写真領域の何れかに分離する処理を行う。領域分離処理部56は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を後段の色補正部57、黒生成下色除去部58、空間フィルタ処理部59、及び階調再現処理部61へ出力すると共に、入力階調補正部55から出力された入力信号をそのまま後段の色補正部57へ出力する。   The input tone correction unit 55 performs image quality adjustment processing such as background density removal and contrast. The region separation processing unit 56 performs processing for separating each pixel in the input image into one of a character region, a halftone dot region, and a photographic region from the RGB signals. Based on the separation result, the region separation processing unit 56 outputs a region identification signal indicating which region the pixel belongs to, a subsequent color correction unit 57, a black generation and under color removal unit 58, a spatial filter processing unit 59, and a gradation. The output signal is output to the reproduction processing unit 61 and the input signal output from the input tone correction unit 55 is output to the subsequent color correction unit 57 as it is.

色補正部57は、色再現の忠実化再現のために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行うものである。黒生成下色除去部58は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いた新たなCMY信号を生成する処理を行う。この処理によってCMYの3色信号はCMYKの4色信号に変換される。   The color correction unit 57 performs processing for removing color turbidity based on the spectral characteristics of CMY color materials including unnecessary absorption components in order to faithfully reproduce color reproduction. The black generation and under color removal unit 58 generates black (K) signals from the CMY three-color signals after color correction, and generates a new CMY signal obtained by subtracting the K signal obtained by black generation from the original CMY signals. Generate the process. By this processing, the CMY three-color signal is converted into a CMYK four-color signal.

黒生成処理の一例として、スケルトンブラックによる黒生成を行う方法(一般方法)がある。この方法では、スケルトンカーブの入出力特性をy=f(x)、入力されるデータをC,M,Y、出力されるデータをC’,M’,Y’,K’、UCR率(UCR : Under Color Removal)をα(0<α<1)とすると、黒生成下色除去処理は以下の式で表される。   As an example of the black generation process, there is a method (general method) for generating black by skeleton black. In this method, the input / output characteristic of the skeleton curve is y = f (x), the input data is C, M, Y, the output data is C ′, M ′, Y ′, K ′, the UCR rate (UCR) : Under Color Removal) α (0 <α <1), the black generation under color removal processing is expressed by the following equation.

K’=f{min(C,M,Y)}
C’=C−αK’
M’=M−αK’
Y’=Y−αK’
K ′ = f {min (C, M, Y)}
C ′ = C−αK ′
M ′ = M−αK ′
Y ′ = Y−αK ′

空間フィルタ処理部59は、黒生成下色除去部58より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒子状劣化を防ぐように処理を行う。   The spatial filter processing unit 59 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 58 based on the region identification signal, thereby correcting the spatial frequency characteristics. Processing is performed to prevent blurring and particulate deterioration of the output image.

例えば、領域分離処理部56にて文字に分離された領域は、特に黒文字又は色文字の再現性を高めるために、空間フィルタ処理部59による空間フィルタ処理における鮮鋭強調処理で高周波数の強調量が大きくされる。同時に、階調再現処理部61においては、高周波数の再現に適した高解像度のスクリーンでの二値化又は多値化処理が選択される。また、領域分離処理部56にて網点領域に分離された領域に関しては、空間フィルタ処理部59において、入力網点成分を除去するためのローパスフィルタ処理が施される。そして、出力階調補正部60において、濃度信号などの信号をカラー画像出力装置の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部61で最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を施す。また、領域分離処理部56にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化又は多値化処理が行われる。   For example, the region separated into characters by the region separation processing unit 56 has a high frequency enhancement amount in the sharp enhancement processing in the spatial filter processing by the spatial filter processing unit 59 in order to improve the reproducibility of black characters or color characters in particular. Increased. At the same time, the tone reproduction processing unit 61 selects binarization or multi-value processing on a high-resolution screen suitable for high-frequency reproduction. Further, with respect to the region separated into halftone dot regions by the region separation processing unit 56, the spatial filter processing unit 59 performs low pass filter processing for removing the input halftone component. The output tone correction unit 60 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device, and then the tone reproduction processing unit 61 performs the final processing. Specifically, gradation reproduction processing is performed in which an image is separated into pixels and processed so that each gradation can be reproduced. In addition, regarding the region separated into photographs by the region separation processing unit 56, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility.

次に、原稿種別判定部53での処理内容について説明する。図3は原稿種別判定部53の構成を説明するブロック図である。原稿種別判定部53は、信号変換部5300、最小濃度値算出部5301、最大濃度値算出部5302、最大濃度差算出部5303、総和濃度繁雑度算出部5304、判定領域設定部5305、最大濃度差閾値設定部5306、総和濃度繁雑度閾値設定部5307、文字・網点判定部5310、文字・網点判定閾値設定部5311、文字画素計数部5312、網点画素計数部5313、下地・印画紙判定部5320、下地・印画紙判定閾値設定部5321、下地画素計数部5322、印画紙画素計数部5323、原稿判定部5330を備えている。   Next, processing contents in the document type determination unit 53 will be described. FIG. 3 is a block diagram illustrating the configuration of the document type determination unit 53. The document type determination unit 53 includes a signal conversion unit 5300, a minimum density value calculation unit 5301, a maximum density value calculation unit 5302, a maximum density difference calculation unit 5303, a total density busyness calculation unit 5304, a determination area setting unit 5305, and a maximum density difference. Threshold setting unit 5306, total density busyness threshold setting unit 5307, character / halftone determination unit 5310, character / halftone determination threshold setting unit 5311, character pixel counting unit 5312, halftone pixel counting unit 5313, background / printing paper determination A unit 5320, a background / photographic paper determination threshold setting unit 5321, a background pixel counting unit 5322, a photographic paper pixel counting unit 5323, and a document determination unit 5330.

信号変換部5300では、シェーディング補正部52から出力されるRGB信号をCMYの濃度信号に変換し、最小濃度値算出部5301、最大濃度値算出部5302、及び総和濃度繁雑度算出部5304へ出力する。最小濃度値算出部5301は入力されるCMY信号を基に濃度最小値を算出し、最大濃度値算出部5302は入力されるCMY信号を基に濃度最大値を算出する。最大濃度差算出部5303は、最小濃度値算出部5301及び最大濃度値算出部5302で算出された最小濃度値及び最大濃度値を用いて最大濃度差を算出する。   The signal conversion unit 5300 converts the RGB signal output from the shading correction unit 52 into a CMY density signal and outputs the converted signal to the minimum density value calculation unit 5301, the maximum density value calculation unit 5302, and the total density busyness calculation unit 5304. . The minimum density value calculation unit 5301 calculates the minimum density value based on the input CMY signal, and the maximum density value calculation unit 5302 calculates the maximum density value based on the input CMY signal. The maximum density difference calculator 5303 calculates the maximum density difference using the minimum density value and the maximum density value calculated by the minimum density value calculator 5301 and the maximum density value calculator 5302.

総和濃度繁雑度算出部5304は、隣接する画素の濃度差の絶対値の総和を算出する。判定領域設定部5305は、最大濃度差算出部5303で算出される最大濃度差、最大濃度差閾値設定部5306にて設定される最大濃度差についての閾値、総和濃度繁雑度算出部5304で算出される総和濃度繁雑度、及び総和濃度繁雑度閾値設定部5307にて設定される総和濃度繁雑度についての閾値に基づき、下地・印画紙(写真)領域、文字・網点領域に分離する。   A total density busyness calculation unit 5304 calculates the total sum of absolute values of density differences between adjacent pixels. The determination area setting unit 5305 is calculated by the maximum density difference calculated by the maximum density difference calculation unit 5303, the threshold for the maximum density difference set by the maximum density difference threshold setting unit 5306, and the total density busyness calculation unit 5304. Are divided into a background / printing paper (photo) area and a character / halftone dot area on the basis of the threshold values for the total density busyness and the total density busyness threshold setting unit 5307.

文字・網点判定部5310は、判定領域設定部5305において文字・網点領域に分離された領域内の画素が文字であるか、又は網点であるかの判定を行う。判定には、文字・網点判定閾値設定部5311にて設定される閾値が用いられる。文字画素計数部5312は文字と判定された画素を計数し、網点画素計数部5313は網点と判定された画素を計数する。   The character / halftone dot determination unit 5310 determines whether the pixel in the region separated into the character / halftone dot region by the determination region setting unit 5305 is a character or a halftone dot. For the determination, a threshold set by the character / halftone dot determination threshold setting unit 5311 is used. The character pixel counting unit 5312 counts pixels determined to be characters, and the halftone pixel counting unit 5313 counts pixels determined to be halftone dots.

下地・印画紙判定部5320は、判定領域設定部5305において下地・印画紙領域に分離された領域内の画素が下地であるか、又は印画紙であるかの判定を行う。判定には、下地・印画紙判定閾値設定部5321にて設定される閾値が用いられる。下地画素計数部5322は下地と判定された画素を計数し、印画紙画素計数部5323は印画紙と判定された画素を計数する。   The background / photographic paper determination unit 5320 determines whether the pixels in the region separated by the determination region setting unit 5305 into the background / printing paper region are the background or the photographic paper. For the determination, a threshold set in the background / photographic paper determination threshold setting unit 5321 is used. A background pixel counting unit 5322 counts pixels determined to be the background, and a photographic paper pixel counting unit 5323 counts pixels determined to be photographic paper.

原稿判定部5330は、各領域の画素の計数結果に基づいて原稿種別の判別を行い、原稿種別判定信号を後段のACS判別部54、入力階調補正部55、色補正部57、黒生成下色除去部58、空間フィルタ処理部59、及び階調再現処理部61へ出力する。   The document determination unit 5330 determines the document type based on the pixel count results of each region, and outputs the document type determination signal to the subsequent ACS determination unit 54, the input tone correction unit 55, the color correction unit 57, and the black generation base. The data is output to the color removal unit 58, the spatial filter processing unit 59, and the gradation reproduction processing unit 61.

図4は原稿種別判定部53が実行する処理の手順を説明するフローチャートである。以下では、n×mのブロックについて判定を行う場合について説明する。まず、注目画素を含むn×mブロックにおける最小濃度値及び最大濃度値を算出し(ステップS11,S12)、算出した最小濃度値及び最大濃度値を用いて最大濃度差を算出する(ステップS13)。次いで、隣接する画素の濃度差の絶対値の総和(すなわち、総和濃度繁雑度)を算出する(ステップS14)。   FIG. 4 is a flowchart for explaining a procedure of processing executed by the document type determination unit 53. Hereinafter, a case where determination is performed on an n × m block will be described. First, the minimum density value and the maximum density value in the n × m block including the target pixel are calculated (steps S11 and S12), and the maximum density difference is calculated using the calculated minimum density value and the maximum density value (step S13). . Next, the sum of absolute values of density differences between adjacent pixels (that is, the total density busyness) is calculated (step S14).

次いで、算出された最大濃度差と最大濃度差閾値との比較、及び算出された総和濃度繁雑度と総和濃度繁雑度閾値との比較を行い、最大濃度差及び総和濃度繁雑度が共に比較対象の閾値より小さいか否かを判断する(ステップS15)。最大濃度差が最大濃度差閾値よりも小さく、かつ総和濃度繁雑度が総和濃度繁雑度閾値よりも小さいと判断した場合(S15:YES)、注目画素は下地・印画紙領域であると判断する(ステップS16)。   Then, the calculated maximum density difference and the maximum density difference threshold are compared, and the calculated total density busyness and the total density busyness threshold are compared. Both the maximum density difference and the total density busyness are compared. It is determined whether it is smaller than the threshold value (step S15). When it is determined that the maximum density difference is smaller than the maximum density difference threshold and the total density busyness is smaller than the total density busyness threshold (S15: YES), it is determined that the target pixel is the background / printing paper area ( Step S16).

このとき、最大濃度差と下地・印画紙判定閾値設定部5321により設定される閾値(下地・印画紙判定閾値)との比較を行い、最大濃度差が下地・印画紙判定閾値より小さいか否かを判断する(ステップS17)。最大濃度差が下地・印画紙判定閾値より小さい場合と判断した場合(S17:YES)、注目画素を下地領域として計数し(ステップS18)、最大濃度差が下地・印画紙判定閾値以上であると判断した場合(S17:NO)、注目画素を印画紙領域として計数する(ステップS19)。   At this time, the maximum density difference is compared with a threshold (background / photographic paper determination threshold) set by the background / photographic paper determination threshold setting unit 5321 to determine whether the maximum density difference is smaller than the background / photographic paper determination threshold. Is determined (step S17). If it is determined that the maximum density difference is smaller than the background / photographic paper determination threshold value (S17: YES), the target pixel is counted as a background area (step S18), and the maximum density difference is equal to or greater than the background / photographic paper determination threshold value. If it is determined (S17: NO), the target pixel is counted as a photographic paper region (step S19).

一方、ステップS15において、最大濃度差又は総和濃度繁雑度の何れか一方が比較対象の閾値以上であると判断した場合(S15:NO)、注目画素は文字・網点領域であると判断する(ステップS20)。   On the other hand, if it is determined in step S15 that either the maximum density difference or the total density busyness is greater than or equal to the threshold value to be compared (S15: NO), it is determined that the target pixel is a character / halftone dot region ( Step S20).

このとき、総和濃度繁雑度を、最大濃度差と文字・網点判定閾値設定部5311により設定される閾値(文字・網点判定閾値)との積と比較し、総和濃度繁雑度が積の値より小さいか否かを判断する(ステップS21)。総和濃度繁雑度が積の値より小さいと判断した場合(S21:YES)、注目画素を文字領域として計数し(ステップS22)、総和濃度繁雑度が積の値以上であると判断した場合(S21:NO)、注目画素を網点領域として計数する(ステップS23)。   At this time, the total density busyness is compared with the product of the maximum density difference and the threshold (character / halftone determination threshold) set by the character / halftone determination threshold setting unit 5311. It is determined whether it is smaller (step S21). When it is determined that the total density busyness is smaller than the product value (S21: YES), the target pixel is counted as a character area (step S22), and when the total density busyness is determined to be equal to or greater than the product value (S21). : NO), the target pixel is counted as a halftone dot region (step S23).

次いで、全ての画素の処理が終了したか否かを判断し(ステップS24)、終了していないと判断した場合(S24:NO)、処理をステップS11へ戻す。また、全ての画素の処理が終了したと判断した場合(S24:YES)、ステップS18及びS19、並びにステップS22及びS23での計数結果に基づいて原稿判別の判定を行う(ステップS25)。下地領域、印画紙領域、網点領域、及び印画紙領域の各領域について閾値を設定しておき、各領域の計数結果と比較することにより、原稿種別の判定が可能となる。   Next, it is determined whether or not all the pixels have been processed (step S24). If it is determined that the processing has not ended (S24: NO), the process returns to step S11. If it is determined that all pixels have been processed (S24: YES), document discrimination is determined based on the count results in steps S18 and S19 and steps S22 and S23 (step S25). A threshold value is set for each of the background area, the photographic paper area, the halftone dot area, and the photographic paper area, and the document type can be determined by comparing the threshold value with the count result of each area.

例えば、文字領域の比率と網点領域の比率とが、それぞれ閾値以上の場合は、文字・網点原稿(文字印刷写真原稿)であると判定する。また、文字、網点、印画紙写真の順に検出精度が高いとすると、文字領域の比率が全画素数の30%の場合には文字原稿、網点領域の比率が全画素数の20%の場合には網点原稿(印刷写真原稿)、印画紙写真領域の比率が全画素数の10%の場合には印画紙写真原稿であると判定する。ここでは、原稿種別として、文字原稿、文字印刷写真原稿、印刷写真原稿、印画紙写真原稿、文字印画紙写真原稿に判別する。尚、原稿種別の判別は、プレスキャンを行うのではなく、ハードディスク等の記憶手段に一旦格納された画像データを用いて行っても良い。   For example, when the ratio of the character area and the ratio of the halftone dot area are equal to or greater than the threshold value, respectively, it is determined that the character / halftone original (character-printed photo original). Also, assuming that the detection accuracy is higher in the order of characters, halftone dots, and photographic paper photographs, when the ratio of the character area is 30% of the total number of pixels, the ratio of the character original and the halftone area is 20% of the total number of pixels. In this case, when the ratio of the halftone dot original (printed photo original) and the photographic paper photo area is 10% of the total number of pixels, it is determined that the image is a photographic paper photo original. In this case, the document type is determined to be a character document, a character printed photo document, a printed photo document, a photographic paper photo document, or a character photographic paper photo document. The document type determination may be performed using image data temporarily stored in a storage unit such as a hard disk instead of performing pre-scanning.

次に、下地、印画紙、網点、文字の各領域における画素濃度分布の例について説明する。図5は各領域における画素濃度分布の一例を示す模式図であり、図6は各領域の最大濃度差及び総和濃度繁雑度による分布を示す模式図である。図5(a)は下地の濃度分布を示している。なお、図5(a)〜図5(d)の各図において横軸は画素、縦軸は濃度を示している。下地領域の濃度分布は、通常、濃度変化が少ないため、最大濃度差及び総和濃度繁雑度ともに非常に小さくなり、図6に示したような分布をとる。したがって、下地・印画紙領域に判別された画素に対して下地・印画紙判定閾値(Th1)よりも最大濃度差が小さい場合には、下地画素であると判別することが可能である。   Next, an example of pixel density distribution in each area of the background, photographic paper, halftone dots, and characters will be described. FIG. 5 is a schematic diagram illustrating an example of the pixel density distribution in each region, and FIG. 6 is a schematic diagram illustrating a distribution according to the maximum density difference and the total density busyness in each region. FIG. 5A shows the density distribution of the background. In each of FIGS. 5A to 5D, the horizontal axis indicates the pixel, and the vertical axis indicates the density. Since the density distribution of the background region is usually small in density change, both the maximum density difference and the total density busyness are very small, and the distribution shown in FIG. 6 is obtained. Therefore, if the maximum density difference is smaller than the background / printing paper determination threshold (Th1) with respect to the pixel determined as the background / printing paper region, it can be determined as the background pixel.

印画紙写真領域の濃度分布は、図5(b)に示すように、通常、滑らかな濃度変化をしており、最大濃度差及び総和濃度繁雑度はともに小さく、しかも下地領域よりは多少大きくなるため、図6に示したような分布をとる。したがって、下地・印画紙領域と判別された画素に対して下地・印画紙判定閾値(Th1)よりも最大濃度差が大きい場合には、印画紙領域であると判別することが可能である。   As shown in FIG. 5 (b), the density distribution in the photographic paper photographic area usually has a smooth density change, and the maximum density difference and the total density busyness are both small and slightly larger than the background area. Therefore, the distribution as shown in FIG. 6 is taken. Therefore, when the maximum density difference is larger than the background / printing paper determination threshold (Th1) for the pixels determined as the background / printing paper region, it is possible to determine that the pixel is the printing paper region.

網点領域の濃度分布は、図5(c)に示すように、最大濃度差は網点により様々であるが、総和濃度繁雑度が網点の数だけ濃度変化が存在するので、最大濃度差に対する総和濃度繁雑度の割合が大きくなる。このため、図6に示したような分布をとる。したがって、最大濃度差と文字・網点判定閾値との積(L2)よりも総和濃度繁雑度が大きい場合には、網点画素であると判別することが可能である。   As shown in FIG. 5C, the density distribution in the halftone dot region varies depending on the halftone dot. However, since the total density busyness varies depending on the number of halftone dots, the maximum density difference. The ratio of the total density busyness with respect to increases. For this reason, the distribution shown in FIG. 6 is taken. Therefore, when the total density busyness is larger than the product (L2) of the maximum density difference and the character / halftone determination threshold, it can be determined that the pixel is a halftone pixel.

文字領域の濃度分布は、図5(d)に示すように、最大濃度差が大きく、それに伴い総和濃度繁雑度も大きくなるが、網点領域よりも濃度変化が少ないため、網点領域よりも総和濃度繁雑度は小さくなる。特に、最大濃度差に対する総和濃度繁雑度の割合が小さくなるため、図6に示したような分布をとる。したがって、文字・網点領域に判別された画素において、最大濃度差と文字・網点判定閾値との積(L2)よりも総和濃度繁雑度が小さい場合には、文字画素であると判別することが可能である。   As shown in FIG. 5 (d), the density distribution of the character area has a large maximum density difference, and the total density complexity increases accordingly. However, since the density change is smaller than that of the halftone area, the density distribution is smaller than that of the halftone area. The total density complexity decreases. In particular, since the ratio of the total density busyness with respect to the maximum density difference becomes small, the distribution as shown in FIG. 6 is taken. Therefore, when the total density busyness is smaller than the product (L2) of the maximum density difference and the character / halftone determination threshold in the pixel determined as the character / halftone area, it is determined that the pixel is a character pixel. Is possible.

次に、ACS判別部54での処理内容について説明する。図7はACS判別部54の構成を説明するブロック図である。ACS判別部54は、有彩・無彩画素判定部541、有彩画素ヒストグラム作成部542、ヒストグラム解析部543、及びデータ変換部544を備えている。   Next, the processing content in the ACS discrimination | determination part 54 is demonstrated. FIG. 7 is a block diagram illustrating the configuration of the ACS determination unit 54. The ACS determination unit 54 includes a chromatic / achromatic pixel determination unit 541, a chromatic pixel histogram creation unit 542, a histogram analysis unit 543, and a data conversion unit 544.

有彩・無彩画素判定部541は、原稿種別判定部53より入力されたRGB信号を基に各画素が有彩画素であるか、又は無彩画素であるかを判定する。図8は有彩・無彩画素判定部541の構成を説明するブロック図である。有彩・無彩画素判定部541では、まず、注目画素平均値算出部5411〜5413において、注目画素を中心とするn×m画素のブロック(例えば、3×3画素のブロック)の平均値が各入力信号毎に算出される。次に、最大濃度差分値算出部5414にて各信号の平均値の最大値及び最小値が算出し、算出した最大値と最小値との差分が算出される。算出された差分値が注目画素における最大濃度差分値となる。   The chromatic / achromatic pixel determination unit 541 determines whether each pixel is a chromatic pixel or an achromatic pixel based on the RGB signal input from the document type determination unit 53. FIG. 8 is a block diagram illustrating the configuration of the chromatic / achromatic pixel determination unit 541. In the chromatic / achromatic pixel determination unit 541, first, the target pixel average value calculation units 5411 to 5413 calculate an average value of an n × m pixel block (for example, a 3 × 3 pixel block) centered on the target pixel. Calculated for each input signal. Next, the maximum density difference value calculation unit 5414 calculates the maximum value and the minimum value of the average value of each signal, and calculates the difference between the calculated maximum value and the minimum value. The calculated difference value becomes the maximum density difference value in the target pixel.

次に、注目画素判定部5415において、最大濃度差分値と有彩画素判定閾値設定部5416にて設定される有彩画素判定閾値と間の大小関係が比較される。最大濃度差差分値が有彩画素判定閾値より大きい場合、注目画素が有彩画素と判定され、最大濃度差分値が有彩画素判定閾値より小さい場合、注目画素が無彩画素と判定される。   Next, the target pixel determination unit 5415 compares the magnitude relationship between the maximum density difference value and the chromatic pixel determination threshold set by the chromatic pixel determination threshold setting unit 5416. When the maximum density difference difference value is larger than the chromatic pixel determination threshold, the target pixel is determined as a chromatic pixel, and when the maximum density difference value is smaller than the chromatic pixel determination threshold, the target pixel is determined as an achromatic pixel.

説明を図7のブロック図に戻す。有彩・無彩画素判定部541にて有彩画素と判定された場合、有彩画素ヒストグラム作成部542はヒストグラムの作成を行う。なお、無彩画素と判定されたデータについてはヒストグラムの作成は行われない。ヒストグラム解析部543は、有彩画素ヒストグラム作成部542にて作成されたヒストグラムの解析を行い、カラー複写すべき原稿であるか否かの判定を行う。解析手法については後に詳述する。データ変換部544は、ヒストグラム解析部543にてカラー複写すべきでないと判定された場合、有彩画素をモノクロ複写に最適なデータ変換を行う。例えば、有彩画素と判定された画素を無彩画素に置換する処理を行う。   Returning to the block diagram of FIG. When the chromatic / achromatic pixel determination unit 541 determines that the pixel is a chromatic pixel, the chromatic pixel histogram creation unit 542 creates a histogram. Note that no histogram is created for data determined to be achromatic pixels. The histogram analysis unit 543 analyzes the histogram created by the chromatic pixel histogram creation unit 542 and determines whether or not the document is to be color copied. The analysis method will be described in detail later. If the histogram analysis unit 543 determines that color copying should not be performed, the data conversion unit 544 performs data conversion that is optimal for monochrome copying of chromatic pixels. For example, a process of replacing a pixel determined to be a chromatic pixel with an achromatic pixel is performed.

図9はACS判別部54における処理の手順を説明するフローチャートである。ACS判別部54の有彩・無彩画素判定部541は、原稿種別判定部53より入力されるRGB信号を基に有彩・無彩画素判定を行う(ステップS31)。判定には、注目画素を中心とするn×m画素のブロックが使用される。   FIG. 9 is a flowchart for explaining a processing procedure in the ACS discriminating unit 54. The chromatic / achromatic pixel determination unit 541 of the ACS determination unit 54 performs chromatic / achromatic pixel determination based on the RGB signals input from the document type determination unit 53 (step S31). For the determination, an n × m pixel block centered on the target pixel is used.

有彩・無彩画素判定部541は注目画素が有彩画素であるか否かを判断し(ステップS32)、有彩画素であると判断した場合には(S32:YES)、その旨の判定結果を有彩画素ヒストグラム作成部542へ通知する。なお、注目画素が無彩画素であると判断した場合(S32:NO)、ヒストグラムの作成を行わないので、処理をステップS31へ戻し、次の画素を注目画素として有彩・無彩判定を行う。   The chromatic / achromatic pixel determination unit 541 determines whether or not the pixel of interest is a chromatic pixel (step S32). If it is determined that the pixel is a chromatic pixel (S32: YES), the determination to that effect is made. The result is notified to the chromatic pixel histogram creation unit 542. If it is determined that the pixel of interest is an achromatic pixel (S32: NO), the histogram is not created, so the process returns to step S31 to perform chromatic / achromatic determination with the next pixel as the pixel of interest. .

注目画素が有彩画素である旨の判定結果を受けた場合、有彩・無彩画素ヒストグラム作成部542はヒストグラムの作成を行う(ステップS33)。そして、全ての画素の処理が終了したか否かを判断し(ステップS34)、終了していないと判断した場合(S34:NO)、処理をステップS31へ戻す。   When the determination result that the target pixel is a chromatic pixel is received, the chromatic / achromatic pixel histogram creation unit 542 creates a histogram (step S33). Then, it is determined whether or not the processing for all the pixels has been completed (step S34). If it is determined that the processing has not been completed (S34: NO), the processing is returned to step S31.

全ての画素についての処理が終了したと判断した場合(S34:YES)、ヒストグラム解析部543は、原稿種別判定部53より入力される原稿種別判定信号を基に後述するヒストグラム解析処理を行い(ステップS35)、解析結果に基づいてカラー複写用の原稿であるか否かを判断する(ステップS36)。カラー複写用の原稿でないと判断した場合(S36:NO)、有彩画素をモノクロ複写に最適なデータ変換を行う(ステップS37)。一方、カラー複写用の原稿であると判断した場合(S36:YES)、データ変換を行うことなく、本フローチャートによる処理を終了する。   When it is determined that the processing for all the pixels has been completed (S34: YES), the histogram analysis unit 543 performs a histogram analysis process described later based on the document type determination signal input from the document type determination unit 53 (Step S34). In step S35, it is determined whether or not the document is for color copying based on the analysis result (step S36). If it is determined that the document is not for color copying (S36: NO), chromatic pixels are converted into data that is optimal for monochrome copying (step S37). On the other hand, if it is determined that the document is for color copying (S36: YES), the processing according to this flowchart is terminated without performing data conversion.

なお、ACS判別部54では、RGB信号に基づいてカラー原稿であるか、又はモノクロ原稿であるかの判別を行ったが、RGB信号を補色反転したCMY信号やRGB信号をCIE1976L*** 信号(CIE: Commission International de l’Eclairage:国際照明委員会。L*: 明度、a* 、b* : 色度)に変換して処理を行ってもよい。 Note that the ACS discriminating unit 54 discriminates whether the document is a color document or a monochrome document based on the RGB signal. However, the CMY 1976 L * a * b * CMY signal or the RGB signal obtained by inverting the RGB signal is used . The signal may be converted into a signal (CIE: Commission International de l'Eclairage: L * : brightness, a * , b * : chromaticity).

次に、ヒストグラム解析部543での処理内容について説明する。図10〜図12は原稿画像の濃度分布を示すヒストグラムである。図10のヒストグラムは、汚れ、しみ等により部分的に変色した原稿の濃度分布を示している。部分的に変色した原稿は、同色系で原稿の一部に存在するため、全ての信号において高濃度域側で濃度領域幅の狭いピークが1つ形成される。   Next, processing contents in the histogram analysis unit 543 will be described. 10 to 12 are histograms showing the density distribution of the document image. The histogram in FIG. 10 shows the density distribution of a document partially discolored due to dirt, blots, or the like. Since the partially discolored original exists in a part of the original with the same color system, one peak having a narrow density area width is formed on the high density area side in all signals.

図11のヒストグラムは、色つき原稿、全体的に変色した原稿等の濃度分布を示している。図11に示すように有彩画素の度数は大きくなるものの、部分的に変色した原稿と同様に、有彩画素ヒストグラムは各信号ともに濃度が高く、同色であるため高濃度域側で濃度領域幅の狭いピークが形成される。すなわち、部分的に変色した原稿、及び色つき原稿、全体的に変色した原稿においては、ピークの度数は原稿における有彩総画素数に依存するため、ピークの濃度位置及び濃度幅の度数で判定することができる。   The histogram in FIG. 11 shows the density distribution of a colored document, a document whose color has changed as a whole, and the like. As shown in FIG. 11, although the frequency of the chromatic pixels is large, the chromatic pixel histogram has a high density and the same color for each signal as in the partially discolored document. Narrow peaks are formed. In other words, in a partially discolored document, a colored document, and an entirely discolored document, the peak frequency depends on the total number of chromatic pixels in the document, so the determination is based on the peak density position and density width frequency. can do.

図12のヒストグラムは一般的なカラー原稿の濃度分布を示している。一般的なカラー原稿では、色数が増えるとともにピーク幅が広くなり、原稿におけるカラー領域が大きくなるとともに度数が大きくなるピークが形成される。   The histogram in FIG. 12 shows a general color document density distribution. In a general color original, the peak width increases as the number of colors increases, and a peak is formed in which the frequency increases as the color area in the original increases.

図13はヒストグラム解析処理の手順を説明するフローチャートである。ヒストグラム解析部543は、まず、原稿種別判定部53より入力される原稿種別判定信号に基づいて、原稿種別が印画紙写真であるか否かを判断する(ステップS41)。原稿種別が印画紙写真であると判断した場合(S41:YES)、濃度閾値を低く、無彩判定度数閾値を高く設定する(ステップS42)。この設定により、カラー複写のモードが選択されやすくなるようにする。   FIG. 13 is a flowchart for explaining the procedure of the histogram analysis process. The histogram analysis unit 543 first determines whether or not the document type is a photographic paper photograph based on the document type determination signal input from the document type determination unit 53 (step S41). If it is determined that the document type is a photographic paper photograph (S41: YES), the density threshold is set low and the achromatic determination frequency threshold is set high (step S42). This setting makes it easy to select a color copying mode.

読取った原稿が印画紙写真でないと判断した場合(S41:NO)、原稿種別が印刷写真であるか否かの判定を行う(ステップS43)。原稿種別が印刷写真であると判断した場合(S43:YES)、濃度閾値を高く、無彩判定度数閾値を低く設定する(ステップS44)。この設定により、モノクロ複写のモードが選択されやすくなるようにする。また、印刷写真でないと判断した場合(S43:NO)、濃度閾値、無彩判定度数閾値の変更は行わないため、本フローチャートによる処理を終了する。   If it is determined that the read original is not a photographic paper photograph (S41: NO), it is determined whether or not the original type is a printed photograph (step S43). If it is determined that the document type is a printed photograph (S43: YES), the density threshold is set high and the achromatic determination frequency threshold is set low (step S44). This setting makes it easy to select the monochrome copying mode. If it is determined that the photograph is not a printed photograph (S43: NO), the density threshold value and the achromatic determination frequency threshold value are not changed, and thus the processing according to this flowchart ends.

ステップS42又はステップS44にて閾値の設定を行った後、有彩画素ヒストグラム作成部542において作成されたヒストグラムに対して最も度数が大きい濃度値の検出を行い、検出された濃度値を最大度数濃度値とする(ステップS45)。次に、最大度数濃度値とモノクロ複写を行いたい濃度の閾値である濃度閾値との比較を行い、最大度数濃度値が濃度閾値よりも大きいか否かを判断する(ステップS46)。   After setting the threshold value in step S42 or step S44, the density value having the highest frequency is detected from the histogram created in the chromatic pixel histogram creation unit 542, and the detected density value is set to the maximum frequency density. A value is set (step S45). Next, a comparison is made between the maximum power density value and a density threshold value that is a density threshold value for which monochrome copying is desired, and it is determined whether or not the maximum power density value is larger than the density threshold value (step S46).

最大度数濃度閾値が濃度閾値よりも大きいと判断した場合(S46:YES)、最大度数濃度値を中心に予め設定している濃度幅の領域(最大濃度領域)の総度数値を算出する(ステップS47)。濃度幅の値としては、例えば、最大度数濃度値を中心として±8程度がよい。   When it is determined that the maximum power density threshold is greater than the density threshold (S46: YES), the total value of the density range area (maximum density area) set in advance around the maximum power density value is calculated (step S46). S47). As the value of the density range, for example, about ± 8 is preferable with the maximum frequency density value as the center.

次いで、ステップS47で算出した最大濃度領域の総度数値と予め設定している無彩判定度数閾値との比較を行い、最大濃度領域の総度数値が無彩判定度数閾値より大きいか否かを判断する(ステップS48)。ここで、無彩判定度数閾値とは、有彩画素と判定された総画素数に対する割合として設定される値であり、例えば、有彩総画素数×90%といった値が適切である。   Next, a comparison is made between the total density value of the maximum density area calculated in step S47 and a preset achromatic determination frequency threshold value, and whether or not the total density value of the maximum density area is larger than the achromatic determination frequency threshold value. Judgment is made (step S48). Here, the achromatic determination frequency threshold is a value set as a ratio to the total number of pixels determined to be chromatic pixels, and for example, a value such as the total number of chromatic pixels × 90% is appropriate.

最大濃度領域の総度数値が無彩判定度数閾値よりも大きいと判断した場合(S48:YES)、読取った原稿はモノクロ複写すべき原稿と判定する(ステップS49)。一方、ステップS46にて最大度数濃度値が濃度閾値以下であると判断した場合(S46:NO)、ステップS48にて最大濃度領域の総度数値が無彩判定度数閾値以下であると判断した場合(S48:NO)、読取った原稿はカラー複写すべき原稿と判定する(ステップS50)。   When it is determined that the total density value of the maximum density area is larger than the achromatic determination frequency threshold (S48: YES), the read document is determined as a document to be monochrome copied (step S49). On the other hand, when it is determined in step S46 that the maximum power density value is equal to or lower than the density threshold value (S46: NO), or in step S48, it is determined that the total power value of the maximum density area is equal to or lower than the achromatic determination power threshold value. (S48: NO), the read original is determined as an original to be color copied (step S50).

このような処理を行うことにより原稿の有彩・無彩が判定され、その結果に基づいて入力階調補正、色補正、及び黒生成下色除去の各処理がそれぞれ入力階調補正部55、色補正部57、黒生成下色除去部58にて行われる。例えば、入力画像がカラー原稿であると判別された場合は、図2を用いて説明したカラー画像処理が行われる。また、入力画像がモノクロ原稿であると判別された場合は、入力階調補正処理において、RGB信号はK信号に信号変換され、色補正処理及び黒生成下色除去処理は省略される。なお、空間フィルタ処理、出力階調補正処理、及び階調再現処理においては、カラー複写、モノクロ複写ともに同様の処理がなされる。   By performing such processing, the chromatic / achromatic color of the document is determined, and based on the result, input tone correction, color correction, and black generation and under color removal processing are respectively performed by the input tone correction unit 55, This is performed by the color correction unit 57 and the black generation and under color removal unit 58. For example, when it is determined that the input image is a color original, the color image processing described with reference to FIG. 2 is performed. If it is determined that the input image is a monochrome document, the RGB signal is converted into a K signal in the input tone correction process, and the color correction process and the black generation and under color removal process are omitted. In the spatial filter processing, output tone correction processing, and tone reproduction processing, the same processing is performed for both color copying and monochrome copying.

なお、前述した各閾値については、任意に調節することにより、より原稿データに適切な処理を行うことが可能となる。また、各閾値について予想される複数の値を予めROMなどの記憶手段に格納しておき、必要に応じて操作部9が備えるスイッチ等により適宜の値が選択されるようにしてもよい。   Note that each of the above-described threshold values can be arbitrarily adjusted so that more appropriate processing can be performed on the document data. A plurality of values predicted for each threshold value may be stored in advance in a storage unit such as a ROM, and appropriate values may be selected by a switch or the like provided in the operation unit 9 as necessary.

実施の形態2.
本実施の形態では、画素が文字領域、網点領域を含む複数の領域の何れに属するかという領域属性の判定と、画素が有彩又は無彩であるかという有彩・無彩判定とを併用して原稿種別を判定する構成について説明する。なお、画像処理装置の構成は実施の形態1と同様であるが、原稿種別判定部53に代えて原稿種別判定部53A、ACS判定部54に代えてACS判定部54Aを備える。
Embodiment 2. FIG.
In the present embodiment, the determination of the region attribute indicating whether the pixel belongs to a plurality of regions including a character region or a halftone dot region, and the chromatic / achromatic determination whether the pixel is chromatic or achromatic. A configuration for determining the document type in combination will be described. The configuration of the image processing apparatus is the same as that of the first embodiment, but includes a document type determination unit 53A instead of the document type determination unit 53, and an ACS determination unit 54A instead of the ACS determination unit 54.

図14は原稿種別判定部53Aの構成を説明するブロック図である。原稿種別判定部53Aは、前述した信号変換部5300、最小濃度値算出部5301、最大濃度値算出部5302、最大濃度差算出部5303、総和濃度繁雑度算出部5304、判定領域設定部5305、最大濃度差閾値設定部5306、総和濃度繁雑度閾値設定部5307、文字・網点判定部5310、文字・網点判定閾値設定部5311、文字画素計数部5312、網点画素計数部5313、下地・印画紙判定部5320、下地・印画紙判定閾値設定部5321、下地画素計数部5322、印画紙画素計数部5323、原稿判定部5330の他に、注目画素の有彩無彩の判定を行う有彩・無彩画素判定部531を備える。   FIG. 14 is a block diagram illustrating the configuration of the document type determination unit 53A. The document type determination unit 53A includes the signal conversion unit 5300, the minimum density value calculation unit 5301, the maximum density value calculation unit 5302, the maximum density difference calculation unit 5303, the total density busyness calculation unit 5304, the determination area setting unit 5305, and the maximum. Density difference threshold setting unit 5306, total density busyness threshold setting unit 5307, character / halftone determination unit 5310, character / halftone determination threshold setting unit 5311, character pixel counting unit 5312, halftone pixel counting unit 5313, background / printing In addition to the paper determination unit 5320, the background / photographic paper determination threshold setting unit 5321, the background pixel counting unit 5322, the photographic paper pixel counting unit 5323, and the document determination unit 5330, the chromatic / achromatic determination of the pixel of interest is performed. An achromatic pixel determination unit 531 is provided.

図15は有彩・無彩画素判定部531の内部構成を説明するブロック図である。有彩・無彩画素判定部531は、入力されたRGB信号に対して、各画素が有彩画素であるか無彩画素であるかを判定するためのものであり、注目画素平均値算出部5311〜5313、最大濃度差分値算出部5314、注目画素判定部5315、有彩画素判定閾値設定部5316を備える。   FIG. 15 is a block diagram illustrating the internal configuration of the chromatic / achromatic pixel determination unit 531. The chromatic / achromatic pixel determination unit 531 is for determining whether each pixel is a chromatic pixel or an achromatic pixel with respect to the input RGB signal. 5311 to 5313, a maximum density difference value calculation unit 5314, a target pixel determination unit 5315, and a chromatic pixel determination threshold setting unit 5316.

まず、注目画素(図15ではハッチングを付した画素)を中心とするn×mのブロック(例えば、3×3)において、注目画素平均値算出部5311〜5313にて各入力信号別に平均値の算出を行う。   First, in an n × m block (for example, 3 × 3) centering on a target pixel (a hatched pixel in FIG. 15), the target pixel average value calculation units 5311 to 5313 calculate an average value for each input signal. Perform the calculation.

次いで、最大濃度差分値算出部5314において算出された各信号の最大値及び最小値を算出し、最大値と最小値との差分値を注目画素における最大濃度差分値として算出する。そして、注目画素判定部5315において、算出した最大濃度差分値と予め有彩画素判定閾値設定部5316に設定している有彩画素判定閾値(例えば、20)との比較を行い、最大濃度差分値が有彩画素判定閾値よりも大きければ、注目画素が有彩画素であると判定し、最大濃度差分値が有彩画素判定閾値よりも小さければ、注目画素が無彩画素であると判定する。   Next, the maximum value and the minimum value of each signal calculated by the maximum density difference value calculation unit 5314 are calculated, and the difference value between the maximum value and the minimum value is calculated as the maximum density difference value in the target pixel. Then, the pixel-of-interest determination unit 5315 compares the calculated maximum density difference value with a chromatic pixel determination threshold value (for example, 20) set in advance in the chromatic pixel determination threshold value setting unit 5316 to obtain the maximum density difference value. Is larger than the chromatic pixel determination threshold, it is determined that the target pixel is a chromatic pixel, and if the maximum density difference value is smaller than the chromatic pixel determination threshold, it is determined that the target pixel is an achromatic pixel.

このとき、文字・網点判定部5310の判定結果に基づいて、有彩画素判定閾値設定部5316に設定している有彩画素判定閾値の値を変更する。例えば、注目画素が文字であると判定された場合、有彩画素判定閾値を小さい値に設定する。これは、文字の場合、茶色などの無彩色の色との差(最大濃度差分値)が小さい色の場合が多く、下地などの領域と比較して有彩色であると判定しやすく設定することにより、色文字の判定精度を向上させることができるためである。   At this time, based on the determination result of the character / halftone dot determination unit 5310, the value of the chromatic pixel determination threshold set in the chromatic pixel determination threshold setting unit 5316 is changed. For example, when it is determined that the target pixel is a character, the chromatic pixel determination threshold is set to a small value. This is often the case for characters that have a small difference (maximum density difference value) from an achromatic color such as brown, so that it is easier to determine that the color is chromatic compared to the area such as the background. This is because the determination accuracy of color characters can be improved.

一方、注目画素が網点であると判定された場合、有彩画素判定閾値を大きい値に設定する。これはグレーがCMYの混色網点で表現されている場合(コンポジットグレーの場合)、注目画素が有彩色(カラー)であると誤判定されるのを防ぐためである。   On the other hand, when it is determined that the target pixel is a halftone dot, the chromatic pixel determination threshold is set to a large value. This is to prevent erroneous determination that the pixel of interest is a chromatic color (color) when gray is represented by CMY mixed color halftone dots (in the case of composite gray).

図16は原稿種別判定部53Aが実行する処理の手順を示すフローチャートである。原稿種別判定部53Aは、図4のフローチャートで説明した手順と同様にして、注目画素を含むn×mブロック(例えば、7×7ブロック)について領域判定を行い(S51〜S63)、注目画素の属性を判定する。これにより、注目画素が下地領域(S58)、印画紙領域(S59)、文字領域(S62)、網点領域(S63)の何れに属するかが判定される。   FIG. 16 is a flowchart showing a procedure of processing executed by the document type determination unit 53A. The document type determination unit 53A performs region determination for an n × m block (for example, 7 × 7 block) including the target pixel (S51 to S63) in the same manner as the procedure described in the flowchart of FIG. Determine the attribute. Thus, it is determined whether the target pixel belongs to the background area (S58), the photographic paper area (S59), the character area (S62), or the halftone dot area (S63).

次いで、注目画素について有彩・無彩画素判定処理を実行する(S64)。有彩・無彩画素判定処理の詳細については後に詳述することするが、ここでは、ステップS51〜ステップS63の処理により判定された注目画素の属性に基づき、有彩画素判定閾値を設定する。   Next, a chromatic / achromatic pixel determination process is executed for the target pixel (S64). Details of the chromatic / achromatic pixel determination process will be described later. Here, a chromatic pixel determination threshold is set based on the attribute of the target pixel determined by the processes of steps S51 to S63.

次いで、全ての画素の処理が終了したか否かを判断し(ステップS65)、終了していないと判断した場合(S65:NO)、処理をステップS51へ戻す。また、全ての画素の処理が終了したと判断した場合(S65:YES)、ステップS58及びS59、並びにステップS62及びS63での計数結果に基づいて原稿判別の判定を行う(ステップS66)。下地領域、印画紙領域、網点領域、及び印画紙領域の各領域について閾値を設定しておき、各領域の計数結果と比較することにより、原稿種別の判定が可能となる。   Next, it is determined whether or not all the pixels have been processed (step S65). If it is determined that the processing has not ended (S65: NO), the process returns to step S51. If it is determined that all the pixels have been processed (S65: YES), document discrimination is determined based on the count results in steps S58 and S59 and steps S62 and S63 (step S66). A threshold value is set for each of the background area, the photographic paper area, the halftone dot area, and the photographic paper area, and the document type can be determined by comparing the threshold value with the count result of each area.

なお、画素の属性判定は上記の方法に限定されるものではなく、下記で説明する方法を用いることも可能である。注目画素を中心としたM×N画素(例えば、7×7画素)のブロック内で以下のような判定を行い、それを注目画素の領域識別信号とする。   Note that pixel attribute determination is not limited to the above method, and a method described below can also be used. The following determination is performed in a block of M × N pixels (for example, 7 × 7 pixels) centered on the pixel of interest, and this is used as a region identification signal of the pixel of interest.

ブロック内の画素に対して信号レベルの平均値Daveを求め、その平均値を用いてブロック内の各画素を2値化する。また、最大画素信号レベルDmax、最小画素信号レベルDminも同時に求める。   An average value Dave of the signal level is obtained for the pixels in the block, and each pixel in the block is binarized using the average value. Further, the maximum pixel signal level Dmax and the minimum pixel signal level Dmin are also obtained at the same time.

文字領域では、最大画素信号レベルDmaxと最小画素信号レベルDminとの差が大きく、濃度も高いと考えられることから、Dsub>PC又はDmin<PBを満たす場合、文字領域と判定する。   In the character area, it is considered that the difference between the maximum pixel signal level Dmax and the minimum pixel signal level Dmin is large and the density is high. Therefore, when Dsub> PC or Dmin <PB is satisfied, the character area is determined.

網点領域では、小領域における画像信号の変動が大きいことや、背景に比べて濃度が高いことを利用し、網点領域を識別する。2値化されたデータに対して主走査方向、副走査方向でそれぞれ0から1への変化点数、1から0への変化点数を求めて、それぞれKH,KVとし、閾値TH,TVと比較して両者が共に閾値を上回った場合、網点領域とする。また、背景との誤判定を防ぐために、先に求めたDmax,Dmin,Daveを閾値B1,B2と比較し、Dmax−Dave>B1かつDave−Dmin>B2かつKH>THかつKV>TVである場合、網点領域と判定する。   In the halftone dot region, the halftone dot region is identified by utilizing the fact that the fluctuation of the image signal in the small region is large and the density is higher than the background. For the binarized data, the number of change points from 0 to 1 in the main scanning direction and the sub-scanning direction is obtained, respectively, and the change points from 1 to 0 are obtained as KH and KV, respectively, and compared with the threshold values TH and TV. If both values exceed the threshold value, a halftone dot region is set. Further, in order to prevent erroneous determination with the background, the previously obtained Dmax, Dmin, and Dave are compared with the threshold values B1 and B2, and Dmax-Dave> B1, Dave-Dmin> B2, KH> TH, and KV> TV. In this case, it is determined as a halftone dot region.

上記の2つの判定結果を用いて注目画素の分類を行う。すなわち、網点判定において網点領域であると判定された場合、文字判定の判定結果に依らずに注目画素が網点領域に属すると判定する。また、網点判定において網点領域でないと判定され、文字判定において文字領域と判定された場合、注目画素は文字領域に属すると判定する。更に、網点判定において網点領域でないと判定され、文字判定において文字領域でないと判定された場合、注目画素はその他の領域に属すると判定する。このように注目画素の分類を行い、上記と同様に画素のカウントを行うことによって原稿種別の判定を行うことができる。   The pixel of interest is classified using the above two determination results. That is, when it is determined that the image is a halftone dot region in the halftone dot determination, it is determined that the target pixel belongs to the halftone dot region regardless of the character determination determination result. Further, when it is determined that it is not a halftone dot region in the halftone dot determination and is determined as a character region in the character determination, it is determined that the target pixel belongs to the character region. Further, when it is determined that the pixel is not a halftone dot region in the halftone dot determination and is not a character region in the character determination, it is determined that the target pixel belongs to another region. By classifying the target pixel in this way and counting the pixels in the same manner as described above, the document type can be determined.

なお、原稿種別の判定は必ずしも行う必要はなく、有彩無彩の判定のみを行うようにしてもよい。   It is not always necessary to determine the document type, and only chromatic / achromatic determination may be performed.

次に、有彩・無彩画素判定処理について説明する。図17は有彩・無彩画素判定処理の手順を説明するフローチャートである。有彩・無彩画素判定部531は、まず、注目画素が文字領域に属するか否かを判断する(ステップS71)。注目画素が文字領域に属すると判断した場合(S71:YES)、有彩画素判定閾値を小さい値に設定し(ステップS72)、本フローチャートによる処理を終了する。   Next, chromatic / achromatic pixel determination processing will be described. FIG. 17 is a flowchart for explaining the procedure of the chromatic / achromatic pixel determination process. The chromatic / achromatic pixel determination unit 531 first determines whether or not the target pixel belongs to the character region (step S71). If it is determined that the pixel of interest belongs to the character area (S71: YES), the chromatic pixel determination threshold is set to a small value (step S72), and the processing according to this flowchart ends.

注目画素が文字領域に属さないと判断した場合(S71:NO)、有彩・無彩画素判定部531は、注目画素が網点領域に属するか否かを判断する(ステップS73)。注目画素が網点領域に属すると判断した場合(S73:YES)、有彩画素判定閾値を大きい値に設定して(ステップS74)、本フローチャートによる処理を終了し、注目画素が網点領域に属さないと判断した場合(S73:NO)、有彩画素判定閾値をデフォルト値に設定し(ステップS75)、本フローチャートによる処理を終了する。   When it is determined that the target pixel does not belong to the character area (S71: NO), the chromatic / achromatic pixel determination unit 531 determines whether the target pixel belongs to the halftone dot area (step S73). If it is determined that the pixel of interest belongs to the halftone dot region (S73: YES), the chromatic pixel determination threshold is set to a large value (step S74), the processing according to this flowchart is terminated, and the pixel of interest enters the dot region. When it is determined that it does not belong (S73: NO), the chromatic pixel determination threshold value is set to a default value (step S75), and the processing according to this flowchart is terminated.

次に、ACS判定部54Aについて説明する。図18はACS判定部54Aの構成を説明するブロック図である。ACS判定部54Aは、有彩画素ヒストグラム作成部542、ヒストグラム解析部543、及びデータ変換部544を備える。各処理部での処理内容は、実施の形態1で説明したACS判定部54に搭載されているものと同様であり、有彩画素ヒストグラム作成部542は、上述した有彩・無彩画素判定部531により有彩画素と判定されたデータに対してのみヒストグラムを作成するものである。ヒストグラム解析部543は、有彩画素ヒストグラム作成部542で作成されたヒストグラムを用いてヒストグラムの形状を解析することによりカラー複写するべき原稿であるか、すべきでない原稿であるかの判定を行う。データ変換部544は、ヒストグラム解析部543でカラー複写すべきでないと判定された場合に、有彩画素をモノクロ複写に最適なデータに変換する処理を行う。例えば、有彩画素と判定された画素を無彩画素(白画素)に置き換えるといった処理が行われる。   Next, the ACS determination unit 54A will be described. FIG. 18 is a block diagram illustrating the configuration of the ACS determination unit 54A. The ACS determination unit 54A includes a chromatic pixel histogram creation unit 542, a histogram analysis unit 543, and a data conversion unit 544. The processing content in each processing unit is the same as that mounted in the ACS determination unit 54 described in the first embodiment, and the chromatic pixel histogram creation unit 542 is the chromatic / achromatic pixel determination unit described above. A histogram is created only for data determined to be chromatic pixels by 531. The histogram analysis unit 543 determines whether the document is to be color-copied or not by analyzing the shape of the histogram using the histogram created by the chromatic pixel histogram creation unit 542. When the histogram analysis unit 543 determines that color copying should not be performed, the data conversion unit 544 performs processing for converting chromatic pixels into data optimal for monochrome copying. For example, a process of replacing a pixel determined to be a chromatic pixel with an achromatic pixel (white pixel) is performed.

図19はACS判定部54Aが実行する処理の手順を説明するフローチャートである。まず、有彩画素ヒストグラム作成部542において、有彩・無彩画素判定部531により有彩画素と判定されたデータに対してのみヒストグラムを作成する(ステップS81)。次いで、全ての画素の処理が終了したか否かを判断し(ステップS82)、処理が終了していない画素が存在する場合(S82:NO)、ACS判定部54Aは処理をステップS81へ戻す。   FIG. 19 is a flowchart illustrating a procedure of processing executed by the ACS determination unit 54A. First, the chromatic pixel histogram creation unit 542 creates a histogram only for data determined as chromatic pixels by the chromatic / achromatic pixel determination unit 531 (step S81). Next, it is determined whether or not the processing of all pixels has been completed (step S82). If there is a pixel for which processing has not ended (S82: NO), the ACS determination unit 54A returns the processing to step S81.

全ての画素の処理が終了したと判断した場合(S82:YES)、後述するヒストグラム解析処理を行い(ステップS83)、ヒストグラムの形状からカラー複写すべき原稿であるか否かを判定する。   If it is determined that all the pixels have been processed (S82: YES), a histogram analysis process (to be described later) is performed (step S83), and it is determined from the histogram shape whether the document is to be color copied.

ステップS83の解析結果により、カラー複写用の原稿であるか否かを判断する(ステップS84)。カラー複写用の原稿でないと判断した場合(S84:NO)、有彩画素をモノクロ複写に最適なデータ変換を行う(ステップS85)。一方、カラー複写用の原稿であると判断した場合(S84:YES)、データ変換を行うことなく本フローチャートによる処理を終了する。   Based on the analysis result in step S83, it is determined whether or not the document is for color copying (step S84). If it is determined that the document is not for color copying (S84: NO), the chromatic pixels are converted into data that is optimal for monochrome copying (step S85). On the other hand, if it is determined that the document is for color copying (S84: YES), the processing according to this flowchart is terminated without performing data conversion.

図20はヒストグラム解析処理の処理手順を説明するフローチャートである。まず、最初に有彩画素ヒストグラムにおいて最も度数値の大きい濃度値を検出し(ステップS91)、その濃度値を最大度数濃度値とする。次に、最大度数濃度値とモノクロ複写を行いたい濃度の閾値である濃度閾値(例えば、150)との比較を行い、最大度数濃度値が濃度閾値よりも大きいか否かを判断する(ステップS92)。   FIG. 20 is a flowchart for explaining the processing procedure of the histogram analysis processing. First, a density value having the largest power value is detected in the chromatic pixel histogram (step S91), and the density value is set as the maximum power density value. Next, a comparison is made between the maximum power density value and a density threshold value (for example, 150) which is a density threshold value for which monochrome copying is desired, and it is determined whether or not the maximum power density value is larger than the density threshold value (step S92). ).

最大度数濃度閾値が濃度閾値よりも大きいと判断した場合(S92:YES)、最大度数濃度値を中心に予め設定している濃度幅の領域(最大濃度領域)の総度数値を算出する(ステップS93)。濃度幅の値としては、例えば、最大度数濃度値を中心として±8程度がよい。   When it is determined that the maximum power density threshold is larger than the density threshold (S92: YES), the total numerical value of the area having the preset density width (maximum density area) around the maximum power density value is calculated (step) S93). As the value of the density range, for example, about ± 8 is preferable with the maximum frequency density value as the center.

次いで、ステップS93で算出した最大濃度領域の総度数値と予め設定している無彩判定度数閾値との比較を行い、最大濃度領域の総度数値が無彩判定度数閾値より大きいか否かを判断する(ステップS94)。ここで、無彩判定度数閾値とは、有彩画素と判定された総画素数に対する割合として設定される値であり、例えば、有彩総画素数×90%といった値が適切である。   Next, the total density value of the maximum density area calculated in step S93 is compared with the preset achromatic determination frequency threshold value, and it is determined whether or not the total density value of the maximum density area is larger than the achromatic determination frequency threshold value. Judgment is made (step S94). Here, the achromatic determination frequency threshold is a value set as a ratio to the total number of pixels determined to be chromatic pixels, and for example, a value such as the total number of chromatic pixels × 90% is appropriate.

最大濃度領域の総度数値が無彩判定度数閾値よりも大きいと判断した場合(S94:YES)、読取った原稿はモノクロ複写すべき原稿と判定する(ステップS95)。一方、ステップS92にて最大度数濃度値が濃度閾値以下であると判断した場合(S92:NO)、ステップS94にて最大濃度領域の総度数値が無彩判定度数閾値以下であると判断した場合(S94:NO)、読取った原稿はカラー複写すべき原稿と判定する(ステップS96)。   When it is determined that the total density value of the maximum density area is larger than the achromatic determination frequency threshold (S94: YES), the read document is determined as a document to be monochrome copied (step S95). On the other hand, when it is determined in step S92 that the maximum power density value is equal to or lower than the density threshold (S92: NO), or in step S94, it is determined that the total power value of the maximum density area is equal to or lower than the achromatic determination power threshold. (S94: NO), the read original is determined as an original to be color-copied (step S96).

なお、前述した各閾値については、任意に調節することにより、より原稿データに適切な処理を行うことが可能となる。また、各閾値について予想される複数の値を予めROMなどの記憶手段に格納しておき、必要に応じて適宜の値が選択されるようにしてもよい。   Note that each of the above-described threshold values can be arbitrarily adjusted so that more appropriate processing can be performed on the document data. Further, a plurality of values predicted for each threshold value may be stored in advance in a storage unit such as a ROM, and appropriate values may be selected as necessary.

上述した処理動作によって、原稿の有彩・無彩が判定され、その結果に基づいて、入力階調補正、色補正、黒生成下色除去処理が切り換えられる。例えば、入力画像がカラー原稿であると判別された場合は、図2に基づいて説明したカラー画像処理が行われる。入力画像がモノクロ原稿であると判別された場合は、入力階調補正処理においてRGB信号はK信号に信号変換され、色補正処理及び黒生成下色除去処理は省略される。なお、空間フィルタ処理、出力階調補正処理及び階調再現処理においては、カラー複写、モノクロ複写ともに同様の処理がなされる。   Through the processing operation described above, the chromatic / achromatic color of the document is determined, and input tone correction, color correction, and black generation and under color removal processing are switched based on the result. For example, when it is determined that the input image is a color original, the color image processing described with reference to FIG. 2 is performed. If it is determined that the input image is a monochrome document, the RGB signal is converted into a K signal in the input tone correction process, and the color correction process and the black generation and under color removal process are omitted. In the spatial filter processing, output tone correction processing, and tone reproduction processing, the same processing is performed for both color copying and monochrome copying.

上記では、有彩画素のみを抽出してヒストグラムを作成し、ヒストグラムの形状を解析することによりカラー複写するべき原稿であるか否かの判定を行っているが、例えば、特開平4−282968に記載されている方法にも適用することができる。この方法は、各画素毎にカラー画素であるかモノクロ画素であるかを判別し、与えられる画素順で所定数以上の連続するカラー画素の存在が検知されると、この連続カラー画素分をカラーブロックと認識し、1ライン中に所定数以上のカラーブロックが存在していれば、そのラインをカラーラインとして計数する。そして、原稿中のカラーラインが所定数存在していればカラー画像と判断し、そうでない場合はモノクロ画像と判断するものである。上記の方法において、画素毎にカラー画素であるかモノクロ画素であるかの判別を行う際、画素の属性識別(文字、網点を含む複数の領域の何れに属するのかの判別)を行い、属性識別の結果に基づいてカラー画素、モノクロ画素の判別を行えば良い。   In the above, only a chromatic pixel is extracted to create a histogram, and the shape of the histogram is analyzed to determine whether the document is to be color-copied. For example, Japanese Patent Laid-Open No. 4-282968 discloses. The method described can also be applied. In this method, it is determined whether each pixel is a color pixel or a monochrome pixel, and when the presence of a predetermined number or more of continuous color pixels in the given pixel order is detected, this continuous color pixel is color-coded. If a predetermined number or more of color blocks exist in one line, the line is counted as a color line. If a predetermined number of color lines are present in the document, it is determined as a color image. Otherwise, it is determined as a monochrome image. In the above method, when determining whether each pixel is a color pixel or a monochrome pixel, pixel attribute identification (determination of whether it belongs to a plurality of areas including characters and halftone dots) Color pixels and monochrome pixels may be determined based on the identification result.

また、有彩無彩の判定方法としては、上述した方法の他に、(1)RGB信号の最大値及び最小値の差分を所定の閾値と比較して判定する方法、(2)RGB信号の各色成分の差分の絶対値を求めて閾値とを比較する方法などの公知の手法を用いることも可能である。   In addition to the above-described method, the chromatic / achromatic determination method includes (1) a method of determining the difference between the maximum value and the minimum value of the RGB signal with a predetermined threshold, and (2) the RGB signal. It is also possible to use a known method such as a method of obtaining an absolute value of a difference between each color component and comparing it with a threshold value.

実施の形態3.
実施の形態1では、各処理をハードウェアにより実現する構成としたが、ソフトウェアの処理により本発明の画像処理を実現する構成としてもよい。
Embodiment 3 FIG.
In the first embodiment, each processing is realized by hardware. However, the image processing according to the present invention may be realized by software processing.

図21は本発明のコンピュータプログラムがインストールされた画像処理装置の内部構成を説明するブロック図である。図中100は、本実施の形態に係る画像処理装置であり、具体的にはパーソナルコンピュータ、ワークステーション等である。画像処理装置100はCPU101を備えており、CPU101にはROM103、RAM104、ハードディスク105、外部記憶部106、入力部107、表示部108、通信ポート109等のハードウェアがバス102を介して接続されている。CPU101は、ROM103に予め格納された制御プログラムに従って前述のハードウェア各部を制御する。   FIG. 21 is a block diagram illustrating the internal configuration of an image processing apparatus in which the computer program of the present invention is installed. In the figure, reference numeral 100 denotes an image processing apparatus according to the present embodiment, specifically a personal computer, a workstation, or the like. The image processing apparatus 100 includes a CPU 101, and hardware such as a ROM 103, a RAM 104, a hard disk 105, an external storage unit 106, an input unit 107, a display unit 108, and a communication port 109 is connected to the CPU 101 via a bus 102. Yes. The CPU 101 controls the above-described hardware units according to a control program stored in advance in the ROM 103.

RAM104は前述の制御プログラム、又は本発明に係るコンピュータプログラムの実行中に生成される各種データを一時的に記憶する揮発性のメモリである。ハードディスク105は、磁気記録媒体を有する記憶手段であり、本発明のコンピュータプログラム、処理対象の画像データ等が記憶される。外部記憶部106は、本発明のコンピュータプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)を記録した記録媒体Mからプログラムコードを読取るための読取装置を備えている。記録媒体Mとしては、FD(Flexible Disk)、CD−ROM等を用いることができる。外部記憶部106によって読取られたプログラムコードはハードディスク105に格納される。CPU101はハードディスク105に格納されたプログラムコードをRAM104上にロードして実行することにより、実施の形態1及び実施の形態2で説明したような本発明に係る画像処理方法を実現する。   The RAM 104 is a volatile memory that temporarily stores various data generated during execution of the control program described above or the computer program according to the present invention. The hard disk 105 is a storage unit having a magnetic recording medium, and stores the computer program of the present invention, image data to be processed, and the like. The external storage unit 106 includes a reading device for reading the program code from the recording medium M on which the program code (execution format program, intermediate code program, source program) of the computer program of the present invention is recorded. As the recording medium M, an FD (Flexible Disk), a CD-ROM, or the like can be used. The program code read by the external storage unit 106 is stored in the hard disk 105. The CPU 101 loads the program code stored in the hard disk 105 onto the RAM 104 and executes it, thereby realizing the image processing method according to the present invention as described in the first and second embodiments.

入力部107は、外部から画像データを取得するためのインタフェースとして機能する。入力部107には、例えば、カラースキャナ装置などが接続される。表示部108は、処理対象の画像データ、画像処理中の画像データ、画像処理後の画像データ等を表示するためのインタフェースとして機能する。表示部108に液晶ディスプレイ装置などの外部表示装置を接続して画像データを表示する構成であってもよく、表示部108自身が表示装置を備え、画像データを表示する構成であってもよい。通信ポート109は、外部にプリンタ200を接続するためのインタフェースである。画像処理された画像データをプリンタ200にて印刷する場合、画像処理装置100は、前記画像データを基にプリンタ200にてデコード可能なプリントデータを生成し、生成したプリントデータをプリンタ200へ送信する。   The input unit 107 functions as an interface for acquiring image data from the outside. For example, a color scanner device or the like is connected to the input unit 107. The display unit 108 functions as an interface for displaying image data to be processed, image data during image processing, image data after image processing, and the like. The display unit 108 may be configured to display image data by connecting an external display device such as a liquid crystal display device, or the display unit 108 may include a display device and display image data. The communication port 109 is an interface for connecting the printer 200 to the outside. When the image data subjected to image processing is printed by the printer 200, the image processing apparatus 100 generates print data that can be decoded by the printer 200 based on the image data, and transmits the generated print data to the printer 200. .

なお、本実施の形態では、各種演算をCPU101が実行する構成としたが、画像処理に係る演算を行う専用のチップを別途設け、CPU101からの指示により演算を行う構成としてもよい。   In the present embodiment, the CPU 101 performs various calculations. However, a dedicated chip for performing calculations related to image processing may be separately provided and calculations may be performed according to instructions from the CPU 101.

また、上述したプログラムコードを記録する記録媒体Mとしては、前述したFD及びCD−ROMの他に、MO、MD、DVD等の光ディスク、ハードディスク等の磁気記録媒体、ICカード、メモリカード、光カード等のカード型記録媒体、マスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリの利用も可能である。また、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークから上述したプログラムコードをダウンロードするようにしてもよい。なお、このように通信ネットワークからプログラムコードをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別の記録媒体からインストールされるものであってもよい。   In addition to the above-described FD and CD-ROM, the recording medium M for recording the above-described program code includes optical disks such as MO, MD, and DVD, magnetic recording media such as a hard disk, IC card, memory card, and optical card. It is also possible to use a semiconductor memory such as a card-type recording medium such as a mask ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), or a flash ROM. In addition, since the system configuration allows connection to a communication network including the Internet, the program code described above may be downloaded from the communication network. When the program code is downloaded from the communication network in this way, the download program may be stored in the main device in advance or installed from another recording medium.

なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

また、本発明のコンピュータプログラムは、単体のアプリケーションプログラム、ユーティリティプログラムとして提供される形態であってもよく、他のアプリケーションプログラム、ユーティリティプログラムに組み込み、そのプログラムの一部の機能として提供する形態であってもよい。例えば、その一形態としてプリンタドライバに組み込んで提供する形態が考えられる。この場合、原稿画像を読取って取得した画像データに対してACSの判別を行い、判別結果に応じた画像処理を施した後、プリンタ言語に翻訳して目的のプリンタ装置へ送信する処理が行われる。   In addition, the computer program of the present invention may be provided as a single application program or utility program, or may be incorporated into another application program or utility program and provided as a partial function of the program. May be. For example, as one form, a form provided by being incorporated in a printer driver is conceivable. In this case, the ACS is discriminated for the image data obtained by reading the document image, the image processing according to the discrimination result is performed, and the image is translated into the printer language and transmitted to the target printer apparatus. .

実施の形態4.
本実施の形態では、本発明の画像処理装置を画像読取装置に適用した形態について説明する。図22は本実施の形態に係る画像読取装置の画像処理部の構成を示すブロック図である。画像処理部は、AD変換部51、シェーディング補正部52、原稿種別判定部53、ACS判別部54を備える。各処理部の処理内容は実施の形態1で説明したものと同様である。上記各処理が施された画像データ及び原稿種別判定信号、ACS判別信号は、コンピュータやプリンタに入力される。なお、以上の処理は不図示のCPUにより制御される。上記画像処理部として、実施の形態1で説明した入力階調補正部55や領域分離処理部56が含まれる構成としてもよい。
Embodiment 4 FIG.
In the present embodiment, a mode in which the image processing apparatus of the present invention is applied to an image reading apparatus will be described. FIG. 22 is a block diagram illustrating a configuration of an image processing unit of the image reading apparatus according to the present embodiment. The image processing unit includes an AD conversion unit 51, a shading correction unit 52, a document type determination unit 53, and an ACS determination unit 54. The processing contents of each processing unit are the same as those described in the first embodiment. The image data, the document type determination signal, and the ACS determination signal subjected to the above processes are input to a computer or a printer. The above processing is controlled by a CPU (not shown). The image processing unit may include the input tone correction unit 55 and the region separation processing unit 56 described in the first embodiment.

本発明に係る画像処理装置の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of the image processing apparatus which concerns on this invention. 画像処理部の構成を説明するブロック図である。It is a block diagram explaining the structure of an image process part. 原稿種別判定部の構成を説明するブロック図である。3 is a block diagram illustrating a configuration of a document type determination unit. FIG. 原稿種別判定部が実行する処理の手順を説明するフローチャートである。6 is a flowchart illustrating a procedure of processing executed by a document type determination unit. 各領域における画素濃度分布の一例を示す模式図である。It is a schematic diagram which shows an example of pixel density distribution in each area | region. 各領域の最大濃度差及び総和濃度繁雑度による分布を示す模式図である。It is a schematic diagram which shows the distribution by the maximum density difference of each area | region and total density busyness. ACS判別部の構成を説明するブロック図である。It is a block diagram explaining the structure of an ACS discrimination | determination part. 有彩・無彩画素判定部の構成を説明するブロック図である。It is a block diagram explaining the structure of a chromatic / achromatic pixel determination part. ACS判別部における処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process in an ACS discrimination | determination part. 原稿画像の濃度分布を示すヒストグラムである。6 is a histogram showing a density distribution of a document image. 原稿画像の濃度分布を示すヒストグラムである。6 is a histogram showing a density distribution of a document image. 原稿画像の濃度分布を示すヒストグラムである。6 is a histogram showing a density distribution of a document image. ヒストグラム解析処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of a histogram analysis process. 原稿種別判定部の構成を説明するブロック図である。3 is a block diagram illustrating a configuration of a document type determination unit. FIG. 有彩・無彩画素判定部の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of a chromatic / achromatic pixel determination part. 原稿種別判定部が実行する処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of processing executed by a document type determination unit. 有彩・無彩画素判定処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of a chromatic / achromatic pixel determination process. ACS判定部の構成を説明するブロック図である。It is a block diagram explaining the structure of an ACS determination part. ACS判定部が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which an ACS determination part performs. ヒストグラム解析処理の処理手順を説明するフローチャートである。It is a flowchart explaining the process sequence of a histogram analysis process. 本発明のコンピュータプログラムがインストールされた画像処理装置の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of the image processing apparatus in which the computer program of this invention was installed. 本実施の形態に係る画像読取装置の画像処理部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an image processing unit of the image reading apparatus according to the present embodiment.

符号の説明Explanation of symbols

1 制御部
3 画像入力部
5 画像処理部
7 画像出力部
9 操作部
53 原稿種別判定部
54 ACS判別部
541 有彩・無彩画素判定部
542 有彩画素ヒストグラム作成部
543 ヒストグラム解析部
544 データ変換部
DESCRIPTION OF SYMBOLS 1 Control part 3 Image input part 5 Image processing part 7 Image output part 9 Operation part 53 Document type determination part 54 ACS discrimination | determination part 541 Chromatic / achromatic pixel determination part 542 Chromatic pixel histogram creation part 543 Histogram analysis part 544 Data conversion Part

Claims (17)

原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理方法において、
前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を前記画像データに対して施すことを特徴とする画像処理方法。
In an image processing method for performing image processing according to a document type on image data obtained by reading a document,
Judgment criteria as to whether or not the document is a document including chromatic colors is set based on the document type, and whether or not the document is a document including chromatic colors is determined based on the set determination criteria. An image processing method characterized by performing corresponding image processing on the image data.
原稿種別が印画紙写真原稿であるか否かを判断し、原稿種別が印画紙写真原稿であると判断した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定することを特徴とする請求項1に記載の画像処理方法。   It is determined whether or not the original type is a photographic paper photographic original, and if it is determined that the original type is a photographic paper photographic original, a determination criterion is set so that the original is easily determined to be a chromatic color original. The image processing method according to claim 1, wherein the image processing method is set. 原稿種別が印刷写真原稿であるか否かを判断し、原稿種別が印刷写真原稿である場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定することを特徴とする請求項1に記載の画像処理方法。   It is determined whether or not the document type is a printed photo document, and when the document type is a printed photo document, a determination criterion is set so that the document is easily determined to be an achromatic document. The image processing method according to claim 1. 原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理方法において、
前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定し、判定した結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定し、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断し、判断結果に応じた画像処理を前記画像データに対して施すことを特徴とする画像処理方法。
In an image processing method for performing image processing according to a document type on image data obtained by reading a document,
It is determined whether or not the pixel of interest among the pixels included in the image data belongs to at least a character area or a halftone dot area, and whether or not the document is a document including a chromatic color is determined based on the determined result An image processing method comprising: setting a reference, determining whether the document includes a chromatic color based on the set determination criterion, and performing image processing according to the determination result on the image data.
前記注目画素が文字領域に属すると判定した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定することを特徴とする請求項4に記載の画像処理方法。   5. The image processing method according to claim 4, wherein when it is determined that the target pixel belongs to a character area, a determination criterion is set so that the document is easily determined to be a document including a chromatic color. 前記注目画素が網点領域に属すると判定した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定することを特徴とする請求項4に記載の画像処理方法。   5. The image processing method according to claim 4, wherein when it is determined that the target pixel belongs to a halftone dot area, a determination criterion is set so that the document is easily determined to be an achromatic document. 原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理装置において、
前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定する手段と、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断する手段と、判断結果に応じた画像処理を前記画像データに対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs image processing according to a document type on image data obtained by reading a document,
Means for setting whether or not the document is a document including a chromatic color based on the document type; and means for determining whether or not the document includes a chromatic color based on the set determination criterion An image processing apparatus comprising: means for performing image processing on the image data according to a determination result.
原稿種別が印画紙写真原稿であるか否かを判断する手段を備え、原稿種別が印画紙写真原稿であると判断した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする請求項7に記載の画像処理装置。   Means for determining whether or not the document type is a photographic paper photographic document, and when it is determined that the document type is a photographic paper photographic document, the document is likely to be determined to be a document including a chromatic color. 8. The image processing apparatus according to claim 7, wherein a determination criterion is set. 原稿種別が印刷写真原稿であるか否かを判断する手段を備え、原稿種別が印刷写真原稿であると判断した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする請求項7に記載の画像処理装置。   Means for determining whether or not the original type is a printed photo original, and when determining that the original type is a printed photo original, a determination criterion that makes it easier to determine that the original is an achromatic original 8. The image processing apparatus according to claim 7, wherein the image processing apparatus is set. 原稿を読取ることにより得られる画像データに対して原稿種別に応じた画像処理を施す画像処理装置において、
前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定する手段と、該手段による判定結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定する手段と、設定した判断基準に基づいて有彩色を含む原稿であるか否かを判断する手段と、該手段による判断結果に応じた画像処理を前記画像データに対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that performs image processing according to a document type on image data obtained by reading a document,
Means for determining whether or not the pixel of interest among the pixels included in the image data belongs to at least a character area or a halftone dot area; and based on a determination result by the means, whether the document is a document including a chromatic color A means for setting a determination criterion for the image, a means for determining whether or not the document includes a chromatic color based on the set determination criterion, and image processing according to a determination result by the means for the image data. An image processing apparatus.
前記注目画素が文字領域に属すると判定した場合、前記原稿が有彩色を含む原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする請求項10に記載の画像処理装置。   11. The determination criterion according to claim 10, wherein when it is determined that the pixel of interest belongs to a character area, a determination criterion is set so that the document is easily determined to be a document including a chromatic color. Image processing device. 前記注目画素が網点領域に属すると判定した場合、前記原稿が無彩色の原稿であると判断され易くなるような判断基準を設定するようにしてあることを特徴とする請求項10に記載の画像処理装置。   11. The determination criterion according to claim 10, wherein when it is determined that the target pixel belongs to a halftone dot region, a determination criterion is set so that the document is easily determined to be an achromatic document. Image processing device. 請求項7乃至請求項12の何れか1つに記載の画像処理装置と、該画像処理装置によって画像処理が施された画像データに基づいてシート上に画像形成を行う手段とを備えることを特徴とする画像形成装置。   An image processing apparatus according to any one of claims 7 to 12, and means for forming an image on a sheet based on image data subjected to image processing by the image processing apparatus. An image forming apparatus. コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムにおいて、
コンピュータに、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有することを特徴とするコンピュータプログラム。
In a computer program for causing a computer to perform image processing according to a document type on image data obtained by reading a document,
A step of causing a computer to set a determination criterion as to whether or not the document is a document including a chromatic color based on a document type; and whether the document is a document including a chromatic color based on the determination criterion set by the computer A computer program comprising the steps of: determining whether or not, and causing the computer to perform image processing on the image data in accordance with the determination result.
コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムにおいて、
コンピュータに、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定させるステップと、コンピュータに、判定させた結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有することを特徴とするコンピュータプログラム。
In a computer program for causing a computer to perform image processing according to a document type on image data obtained by reading a document,
Causing the computer to determine whether or not the pixel of interest among the pixels included in the image data belongs to at least a character area or a halftone dot area; and based on the determination result, the original includes a chromatic color. A step for setting a criterion for determining whether or not the document is a document; a step for causing the computer to determine whether or not the document includes a chromatic color based on the set determination criterion; And a step of causing the image data to be subjected to image processing.
コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムが記録されているコンピュータでの読取りが可能な記録媒体において、
コンピュータに、前記原稿が有彩色を含む原稿であるか否かについての判断基準を原稿種別に基づいて設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とするコンピュータでの読取りが可能な記録媒体。
In a computer-readable recording medium in which a computer program for causing a computer to perform image processing according to a document type on image data obtained by reading a document is recorded.
A step of causing a computer to set a determination criterion as to whether or not the document is a document including a chromatic color based on a document type; and whether the document is a document including a chromatic color based on the determination criterion set by the computer A computer program having a step of determining whether or not and a step of causing the computer to perform image processing according to the determination result on the image data is recorded, and can be read by a computer recoding media.
コンピュータに、原稿を読取ることにより得られた画像データに対して原稿種別に応じた画像処理を施させるコンピュータプログラムが記録されているコンピュータでの読取りが可能な記録媒体において、
コンピュータに、前記画像データに含まれる画素のうち注目画素が少なくとも文字領域又は網点領域に属するか否かを判定させるステップと、コンピュータに、判定させた結果に基づいて前記原稿が有彩色を含む原稿であるか否かについての判断基準を設定させるステップと、コンピュータに、設定させた判断基準に基づいて有彩色を含む原稿であるか否かを判断させるステップと、コンピュータに、判断結果に応じた画像処理を前記画像データに対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とするコンピュータでの読取りが可能な記録媒体。
In a computer-readable recording medium in which a computer program for causing a computer to perform image processing according to a document type on image data obtained by reading a document is recorded.
Causing the computer to determine whether or not the pixel of interest among the pixels included in the image data belongs to at least a character area or a halftone dot area; and based on the determination result, the original includes a chromatic color. A step for setting a criterion for determining whether or not the document is a document; a step for causing the computer to determine whether or not the document includes a chromatic color based on the set determination criterion; A computer-readable recording medium on which a computer program having a step of performing image processing on the image data is recorded.
JP2007120055A 2006-07-04 2007-04-27 Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium Active JP4958626B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007120055A JP4958626B2 (en) 2006-07-04 2007-04-27 Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006184864 2006-07-04
JP2006184864 2006-07-04
JP2007120055A JP4958626B2 (en) 2006-07-04 2007-04-27 Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2008035478A true JP2008035478A (en) 2008-02-14
JP4958626B2 JP4958626B2 (en) 2012-06-20

Family

ID=39124370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007120055A Active JP4958626B2 (en) 2006-07-04 2007-04-27 Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP4958626B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8203773B2 (en) 2007-07-31 2012-06-19 Sharp Kabushiki Kaisha Image processing method, image processing apparatus, image forming apparatus, and recording medium for chromatic content determination

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02280573A (en) * 1989-04-21 1990-11-16 Konica Corp Color picture processing unit
JPH02288672A (en) * 1989-04-28 1990-11-28 Konica Corp Color picture processor
JPH0490676A (en) * 1990-08-03 1992-03-24 Canon Inc Color picture processor
JP2002044464A (en) * 2000-07-24 2002-02-08 Fuji Xerox Co Ltd Image processing method and apparatus
JP2004187119A (en) * 2002-12-05 2004-07-02 Ricoh Co Ltd Device, system, and method for processing image
JP2004297617A (en) * 2003-03-27 2004-10-21 Sharp Corp Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium recorded with image processing program
JP2005045372A (en) * 2003-07-23 2005-02-17 Kyocera Mita Corp Color image processing apparatus
JP2005045373A (en) * 2003-07-23 2005-02-17 Kyocera Mita Corp Color image processing apparatus
JP2005286571A (en) * 2004-03-29 2005-10-13 Sharp Corp Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02280573A (en) * 1989-04-21 1990-11-16 Konica Corp Color picture processing unit
JPH02288672A (en) * 1989-04-28 1990-11-28 Konica Corp Color picture processor
JPH0490676A (en) * 1990-08-03 1992-03-24 Canon Inc Color picture processor
JP2002044464A (en) * 2000-07-24 2002-02-08 Fuji Xerox Co Ltd Image processing method and apparatus
JP2004187119A (en) * 2002-12-05 2004-07-02 Ricoh Co Ltd Device, system, and method for processing image
JP2004297617A (en) * 2003-03-27 2004-10-21 Sharp Corp Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium recorded with image processing program
JP2005045372A (en) * 2003-07-23 2005-02-17 Kyocera Mita Corp Color image processing apparatus
JP2005045373A (en) * 2003-07-23 2005-02-17 Kyocera Mita Corp Color image processing apparatus
JP2005286571A (en) * 2004-03-29 2005-10-13 Sharp Corp Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8203773B2 (en) 2007-07-31 2012-06-19 Sharp Kabushiki Kaisha Image processing method, image processing apparatus, image forming apparatus, and recording medium for chromatic content determination

Also Published As

Publication number Publication date
JP4958626B2 (en) 2012-06-20

Similar Documents

Publication Publication Date Title
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4166744B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP4465377B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JPH08251402A (en) Image processing unit
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP2008305099A (en) Image processing method, image processor, image forming device, computer program and recording medium
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP7123752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4039911B2 (en) Image processing apparatus and image processing method
JP4740913B2 (en) Image processing apparatus, image processing method, image forming apparatus and program, and recording medium
JP4043982B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JP2004248103A (en) Image processing device, image reading device, image forming device, image processing method, image processing program, and computer readable record medium recording the same
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
JP4498316B2 (en) Image processing apparatus, image processing method, image forming apparatus, and computer program
JPH10210314A (en) Digital image-processing unit
JP3522880B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091021

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110614

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120131

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120208

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120319

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

Free format text: PAYMENT UNTIL: 20150330

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4958626

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150