JP2011010212A - Image processing apparatus, image processing method and image processing program - Google Patents

Image processing apparatus, image processing method and image processing program Download PDF

Info

Publication number
JP2011010212A
JP2011010212A JP2009153980A JP2009153980A JP2011010212A JP 2011010212 A JP2011010212 A JP 2011010212A JP 2009153980 A JP2009153980 A JP 2009153980A JP 2009153980 A JP2009153980 A JP 2009153980A JP 2011010212 A JP2011010212 A JP 2011010212A
Authority
JP
Japan
Prior art keywords
image
type
image type
image data
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009153980A
Other languages
Japanese (ja)
Inventor
Tetsuo Fujisawa
哲夫 藤沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009153980A priority Critical patent/JP2011010212A/en
Publication of JP2011010212A publication Critical patent/JP2011010212A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus, image processing method and image processing program, capable of fast performing image processing corresponding to an image type.SOLUTION: An image processing apparatus 100 comprises: an image type discriminating means 160 for discriminating, from current image data for one predetermined document, the image type as either one of a color image and a monochromatic image; and an image processing means in which, when a temporarily specified image type of the current image data matches the discriminated image type, first image processing specific for the temporarily specified image type is applied to the current image data, and when the temporarily specified image type does not matches the discriminated image type, second image processing specific for the image type discriminated by the image type discriminating means 160 is applied to the current image data.

Description

本発明は、画像種別に応じた画像処理を行う画像処理装置、画像処理方法および画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and an image processing program that perform image processing according to an image type.

従来より、プリンタ、印刷機、ファクシミリおよび複写機や、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する複合機などの画像装置が知られている。また、そのような画像装置において、モノクロ原稿に対応する画像データ(以下、モノクロ画像データと称する)に対してモノクロ画像データに固有の画像処理(以下、モノクロ画像処理と称する)を施す一方、カラー原稿に対応する画像データ(以下、カラー画像データと称する)に対してカラー画像データに固有の画像処理(以下、カラー画像処理と称する)を施す機能を有するものが知られている。そして、近年では、そのような画像装置について画像処理の高速化に注目が集まっている。   2. Description of the Related Art Conventionally, there are known image apparatuses such as printers, printing machines, facsimile machines, and copiers, and multifunction machines having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function. In such an image apparatus, image data (hereinafter referred to as monochrome image data) corresponding to a monochrome document is subjected to image processing (hereinafter referred to as monochrome image processing) specific to the monochrome image data, while color processing is performed. 2. Description of the Related Art There is known one having a function of performing image processing (hereinafter referred to as color image processing) unique to color image data on image data corresponding to an original (hereinafter referred to as color image data). In recent years, attention has been focused on increasing the speed of image processing for such an image apparatus.

画像処理の高速化に関する技術としては、例えば特許文献1に記載する画像装置のように、原稿を読み取るスライダの待機位置を、原稿に対してスキャン開始位置とは反対側とし、スキャナを構成する各画素間の出力レベルのムラを取るための基準白色板の配置位置を、スキャン開始位置とは反対側にある原稿の終端と待機位置との間とすることによって、スライダが原稿の読み取り準備のために待機位置からスキャン開始位置まで移動する動作中に、画素間の出力レベルのムラを取るための補正を行い、引き続いてカラー/モノクロ判別を行うことが知られている。なお、ここでいう補正とは、原稿を読み取る前に基準白色板を読み取り、スキャナを構成する光電変換素子(CCD)の各画素間の白色情報を全て同じ出力レベルにする処理のことをいう。また、ここでいう出力レベルのムラとは、CCDの画素毎の感度バラツキなどを要因としたものをいう。また、ここでいうカラー/モノクロ判別とは、読み取られた原稿に対応する画像データの画像種別がカラー画像かモノクロ画像かを自動で判別することをいう。   As a technique related to speeding up of image processing, for example, as in the image device described in Patent Document 1, the standby position of a slider that reads a document is set opposite to the scan start position with respect to the document, and each of the components constituting the scanner is configured. The slider is prepared for reading the document by setting the reference white plate for removing the output level unevenness between the pixels between the end of the document on the side opposite to the scan start position and the standby position. In addition, during the operation of moving from the standby position to the scan start position, it is known to perform correction for removing output level unevenness between pixels and subsequently perform color / monochrome discrimination. Note that the term “correction” here refers to a process of reading a reference white plate before reading a document and setting all white information between pixels of photoelectric conversion elements (CCD) constituting the scanner to the same output level. Further, the output level unevenness referred to here is a factor due to a sensitivity variation for each pixel of the CCD. Further, the color / monochrome discrimination here refers to automatically discriminating whether the image type of the image data corresponding to the read original is a color image or a monochrome image.

従来の画像装置では、カラー/モノクロ判別を行うためにはスライダを待機位置からスキャン開始位置まで移動させて原稿全体を読み取る必要があった。よって、原稿全体の読み取りが完了するまでは、カラー/モノクロ判別の判別結果に依存したカラー画像処理またはモノクロ画像処理を行うことができないという不都合が生じていた。   In the conventional image apparatus, in order to perform color / monochrome determination, it is necessary to read the entire original by moving the slider from the standby position to the scan start position. Therefore, there has been a disadvantage that color image processing or monochrome image processing depending on the determination result of the color / monochrome determination cannot be performed until the reading of the entire original is completed.

本発明は、上記に鑑みてなされたものであって、画像種別に応じた画像処理を高速に行うことの可能な画像処理装置、画像処理方法および画像処理プログラムを提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide an image processing apparatus, an image processing method, and an image processing program capable of performing image processing according to image type at high speed.

上述した課題を解決し、目的を達成するために、本発明にかかる画像処理装置は、所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する画像種別判別手段と、仮特定された前記現画像データの画像種別と前記画像種別判別手段により判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された前記画像種別と前記画像種別判別手段により判別された画像種別とが一致しない場合、前記画像種別判別手段により判別された画像種別に固有の第2の画像処理を前記現画像データに施す画像処理手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an image processing apparatus according to the present invention determines the image type of current image data from current image data for one predetermined document, color images and monochrome images. The image type discriminating means for discriminating as one of them, and the provisionally specified image type when the image type of the current image data provisionally specified matches the image type discriminated by the image type discriminating means When the current image data is subjected to the first image processing unique to the image data, the provisionally identified image type and the image type discriminated by the image type discriminating unit do not coincide with each other. And image processing means for performing second image processing specific to the image type on the current image data.

また、本発明にかかる画像処理方法は、画像処理装置で実行される画像処理方法であって、画像種別判別手段が、所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する工程と、画像処理手段が、仮特定された前記現画像データの画像種別と前記画像種別判別手段により判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された前記画像種別と前記画像種別判別手段により判別された画像種別とが一致しない場合、前記画像種別判別手段により判別された前記画像種別に固有の第2の画像処理を前記現画像データに施す工程と、を含むことを特徴とする。   The image processing method according to the present invention is an image processing method executed by the image processing apparatus, wherein the image type determination means determines the image type of the current image data from the current image data for a predetermined document. Is determined to be one of a color image and a monochrome image, and the image type of the current image data provisionally specified by the image processing unit matches the image type determined by the image type determination unit When the first image processing specific to the temporarily specified image type is applied to the current image data, the temporarily specified image type and the image type determined by the image type determining unit do not match And applying a second image processing specific to the image type determined by the image type determination means to the current image data.

また、本発明にかかる画像処理プログラムは、所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する画像種別判別ステップと、仮特定された前記画像データの画像種別と前記画像種別判別ステップにより判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された画像種別と前記画像種別判別ステップにより判別された画像種別とが一致しない場合、前記画像種別判別ステップにより判別された画像種別に固有の第2の画像処理を前記現画像データに施す画像処理ステップと、をコンピュータに実行させることを特徴とする。   The image processing program according to the present invention further comprises an image type determination step for determining the image type of the current image data as one of a color image and a monochrome image from the current image data for one predetermined document. If the image type of the temporarily specified image data matches the image type determined in the image type determining step, the first image processing unique to the temporarily specified image type is performed on the current image data. When the temporarily specified image type and the image type determined in the image type determining step do not match, the second image processing specific to the image type determined in the image type determining step is performed on the current image. An image processing step applied to the data is executed by a computer.

本発明によれば、画像種別の判別が完了する前において、画像種別を仮に特定すると共に、仮特定された画像種別に応じた画像処理を画像データに施しているので、画像種別に応じた画像処理を高速に行うことができるという効果を奏する。   According to the present invention, the image type is provisionally specified and the image processing according to the temporarily specified image type is performed on the image data before the determination of the image type is completed. There exists an effect that a process can be performed at high speed.

図1は、第1の実施の形態の画像処理装置の構成を概略的に示すブロック図である。FIG. 1 is a block diagram schematically showing the configuration of the image processing apparatus according to the first embodiment. 図2は、画像種別特定処理を概略的に示すフローチャートである。FIG. 2 is a flowchart schematically showing the image type specifying process. 図3は、第2の画像処理部による処理を概略的に示すフローチャートである。FIG. 3 is a flowchart schematically showing processing by the second image processing unit. 図4は、第2の実施の形態の画像処理装置の構成を概略的に示すブロック図である。FIG. 4 is a block diagram schematically illustrating the configuration of the image processing apparatus according to the second embodiment. 図5は、第2の実施の形態の画像種別特定処理を概略的に示すフローチャートである。FIG. 5 is a flowchart schematically showing image type specifying processing according to the second embodiment. 図6は、第3の実施の形態の画像処理装置の構成を概略的に示すブロック図である。FIG. 6 is a block diagram schematically illustrating the configuration of the image processing apparatus according to the third embodiment. 図7は、第3の実施の形態の画像種別特定処理を概略的に示すフローチャートである。FIG. 7 is a flowchart schematically illustrating image type identification processing according to the third embodiment. 図8は、第4の実施の形態の画像処理装置の構成を概略的に示すブロック図である。FIG. 8 is a block diagram schematically showing the configuration of the image processing apparatus according to the fourth embodiment. 図9は、第4の実施の形態の画像種別特定処理を概略的に示すフローチャートである。FIG. 9 is a flowchart schematically showing an image type specifying process according to the fourth embodiment. 図10は、第5の実施の形態の複合機の構成を概略的に示すブロック図である。FIG. 10 is a block diagram schematically illustrating the configuration of the multifunction machine according to the fifth embodiment.

