JP2010130332A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2010130332A
JP2010130332A JP2008302652A JP2008302652A JP2010130332A JP 2010130332 A JP2010130332 A JP 2010130332A JP 2008302652 A JP2008302652 A JP 2008302652A JP 2008302652 A JP2008302652 A JP 2008302652A JP 2010130332 A JP2010130332 A JP 2010130332A
Authority
JP
Japan
Prior art keywords
image
file
image data
color
image file
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
JP2008302652A
Other languages
Japanese (ja)
Inventor
Shinichi Kimura
新一 木村
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2008302652A priority Critical patent/JP2010130332A/en
Publication of JP2010130332A publication Critical patent/JP2010130332A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming apparatus capable of obtaining a color image file without re-reading a document even when color image data is determined as black-and-white image data in error. <P>SOLUTION: The image forming apparatus includes a first determination means 14 of determining that image data is color image data when the number of color pixels among pixels of the image data is equal to or larger than a first threshold or as black-and-white image data when the number of the color pixels is less than the first threshold, a second determination means 16 of determining whether the number of the color pixels among the pixels of the image data is equal to or larger than a second threshold, and less than the first threshold when it is determined that the image data is black-and-white image data, and an image processing means 15 of generating a color image file and a black-and-white image file by performing image processing for color image data and image processing for black-and-white image data on the image data when it is determined that the number of the color images among the pixels of the image data is equal to or larger than the second threshold and less than the first threshold. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、原稿を読み取り画像データを生成する画像形成装置に関するものである。   The present invention relates to an image forming apparatus that reads a document and generates image data.

ファクシミリ装置、スキャナ、コピー機などの画像形成装置は、原稿を読み取り画像データを生成する。この種の画像形成装置の一例が、特許文献1に例示されている。   Image forming apparatuses such as facsimile machines, scanners, and copiers read originals and generate image data. An example of this type of image forming apparatus is exemplified in Patent Document 1.

特許文献1に例示される複合複写装置(以下、画像形成装置という)において、原稿を読み取った際に、読み取った原稿の画像データが、カラー画像であるか白黒画像であるか判断される。この判断は、ACS(Auto Color Select)と呼ばれる。   In a composite copying apparatus (hereinafter referred to as an image forming apparatus) exemplified in Patent Document 1, when a document is read, it is determined whether the image data of the read document is a color image or a monochrome image. This determination is called ACS (Auto Color Select).

つまり、読み取られた原稿の画像データは、当該画像データの1画素毎に、それがカラー画素であるか白黒画素であるかが判定される。この判定は、画像データのR,G,B夫々の値や,判定対象画素周辺との彩差(色差)等に基づいて行われる。そして、カラー画像と判定された画素の数がカウントされ、カウント数が予め設定された閾値以上である際には、当該画像データはカラー画像データであると判定される。一方、カラー画素であると判定された画素のカウント数が予め設定された閾値未満である際には、当該画像データは白黒画像データであると判定される。当然ながら、前記画像データをなす画素の中に、カラー画素が1つも存在しない際にも、当該画像データが白黒画像データであると判定される。
特開2004−72166号公報
That is, it is determined for each pixel of the read image data whether the read image data is a color pixel or a monochrome pixel. This determination is performed based on the R, G, and B values of the image data, the chrominance (color difference) from the periphery of the determination target pixel, and the like. Then, the number of pixels determined to be a color image is counted, and when the count number is equal to or greater than a preset threshold value, the image data is determined to be color image data. On the other hand, when the count number of pixels determined to be color pixels is less than a preset threshold value, the image data is determined to be monochrome image data. Of course, even when there is no color pixel among the pixels forming the image data, it is determined that the image data is monochrome image data.
JP 2004-72166 A

ところで、この種の画像形成装置において、本来カラー画像データと判定されるべき画像データが白黒画像データと判定されることがある。このような事態は、閾値が大きく設定されるほど顕著に生じる。   By the way, in this type of image forming apparatus, image data that should originally be determined as color image data may be determined as monochrome image data. Such a situation becomes more prominent as the threshold value is set larger.

このような事態が生じると、本来カラー画像データ用の画像処理がされてカラー画像ファイルが生成されるべきにも関わらず、白黒画像データ用の画像処理がされて白黒画像ファイルが生成される。このように、誤って白黒画像データ用の画像処理がされてしまうと、カラー画像データが失われてしまうため、白黒画像ファイルをカラー画像ファイルへ変換してカラー画像ファイルを得ることは、現実的には不可能である。   When such a situation occurs, the monochrome image file is generated by performing the image processing for the monochrome image data even though the image processing for the color image data should be originally generated to generate the color image file. As described above, if image processing for monochrome image data is mistakenly performed, color image data is lost. Therefore, it is realistic to obtain a color image file by converting a monochrome image file to a color image file. Is impossible.

そのため、誤った画像処理がされてしまった際には、カラー画像ファイルを得るため、画像形成装置に対して、閾値の設定をやり直して原稿を再度読み取らせる必要がある。しかしながら、このようなやり直し作業は面倒である。また、原稿を紛失した場合には、このようなやり直し作業をすることができない。   Therefore, when an erroneous image process is performed, in order to obtain a color image file, it is necessary to cause the image forming apparatus to reset the threshold and read the document again. However, such redoing work is troublesome. Further, if the original is lost, such a redoing operation cannot be performed.

本発明は、上記の問題を解決するためになされたもので、カラー画像データと判定されるべき画像データが誤って白黒画像データであると判定された際でも、原稿を再度読み取らせることなく、カラー画像ファイルを得ることができる画像形成装置を提供することを目的とするものである。   The present invention has been made to solve the above problem, and even when the image data to be determined as color image data is erroneously determined to be monochrome image data, the document is not read again, An object of the present invention is to provide an image forming apparatus capable of obtaining a color image file.

本発明の一局面に係る画像形成装置は、画像を表す画像データをなす画素において、カラー画素をなす画素の数が予め設定された第1の閾値(但し、第1の閾値は正整数;以下同じ)以上である際には、前記画像データがカラー画像データであると判定し、前記カラー画素をなす画素の数が前記第1の閾値未満である際には、前記画像データが白黒画像データであると判定する第1の判定手段と、前記第1の判定手段により前記画像データが前記白黒画像データであると判定された際には、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満であるか否かを判定する第2の判定手段と、前記第2の判定手段により、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満であると判定された際には、前記画像データに対して、前記カラー画像データ用の画像処理及び前記白黒画像データ用の画像処理を行って、前記カラー画像ファイル及び前記白黒画像ファイルを生成する画像処理手段と、を備えることを特徴とする(請求項1)。   An image forming apparatus according to an aspect of the present invention provides a first threshold value (provided that the first threshold value is a positive integer; below) in pixels forming image data representing an image. If the number of pixels forming the color pixel is less than the first threshold value, the image data is black and white image data. When the image data is determined to be the black-and-white image data by the first determination unit that determines that the image data is the monochrome image data, the color pixel is formed in the pixels that form the image data. A second determination unit that determines whether the number of pixels is greater than or equal to the second threshold value and less than the first threshold value, and a pixel that forms the image data by the second determination unit. The color pixel When it is determined that the number of pixels is greater than or equal to the second threshold and less than the first threshold, the image processing for the color image data and the monochrome image are performed on the image data. Image processing means for performing image processing for data to generate the color image file and the monochrome image file (claim 1).