以下に添付図面を参照して、この発明にかかる画像処理装置、画像処理方法および画像処理プログラムの最良な実施の形態を詳細に説明する。   Exemplary embodiments of an image processing apparatus, an image processing method, and an image processing program according to the present invention are explained in detail below with reference to the accompanying drawings.

(第1の実施の形態)
本発明の第1の実施の形態を図1〜図3に基づいて説明する。なお、本実施の形態では、画像処理装置を適用した例として、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する複合機を説明する。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS. In the present embodiment, as an example to which the image processing apparatus is applied, a multifunction machine having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function will be described.

図1は、本発明の第1の実施の形態にかかる画像処理装置の構成を概略的に示すブロック図である。画像処理装置100は、画像データ入力部110と、第1の画像処理部120と、画像データ一時格納部130と、第2の画像処理部140と、画像データ格納部150と、画像種別判別部160と、画像種別格納部170と、画像種別特定部180と、を備える。   FIG. 1 is a block diagram schematically showing the configuration of the image processing apparatus according to the first embodiment of the present invention. The image processing apparatus 100 includes an image data input unit 110, a first image processing unit 120, an image data temporary storage unit 130, a second image processing unit 140, an image data storage unit 150, and an image type determination unit. 160, an image type storage unit 170, and an image type identification unit 180.

画像データ入力部110は、任意の原稿に基づいて生成された画像データの入力を受け付けると共に、入力された画像データを第1の画像処理部120および画像種別判別部160へ出力する。なお、ここでいう任意の原稿とは、例えばシアン(C)色、マゼンタ(M)色、イエロー(Y)色およびブラック(K)色の4色の減法混色により表現されるカラー原稿と、グレー色の濃淡(グレースケール)で表現されるモノクロ原稿と、のうちのいずれか一方のことをいうものとする。また、カラー原稿に基づいて生成された画像データをカラー画像データと称し、モノクロ原稿に基づいて生成された画像データをモノクロ画像データと称する。   The image data input unit 110 accepts input of image data generated based on an arbitrary document, and outputs the input image data to the first image processing unit 120 and the image type determination unit 160. The arbitrary document referred to here is, for example, a color document expressed by subtractive color mixture of four colors of cyan (C), magenta (M), yellow (Y) and black (K), gray It means either one of monochrome originals expressed in shades of color (gray scale). In addition, image data generated based on a color document is referred to as color image data, and image data generated based on a monochrome document is referred to as monochrome image data.

第1の画像処理部120は、画像データ入力部110が出力する画像データの入力を受け付けると共に、入力した画像データに対して所定の第1の画像処理を施す。また、第1の画像処理部120は、第1の画像処理が施された画像データを画像データ一時格納部130に格納すると共に、第2の画像処理部140へ出力する。なお、ここでいう第1の画像処理とは、画像種別に依存しない画像処理、すなわちカラー画像データおよびモノクロ画像データの両方に対して同様に施される画像処理のことをいう。そのような第1の画像処理としては、例えばA/D変換処理やシェーディング補正処理などが挙げられる。   The first image processing unit 120 accepts input of image data output from the image data input unit 110 and performs predetermined first image processing on the input image data. The first image processing unit 120 stores the image data subjected to the first image processing in the image data temporary storage unit 130 and outputs the image data to the second image processing unit 140. Note that the first image processing here refers to image processing that does not depend on the image type, that is, image processing that is similarly applied to both color image data and monochrome image data. Examples of such first image processing include A / D conversion processing and shading correction processing.

画像データ一時格納部130には、第1の画像処理が施された画像データが一時的に格納されている。なお、ここでいう画像データの一時的な格納とは、少なくとも、後述する第2の画像処理が終了するまで第1の画像処理部120が出力した画像データを格納しておくことをいう。この一時的に格納されている画像データは、例えば、後述する第2の画像処理の終了に伴い破棄され、または第1の画像処理部120が出力する新たな画像データにより書き換えられる。   The image data temporary storage unit 130 temporarily stores image data subjected to the first image processing. Note that the temporary storage of the image data here means storing at least the image data output by the first image processing unit 120 until the second image processing described later is completed. For example, the temporarily stored image data is discarded when the second image processing to be described later ends, or is rewritten with new image data output from the first image processing unit 120.

第2の画像処理部140は、第1の画像処理部120が出力した画像データの入力を受け付ける。また、第2の画像処理部140は、画像種別特定部180から画像種別が通知されると、通知された画像種別に応じた第2の画像処理を、入力された画像データに施すと共に、その画像データを画像データ格納部150に格納する。さらに、第2の画像処理部140は、画像種別特定部180から画像種別が再通知されると、第1の画像処理が施された画像データを画像データ一時格納部130から取得し、その画像データに再通知された画像種別に応じた第2の画像処理を施す。そして、第2の画像処理部140は、画像データ格納部150に格納されている画像データを、再通知された画像種別に応じた第2の画像処理が施された画像データにより置き換える。   The second image processing unit 140 accepts input of image data output from the first image processing unit 120. In addition, when the image type is notified from the image type specifying unit 180, the second image processing unit 140 performs second image processing corresponding to the notified image type on the input image data, and The image data is stored in the image data storage unit 150. Further, when the image type is re-notified from the image type specifying unit 180, the second image processing unit 140 acquires the image data subjected to the first image processing from the image data temporary storage unit 130, and the image data Second image processing is performed according to the image type re-notified in the data. Then, the second image processing unit 140 replaces the image data stored in the image data storage unit 150 with image data that has been subjected to the second image processing according to the re-notified image type.

なお、ここでいう第2の画像処理とは、画像種別に依存する画像処理、すなわちカラー画像データの画像処理に固有のカラー画像処理およびモノクロ画像データの画像処理に固有のモノクロ画像処理のうちのいずれか一方のことをいう。そのようなカラー画像処理としては、例えば色彩補正などが挙げられる。また、そのようなモノクロ画像処理としては、例えば色空間変換処理などが挙げられる。   Note that the second image processing here refers to image processing depending on image type, that is, color image processing specific to image processing of color image data and monochrome image processing specific to image processing of monochrome image data. It means either one. Examples of such color image processing include color correction. Examples of such monochrome image processing include color space conversion processing.

画像データ格納部150には、第2の画像処理が施された画像データが格納される。その結果、複合機に含まれるプリンタ部などは、ユーザのプリント要求に応じて、格納されている画像データを適宜読み出し、読み出した画像データに基づいた印刷を行うこととなる。   The image data storage unit 150 stores image data that has been subjected to the second image processing. As a result, the printer unit included in the multifunction peripheral appropriately reads out the stored image data in accordance with a user's print request, and performs printing based on the read image data.

画像種別判別部160は、画像データ入力部110が出力した画像データの入力を受け付ける。そして、画像種別判別部160は、入力された画像データから、その画像データの画像種別を判別する画像種別判別処理を行い、画像種別判別処理の結果得られた画像種別を画像種別特定部180へ出力する。なお、ここでいう画像種別判別処理には既知の処理を用いることが可能である。より具体的には、例えば、入力された画像データを明度および2つの色差(YUV)で表現される画像データに変換し、所定の閾値よりも大きい色差(UV)を有する画素の総数を算出し、算出した総数が所定の閾値以上であった場合、その画像データの画像種別をカラー画像として判別する一方、算出した総数が所定の閾値未満であった場合、画像種別をモノクロ画像として判別する画像種別判別処理などを用いることが可能である。   The image type determination unit 160 receives input of image data output from the image data input unit 110. Then, the image type determining unit 160 performs an image type determining process for determining the image type of the image data from the input image data, and the image type obtained as a result of the image type determining process is sent to the image type specifying unit 180. Output. Note that known processing can be used for the image type discrimination processing here. More specifically, for example, the input image data is converted into image data expressed by brightness and two color differences (YUV), and the total number of pixels having a color difference (UV) larger than a predetermined threshold is calculated. When the calculated total number is equal to or greater than a predetermined threshold, the image type of the image data is determined as a color image. On the other hand, when the calculated total number is less than the predetermined threshold, the image type is determined as a monochrome image. A type determination process or the like can be used.

なお、このような既知の画像種別判別処理は、読み取られた原稿1枚分の画像データ全体を分析することによって画像種別を判別している。よって、このような画像種別判別処理の結果を用いた画像処理には、画像データ全体を分析するための時間が必要になってしまう。そこで、本実施の形態の画像処理装置は、後述のように、このような画像種別判別処理が終了するのを待たずに画像データの画像処理を行っている。   Such a known image type determination process determines the image type by analyzing the entire image data of one read original. Therefore, image processing using the result of such image type determination processing requires time for analyzing the entire image data. Therefore, as described later, the image processing apparatus according to the present embodiment performs image processing of image data without waiting for such image type determination processing to end.

画像種別格納部170には、最後に行われた画像種別判別処理により判別された画像種別が格納されている。なお、ここでいう最後に行われた画像種別判別処理により判別された画像種別とは、第2の画像処理の対象となっている画像データ(以下、現画像データと称する)より前に画像種別判別部160に入力されてその原稿種別が判別された画像データ(以下、旧画像データと称する)の画像種別のことをいう。   The image type storage unit 170 stores the image type determined by the image type determination process performed last. The image type determined by the image type determination process performed last here is the image type before the image data (hereinafter referred to as current image data) that is the target of the second image processing. This refers to the image type of image data (hereinafter referred to as old image data) that has been input to the determination unit 160 and whose document type has been determined.

画像種別特定部180は、画像種別格納部170に格納されている画像種別を取得し、取得した画像種別を現画像データの画像種別として仮に特定し、仮特定された画像種別を第2の画像処理部140へ通知する。また、画像種別特定部180は、画像種別判別部160が判別した画像種別の入力を受け付けると、仮特定された画像種別と判別された画像種別とを比較し、その比較結果に基づいて第2の画像処理部140に対して画像種別の再通知を行う。なお、以下の説明において、画像種別特定部180による上述の処理を画像種別特定処理と称する。   The image type specifying unit 180 acquires the image type stored in the image type storage unit 170, temporarily specifies the acquired image type as the image type of the current image data, and sets the temporarily specified image type as the second image. Notify the processing unit 140. In addition, when receiving the input of the image type determined by the image type determining unit 160, the image type specifying unit 180 compares the temporarily specified image type with the determined image type, and based on the comparison result, the second image type is determined. The image processing unit 140 is notified of the image type again. In the following description, the above-described process performed by the image type specifying unit 180 is referred to as an image type specifying process.

次に、図2を参照して、画像種別特定部180による画像種別特定処理について詳細に説明する。図2は、画像種別特定処理を概略的に示すフローチャートである。   Next, the image type specifying process by the image type specifying unit 180 will be described in detail with reference to FIG. FIG. 2 is a flowchart schematically showing the image type specifying process.

画像種別特定部180は、画像データ入力部110に現画像データが入力されると、画像種別格納部170を参照し、画像種別格納部170に格納されている画像種別を取得する(ステップS101)。次に、画像種別特定部180は、取得した画像種別を現画像データの画像種別として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知する(ステップS102)。   When the current image data is input to the image data input unit 110, the image type identification unit 180 refers to the image type storage unit 170 and acquires the image type stored in the image type storage unit 170 (step S101). . Next, the image type specifying unit 180 temporarily specifies the acquired image type as the image type of the current image data, and notifies the second image processing unit 140 of the temporarily specified image type (step S102).

次に、画像種別特定部180は、画像種別判別部160が判別した画像種別の入力を受け付けたか否かを判断する(ステップS103)。そして、画像種別特定部180は、画像種別判別部160が判別した画像種別の入力を受け付けていないと判断した場合(ステップS103−No)、画像種別の入力を受け付けるまでその後の処理を待機する。   Next, the image type identification unit 180 determines whether an input of the image type determined by the image type determination unit 160 has been received (step S103). If the image type identification unit 180 determines that the input of the image type determined by the image type determination unit 160 has not been received (No in step S103), the image type identification unit 180 waits for subsequent processing until the input of the image type is received.

一方、画像種別特定部180は、ステップS103の判断の結果、画像種別判別部160が判別した画像種別の入力を受け付けたと判断した場合(ステップS103−Yes)、仮特定された画像種別と判別された画像種別とが一致するか否かを判断する(ステップS104)。その結果、画像種別特定部180は、仮特定された画像種別と判別された画像種別とが一致していると判断した場合(ステップS104−Yes)、後述するステップS106の処理を行う。一方、画像種別特定部180は、仮特定された画像種別と判別された画像種別とが一致しないと判断した場合(ステップS104−No)、判別された画像種別を第2の画像処理部140へ再通知する(ステップS105)。その後、画像種別特定部180は、画像種別格納部170に格納されている旧画像データの画像種別を、現画像データの画像種別により置き換える(ステップS106)。換言すると、画像種別格納部180には、最後に行われた画像種別判別処理の結果が格納されることとなる。これにより、画像種別特定処理が終了する。   On the other hand, if the image type specifying unit 180 determines that the input of the image type determined by the image type determining unit 160 has been received as a result of the determination in step S103 (Yes in step S103), the image type specifying unit 180 is determined as the temporarily specified image type. It is determined whether or not the image type matches (step S104). As a result, when it is determined that the temporarily specified image type matches the determined image type (Yes in step S104), the image type specifying unit 180 performs a process in step S106 described later. On the other hand, when the image type specifying unit 180 determines that the temporarily specified image type does not match the determined image type (No in step S104), the determined image type is sent to the second image processing unit 140. Re-notification is performed (step S105). Thereafter, the image type identification unit 180 replaces the image type of the old image data stored in the image type storage unit 170 with the image type of the current image data (step S106). In other words, the image type storage unit 180 stores the result of the image type determination process performed last. As a result, the image type identification process ends.

次に、図3を参照して、第2の画像処理部140による処理について説明する。図3は、第2の画像処理部140による処理を概略的に示すフローチャートである。   Next, the process performed by the second image processing unit 140 will be described with reference to FIG. FIG. 3 is a flowchart schematically showing processing by the second image processing unit 140.

第2の画像処理部140は、ステップS102において通知された画像種別の入力を受け付けると共に(ステップS151)、第1の画像処理が施された現画像データの入力を受け付ける(ステップS152)。   The second image processing unit 140 receives the input of the image type notified in step S102 (step S151), and also receives the input of the current image data subjected to the first image processing (step S152).

次に、第2の画像処理部140は、通知された画像種別に応じた画像処理を第2の画像処理として選択する(ステップS153)。より具体的には、第2の画像処理部140は、通知された画像種別に応じた画像処理に適切なパラメータ、例えば通知された画像種別がカラー画像であった場合にはカラー画像の画像処理に適切なパラメータを、また例えば通知された画像種別がモノクロ画像であった場合にはモノクロ画像の画像処理に適切なパラメータを、図示しないパラメータ格納部から取得する。   Next, the second image processing unit 140 selects image processing corresponding to the notified image type as second image processing (step S153). More specifically, the second image processing unit 140 performs an appropriate parameter for image processing according to the notified image type, for example, color image image processing when the notified image type is a color image. For example, if the notified image type is a monochrome image, a parameter suitable for monochrome image processing is acquired from a parameter storage unit (not shown).

次に、第2の画像処理部140は、第1の画像処理が施された現画像データに対して選択された第2の画像処理を施し(ステップS154)、選択された第2の画像処理が施された現画像データを画像データ格納部150に格納する(ステップS155)。   Next, the second image processing unit 140 performs the selected second image processing on the current image data on which the first image processing has been performed (step S154), and the selected second image processing. Is stored in the image data storage unit 150 (step S155).

次に、第2の画像処理部140は、画像種別特定部180から画像種別が再通知されたか否かを判断する(ステップS156)。その結果、第2の画像処理部140は、画像種別が再通知されていないと判断した場合(ステップS156−No)、第2の画像処理部140による処理を終了する。   Next, the second image processing unit 140 determines whether or not the image type is re-notified from the image type specifying unit 180 (step S156). As a result, when the second image processing unit 140 determines that the image type has not been notified again (No in step S156), the processing by the second image processing unit 140 ends.

一方、第2の画像処理部140は、画像種別が再通知されたと判断した場合(ステップS156−Yes)、画像データ一時格納部130を参照し、そこに格納されている現画像データを取得する(ステップS157)。そして、第2の画像処理部140は、再通知された画像種別に応じた第2の画像処理を選択し(ステップS158)、画像データ一時格納部130から取得された現画像データに対して、選択された第2の画像処理を施す(ステップS159)。   On the other hand, if the second image processing unit 140 determines that the image type has been notified again (step S156-Yes), the second image processing unit 140 refers to the image data temporary storage unit 130 and acquires the current image data stored therein. (Step S157). Then, the second image processing unit 140 selects the second image processing corresponding to the re-notified image type (step S158), and for the current image data acquired from the image data temporary storage unit 130, The selected second image processing is performed (step S159).

次に、第2の画像処理部140は、画像データ格納部150に格納されている現画像データを、再通知された画像種別に応じた第2の画像処理が施された現画像データにより置き換える(ステップS160)。より具体的には、第2の画像処理部140は、画像データ格納部150に格納されている現画像データを削除し、削除した現画像データの代わりに、再通知された画像種別に応じた第2の画像処理が施された現画像データを格納する。これにより、第2の画像処理部140による処理は終了する。   Next, the second image processing unit 140 replaces the current image data stored in the image data storage unit 150 with the current image data that has been subjected to the second image processing according to the re-notified image type. (Step S160). More specifically, the second image processing unit 140 deletes the current image data stored in the image data storage unit 150, and replaces the deleted current image data according to the re-notified image type. Stores the current image data subjected to the second image processing. Thereby, the processing by the second image processing unit 140 ends.

次に、画像処理装置100の全体的な処理について具体例を挙げて説明する。なお、以下の説明において、現画像データの実際の画像種別をカラー画像とし、また画像種別格納部170に格納されている画像種別をカラー画像とする。   Next, the overall processing of the image processing apparatus 100 will be described with a specific example. In the following description, the actual image type of the current image data is a color image, and the image type stored in the image type storage unit 170 is a color image.

画像種別特定部180は、画像データ入力部110に現画像データが入力されると、画像種別格納部170に格納されている画像種別をカラー画像として取得し、現画像データの画像種別をカラー画像として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知する。その結果、第2の画像処理部140は、現画像データに対する画像種別判別処理が完了する前において、現画像データにカラー画像処理を施し、カラー画像処理が施された現画像データを画像データ格納部150に格納する。ここで、第2の画像処理部140は、画像種別判別処理が完了する前において、実際の画像種別がカラー画像である現画像データに対して、カラー画像に応じた第2の画像処理を行っている。換言すると、現画像データには、画像種別判別処理の前において、その実際の画像種別に応じた適切な第2の画像処理が施されていることとなる。   When the current image data is input to the image data input unit 110, the image type identification unit 180 acquires the image type stored in the image type storage unit 170 as a color image, and sets the image type of the current image data as a color image. Are temporarily specified, and the second image processing unit 140 is notified of the temporarily specified image type. As a result, the second image processing unit 140 performs color image processing on the current image data and stores the current image data on which the color image processing has been performed before the image type determination processing on the current image data is completed. Stored in the unit 150. Here, the second image processing unit 140 performs the second image processing corresponding to the color image on the current image data whose actual image type is a color image before the image type determination process is completed. ing. In other words, appropriate second image processing corresponding to the actual image type is performed on the current image data before the image type determination process.

次に、画像処理装置100の全体的な処理について他の具体例を挙げて説明する。なお、以下の説明において、画像データ入力部110に入力される現画像データの画像種別をカラー画像とし、画像種別格納部170に格納されている画像種別をモノクロ画像とする。なお、現画像データの実際の画像種別がカラー画像であることから、画像種別判別処理の結果得られる画像種別もカラー画像であることはいうまでもない。   Next, the overall processing of the image processing apparatus 100 will be described with another specific example. In the following description, the image type of the current image data input to the image data input unit 110 is a color image, and the image type stored in the image type storage unit 170 is a monochrome image. Since the actual image type of the current image data is a color image, it goes without saying that the image type obtained as a result of the image type determination process is also a color image.