この構成によれば、画像処理手段は、画像を表す画像データが第1の判定手段により白黒画像データであると判定された際であって、第2の判定手段により、画像データをなす画素において、カラー画素をなす画素の数が予め設定された第1の閾値よりも小さな第2の閾値以上、且つ、第1の閾値未満である際には、画像データに対して、カラー画像データ用の画像処理及び白黒画像データ用の画像処理を行って、カラー画像ファイル及び白黒画像ファイルを生成する。   According to this configuration, when the image data representing the image is determined to be black-and-white image data by the first determination unit, the image processing unit determines whether the second determination unit determines the pixel that forms the image data. When the number of pixels forming the color pixel is equal to or larger than a second threshold smaller than a first threshold set in advance and smaller than the first threshold, the image data Image processing and image processing for monochrome image data are performed to generate a color image file and a monochrome image file.

そのため、カラー画像データと判定されるべき画像データが誤って白黒画像データであると判定された際でも、原稿を再度読み取らせることなく、カラー画像ファイルが得られる。   Therefore, even when the image data to be determined as color image data is erroneously determined to be monochrome image data, a color image file can be obtained without causing the original to be read again.

上記構成において、前記画像処理手段は、更に、前記第1の判定手段により前記画像データが前記カラー画像データであると判定された際には、前記画像データに対してカラー画像データ用の画像処理を行ってカラー画像ファイルを生成し、前記第2の判定手段により、前記画像データをなす画素において、前記カラー画素をなす画素の数が前記第2の閾値未満であると判定された際には、前記画像データに対して白黒画像データ用の画像処理を行って白黒画像ファイルを生成する構成とすることができる(請求項2)。   In the above configuration, the image processing unit further performs image processing for color image data on the image data when the first determination unit determines that the image data is the color image data. To generate a color image file, and when the second determination unit determines that the number of pixels forming the color pixel is less than the second threshold among the pixels forming the image data. The image data may be subjected to image processing for monochrome image data to generate a monochrome image file (claim 2).

この構成によれば、第1の判定手段により画像データがカラー画像データであると判定された際には、当該画像データからカラー画像ファイルが得られる。また、第1の判定手段により画像データが白黒画像データであると判定された際であって、第2の判定手段により、画像データをなす画素において、カラー画素をなす画素の数が第2の閾値未満であると判定された際には、当該画像データから、白黒画像ファイルが得られる。   According to this configuration, when the first determination unit determines that the image data is color image data, a color image file is obtained from the image data. Further, when the first determination unit determines that the image data is monochrome image data, the second determination unit determines that the number of pixels forming the color pixel is the second among the pixels forming the image data. When it is determined that the value is less than the threshold value, a monochrome image file is obtained from the image data.

上記構成において、前記画像処理手段は、前記第1の判定手段により前記画像データが前記白黒画像データであると判定された際であって、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満である際には、前記カラー画像ファイル及び前記白黒画像ファイルを重ね合わせた1つの画像ファイルを生成する構成とすることができる(請求項3)。   In the configuration described above, the image processing unit is a pixel that forms the color pixel when the first determination unit determines that the image data is the monochrome image data. When the number of images is equal to or greater than the second threshold value and less than the first threshold value, one image file in which the color image file and the monochrome image file are superimposed is generated. (Claim 3).

この構成によれば、画像データが白黒画像データであると判定された際にも、画像データにおいて、カラー画素をなす画素が少しでも存在すれば、カラー画像ファイル及び白黒画像ファイルを重ね合わせた1つの画像ファイルが生成される。そのため、カラー画像データと判定されるべき画像データが誤って白黒画像データであると判定された際でも、原稿を再度読み取らせることなく、カラー画像ファイルを得ることができる。   According to this configuration, even when it is determined that the image data is monochrome image data, if there are any pixels that form color pixels in the image data, the color image file and the monochrome image file are superimposed 1 Two image files are generated. Therefore, even when the image data to be determined as color image data is erroneously determined to be monochrome image data, a color image file can be obtained without causing the original to be read again.

上記構成において、前記画像処理手段は、前記カラー画像ファイル及び前記白黒画像ファイルのいずれか一方へ、他方の画像ファイルが、前記カラー画像ファイル及び前記白黒画像ファイルのいずれか一方からなる主ファイルに付随する背景ファイルとして重ね合わされた前記1つの画像ファイルを生成するよう構成されている構成とすることができる(請求項4)。特に、このような構成において、前記1つの画像ファイルは、前記主ファイル及び前記背景ファイルが置換可能に構成されている構成とすることができる(請求項5)。   In the above configuration, the image processing means is attached to either the color image file or the monochrome image file, and the other image file is attached to the main file consisting of either the color image file or the monochrome image file. The one image file superimposed as a background file to be generated may be configured to be generated (claim 4). In particular, in such a configuration, the one image file can be configured such that the main file and the background file can be replaced (claim 5).

この構成によれば、1つの画像ファイルにおいて、主ファイル及び背景ファイルが、適宜、置換されるので、例えば、1つの画像ファイルの転送を受け付けた外部装置において、主ファイル及び背景ファイルの画像が視認し易くなる。   According to this configuration, since the main file and the background file are appropriately replaced in one image file, for example, the image of the main file and the background file is visually recognized on the external device that has received the transfer of one image file. It becomes easy to do.

上記構成において、前記画像処理手段は、前記カラー画像ファイル及び前記白黒画像ファイルの両方又はいずれか一方の画像の透明度の設定を受け付ける透明度設定手段を備えており、前記1つの画像ファイルを生成する際には、前記カラー画像ファイル及び前記白黒画像ファイルの両方又はいずれか一方の画像の透明度を、前記透明度設定手段に設定された前記透明度とする構成とすることができる(請求項6)。   In the above-described configuration, the image processing unit includes a transparency setting unit that receives a transparency setting of either or both of the color image file and the monochrome image file, and generates the one image file. The transparency of either or both of the color image file and the monochrome image file may be set as the transparency set in the transparency setting means (claim 6).

この構成によれば、カラー画像ファイル及び白黒画像ファイルが組み合わされた1つの画像ファイルを生成する際に、カラー画像ファイル及び白黒画像ファイルの両方又はいずれかの画像の透明度が、透明度設定手段に設定された透明度とされる。そのため、透明度が他のカラー画像ファイル又は白黒画像ファイルよりも小さく設定されたカラー画像ファイル又は白黒画像データの画像は、他のカラー画像ファイル又は白黒画像ファイルの画像よりも鮮明に表示される。従って、カラー画像ファイル及び白黒画像ファイルの両方又はいずれか一方の画像の透明度が設定されることにより、カラー画像ファイル又は白黒画像ファイルが主ファイルとされ、他方のカラー画像ファイル又は白黒画像ファイルが背景ファイルとされた1つの画像ファイルが生成される。   According to this configuration, when generating one image file in which a color image file and a monochrome image file are combined, the transparency of both or either of the color image file and the monochrome image file is set in the transparency setting means. Transparency. Therefore, a color image file or monochrome image data image whose transparency is set smaller than that of another color image file or monochrome image file is displayed more clearly than an image of another color image file or monochrome image file. Therefore, by setting the transparency of either or both of the color image file and the monochrome image file, the color image file or the monochrome image file becomes the main file, and the other color image file or the monochrome image file becomes the background. One image file is generated as a file.

本発明によれば、カラー画像データと判定されるべき画像データが誤って白黒画像データであると判定された際でも、原稿を再度読み取らせることなく、カラー画像ファイルが得られる。   According to the present invention, even when image data to be determined as color image data is erroneously determined to be monochrome image data, a color image file can be obtained without causing the original to be read again.