画像種別特定部180は、画像データ入力部110に現画像データが入力されると、画像種別格納部170に格納されている画像種別を取得し、現画像データの画像種別をモノクロ画像として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知する。その結果、第2の画像処理部140は、現画像データに対する画像種別判別処理が完了する前において、現画像データにモノクロ画像処理を施し、モノクロ画像処理が施された現画像データを画像データ格納部150に格納する。ここで、第2の画像処理部140は、画像種別判別処理の完了前において、実際の画像種別がカラー画像である現画像データに対して、モノクロ画像に応じた第2の画像処理を行っている。換言すると、現画像データには、画像種別判別処理の完了前において、その実際の画像種別に応じた第2の画像処理が施されていない。よって、第2の画像処理部140は、現画像データの実際の画像種別であるカラー画像に応じた第2の画像処理を実行する必要がある。   When the current image data is input to the image data input unit 110, the image type specifying unit 180 acquires the image type stored in the image type storage unit 170, and temporarily specifies the image type of the current image data as a monochrome image. Then, the temporarily specified image type is notified to the second image processing unit 140. As a result, the second image processing unit 140 performs monochrome image processing on the current image data before storing the image type determination processing on the current image data, and stores the current image data subjected to the monochrome image processing as image data. Stored in the unit 150. Here, the second image processing unit 140 performs the second image processing corresponding to the monochrome image on the current image data whose actual image type is a color image before the completion of the image type determination process. Yes. In other words, the current image data is not subjected to the second image processing according to the actual image type before the completion of the image type determination process. Therefore, the second image processing unit 140 needs to execute the second image processing according to the color image that is the actual image type of the current image data.

そこで、第2の画像処理部140は、画像種別判別処理が完了すると、その判別結果であるカラー画像に応じた第2の画像処理を、画像データ一時格納部130に一時的に格納されている現画像データに施し、その現画像データにより、モノクロ画像に応じた第2の画像処理が施された現画像データを置き換える。これにより、第1の画像処理が施された現画像データには、その実際の画像種別に応じた適切な第2の画像処理が施されることとなる。   Therefore, when the image type determination process is completed, the second image processing unit 140 temporarily stores the second image processing corresponding to the color image that is the determination result in the image data temporary storage unit 130. The current image data is applied to the current image data, and the current image data subjected to the second image processing corresponding to the monochrome image is replaced by the current image data. As a result, the second image processing appropriate for the actual image type is performed on the current image data subjected to the first image processing.

上述のように、本実施の形態の画像処理装置は、画像種別判別処理の完了前において、過去に行われた画像種別判別処理の結果得られた画像種別に応じた画像処理を現画像データに施し、その画像処理に用いられた画像種別と画像種別判別処理の結果得られた実際の画像種別とが異なる場合にのみ、画像種別判別処理の結果得られる実際の画像種別に応じた画像処理を行っている。これにより、実際の画像種別と仮特定された画像種別とが同一の場合、画像種別判別処理後に画像処理を行う必要がなくなり、画像処理の高速化を図ることが可能となる。   As described above, the image processing apparatus according to the present embodiment performs image processing according to the image type obtained as a result of the image type discrimination process performed in the past on the current image data before the completion of the image type discrimination process. The image processing according to the actual image type obtained as a result of the image type discrimination process is performed only when the image type used for the image processing is different from the actual image type obtained as a result of the image type discrimination process. Is going. As a result, when the actual image type and the temporarily specified image type are the same, it is not necessary to perform image processing after the image type determination processing, and it is possible to increase the speed of the image processing.

なお、本実施の形態の画像処理装置では、最後に行われた画像種別判別処理の結果得られた画像種別が画像種別格納部に格納されているが、例えば過去に行われた画像種別判別処理の結果得られた複数の画像種別のうちのいずれか一つが画像種別格納部に格納されていても良く、またユーザが予め指定した画像種別や複合機の製造時に指定された画像種別などの所定の画像種別が格納されていても良い。これによっても、画像種別特定部は、画像種別判別処理の完了前において、それらの画像種別を現画像データの画像種別として仮に特定することが可能となる。なお、ユーザが指定する画像種別を画像種別格納部に格納する場合、そのような画像種別の入力を受け付ける入力部を別途設ければ良い。   In the image processing apparatus according to the present embodiment, the image type obtained as a result of the last image type determination process is stored in the image type storage unit. For example, the image type determination process performed in the past Any one of a plurality of image types obtained as a result of the above may be stored in the image type storage unit, and a predetermined image type specified by the user or an image type specified at the time of manufacture of the multifunction device The image types may be stored. This also allows the image type specifying unit to temporarily specify the image type as the image type of the current image data before the completion of the image type determination process. When the image type designated by the user is stored in the image type storage unit, an input unit for receiving such image type input may be provided separately.

また、過去に行われた画像種別判別処理により得られた複数の画像種別が時系列などの所定の順序で画像種別格納部に格納されていても良い。より具体的には、画像種別格納部には、例えば3つの画像種別が、カラー画像、モノクロ画像およびモノクロ画像の順番で格納されていても良い。これにより、例えば画像処理装置に3つの画像データがカラー画像データ、モノクロ画像データおよびモノクロ画像データの順番で入力された場合、それらの画像種別判別処理が完了する前において、それらの画像種別を順次カラー画像、モノクロ画像およびモノクロ画像の順序で仮に特定することが可能となる。   Also, a plurality of image types obtained by image type determination processing performed in the past may be stored in the image type storage unit in a predetermined order such as time series. More specifically, for example, three image types may be stored in the image type storage unit in the order of color image, monochrome image, and monochrome image. Thus, for example, when three image data are input to the image processing apparatus in the order of color image data, monochrome image data, and monochrome image data, the image types are sequentially set before the image type determination processing is completed. It is possible to specify temporarily in the order of color image, monochrome image, and monochrome image.

(第2の実施の形態)
次に、本発明の第2の実施の形態を図4および図5に基づいて説明する。本実施の形態にかかる画像処理装置は、画像種別特定部の内部処理と、画像種別格納部に代えてカウンタ値格納部を備える点について、第1の実施の形態の画像処理装置と異なる。よって、第1の実施の形態と同じ部分は同じ符号で示し、説明も省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to FIGS. The image processing apparatus according to the present embodiment is different from the image processing apparatus according to the first embodiment in that an internal processing of the image type specifying unit and a counter value storage unit are provided instead of the image type storage unit. Therefore, the same parts as those of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

図4は、本実施の形態の画像処理装置の構成を概略的に示すブロック図である。画像処理装置200は、画像データ入力部110と、第1の画像処理部120と、画像データ一時格納部130と、第2の画像処理部140と、画像データ格納部150と、画像種別判別部160と、カウンタ値格納部270と、画像種別特定部280と、を備える。   FIG. 4 is a block diagram schematically showing the configuration of the image processing apparatus according to the present embodiment. The image processing apparatus 200 includes an image data input unit 110, a first image processing unit 120, an image data temporary storage unit 130, a second image processing unit 140, an image data storage unit 150, and an image type determination unit. 160, a counter value storage unit 270, and an image type identification unit 280.

カウンタ値格納部270には、過去に画像種別判別部160により判別された画像種別の履歴が格納されている。より具体的には、カウンタ値格納部270には、画像種別判別部160が旧画像データの画像種別をモノクロ画像として判別した累積回数(以下、モノクロカウンタ値と称する)が格納されていると共に、画像種別判別部160が旧画像データの画像種別をカラー画像として判別した累積回数(以下、カラーカウンタ値と称する)が格納されている。   The counter value storage unit 270 stores a history of image types previously determined by the image type determination unit 160. More specifically, the counter value storage unit 270 stores the cumulative number of times that the image type determination unit 160 has determined the image type of the old image data as a monochrome image (hereinafter referred to as a monochrome counter value), and Stored is the cumulative number of times (hereinafter referred to as a color counter value) that the image type determination unit 160 has determined the image type of the old image data as a color image.

画像種別特定部280は、カウンタ値格納部270を参照し、カウンタ値格納部270に格納されているモノクロカウンタ値およびカラーカウンタ値を取得し、取得したモノクロカウンタ値およびカラーカウンタ値に基づいて画像種別を仮特定し、仮特定した画像種別を第2の画像処理部140に通知する。また、画像種別特定部280は、画像種別判別部160が出力した画像種別の入力を受け付けると、仮特定された画像種別と画像種別判別部160により判別された画像種別とを比較し、その比較結果に応じて第2の画像処理部140に画像種別を再通知する。なお、以下の説明において、画像種別特定部280による上述の処理を画像種別特定処理と称する。   The image type identification unit 280 refers to the counter value storage unit 270, acquires the monochrome counter value and the color counter value stored in the counter value storage unit 270, and performs image processing based on the acquired monochrome counter value and color counter value. The type is provisionally specified, and the temporarily specified image type is notified to the second image processing unit 140. In addition, when receiving the input of the image type output from the image type determination unit 160, the image type specification unit 280 compares the temporarily specified image type with the image type determined by the image type determination unit 160, and compares the comparison. According to the result, the second image processing unit 140 is notified again of the image type. In the following description, the above-described process performed by the image type specifying unit 280 is referred to as an image type specifying process.

次に、図5を参照して、画像種別特定処理について説明する。図5は、画像種別特定処理を概略的に示すフローチャートである。   Next, the image type specifying process will be described with reference to FIG. FIG. 5 is a flowchart schematically showing the image type specifying process.