以下、本発明の一実施形態に係る画像形成装置について説明する。図1は、本発明の一実施形態に係る画像形成装置の機能構成の一例を示すブロック図である。   Hereinafter, an image forming apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating an example of a functional configuration of an image forming apparatus according to an embodiment of the present invention.

図1に示す画像形成装置1は、制御部10、CCD(電荷結合素子;読取手段)12、ページメモリ13、第1の判定部(第1の判定手段)14、画像処理部(画像処理手段)15、画像ファイル記憶部18、プリンタ19、及び外部I/F(インタフェース)20を備える。   An image forming apparatus 1 shown in FIG. 1 includes a control unit 10, a CCD (charge coupled device; reading unit) 12, a page memory 13, a first determination unit (first determination unit) 14, and an image processing unit (image processing unit). ) 15, an image file storage unit 18, a printer 19, and an external I / F (interface) 20.

このような画像形成装置1において、制御部10は、CPU(Central Processing Unit)等を備え、コントロールバス(例えば、CPUバス)及びデータバスを通じて制御信号及びデータの転送を行うことにより、以下の要素を制御する。   In such an image forming apparatus 1, the control unit 10 includes a CPU (Central Processing Unit) and the like, and transfers control signals and data through a control bus (for example, a CPU bus) and a data bus, so that the following elements To control.

CCD11は、原稿を読み取り画像データを生成する。つまり、CCD11は、光源12から照射された光が原稿に反射して生じた反射光を光電変換することで得られた電荷を画素として蓄積し、蓄積された画素を電気信号として出力する処理を、1ライン単位で行うことにより、1ライン単位で画像データを生成する。   The CCD 11 reads an original and generates image data. That is, the CCD 11 performs processing for accumulating charges obtained by photoelectrically converting reflected light generated by the light emitted from the light source 12 reflected on the document as pixels and outputting the accumulated pixels as electric signals. By performing in units of one line, image data is generated in units of one line.

光源12は、図示しないインバータにより生じた高周波パルスに同期した小さな周期の発光を行う。ページメモリ13には、CCD11により1ライン単位で生成された画像データを順次受け付けて、原稿1ページに相当する画像データを格納する。   The light source 12 emits light with a small period synchronized with a high-frequency pulse generated by an inverter (not shown). The page memory 13 sequentially receives image data generated in units of one line by the CCD 11 and stores image data corresponding to one page of the document.

第1の判定部14は、ACS(Auto Color Select)と呼ばれる判定処理を行う。つまり、ページメモリ13に格納された画像データをなす画素において、カラー画素をなす画素の数が予め設定された第1の閾値(以下、N1で表わされる;但し、N1は正整数)以上であるか否かに応じて、当該画像データがカラー画像データであるか白黒画像データであるかを判定する。その判定の結果、カラー画素をなす画素の数がN1以上である際には、当該画像データがカラー画像データであると判定し、カラー画素をなす画素の数がN1未満である際には、当該画像データが白黒画像データであると判定する。   The first determination unit 14 performs a determination process called ACS (Auto Color Select). In other words, among the pixels forming the image data stored in the page memory 13, the number of pixels forming the color pixel is equal to or greater than a first threshold value (hereinafter referred to as N1; where N1 is a positive integer). Whether the image data is color image data or black-and-white image data is determined according to whether or not the image data is present. As a result of the determination, when the number of pixels forming the color pixel is N1 or more, it is determined that the image data is color image data, and when the number of pixels forming the color pixel is less than N1, It is determined that the image data is monochrome image data.

尚、ページメモリ13に格納された画像データをなす画素において、カラー画素をなす画素を判断する方法として、例えば、画像データのR,G,B夫々の値や,判定対象画素周辺との彩差(色差)等に基づいて行われる公知の方法が挙げられる。また、先述したACS判定処理は、あくまでも一例であり、上記処理に限定されるものではない。   In addition, as a method for determining a pixel forming a color pixel among the pixels forming the image data stored in the page memory 13, for example, the R, G, B values of the image data, or the chroma difference between the periphery of the determination target pixel and the like. The publicly known method performed based on (color difference) etc. is mentioned. Further, the ACS determination process described above is merely an example, and is not limited to the above process.

画像処理部15は、第1の判定部14により、ページメモリ13に格納された画像データがカラー画像データであると判断された際には、ページメモリ13に格納された画像データに対してカラー画像データ用の画像処理を行って、後述されるカラー画像ファイルを生成する。ここに、カラー画像データ用の画像処理の一例として、RGB形式のカラー画像データが、C(シアン)、M(マゼンダ)、Y(イエロー)の濃度に応じたCMY形式の信号に変換する色空間変換処理が行われて、CMY形式のカラー画像データとされる処理が挙げられる。   When the first determination unit 14 determines that the image data stored in the page memory 13 is color image data, the image processing unit 15 performs color processing on the image data stored in the page memory 13. Image processing for image data is performed to generate a color image file to be described later. Here, as an example of image processing for color image data, a color space in which RGB format color image data is converted into a CMY format signal corresponding to the densities of C (cyan), M (magenta), and Y (yellow). An example is a process in which conversion processing is performed to obtain color image data in the CMY format.

また、画像処理部15は、以下の処理を行う第2の判定部(第2の判定手段)16を備える。つまり、第1の判定部14により、ページメモリ13に格納された画像データが白黒画像データであると判断された際には、第2の判定部16が以下の処理を行う。尚、本実施形態において、第2の判定部16は画像処理部15に備えられているが、画像処理部15と独立して備えられてもよい。   The image processing unit 15 also includes a second determination unit (second determination unit) 16 that performs the following processing. That is, when the first determination unit 14 determines that the image data stored in the page memory 13 is monochrome image data, the second determination unit 16 performs the following processing. In the present embodiment, the second determination unit 16 is provided in the image processing unit 15, but may be provided independently of the image processing unit 15.

つまり、第2の判定部16が、ページメモリ13に格納された画像データをなす画素において、カラー画素をなす画素の数が予め設定された第2の閾値(以下、N2で表される;但し、N2はN1よりも小さな正整数)以上、且つ、N1未満であるか否かを判定する。   In other words, the second determination unit 16 uses the second threshold value (hereinafter referred to as N2) in which the number of pixels forming the color pixel in the pixels forming the image data stored in the page memory 13 is set in advance; , N2 is a positive integer smaller than N1) or more and less than N1.

尚、ページメモリ13に格納された画像データをなす画素において、カラー画素をなす画素を判断する方法として、先述した通り、例えば、画像データのR,G,B夫々の値や,判定対象画素周辺との彩差(色差)等に基づいて行われる公知の方法が挙げられる。   Note that, as described above, as a method for determining the pixel forming the color pixel among the pixels forming the image data stored in the page memory 13, for example, the values of R, G, and B of the image data, and the periphery of the determination target pixel, for example, And a known method performed based on a chroma difference (color difference) and the like.

その判定の結果、カラー画素をなす画素の数が、N2未満(且つ、N1未満)である際には、画像処理部15は、ページメモリ13に格納された画像データに対して、白黒画像データ用の画像処理を行って、後述される白黒画像ファイルを生成する。ここに、白黒画像データ用の画像処理の一例として、各々階調値を有するアナログ画像としての画素をデジタル処理して白黒2値画像としての画素とする処理が挙げられる。   As a result of the determination, when the number of pixels forming the color pixel is less than N2 (and less than N1), the image processing unit 15 performs monochrome image data on the image data stored in the page memory 13. A black and white image file, which will be described later, is generated by performing image processing. Here, as an example of image processing for monochrome image data, there is a process of digitally processing pixels as analog images each having a gradation value to form pixels as monochrome binary images.