画像種別特定部280は、画像データ入力部110に現画像データが入力されると、カウンタ値格納部270を参照し、カウンタ値格納部270に格納されているモノクロカウンタ値およびカラーカウンタ値を取得する(ステップS201)。次に、画像種別特定部280は、取得したモノクロカウンタ値およびカラーカウンタ値を比較する(ステップS202)。その結果、画像種別特定部280は、カラーカウンタ値がモノクロカウンタ値以上であると判断した場合(ステップS202−Yes)、現画像データの画像種別をカラー画像として仮に特定し、画像種別がカラー画像であることを第2の画像処理部140へ通知する(ステップS204)。一方、画像種別特定部280は、カラーカウンタ値がモノクロカウンタ値以上ではないと判断した場合(ステップS202−No)、現画像データの画像種別をモノクロ画像として特定し、画像種別がモノクロ画像であることを第2の画像処理部140へ通知する(ステップS203)。   When the current image data is input to the image data input unit 110, the image type identification unit 280 refers to the counter value storage unit 270 and acquires the monochrome counter value and the color counter value stored in the counter value storage unit 270. (Step S201). Next, the image type identification unit 280 compares the acquired monochrome counter value and color counter value (step S202). As a result, if the image type identification unit 280 determines that the color counter value is greater than or equal to the monochrome counter value (Yes in step S202), the image type identification unit 280 temporarily identifies the image type of the current image data as a color image, and the image type is a color image. This is notified to the second image processing unit 140 (step S204). On the other hand, when the image type specifying unit 280 determines that the color counter value is not equal to or greater than the monochrome counter value (No in step S202), the image type specifying unit 280 specifies the image type of the current image data as a monochrome image, and the image type is a monochrome image. This is notified to the second image processing unit 140 (step S203).

その後、画像種別特定部280は、ステップS103〜ステップS105の処理を行う。その後、画像種別特定部280は、画像種別判別部160により判別された画像種別に対応するカウンタ値に1を加算する(ステップS205)。これにより、画像種別特定処理は終了する。   Thereafter, the image type identification unit 280 performs the processing of Steps S103 to S105. Thereafter, the image type identification unit 280 adds 1 to the counter value corresponding to the image type determined by the image type determination unit 160 (step S205). Thereby, the image type identification process ends.

上述のように、本実施の形態の画像処理装置は、画像種別判別処理の完了前において、過去に行われた画像種別判別処理により画像種別がカラー画像として判別された累積回数と、過去に行われた画像種別判別処理により画像種別がモノクロ画像として判別された累積回数と、のうちのいずれか多いほうに対応する画像種別に応じた画像処理を現画像データに施している。そして、その画像処理に用いられた画像種別と画像種別判別処理の結果得られた実際の画像種別とが異なる場合にのみ、画像種別判別処理の結果得られた画像種別に応じた画像処理を行っている。これにより、画像種別判別処理の結果得られた画像種別と仮特定された画像種別とが同一の場合、画像種別判別処理後に画像処理を行う必要がなくなり、画像処理の高速化を図ることが可能となる。また、画像種別判別処理の判別結果の累積回数に応じて画像種別を仮特定することにより、現画像データの画像種別をより正確に仮特定することが可能となる。   As described above, the image processing apparatus according to the present embodiment performs the cumulative number of times the image type has been determined as a color image by the image type determination process performed in the past before the completion of the image type determination process. The current image data is subjected to image processing according to the image type corresponding to the larger one of the cumulative number of times the image type is determined as a monochrome image by the broken image type determination process. Only when the image type used for the image processing is different from the actual image type obtained as a result of the image type discrimination process, the image processing corresponding to the image type obtained as a result of the image type discrimination process is performed. ing. As a result, when the image type obtained as a result of the image type determination process is the same as the temporarily specified image type, it is not necessary to perform the image process after the image type determination process, and the image processing can be speeded up. It becomes. Further, by temporarily specifying the image type according to the cumulative number of determination results of the image type determination process, the image type of the current image data can be temporarily specified more accurately.

なお、本実施の形態のカウンタ値格納部には、過去に行われた画像種別判別処理により画像種別がモノクロ画像として判別された累積回数と、過去に行われた画像種別判別処理により画像種別がカラー画像として判別された累積回数とが格納されており、本実施の形態の画像種別特定部は、それらの累積回数に基づいて画像種別を仮特定している。しかしながら、本実施の形態はこれに限定されず、カウンタ値格納部には、例えば原稿を読み取る際にスキャナなどの原稿読取装置側で設定される読取モードで指定された画像種別の履歴が格納されていても良い。より具体的には、カウンタ値格納部には、原稿を読み取る際にユーザがスキャナ等の原稿読取装置に対してモノクロ読取モードを指定した累積回数と、カラー読取モードを指定した累積回数と、が格納されていても良い。そして、画像種別特定部は、それらの累積回数を比較し、累積回数が多いほうの画像種別を現画像データの画像種別として仮に特定し、仮特定された画像種別に応じた画像処理を現画像データに施しても良い。これによっても、画像処理の高速化を図ることが可能になると共に、入力された現画像データの画像種別をより正確に仮特定することが可能となる。   In the counter value storage unit of the present embodiment, the cumulative number of times the image type has been determined as a monochrome image by the image type determination process performed in the past, and the image type by the image type determination process performed in the past. The accumulated number of times determined as a color image is stored, and the image type identification unit of the present embodiment provisionally identifies the image type based on the accumulated number. However, the present embodiment is not limited to this, and the counter value storage unit stores, for example, a history of image types designated in a reading mode set on the side of an original reading apparatus such as a scanner when reading an original. May be. More specifically, the counter value storage unit includes an accumulated number of times when the user designates the monochrome reading mode for an original reading device such as a scanner and an accumulated number of times when the color reading mode is designated when the original is read. It may be stored. Then, the image type identification unit compares the accumulated number of times, tentatively identifies the image type with the larger cumulative number as the image type of the current image data, and performs image processing according to the temporarily identified image type. May be applied to data. This also makes it possible to increase the speed of image processing, and it is possible to provisionally specify the image type of the input current image data more accurately.

(第3の実施の形態)
次に、本発明の第3の実施の形態を図6および図7に基づいて説明する。本実施の形態にかかる画像処理装置は、画像種別特定部の内部処理と、一致回数格納部をさらに備える点について、第1の実施の形態の画像処理装置と異なる。よって、第1の実施の形態と同じ部分は同じ符号で示し、説明も省略する。
(Third embodiment)
Next, a third embodiment of the present invention will be described with reference to FIGS. The image processing apparatus according to the present embodiment is different from the image processing apparatus according to the first embodiment in that it further includes an internal process of the image type identification unit and a coincidence count storage unit. Therefore, the same parts as those of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.

図6は、画像処理装置300の構成を概略的に示すブロック図である。画像処理装置300は、画像データ入力部110と、第1の画像処理部120と、画像データ一時格納部130と、第2の画像処理部140と、画像データ格納部150と、画像種別判別部160と、画像種別格納部170と、画像種別特定部380と、一致回数格納部390と、を備える。   FIG. 6 is a block diagram schematically showing the configuration of the image processing apparatus 300. The image processing apparatus 300 includes an image data input unit 110, a first image processing unit 120, an image data temporary storage unit 130, a second image processing unit 140, an image data storage unit 150, and an image type determination unit. 160, an image type storage unit 170, an image type identification unit 380, and a coincidence count storage unit 390.

一致回数格納部390には、旧画像データに対する画像種別判別処理の結果得られた画像種別と、その旧画像データに対して仮特定された画像種別と、が一致した累積回数(以下、一致回数と称する)と、それらが一致しなかった累積回数(以下、不一致回数と称する)と、が格納されている。   The coincidence count storage unit 390 stores the accumulated number of times that the image type obtained as a result of the image type discrimination process for the old image data matches the image type temporarily specified for the old image data (hereinafter, the number of matches). And the cumulative number of times they did not match (hereinafter referred to as the number of mismatches).

次に、図7を参照して、画像種別特定部380による画像種別特定処理について説明する。図7は、画像種別特定処理を概略的に示すフローチャートである。   Next, the image type specifying process by the image type specifying unit 380 will be described with reference to FIG. FIG. 7 is a flowchart schematically showing the image type specifying process.

画像種別特定部380は、画像種別格納部170に格納されている画像種別を取得した後(ステップS101)、一致回数格納部390を参照し、一致回数格納部390に格納されている一致回数と不一致回数とを取得する(ステップS301)。その後、画像種別特定部380は、一致回数格納部390から取得した一致回数が不一致回数以上であるか否かを判断する(ステップS302)。その結果、画像種別特定部380は、一致回数が不一致回数以上ではないと判断した場合(ステップS302−No)、画像種別格納部170から取得した画像種別と相対する画像種別を現画像データの画像種別として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知する(ステップS303)。そして、画像種別特定部380は、ステップS103の処理を行う。なお、ここでいう現画像データの画像種別に相対する画像種別とは、例えば画像種別格納部170に格納されている画像種別がモノクロ画像であった場合にはカラー画像のことをいい、また例えば画像種別がカラー画像であった場合にはモノクロ画像のことをいう。   After acquiring the image type stored in the image type storage unit 170 (step S101), the image type identification unit 380 refers to the match number storage unit 390, and determines the number of matches stored in the match number storage unit 390. The number of mismatches is acquired (step S301). Thereafter, the image type identification unit 380 determines whether or not the number of matches acquired from the match count storage unit 390 is equal to or greater than the number of mismatches (step S302). As a result, when the image type identification unit 380 determines that the number of matches is not equal to or greater than the number of mismatches (No in step S302), the image type relative to the image type acquired from the image type storage unit 170 is set as the image of the current image data. Temporarily specified as the type, and the temporarily specified image type is notified to the second image processing unit 140 (step S303). Then, the image type identification unit 380 performs the process of step S103. The image type relative to the image type of the current image data here refers to a color image when the image type stored in the image type storage unit 170 is a monochrome image, for example. When the image type is a color image, it means a monochrome image.

一方、画像種別特定部380は、ステップS302の処理の結果、一致回数が不一致回数以上であると判断した場合(ステップS302−Yes)、ステップS102およびステップS103の処理を行う。   On the other hand, if the image type identification unit 380 determines that the number of matches is equal to or greater than the number of mismatches as a result of the process in step S302 (step S302—Yes), the image type identification unit 380 performs the processes in steps S102 and S103.