また、第2の判定部16による判定の結果、ページメモリ13に格納された画像データをなす画素において、カラー画素をなす画素の数がN2以上、且つ、N1未満である際には、画像処理部15は、当該画像データに対して、先述したカラー画像データ用の画像処理、及び、先述した白黒画像データ用の画像処理を行って、後述されるカラー画像ファイル及び後述される白黒画像ファイルを生成する。ここに、カラー画像ファイル及び白黒画像ファイルのファイル形式は、画像処理部15が、カラー画像ファイル及び白黒画像ファイルが組み合わされた1つの中間画像ファイル(後述)を生成するために、アドビ・アクロバット(登録商標)に対応したPDF形式、又は、XML Paper Specification(登録商標)に対応したXPS形式であることが望ましい。   As a result of the determination by the second determination unit 16, when the number of pixels forming the color pixel in the pixels forming the image data stored in the page memory 13 is not less than N2 and less than N1, image processing is performed. The unit 15 performs the above-described image processing for color image data and the above-described image processing for black-and-white image data on the image data, thereby obtaining a color image file described later and a monochrome image file described later. Generate. Here, the file format of the color image file and the black and white image file is such that the image processing unit 15 generates a single intermediate image file (described later) in which the color image file and the black and white image file are combined. It is desirable that the PDF format is compatible with (registered trademark) or the XPS format is compatible with XML Paper Specification (registered trademark).

尚、前記した第2の閾値を表すN2の値は、ユーザにより適宜設定されることが可能であることが望ましい。ACS判定により白黒画像データと判定された結果のみに従って白黒画像ファイルが得られることが所望されることがあるからである。また、逆に、ACS判定により白黒画像データと判定された結果のみでは、カラー画像ファイルが得られないことがあるからである。   Note that it is desirable that the value of N2 representing the above-described second threshold can be appropriately set by the user. This is because it may be desired that a black and white image file be obtained only according to the result determined as black and white image data by ACS determination. On the other hand, it is because a color image file may not be obtained only with the result determined as monochrome image data by the ACS determination.

このように、カラー画像ファイル及び白黒画像ファイルを生成した後には、画像処理部15は、カラー画像ファイル及び白黒画像ファイルを重ね合わせた1つの画像ファイル(以下、中間画像ファイルという)を生成する。尚、中間画像ファイルの生成方法は、後述される。   Thus, after generating the color image file and the monochrome image file, the image processing unit 15 generates one image file (hereinafter referred to as an intermediate image file) in which the color image file and the monochrome image file are superimposed. A method for generating the intermediate image file will be described later.

また、画像処理部15は、透明度設定部(透明度設定手段)17を備える。透明度設定部17は、カラー画像ファイル及び白黒画像ファイルの両方又はいずれか一方の画像の透明度の設定を受け付ける。ここに、透明度の設定は、図示しない操作部の操作により行われる。このように設定された透明度は、画像処理部15によって、カラー画像ファイル及び白黒画像ファイルが組み合わされた1つの画像ファイルが生成される際に用いられる。   Further, the image processing unit 15 includes a transparency setting unit (transparency setting means) 17. The transparency setting unit 17 accepts the setting of the transparency of either or both of the color image file and the monochrome image file. Here, the transparency is set by operating an operation unit (not shown). The transparency set in this way is used when the image processing unit 15 generates one image file in which a color image file and a monochrome image file are combined.

画像ファイル記憶部18は、画像処理部15により作成された画像ファイルF・・・、つまり、カラー画像ファイル、白黒画像ファイル、中間画像ファイルを記憶するドキュメントボックスとして使用される。   The image file storage unit 18 is used as a document box for storing the image file F... Created by the image processing unit 15, that is, a color image file, a monochrome image file, and an intermediate image file.

プリンタ19は、画像ファイル記憶部18に記憶されている画像ファイルF・・・に対して所定の画像処理を行ってプリントアウトする。つまり、カラー画像ファイルをプリントアウトしてカラー画像を形成する。また、白黒画像ファイルをプリントアウトして白黒画像を形成する。また、中間画像ファイルをプリントアウトする。その際、主ファイル及び背景ファイルの両方又はいずれか一方の画像は、主ファイル及び背景ファイルの両方又はいずれか一方の画像に応じて設定された透明度とされる。   The printer 19 performs predetermined image processing on the image files F... Stored in the image file storage unit 18 and prints them out. That is, a color image file is printed out to form a color image. Also, a black and white image file is printed out to form a black and white image. Also, the intermediate image file is printed out. At that time, both or either one of the main file and the background file are set to the transparency set in accordance with both the main file and / or the background file.

外部I/F20は、画像ファイル記憶部18に記憶されている画像ファイルFを外部装置2へ出力する。   The external I / F 20 outputs the image file F stored in the image file storage unit 18 to the external device 2.

図2は、画像形成装置1が行う画像処理の一例を説明するための図である。図2(a)は原稿の一例を示し、図2(b)は原稿から生成された画像ファイルの一例を示している。   FIG. 2 is a diagram for explaining an example of image processing performed by the image forming apparatus 1. FIG. 2A shows an example of a document, and FIG. 2B shows an example of an image file generated from the document.

1ページ目の白黒画原稿P1は、画像処理部15により白黒画像ファイルF1とされる。また、3ページ目のカラー画原稿P3は、画像処理部15によりカラー画像ファイルF3とされる。   The monochrome image document P1 of the first page is converted into a monochrome image file F1 by the image processing unit 15. Further, the color image original P3 of the third page is made into a color image file F3 by the image processing unit 15.

一方、カラー画と白黒画とが混在した2ページ目の原稿(以下、中間画原稿という)P2は、画像処理部15により、白黒画像ファイルF21及びカラー画像ファイルF22とされる。このような白黒画像ファイルF21及びカラー画像ファイルF22は、後述する処理により組み合わされて1つの中間画像ファイルF2とされる。   On the other hand, the second page original (hereinafter referred to as an intermediate original) P2 in which a color image and a monochrome image are mixed is made into a monochrome image file F21 and a color image file F22 by the image processing unit 15. Such a monochrome image file F21 and a color image file F22 are combined into a single intermediate image file F2 by processing to be described later.

図3は、画像形成装置1が行う画像処理の一例を示すフローチャートである。画像形成装置1は、CCD11が原稿の画像データを1ページ分生成する毎に、以下のステップS1〜S13で示される処理を繰り返す。   FIG. 3 is a flowchart illustrating an example of image processing performed by the image forming apparatus 1. The image forming apparatus 1 repeats the processes shown in steps S <b> 1 to S <b> 13 below every time the CCD 11 generates one page of document image data.

つまり、画像形成装置1において、CCD11が原稿の画像データを1ページ分生成する毎に(ステップS1;YES)、生成された1ページ分の画像データがページメモリ13へ格納される。また、CCD11が原稿の画像データを1ページ分生成している最中には(ステップS1;NO)、原稿の画像データが1ページ分生成されて、ページメモリ13へ格納されるまで待機する。   That is, in the image forming apparatus 1, every time the CCD 11 generates one page of document image data (step S1; YES), the generated page of image data is stored in the page memory 13. While the CCD 11 is generating one page of document image data (step S 1; NO), the CPU 11 waits until one page of document image data is generated and stored in the page memory 13.

次に、第1の判定部14が、先述したACS判定処理を行って、ページメモリ13へ格納されている画像データをなす画素において、カラー画素をなす画素の数がN1以上であるか否かを判定する(ステップS2)。その判定の結果、カラー画素をなす画素の数がN1以上である際には、画像処理部15が、カラー画像用の画像処理を行って(ステップS3)、カラー画像ファイルF3を生成する(ステップS4)。   Next, the first determination unit 14 performs the ACS determination process described above, and in the pixels forming the image data stored in the page memory 13, whether or not the number of pixels forming the color pixel is N1 or more. Is determined (step S2). As a result of the determination, when the number of pixels forming the color pixel is N1 or more, the image processing unit 15 performs image processing for a color image (step S3), and generates a color image file F3 (step S3). S4).

一方、第1の判定部14による判定の結果、カラー画素をなす画素の数がN1未満である際には(ステップS2;NO)、第2の判定部16が、ページメモリ13に格納されている画像データをなす画素において、カラー画素をなす画素の数がN2以上、且つ、N1未満であるか否かを判定する(ステップS5)。   On the other hand, if the number of pixels forming the color pixel is less than N1 as a result of the determination by the first determination unit 14 (step S2; NO), the second determination unit 16 is stored in the page memory 13. It is determined whether the number of pixels forming the color pixel is equal to or greater than N2 and less than N1 among the pixels forming the image data (step S5).

その結果、カラー画素をなす画素の数がN2未満である際には(ステップS5;NO)、画像処理部15が、白黒画像用の画像処理を行って(ステップS6)、白黒画像ファイルF1を生成する(ステップS7)。   As a result, when the number of pixels forming the color pixel is less than N2 (step S5; NO), the image processing unit 15 performs image processing for a black and white image (step S6), and generates a black and white image file F1. Generate (step S7).

また、第2の判定部16による判定の結果、カラー画素をなす画素の数がN2以上、且つ、N1未満である際には(ステップS5;YES)、画像処理部15が、白黒画像用の画像処理を行って(ステップS8)、白黒画像ファイルF21を生成する(ステップS9)。次に、画像処理部15が、カラー画像用の画像処理を行って(ステップS10)、カラー画像ファイルF22を生成する(ステップS11)。   As a result of the determination by the second determination unit 16, when the number of pixels forming the color pixel is equal to or greater than N2 and less than N1 (step S5; YES), the image processing unit 15 performs the process for monochrome images. Image processing is performed (step S8), and a monochrome image file F21 is generated (step S9). Next, the image processing unit 15 performs image processing for a color image (step S10), and generates a color image file F22 (step S11).

次に、画像処理部15は、ステップS9に示される処理で生成された白黒画像ファイルF21、及び、ステップS11で示される処理で生成されたカラー画像ファイルF22を組み合わせて、後述される中間画像ファイルF2を生成する(ステップS12)。そして、画像処理部15は、生成された白黒画像ファイルF1、中間画像ファイルF2、及びカラー画像ファイルF3のいずれかを画像ファイル記憶部18へ記憶させる(ステップS13)。   Next, the image processing unit 15 combines the monochrome image file F21 generated in the process shown in step S9 and the color image file F22 generated in the process shown in step S11 to combine the intermediate image file described later. F2 is generated (step S12). Then, the image processing unit 15 stores the generated monochrome image file F1, intermediate image file F2, or color image file F3 in the image file storage unit 18 (step S13).

このように、画像形成装置1において、ページメモリ13に格納されている画像データが、第1の判定部14により白黒画像データであると判定された際であっても、当該画像データをなす画素において、カラー画素をなす画素の数がN2以上(且つN1未満)である際には、画像データに対して、カラー画像データ用の画像処理及び白黒画像データ用の画像処理が行われて、カラー画像ファイルF22及び白黒画像ファイルF21が生成される。そのため、カラー画像データと判定されるべき画像データが誤って白黒画像データであると判定された際でも、原稿を再度読み取らせることなく、カラー画像ファイルF22が得られる。   As described above, in the image forming apparatus 1, even when the image data stored in the page memory 13 is determined to be monochrome image data by the first determination unit 14, the pixels forming the image data When the number of pixels forming the color pixel is N2 or more (and less than N1), image processing for color image data and image processing for black-and-white image data are performed on the image data. An image file F22 and a monochrome image file F21 are generated. Therefore, even when the image data to be determined as color image data is erroneously determined to be monochrome image data, the color image file F22 is obtained without causing the original to be read again.

以下、中間画像ファイルF2について、以下、説明する。尚、中間画像ファイルF2は、後述されるように、主ファイル及び背景ファイルが設定可能なフォーマットとされている。図4は、白黒画像ファイルF21及びカラー画像ファイルF22が表す画像の一例を示す図である。図4において、白黒画像ファイルF21が、図4(a)に示すように主ファイルとされており、カラー画像ファイルF22が、図4(b)に示すように背景ファイルとされている。図4(b)に示す背景ファイルは、画像処理部15により後述される透明化処理がされており、図4(a)に示す主ファイルのほうが鮮明に表示された状態にある。   Hereinafter, the intermediate image file F2 will be described below. Note that the intermediate image file F2 has a format in which a main file and a background file can be set, as will be described later. FIG. 4 is a diagram illustrating an example of images represented by the monochrome image file F21 and the color image file F22. In FIG. 4, the monochrome image file F21 is a main file as shown in FIG. 4A, and the color image file F22 is a background file as shown in FIG. 4B. The background file shown in FIG. 4 (b) has been subjected to the transparency processing described later by the image processing unit 15, and the main file shown in FIG. 4 (a) is more clearly displayed.

また、図5は、中間画像ファイルF2において、主ファイル及び背景ファイルが置換可能であることを説明するための図である。図5(a)は、主ファイルが白黒画像ファイルF21とされた場合の一例を示し、図5(b)は主ファイルがカラー画像ファイルF22とされた場合の一例を示している。   FIG. 5 is a diagram for explaining that the main file and the background file can be replaced in the intermediate image file F2. FIG. 5A shows an example when the main file is a monochrome image file F21, and FIG. 5B shows an example when the main file is a color image file F22.

図5に示す白黒画像ファイルF21及びカラー画像ファイルF22は、外部装置2による後述される置換処理がされて、主ファイルと背景ファイルとが入れ替わる。つまり、図5(a)では、白黒画像ファイルF21が主ファイルとされ、カラー画像ファイルF22が背景ファイルとされているが、置換処理がされて、図5(b)に示すように、カラー画像ファイルF22が主ファイルとされ、白黒画像ファイルF21が背景ファイルとされる。   The black and white image file F21 and the color image file F22 shown in FIG. 5 are subjected to a replacement process described later by the external device 2, so that the main file and the background file are switched. That is, in FIG. 5A, the black and white image file F21 is the main file and the color image file F22 is the background file. However, as shown in FIG. The file F22 is a main file, and the monochrome image file F21 is a background file.

以下、画像処理部15により行われる中間画像ファイルF2の生成処理及び透明化処理、及び、外部装置2により行われる置換処理の概要を、図3〜図5とともに説明する。   Hereinafter, an outline of the generation process and the transparency process of the intermediate image file F2 performed by the image processing unit 15 and the replacement process performed by the external apparatus 2 will be described with reference to FIGS.

まず、画像処理部15は、白黒画像ファイルF21及びカラー画像ファイルF22のファイル形式がPDF形式であれば、以下の処理を行うことができる。尚、以下の処理が行われるためには、画像形成装置1に、ADOBE ACROBAT(登録商標)8、又はこれと同等のプログラムが予めインストールされていることが前提となる。   First, if the file formats of the monochrome image file F21 and the color image file F22 are the PDF format, the image processing unit 15 can perform the following processing. In order to perform the following processing, it is assumed that ADOBE ACROBAT (registered trademark) 8 or a program equivalent thereto is installed in the image forming apparatus 1 in advance.