次に、画像種別特定部380は、ステップS103の後、仮特定された現画像データの画像種別と画像種別判別部160により判別された画像種別とが一致するか否かを判断する(ステップS104)。そして、画像種別特定部380は、ステップS104の結果がYesであった場合、一致回数格納部390に格納されている一致回数を1上げ(ステップS304)、ステップS106の処理を行ってから、画像種別特定処理を終了する。一方、画像種別特定部380は、ステップS104の結果がNoであった場合、ステップS105の処理を行い、一致回数格納部390に格納されている不一致回数を1上げ(ステップS305)、ステップS106の処理を行ってから、画像種別特定処理を終了する。   Next, after step S103, the image type specifying unit 380 determines whether or not the image type of the temporarily specified current image data matches the image type determined by the image type determining unit 160 (step S104). ). Then, if the result of step S104 is Yes, the image type identification unit 380 increases the number of matches stored in the match count storage unit 390 by 1 (step S304), performs the process of step S106, and then performs the image processing. The type identification process ends. On the other hand, if the result of step S104 is No, the image type identification unit 380 performs the process of step S105, increments the number of mismatches stored in the match count storage unit 390 by 1 (step S305), and performs step S106. After performing the process, the image type specifying process is terminated.

上述のように、本実施の形態の画像処理装置では、画像種別判別処理の結果得られた画像種別と仮特定された画像種別とが、過去に行われた画像種別特定処理において一致した累積回数と、それらが一致しなかった累積回数と、にさらに基づいて、画像種別を仮特定している。これにより、画像処理の高速化に加えて、現画像データの画像種別をより正確に仮特定することが可能となる。   As described above, in the image processing apparatus according to the present embodiment, the cumulative number of times that the image type obtained as a result of the image type determination process coincides with the temporarily specified image type in the image type specifying process performed in the past. Further, the image type is provisionally specified based further on the cumulative number of times they did not match. As a result, in addition to speeding up the image processing, it is possible to provisionally specify the image type of the current image data more accurately.

(第4の実施の形態)
次に、本発明の第4の実施の形態を図8および図9に基づいて説明する。本実施の形態にかかる画像処理装置は、画像種別特定部の内部処理と、一致回数格納部を備える点について、第2の実施の形態の画像処理装置と異なる。よって、第2の実施の形態と同じ部分は同じ符号で示し、説明も省略する。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described with reference to FIGS. The image processing apparatus according to the present embodiment is different from the image processing apparatus according to the second embodiment in that the internal processing of the image type identification unit and the coincidence count storage unit are provided. Therefore, the same parts as those of the second embodiment are denoted by the same reference numerals, and description thereof is also omitted.

図8は、画像処理装置400の構成を概略的に示すブロック図である。画像処理装置400は、画像データ入力部110と、第1の画像処理部120と、画像データ一時格納部130と、第2の画像処理部140と、画像データ格納部150と、画像種別判別部160と、カウンタ値格納部270と、画像種別特定部480と、一致回数格納部490と、を備える。なお、一致回数格納部490は、第3の実施の形態の一致回数格納部と同一のものであることから、ここではその説明を省略する。   FIG. 8 is a block diagram schematically showing the configuration of the image processing apparatus 400. The image processing apparatus 400 includes an image data input unit 110, a first image processing unit 120, an image data temporary storage unit 130, a second image processing unit 140, an image data storage unit 150, and an image type determination unit. 160, a counter value storage unit 270, an image type identification unit 480, and a coincidence count storage unit 490. Since the coincidence count storage unit 490 is the same as the coincidence count storage unit of the third embodiment, the description thereof is omitted here.

次に、図9を参照して、画像種別特定部480による画像種別特定処理について説明する。図9は、画像種別特定処理を概略的に示すフローチャートである。   Next, the image type specifying process by the image type specifying unit 480 will be described with reference to FIG. FIG. 9 is a flowchart schematically showing the image type specifying process.

画像種別特定部480は、ステップS201の処理の後、第3の実施の形態と同様に、一致回数格納部490に格納されている一致回数と不一致回数とを取得し(ステップS401)、一致回数が不一致回数以上であるか否かを判断する(ステップS402)。   After the processing in step S201, the image type identification unit 480 acquires the number of matches and the number of mismatches stored in the match count storage unit 490 (step S401), as in the third embodiment. Is equal to or greater than the number of mismatches (step S402).

次に、画像種別特定部480は、第2の実施の形態と同様に、一致回数が不一致回数以上であると判断した場合において(ステップS402−Yes)、カラーカウンタ値がモノクロカウンタ値以上であると判断した場合(ステップS202−Yes)、現画像データの画像種別をカラー画像として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知している(ステップS204)。一方、画像種別特定部480は、一致回数が不一致回数以上であると判断した場合において(ステップS402−Yes)、カラーカウンタ値がモノクロカウンタ値以上ではない判断した場合(ステップS202−No)、現画像データの画像種別をモノクロ画像として仮特定し、仮特定された画像種別を第2の画像処理部140に通知している(ステップS203)。   Next, as in the second embodiment, when the image type identification unit 480 determines that the number of matches is equal to or greater than the number of mismatches (Yes in step S402), the color counter value is equal to or greater than the monochrome counter value. (Step S202—Yes), the image type of the current image data is provisionally specified as a color image, and the temporarily specified image type is notified to the second image processing unit 140 (step S204). On the other hand, when the image type identification unit 480 determines that the number of matches is equal to or greater than the number of mismatches (step S402—Yes), the image type identification unit 480 determines that the color counter value is not equal to or greater than the monochrome counter value (step S202—No). The image type of the image data is temporarily specified as a monochrome image, and the temporarily specified image type is notified to the second image processing unit 140 (step S203).

しかしながら、画像種別特定部480は、第2の実施の形態と異なり、一致回数が不一致回数以上ではないと判断した場合において(ステップS402−No)、カラーカウンタ値がモノクロカウンタ値以上である判断した場合(ステップS202−Yes)、現画像データの画像種別をモノクロ画像として仮特定し、仮特定された画像種別を第2の画像処理部140へ通知している(ステップS203)。一方、画像種別特定部480は、一致回数が不一致回数以上ではないと判断した場合において(ステップS402−No)、カラーカウンタ値がモノクロカウンタ値以上ではない判断した場合(ステップS202−No)、現画像データの画像種別をカラー画像として仮特定し、仮特定された画像種別を第2の画像処理部140に通知している(ステップS204)。   However, unlike the second embodiment, the image type identification unit 480 determines that the color counter value is greater than or equal to the monochrome counter value when it is determined that the number of matches is not greater than or equal to the number of mismatches (No in step S402). In this case (step S202-Yes), the image type of the current image data is provisionally specified as a monochrome image, and the temporarily specified image type is notified to the second image processing unit 140 (step S203). On the other hand, when the image type identification unit 480 determines that the number of matches is not greater than or equal to the number of mismatches (step S402-No), the image type identification unit 480 determines that the color counter value is not greater than the monochrome counter value (step S202-No). The image type of the image data is temporarily specified as a color image, and the temporarily specified image type is notified to the second image processing unit 140 (step S204).

なお、ステップS203およびステップS204の処理後の各処理は、第2の実施の形態と同様であり、またステップS404およびステップS405は、それぞれ第3の実施の形態のステップS304およびステップS305と同一のものであるため、説明を省略する。   Each process after step S203 and step S204 is the same as that in the second embodiment, and step S404 and step S405 are the same as step S304 and step S305 in the third embodiment, respectively. Since it is a thing, description is abbreviate | omitted.

上述のように、本実施の形態の画像処理装置では、画像種別判別処理の結果得られた画像種別と仮特定された画像種別とが、過去に行われた画像種別特定処理において一致した累積回数と、それらが一致しなかった累積回数と、に基づいて、画像種別を仮特定している。これにより、画像処理の高速化に加えて、現画像データの画像種別をより正確に仮特定することが可能となる。   As described above, in the image processing apparatus according to the present embodiment, the cumulative number of times that the image type obtained as a result of the image type determination process coincides with the temporarily specified image type in the image type specifying process performed in the past. The image type is provisionally specified based on the cumulative number of times they did not match. As a result, in addition to speeding up the image processing, it is possible to provisionally specify the image type of the current image data more accurately.

なお、第1〜第4の実施の形態の画像処理装置では、画像データ一時格納部を設け、第1の画像処理が施された現画像データを画像データ一時格納部に一時的に格納している。しかしながら、第1〜第4の実施の形態はこれに限定されず、例えば画像データ一時格納部を備えずに、第1の画像処理が施された現画像データを、第2の画像処理部および画像データ格納部へ出力しても良い。この場合、第2の画像処理部は、画像種別特定部により画像種別が再通知されると、第1の画像処理が施された現画像データを画像データ格納部から取り出し、再通知された画像種別に応じた画像処理をこの現画像データに施せばよい。これによっても、画像処理の高速化を図ることが可能となる。   In the image processing apparatuses according to the first to fourth embodiments, an image data temporary storage unit is provided, and the current image data subjected to the first image processing is temporarily stored in the image data temporary storage unit. Yes. However, the first to fourth embodiments are not limited to this. For example, the current image data subjected to the first image processing is not provided with the image data temporary storage unit, and the second image processing unit and You may output to an image data storage part. In this case, when the image type is re-notified by the image type specifying unit, the second image processing unit takes out the current image data subjected to the first image processing from the image data storage unit, and re-notified the image Image processing corresponding to the type may be performed on the current image data. This also makes it possible to increase the speed of image processing.

また、第1〜第4の実施の形態の画像処理装置において、カラー原稿はCMYKの減法混色により表現されているが、例えばCMYの三色の減法混色など、任意の混色法により表現されていても良い。また、モノクロ原稿はグレースケールで表現されているが、例えば白黒2値などで表現されていても良い。   In the image processing apparatuses according to the first to fourth embodiments, the color document is expressed by subtractive color mixing of CMYK, but is expressed by any color mixing method such as subtractive color mixing of three colors of CMY. Also good. In addition, the monochrome document is expressed in gray scale, but may be expressed in monochrome binary, for example.

また、第1〜第4の実施の形態の画像処理装置では、画像データ入力部による現画像データの入力をトリガとして、仮特定された画像種別が第2の画像処理部に通知されているが、例えば前の画像データに対する第2の画像処理が完了したタイミングでなど、任意のタイミングで第2の画像処理部に通知されて良い。   In the image processing apparatuses according to the first to fourth embodiments, the provisionally specified image type is notified to the second image processing unit with the input of the current image data by the image data input unit as a trigger. For example, the second image processing unit may be notified at an arbitrary timing, such as when the second image processing on the previous image data is completed.