[画像処理部15により行われる中間画像ファイルF2の生成処理]
画像処理部15は、白黒画像ファイルF21及びカラー画像ファイルF22の生成後であって中間画像ファイルF2の生成前(つまり、図3のステップS11に示す処理とステップS12に示す処理との間)に、背景ファイルとされるべき白黒画像ファイルF21又はカラー画像ファイルF22の選択を受け付ける。尚、このような選択は、図示しない操作部の操作により行われる。
[Generation Process of Intermediate Image File F2 Performed by Image Processing Unit 15]
The image processing unit 15 is after generating the monochrome image file F21 and the color image file F22 and before generating the intermediate image file F2 (that is, between the process shown in step S11 and the process shown in step S12 in FIG. 3). The selection of the monochrome image file F21 or the color image file F22 to be the background file is accepted. Such selection is performed by operating an operation unit (not shown).

背景ファイルとされるべき白黒画像ファイルF21又はカラー画像ファイルF22の選択を受け付けた際には、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22ではない他方の画像ファイルF21,F22が主ファイルとされる。具体的には、図4(b)に示すように、カラー画像ファイルF22が背景ファイルとされると、他方の白黒画像ファイルF21が、図4(a)に示すように主ファイルとされる。逆に、白黒画像ファイルF21が背景ファイルとされると、他方のカラー画像ファイルF22が主ファイルとされる。   When the selection of the monochrome image file F21 or the color image file F22 to be the background file is accepted, the other image files F21 and F22 that are not the monochrome image file F21 or the color image file F22 that are the background file are the main files. It is said. Specifically, as shown in FIG. 4B, when the color image file F22 is a background file, the other monochrome image file F21 is a main file as shown in FIG. 4A. Conversely, when the monochrome image file F21 is a background file, the other color image file F22 is a main file.

このようにして背景ファイルが選択されると、画像処理部15は、図3のステップS12に示す処理において、主ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22に、背景ファイルとされた他方の白黒画像ファイルF21又はカラー画像ファイルF22を重ね合わせた中間画像ファイルF2を生成する。   When the background file is selected in this way, the image processing unit 15 uses the other black-and-white image file F21 or color image file F22 that is the main file in the process shown in step S12 of FIG. The intermediate image file F2 is generated by superimposing the monochrome image file F21 or the color image file F22.

このように、背景ファイルとされるべき白黒画像ファイルF21又はカラー画像ファイルF22の選択を受け付け、主ファイルとされた他方の白黒画像ファイルF21又はカラー画像ファイルF22に、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22を重ね合わせた中間画像ファイルF2を生成する処理を実行するソフトウェアとして、例えば、ADOBE ACROBAT(登録商標)8が知られている。   In this way, the selection of the monochrome image file F21 or the color image file F22 to be used as the background file is accepted, and the other monochrome image file F21 or the color image file F22 that is set as the main file is used as the background file. For example, ADOBE ACROBAT (registered trademark) 8 is known as software that executes processing for generating an intermediate image file F2 in which F21 or a color image file F22 is superimposed.

[画像処理部15により行われる透明化処理]
画像処理部15は、図4(b)に示すように、背景ファイルとされたカラー画像ファイルF22の画像の透明度を設定できる。つまり、画像処理部15は、背景ファイルとされたカラー画像ファイルF22の画像の透明度を、透明度設定部17に設定された透明度とする。尚、背景ファイルが、白黒画像ファイルF21とされている場合には、白黒画像ファイルF21の画像の透明度が、透明度設定部17に設定された透明度とされる。このような処理を実行するソフトウェアとして、例えば、ADOBE ACROBAT(登録商標)8が知られている。
[Transparency processing performed by the image processing unit 15]
As shown in FIG. 4B, the image processing unit 15 can set the transparency of the image of the color image file F22 that is a background file. That is, the image processing unit 15 sets the transparency of the image of the color image file F22, which is a background file, as the transparency set in the transparency setting unit 17. When the background file is the monochrome image file F21, the transparency of the image of the monochrome image file F21 is the transparency set in the transparency setting unit 17. As software for executing such processing, for example, ADOBE ACROBAT (registered trademark) 8 is known.

このように、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像の透明度を任意に設定できるので、主ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像が、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像よりも鮮明に表示される。   In this way, since the transparency of the image of the monochrome image file F21 or the color image file F22 set as the background file can be arbitrarily set, the image of the monochrome image file F21 or the color image file F22 set as the main file becomes the background file. The displayed image is clearer than the image of the monochrome image file F21 or the color image file F22.

このようにして画像処理部15により生成された中間画像ファイルF2は外部I/F20を通じて外部装置2へ出力される。外部装置2は、中間画像ファイルF2を用いて、以下の処理を行うことができる。尚、以下の処理が行われるためには、外部装置2へ予め、例えば、ADOBE ACROBAT(登録商標)8、又はこれと同等のプログラムがインストールされていることが前提となる。   The intermediate image file F2 generated by the image processing unit 15 in this way is output to the external device 2 through the external I / F 20. The external device 2 can perform the following processing using the intermediate image file F2. In order to perform the following processing, it is assumed that, for example, ADOBE ACROBAT (registered trademark) 8 or a program equivalent thereto is installed in the external apparatus 2 in advance.

[外部装置2により行われる透明化処理]
画像形成装置1から受け付けた中間画像ファイルF2を表示画面に表示させた状態で、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像の透明度が設定される。このような処理を実行するソフトウェアとして、例えば、ADOBE ACROBAT(登録商標)8が知られている。
[Transparency processing performed by external device 2]
With the intermediate image file F2 received from the image forming apparatus 1 being displayed on the display screen, the transparency of the black and white image file F21 or the color image file F22 as the background file is set. As software for executing such processing, for example, ADOBE ACROBAT (registered trademark) 8 is known.

このように、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像の透明度を任意に設定できるので、主ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像が、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22の画像よりも鮮明に表示される。   In this way, since the transparency of the image of the monochrome image file F21 or the color image file F22 set as the background file can be arbitrarily set, the image of the monochrome image file F21 or the color image file F22 set as the main file becomes the background file. The displayed image is clearer than the image of the monochrome image file F21 or the color image file F22.

[外部装置2により行われる置換処理]
外部装置2において、主ファイル及び背景ファイルが置換される。つまり、背景ファイルとされた白黒画像ファイルF21及びカラー画像ファイルF22の画像の透明度が、最小の値及び最大の値のいずれか一方の値に設定される。
[Replacement process performed by external device 2]
In the external device 2, the main file and the background file are replaced. That is, the transparency of the black and white image file F21 and color image file F22, which are background files, is set to one of the minimum value and the maximum value.

背景ファイルの画像の透明度が、最小の値に設定された際には、背景ファイルの画像が主ファイルの画像の上に浮き上がったかのように表示される。一方、背景ファイルの画像の透明度が、最大の値に設定された際には、背景ファイルの画像が主ファイルの画像の下に沈み込んだかのように表示される。このように、背景ファイルの画像の透明度に応じて、背景ファイルが、主ファイルの上に浮き上がったかのように表示されるか、主ファイルの下に沈み込んだかのように表示される。従って、主ファイルの画像と背景ファイルの画像とが置換される。そのため、ユーザが、適宜、主ファイル及び背景ファイルのいずれかの画像を視認することができる。このような処理を実行するソフトウェアとして、例えば、ADOBE ACROBAT(登録商標)8が知られている。   When the transparency of the background file image is set to the minimum value, the background file image is displayed as if it floated on the main file image. On the other hand, when the transparency of the image of the background file is set to the maximum value, the image of the background file is displayed as if it sunk below the image of the main file. In this way, the background file is displayed as if it floated above the main file or as if it sank below the main file, depending on the transparency of the image of the background file. Therefore, the image of the main file and the image of the background file are replaced. Therefore, the user can visually recognize either the main file or the background file as appropriate. As software for executing such processing, for example, ADOBE ACROBAT (registered trademark) 8 is known.