(第5の実施の形態)
次に、図10を参照して、第1〜第4の実施の形態にかかる複合機のハードウェア構成について説明する。図10は、第1〜4の実施の形態にかかる複合機のハードウェア構成を示すブロック図である。本図に示すように、この複合機は、コントローラ10とエンジン部(Engine)60とをPCI(Peripheral Component Interface)バスで接続した構成となる。コントローラ10は、複合機全体の制御と描画、通信、図示しない操作部からの入力を制御するコントローラである。エンジン部60は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部60には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。
(Fifth embodiment)
Next, with reference to FIG. 10, the hardware configuration of the multifunction peripheral according to the first to fourth embodiments will be described. FIG. 10 is a block diagram illustrating a hardware configuration of the multifunction peripheral according to the first to fourth embodiments. As shown in the figure, this multi-function device has a configuration in which the controller 10 and an engine unit (Engine) 60 are connected by a PCI (Peripheral Component Interface) bus. The controller 10 is a controller that controls the entire multifunction peripheral and controls drawing, communication, and input from an operation unit (not shown). The engine unit 60 is a printer engine that can be connected to a PCI bus, and is, for example, a monochrome plotter, a one-drum color plotter, a four-drum color plotter, a scanner, or a fax unit. The engine unit 60 includes an image processing part such as error diffusion and gamma conversion in addition to a so-called engine part such as a plotter.

コントローラ10は、CPU11と、ノースブリッジ(NB)13と、システムメモリ(MEM−P)12と、サウスブリッジ(SB)14と、ローカルメモリ(MEM−C)17と、ASIC(Application Specific Integrated Circuit)16と、ハードディスクドライブ(HDD)18とを有し、ノースブリッジ(NB)13とASIC16との間をAGP(Accelerated Graphics Port)バス15で接続した構成となる。また、MEM−P12は、ROM(Read Only Memory)12aと、RAM(Random Access Memory)12bと、をさらに有する。   The controller 10 includes a CPU 11, a north bridge (NB) 13, a system memory (MEM-P) 12, a south bridge (SB) 14, a local memory (MEM-C) 17, and an ASIC (Application Specific Integrated Circuit). 16 and a hard disk drive (HDD) 18, and the north bridge (NB) 13 and the ASIC 16 are connected by an AGP (Accelerated Graphics Port) bus 15. The MEM-P 12 further includes a ROM (Read Only Memory) 12a and a RAM (Random Access Memory) 12b.

CPU11は、複合機の全体制御をおこなうものであり、NB13、MEM−P12およびSB14からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 11 performs overall control of the multifunction peripheral, and has a chip set including the NB 13, the MEM-P 12, and the SB 14, and is connected to other devices via the chip set.

NB13は、CPU11とMEM−P12、SB14、AGP15とを接続するためのブリッジであり、MEM−P12に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。   The NB 13 is a bridge for connecting the CPU 11 to the MEM-P 12, SB 14, and AGP 15, and includes a memory controller that controls reading and writing to the MEM-P 12, a PCI master, and an AGP target.

MEM−P12は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM12aとRAM12bとからなる。ROM12aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM12bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。   The MEM-P 12 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing a printer, and the like, and includes a ROM 12a and a RAM 12b. The ROM 12a is a read-only memory used as a program / data storage memory, and the RAM 12b is a writable / readable memory used as a program / data development memory, a printer drawing memory, or the like.

SB14は、NB13とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB14は、PCIバスを介してNB13と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。   The SB 14 is a bridge for connecting the NB 13 to a PCI device and peripheral devices. The SB 14 is connected to the NB 13 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

ASIC16は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP15、PCIバス、HDD18およびMEM−C17をそれぞれ接続するブリッジの役割を有する。このASIC16は、PCIターゲットおよびAGPマスタと、ASIC16の中核をなすアービタ(ARB)と、MEM−C17を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部60との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC16には、PCIバスを介してFCU(Facsimile Control Unit)30、USB(Universal Serial Bus)40、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インターフェース50が接続される。操作表示部20はASIC16に直接接続されている。   The ASIC 16 is an IC (Integrated Circuit) for image processing applications having hardware elements for image processing, and has a role of a bridge for connecting the AGP 15, PCI bus, HDD 18, and MEM-C 17. The ASIC 16 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 16, a memory controller that controls the MEM-C 17, and a plurality of DMACs (Direct Memory) that rotate image data using hardware logic. (Access Controller) and a PCI unit that performs data transfer between the engine unit 60 via the PCI bus. The ASIC 16 is connected with an FCU (Facile Control Unit) 30, a USB (Universal Serial Bus) 40, and an IEEE 1394 (the Institute of Electrical Engineers 50) interface via the PCI bus. The operation display unit 20 is directly connected to the ASIC 16.

MEM−C17は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)18は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 17 is a local memory used as a copy image buffer and a code buffer, and an HDD (Hard Disk Drive) 18 is a storage for storing image data, programs, font data, and forms. It is.

AGP15は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P12に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP 15 is a bus interface for a graphics accelerator card that has been proposed to speed up graphics processing, and speeds up the graphics accelerator card by directly accessing the MEM-P 12 with high throughput. .

第1〜第4の実施の形態の画像処理装置で実行される画像処理プログラムは、上述の画像データ入力部、第1の画像処理部、原稿種別判別部および原稿種別特定部を含むモジュール構成となっており、実際のハードウェアとしてはCPU11がHDD18などの記憶媒体から画像処理プログラムを読み出して実行することにより上記各部がMEM−P12などの主記憶装置上にロードされ、画像データ入力部、第1の画像処理部、原稿種別判別部および原稿種別特定部が主記憶装置上に生成されるようになっている。   An image processing program executed by the image processing apparatuses according to the first to fourth embodiments includes a module configuration including the above-described image data input unit, first image processing unit, document type determination unit, and document type identification unit. As actual hardware, the CPU 11 reads out and executes an image processing program from a storage medium such as the HDD 18, so that the above-described units are loaded on a main storage device such as the MEM-P 12. One image processing unit, a document type determination unit, and a document type identification unit are generated on the main storage device.

なお、第1〜第4の実施の形態の画像処理装置で実行される画像処理プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供されても良い。また、その画像処理プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。さらに、その画像処理プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。さらに、その画像処理プログラムを、ROM等に予め組み込んで提供するように構成してもよい。   The image processing program executed by the image processing apparatuses according to the first to fourth embodiments is a file in an installable format or an executable format, and is a CD-ROM, a flexible disk (FD), a CD-R, It may be provided by being recorded on a computer-readable recording medium such as a DVD (Digital Versatile Disk). Further, the image processing program may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, the image processing program may be provided or distributed via a network such as the Internet. Further, the image processing program may be provided by being incorporated in advance in a ROM or the like.

また、第1〜第5の実施の形態では、本発明の画像形成装置を、コピー機能、プリンタ機能、スキャナ機能およびファクシミリ機能のうち少なくとも2つの機能を有する複合機に適用した例を挙げて説明するが、複写機、プリンタ、スキャナ装置、ファクシミリ装置等の画像装置であればいずれにも適用することができる。   In the first to fifth embodiments, an example in which the image forming apparatus of the present invention is applied to a multifunction machine having at least two functions among a copy function, a printer function, a scanner function, and a facsimile function will be described. However, the present invention can be applied to any image device such as a copying machine, a printer, a scanner device, and a facsimile device.

10 コントローラ
11 CPU
12 MEM−P
12a ROM
12b RAM
13 NB
14 SB
15 AGP
16 ASIC
17 MEM−C
18 HDD
20 操作表示部
30 FCU
40 USB
50 IEEE1394
60 Engine
100,200,300,400 画像処理装置
110 画像データ入力部
120 第1の画像処理部
130 画像データ一時格納部
140 第2の画像処理部
150 画像データ格納部
160 画像種別判別部
170 画像種別格納部
180,280,380,480 画像種別特定部
270 カウンタ値格納部
390,490 一致回数格納部
10 Controller 11 CPU
12 MEM-P
12a ROM
12b RAM
13 NB
14 SB
15 AGP
16 ASIC
17 MEM-C
18 HDD
20 Operation display section 30 FCU
40 USB
50 IEEE1394
60 Engine
100, 200, 300, 400 Image processing apparatus 110 Image data input unit 120 First image processing unit 130 Image data temporary storage unit 140 Second image processing unit 150 Image data storage unit 160 Image type determination unit 170 Image type storage unit 180, 280, 380, 480 Image type identification unit 270 Counter value storage unit 390, 490 Number of coincidence storage unit

特開平8−242371号公報JP-A-8-242371

Claims (10)