[外部装置2による削除処理]
画像形成装置1から受け付けた中間画像ファイルF2を表示画面に表示させた状態で、背景ファイルとされた白黒画像ファイルF21又はカラー画像ファイルF22が、適宜、削除される。このような処理を実行するソフトウェアとして、例えば、ADOBE ACROBAT(登録商標)8が知られている。
[Delete processing by external device 2]
In a state where the intermediate image file F2 received from the image forming apparatus 1 is displayed on the display screen, the black and white image file F21 or the color image file F22 as the background file is appropriately deleted. As software for executing such processing, for example, ADOBE ACROBAT (registered trademark) 8 is known.

次に、画像処理部15は、白黒画像ファイルF21及びカラー画像ファイルF22のファイル形式がXPS形式であれば、以下の処理を行うことができる。尚、この処理が行われるためには、画像形成装置1にXML Paper Specification(登録商標)0.9、又はこれと同等のプログラムが予めインストールされていることが前提となる。   Next, if the file formats of the monochrome image file F21 and the color image file F22 are XPS format, the image processing unit 15 can perform the following processing. In order to perform this process, it is assumed that XML Paper Specification (registered trademark) 0.9 or a program equivalent thereto is installed in the image forming apparatus 1 in advance.

[画像処理部15による中間画像ファイルF2の生成処理]
画像処理部15は、図3のステップS12に示す処理において、白黒画像ファイルF21及びカラー画像ファイルF22を重ね合わせて中間画像ファイルF2を生成する際には、白黒画像ファイルF21及びカラー画像ファイルF22の画像の透明度を、透明度設定部17に設定された透明度とする。
[Generation Process of Intermediate Image File F2 by Image Processing Unit 15]
When the image processing unit 15 generates the intermediate image file F2 by superimposing the monochrome image file F21 and the color image file F22 in the process shown in step S12 of FIG. 3, the image processing unit 15 stores the monochrome image file F21 and the color image file F22. The transparency of the image is set to the transparency set in the transparency setting unit 17.

このような処理は、XML Paper Specification0.9が行う処理である。つまり、白黒画像ファイルF21及びカラー画像ファイルF22の各々の画像の透明度を、指定された透明度に設定する機能である。その結果、各々指定された透明度で、白黒画像ファイルF21及びカラー画像ファイルF22の画像が表示され、結果として、白黒画像ファイルF21及びカラー画像ファイルF22が組み合わされた1つの中間画像ファイルF2が表示された状態となる。このような処理は、XML Paper Specification0.9の取扱説明書において、「7.5 Opacity Mask」の中に説明されている。   Such processing is processing performed by XML Paper Specification 0.9. That is, this is a function for setting the transparency of each of the monochrome image file F21 and the color image file F22 to the designated transparency. As a result, the black and white image file F21 and the color image file F22 are displayed with the specified transparency, respectively. As a result, one intermediate image file F2 obtained by combining the black and white image file F21 and the color image file F22 is displayed. It becomes the state. Such a process is described in “7.5 Opacity Mask” in the instruction manual of XML Paper Specification 0.9.

これにより、画像の透明度が小さく設定された白黒画像ファイルF21又はカラー画像ファイルF22が主ファイルとされ、画像の透明度が大きく設定された他方の画像ファイルF21,F22が背景ファイルとされる。例えば、白黒画像ファイルF21の画像の透明度が、カラー画像ファイルF22の画像の透明度よりも小さく設定されている際には、白黒画像ファイル21の画像がカラー画像ファイルF22の画像よりも鮮明に表示される。そのため、図4(a)に示すように、白黒画像ファイルF21が主ファイルとされ、図4(b)に示すように、カラー画像ファイルF22が背景ファイルとされる。   As a result, the monochrome image file F21 or the color image file F22 in which the transparency of the image is set to be small is set as the main file, and the other image files F21 and F22 in which the transparency of the image is set to be high are set as the background file. For example, when the transparency of the image of the monochrome image file F21 is set smaller than the transparency of the image of the color image file F22, the image of the monochrome image file 21 is displayed more clearly than the image of the color image file F22. The Therefore, as shown in FIG. 4A, the monochrome image file F21 is the main file, and as shown in FIG. 4B, the color image file F22 is the background file.

このようにして画像処理部15により生成された中間画像ファイルF2は外部I/F20を通じて外部装置2へ出力される。外部装置2は、以下の処理を行うことができる。尚、以下の処理が行われるためには、外部装置2へ予め、XML Paper Specification0.9、又はこれと同等のプログラムがインストールされていることが前提となる。   The intermediate image file F2 generated by the image processing unit 15 in this way is output to the external device 2 through the external I / F 20. The external device 2 can perform the following processing. In order to perform the following processing, it is assumed that XML Paper Specification 0.9 or an equivalent program is installed in the external device 2 in advance.

[外部装置2による置換処理]
外部装置2において、XML Paper Specification0.9の機能により、主ファイル及び背景ファイルが置換される。つまり、主ファイルとされている白黒画像ファイルF21又はカラー画像ファイルF22の画像の透明度と、背景ファイルとされているカラー画像ファイルF22の画像の透明度とが入れ替われば、主ファイルと背景ファイルとが入れ替わる。
[Replacement process by external device 2]
In the external device 2, the main file and the background file are replaced by the function of XML Paper Specification 0.9. That is, if the transparency of the image of the monochrome image file F21 or the color image file F22 that is the main file and the transparency of the image of the color image file F22 that is the background file are interchanged, the main file and the background file are changed. Change.

例えば、図5(a)に示すように、白黒画像ファイルF21が主ファイルとされ、カラー画像ファイルF22が背景ファイルとされている際に、各々の画像の透明度が入れ替わる。すると、図5(b)に示すように、カラー画像ファイルF22が主ファイルとされ、白黒画像ファイルF21が背景ファイルとされる。   For example, as shown in FIG. 5A, when the monochrome image file F21 is a main file and the color image file F22 is a background file, the transparency of each image is switched. Then, as shown in FIG. 5B, the color image file F22 is the main file, and the monochrome image file F21 is the background file.

このように、主ファイルの画像の透明度と背景ファイルの画像の透明度とが入れ替えられて、主ファイルと背景ファイルとが置換される。そのため、ユーザが、適宜、主ファイル及び背景ファイルのいずれかの画像を視認することができる。   As described above, the transparency of the image of the main file and the transparency of the image of the background file are switched, and the main file and the background file are replaced. Therefore, the user can visually recognize either the main file or the background file as appropriate.

本発明の一実施形態に係る画像形成装置の機能構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a functional configuration of an image forming apparatus according to an embodiment of the present invention. 画像形成装置が行う画像処理の一例を説明するための図である。FIG. 4 is a diagram for describing an example of image processing performed by the image forming apparatus. 画像形成装置が行う画像処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of image processing performed by the image forming apparatus. 白黒画像ファイル及びカラー画像ファイルの一例を示す図である。It is a figure which shows an example of a monochrome image file and a color image file. 中間画像ファイルにおいて、主ファイル及び背景ファイルが置換可能であることを説明するための図である。It is a figure for demonstrating that a main file and a background file can be substituted in an intermediate image file.