所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する画像種別判別手段と、
仮特定された前記現画像データの画像種別と前記画像種別判別手段により判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された前記画像種別と前記画像種別判別手段により判別された画像種別とが一致しない場合、前記画像種別判別手段により判別された画像種別に固有の第2の画像処理を前記現画像データに施す画像処理手段と、
を備えることを特徴とする画像処理装置。
Image type discrimination means for discriminating the image type of the current image data as one of a color image and a monochrome image from the current image data of one predetermined document;
When the image type of the temporarily specified current image data matches the image type determined by the image type determining unit, the first image processing unique to the temporarily specified image type is applied to the current image data. When the image type temporarily determined and the image type determined by the image type determination unit do not match, the second image processing specific to the image type determined by the image type determination unit is performed. Image processing means applied to the data;
An image processing apparatus comprising:
前記画像処理が施された現画像データを格納する画像格納手段をさらに備え、
前記画像処理手段は、仮特定された前記画像種別と前記画像判別手段により判別された画像種別とが一致する場合、前記第1の画像処理を前記現画像データに施して前記画像格納手段に格納し、仮特定された前記画像種別と前記画像判別手段により判別された画像種別とが一致しない場合、前記第1の画像処理を前記現画像データに施して前記画像格納手段に格納すると共に、前記第2の画像処理を前記現画像データに施し、前記画像格納手段に格納されている現画像データを、前記第2の画像処理が施された現画像データにより置き換えてることを特徴とする請求項1に記載の画像処理装置。
Image storage means for storing current image data subjected to the image processing;
The image processing means performs the first image processing on the current image data and stores it in the image storage means when the temporarily specified image type matches the image type determined by the image determination means. If the temporarily specified image type does not match the image type determined by the image determining unit, the first image processing is performed on the current image data and stored in the image storage unit, and The second image processing is performed on the current image data, and the current image data stored in the image storage means is replaced with the current image data subjected to the second image processing. The image processing apparatus according to 1.
前記画像種別判別手段が前記現画像データの入力より前に入力された旧画像データからカラー画像およびモノクロ画像のうちのいずれか一方として判別した画像種別を格納している画像種別格納手段と、
前記現画像データの画像種別を、前記画像種別格納手段に格納されている画像種別として仮に特定する画像種別特定手段と、
をさらに備えることを特徴とする請求項1または2に記載の画像処理装置。
An image type storage means for storing an image type determined as one of a color image and a monochrome image from the old image data input before the input of the current image data by the image type determination means;
Image type specifying means for temporarily specifying the image type of the current image data as the image type stored in the image type storage means;
The image processing apparatus according to claim 1, further comprising:
前記画像種別判別手段が前記現画像データの入力より前に入力された旧画像データからカラー画像として当該旧画像データの画像種別を判別した第1の回数と、当該旧画像データからモノクロ画像として当該旧画像データの画像種別を判別した第2の回数と、を格納している判別回数格納手段と、
前記現画像データの画像種別を、前記第1の回数と前記第2の回数とのうちのいずれか多いほうに対応する画像種別として仮に特定する画像種別特定手段と、
をさらに備えることを特徴とする請求項1または2に記載の画像処理装置。
A first number of times that the image type determining means determines the image type of the old image data as a color image from the old image data input before the input of the current image data, and a monochrome image from the old image data. A second number of times of determining the image type of the old image data;
Image type specifying means for temporarily specifying the image type of the current image data as an image type corresponding to the larger one of the first number and the second number;
The image processing apparatus according to claim 1, further comprising:
前記現画像データの入力より前に入力された旧画像データに対応する原稿を読み取る際にカラーモードが指定された第1の回数と、当該原稿を読み取る際にモノクロモードが指定された第2の回数と、を格納しているモード指定回数格納手段と、
前記現画像データの画像種別を、前記第1の回数と前記第2の回数とのうちのいずれか多いほうに対応する画像種別として仮に特定することを特徴とする請求項1または2に記載の画像処理装置。
The first number of times when the color mode is designated when reading the original corresponding to the old image data input before the input of the current image data, and the second number of times when the monochrome mode is designated when reading the original. Mode designation number storage means for storing the number of times,
The image type of the current image data is temporarily specified as an image type corresponding to the larger one of the first number of times and the second number of times. Image processing device.
前記現画像データの画像種別の入力を受け付ける画像種別入力手段と、
前記現画像データの画像種別を、前記画像種別入力手段に入力された画像種別として仮に特定する画像種別特定手段と、
をさらに備えることを特徴とする請求項1または2に記載の画像処理装置。
Image type input means for receiving an input of an image type of the current image data;
Image type specifying means for temporarily specifying the image type of the current image data as the image type input to the image type input means;
The image processing apparatus according to claim 1, further comprising:
前記画像種別判別手段が前記現画像データの入力の前に入力された旧画像データからカラー画像およびモノクロ画像のうちのいずれか一方として判別した画像種別を所定の順序で複数格納している画像種別格納手段と、
前記現画像データの画像種別を、前記画像種別格納手段に格納されている画像種別として前記順序で仮に特定する画像種別特定手段と、
をさらに備えることを特徴とする請求項1または2に記載の画像処理装置。
An image type in which a plurality of image types determined as one of a color image and a monochrome image from the old image data input before the input of the current image data by the image type determination unit are stored in a predetermined order Storage means;
Image type specifying means for temporarily specifying the image type of the current image data as the image type stored in the image type storage means in the order;
The image processing apparatus according to claim 1, further comprising:
前記画像種別判別手段が前記現画像データの入力より前に入力された旧画像データからカラー画像およびモノクロ画像のうちのいずれか一方として判別した画像種別と、仮特定された当該旧画像データの画像種別と、が一致した第1の回数と、当該旧画像データからカラー画像およびモノクロ画像のうちのいずれか一方として判別した画像種別と、仮特定された当該旧画像データの画像種別と、が一致しなかった第2の回数と、を格納している一致回数格納手段と、
前記現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として仮に特定すると共に、前記第2の回数が前記第1の回数より多かった場合、仮特定された当該画像種別を、カラー画像およびモノクロ画像のうちのいずれか他方として仮に特定することを特徴とする請求項1〜6のうちいずれか一項に記載の画像処理装置。
The image type discriminating means discriminates as one of a color image and a monochrome image from the old image data input before the input of the current image data, and the temporarily specified image of the old image data The first number of times the type matches, the image type determined from the old image data as one of a color image and a monochrome image, and the image type of the temporarily specified old image data are one. A match count storage means storing a second count that has not been performed, and
When the image type of the current image data is provisionally specified as one of a color image and a monochrome image, and the second number of times is greater than the first number, the temporarily specified image type is determined. The image processing apparatus according to claim 1, which is temporarily specified as one of a color image and a monochrome image.
画像処理装置で実行される画像処理方法であって、
画像種別判別手段が、所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する工程と、
画像処理手段が、仮特定された前記現画像データの画像種別と前記画像種別判別手段により判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された前記画像種別と前記画像種別判別手段により判別された画像種別とが一致しない場合、前記画像種別判別手段により判別された前記画像種別に固有の第2の画像処理を前記現画像データに施す工程と、
を含むことを特徴とする画像処理方法。
An image processing method executed by an image processing apparatus,
A step of determining an image type of the current image data as one of a color image and a monochrome image from the current image data of one predetermined original document;
When the image processing means matches the temporarily specified image type of the current image data with the image type determined by the image type determining means, the first image processing specific to the temporarily specified image type is performed. If the image type temporarily applied to the current image data and the image type determined by the image type determination unit do not match, a second unique to the image type determined by the image type determination unit Applying image processing to the current image data;
An image processing method comprising:
所定の原稿1枚分の現画像データから、当該現画像データの画像種別を、カラー画像およびモノクロ画像のうちのいずれか一方として判別する画像種別判別ステップと、
仮特定された前記画像データの画像種別と前記画像種別判別ステップにより判別された画像種別とが一致する場合、仮特定された前記画像種別に固有の第1の画像処理を前記現画像データに施し、仮特定された画像種別と前記画像種別判別ステップにより判別された画像種別とが一致しない場合、前記画像種別判別ステップにより判別された画像種別に固有の第2の画像処理を前記現画像データに施す画像処理ステップと、
をコンピュータに実行させるためのプログラム。
An image type determining step for determining the image type of the current image data as one of a color image and a monochrome image from the current image data of one predetermined document;
If the image type of the temporarily specified image data matches the image type determined in the image type determining step, the first image processing unique to the temporarily specified image type is performed on the current image data. If the temporarily specified image type does not match the image type determined in the image type determining step, the second image processing unique to the image type determined in the image type determining step is applied to the current image data. Image processing steps to be applied;
A program that causes a computer to execute.
JP2009153980A 2009-06-29 2009-06-29 Image processing apparatus, image processing method and image processing program Pending JP2011010212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009153980A JP2011010212A (en) 2009-06-29 2009-06-29 Image processing apparatus, image processing method and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009153980A JP2011010212A (en) 2009-06-29 2009-06-29 Image processing apparatus, image processing method and image processing program

Publications (1)

Publication Number Publication Date
JP2011010212A true JP2011010212A (en) 2011-01-13

Family

ID=43566321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009153980A Pending JP2011010212A (en) 2009-06-29 2009-06-29 Image processing apparatus, image processing method and image processing program

Country Status (1)

Country Link
JP (1) JP2011010212A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160960A (en) * 2011-02-01 2012-08-23 Seiko Epson Corp Image processing apparatus
JP2014131127A (en) * 2012-12-28 2014-07-10 Kyocera Document Solutions Inc Image processing apparatus, image forming apparatus, and image processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155076A (en) * 1996-11-23 1998-06-09 Ricoh Co Ltd Color image forming device
JP2004222223A (en) * 2002-04-11 2004-08-05 Canon Inc Color image forming device, control method of color image forming device, program and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155076A (en) * 1996-11-23 1998-06-09 Ricoh Co Ltd Color image forming device
JP2004222223A (en) * 2002-04-11 2004-08-05 Canon Inc Color image forming device, control method of color image forming device, program and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160960A (en) * 2011-02-01 2012-08-23 Seiko Epson Corp Image processing apparatus
JP2014131127A (en) * 2012-12-28 2014-07-10 Kyocera Document Solutions Inc Image processing apparatus, image forming apparatus, and image processing method

Similar Documents

Publication Publication Date Title
JP5157774B2 (en) Image forming apparatus, image forming method, and program
US8964249B2 (en) Image test apparatus, image test system, and image test method for testing a print image based on master image data
CN101572769B (en) Apparatus and method of image processing
KR20180007896A (en) Image forming apparatus and control method thereof
JP2014232946A (en) Information processing apparatus, information processing method, system, and program
US20070201060A1 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2006115466A (en) Image processor, image processing method, and image processing program
JP2011010212A (en) Image processing apparatus, image processing method and image processing program
US8294954B2 (en) Image forming apparatus and method for reducing the difference of image qualities between the image data read by a plurality of reading units
US8849067B2 (en) Image processing apparatus, computer-readable storage medium, and image processing method for improving image data transfer
JP2013142807A (en) Image formation apparatus, image formation method, and printing program
JP5278071B2 (en) Image processing apparatus, image processing method, and image processing program
JP2019080169A (en) Image processing device and image processing method
JP7491004B2 (en) Information processing device, determination method, and program
JP7192584B2 (en) Image processing device, method, and program
JP5983083B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
US8610940B2 (en) Displaying settings of a re-output condition for data
JP5440058B2 (en) Image processing apparatus, image processing method, image processing program, and image processing system
JP2011003077A (en) Image processor, image processing method, image processing program and recording medium
JP6550903B2 (en) Image processing apparatus and computer program
JP2010136023A (en) Image processor, image processing method, image processing program, and recording medium
JP6372397B2 (en) Image processing apparatus and computer program
JP2022003731A (en) Image forming apparatus, image forming method, and program
JP5452804B2 (en) Image forming apparatus
JP2010141608A (en) Image processing method, image processor, image processing program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130702

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131029