符号の説明Explanation of symbols

1 画像形成装置
10 制御部
11 CCD
12 光源
14 第1の判定部
15 画像処理部
16 第2の判定部
17 透明度設定部
F1,F21 白黒画像ファイル
F2 中間画像ファイル
F3,F22 カラー画像ファイル
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 10 Control part 11 CCD
12 Light source 14 First determination unit 15 Image processing unit 16 Second determination unit 17 Transparency setting unit F1, F21 Black and white image file F2 Intermediate image file F3, F22 Color image file

Claims (6)

画像を表す画像データをなす画素において、カラー画素をなす画素の数が予め設定された第1の閾値(但し、第1の閾値は正整数;以下同じ)以上である際には、前記画像データがカラー画像データであると判定し、前記カラー画素をなす画素の数が前記第1の閾値未満である際には、前記画像データが白黒画像データであると判定する第1の判定手段と、
前記第1の判定手段により前記画像データが前記白黒画像データであると判定された際には、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満であるか否かを判定する第2の判定手段と、
前記第2の判定手段により、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満であると判定された際には、前記画像データに対して、前記カラー画像データ用の画像処理及び前記白黒画像データ用の画像処理を行って、前記カラー画像ファイル及び前記白黒画像ファイルを生成する画像処理手段と、
を備えることを特徴とする画像形成装置。
When the number of pixels forming a color pixel is equal to or greater than a preset first threshold value (provided that the first threshold value is a positive integer; the same applies hereinafter) among pixels forming image data representing an image, the image data A first determination unit that determines that the image data is monochrome image data when the number of pixels forming the color pixel is less than the first threshold value;
When the first determination unit determines that the image data is the monochrome image data, the number of pixels forming the color pixel among the pixels forming the image data is equal to or greater than the second threshold value. And second determination means for determining whether or not it is less than the first threshold value;
When it is determined by the second determination means that the number of pixels forming the color pixel is greater than or equal to the second threshold and less than the first threshold in the pixels forming the image data. Image processing means for performing image processing for the color image data and image processing for the monochrome image data on the image data to generate the color image file and the monochrome image file;
An image forming apparatus comprising:
前記画像処理手段は、更に、
前記第1の判定手段により前記画像データが前記カラー画像データであると判定された際には、前記画像データに対してカラー画像データ用の画像処理を行ってカラー画像ファイルを生成し、
前記第2の判定手段により、前記画像データをなす画素において、前記カラー画素をなす画素の数が前記第2の閾値未満であると判定された際には、前記画像データに対して白黒画像データ用の画像処理を行って白黒画像ファイルを生成することを特徴とする画像形成装置。
The image processing means further includes:
When the first determination means determines that the image data is the color image data, a color image file is generated by performing image processing for the color image data on the image data,
When the second determination means determines that the number of pixels forming the color pixel is less than the second threshold value among the pixels forming the image data, the monochrome image data for the image data An image forming apparatus that generates a black and white image file by performing image processing.
前記画像処理手段は、
前記第1の判定手段により前記画像データが前記白黒画像データであると判定された際であって、前記画像データをなす画素において、前記カラー画素をなす画素の数が、前記第2の閾値以上、且つ、前記第1の閾値未満である際には、前記カラー画像ファイル及び前記白黒画像ファイルを重ね合わせた1つの画像ファイルを生成することを特徴とする請求項1又は請求項2に記載の画像形成装置。
The image processing means includes
When the first determination unit determines that the image data is the monochrome image data, the number of pixels forming the color pixel among the pixels forming the image data is greater than or equal to the second threshold value. 3. The method according to claim 1, wherein when the image data is less than the first threshold, one image file is generated by superimposing the color image file and the monochrome image file. Image forming apparatus.
前記画像処理手段は、
前記カラー画像ファイル及び前記白黒画像ファイルのいずれか一方へ、他方の画像ファイルが、前記カラー画像ファイル及び前記白黒画像ファイルのいずれか一方からなる主ファイルに付随する背景ファイルとして重ね合わされた前記1つの画像ファイルを生成するよう構成されていることを特徴とする請求項3に記載の画像形成装置。
The image processing means includes
The one of the color image file and the monochrome image file, and the other image file is overlaid as a background file attached to a main file consisting of either the color image file or the monochrome image file. The image forming apparatus according to claim 3, wherein the image forming apparatus is configured to generate an image file.
前記1つの画像ファイルは、前記主ファイル及び前記背景ファイルが置換可能に構成されていることを特徴とする請求項4に記載の画像形成装置。   The image forming apparatus according to claim 4, wherein the one image file is configured such that the main file and the background file can be replaced. 前記画像処理手段は、
前記カラー画像ファイル及び前記白黒画像ファイルの両方又はいずれか一方の画像の透明度の設定を受け付ける透明度設定手段を備えており、
前記1つの画像ファイルを生成する際には、前記カラー画像ファイル及び前記白黒画像ファイルの両方又はいずれか一方の画像の透明度を、前記透明度設定手段に設定された前記透明度とすることを特徴とする請求項3乃至請求項5のいずれか一項に記載の画像形成装置。
The image processing means includes
Transparency setting means for receiving the setting of the transparency of either or both of the color image file and the monochrome image file,
When generating the one image file, the transparency of the color image file and / or the monochrome image file is set to the transparency set in the transparency setting means. The image forming apparatus according to claim 3.
JP2008302652A 2008-11-27 2008-11-27 Image forming apparatus Pending JP2010130332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008302652A JP2010130332A (en) 2008-11-27 2008-11-27 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008302652A JP2010130332A (en) 2008-11-27 2008-11-27 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2010130332A true JP2010130332A (en) 2010-06-10

Family

ID=42330391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008302652A Pending JP2010130332A (en) 2008-11-27 2008-11-27 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2010130332A (en)

Similar Documents

Publication Publication Date Title
JP6403490B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program.
JP2011193380A (en) Image processing apparatus, image processing method and program
JP5293514B2 (en) Image processing apparatus and image processing program
KR101756277B1 (en) Image forming apparatus and method for processing image thereof
JP2009272774A (en) Image processor, image forming apparatus, image processing method, and computer program
JP2008017014A (en) Image processor, image processing method, and program
US20070285687A1 (en) Image forming apparatus and image forming method
US20070201060A1 (en) Image processing apparatus, image processing method, image processing program, and recording medium
US20150206115A1 (en) Image processing apparatus and image processing method
JP4555192B2 (en) Image processing apparatus, image processing method, and program causing computer to execute the method
JP2007082060A (en) Image processing device and connection system for image processings
US8139268B2 (en) Image processing apparatus and image processing method of generating monochrome image data from two color components
JP2009088714A (en) Image forming device
JP2011097478A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP3709636B2 (en) Image processing apparatus and image processing method
JP2018082360A (en) Image processing apparatus, image processing method, and program for creating image processing parameter
JP5344231B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP6558888B2 (en) Apparatus, printing apparatus, printing control method, and program
JP2007258804A (en) Image processing unit
JP2010130332A (en) Image forming apparatus
JP2011176463A (en) Image processor and image forming apparatus
JP2013074314A (en) Image processing method, image reader, and image processing program
US11863717B2 (en) Image reading apparatus and image reading method
JP2011199352A (en) Image processing apparatus, and image forming apparatus,
JP4990340B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium