JP2020174315A - Image processing device and control program therefor - Google Patents
Image processing device and control program therefor Download PDFInfo
- Publication number
- JP2020174315A JP2020174315A JP2019076223A JP2019076223A JP2020174315A JP 2020174315 A JP2020174315 A JP 2020174315A JP 2019076223 A JP2019076223 A JP 2019076223A JP 2019076223 A JP2019076223 A JP 2019076223A JP 2020174315 A JP2020174315 A JP 2020174315A
- Authority
- JP
- Japan
- Prior art keywords
- level
- red
- color
- green
- specific position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Facsimile Scanning Arrangements (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、画像処理装置および画像処理装置の制御プログラムに関する。より特定的には、本発明は、製造コストの増加を抑止することのできる画像処理装置および画像処理装置の制御プログラムに関する。 The present invention relates to an image processing device and a control program for the image processing device. More specifically, the present invention relates to an image processing apparatus and a control program of the image processing apparatus capable of suppressing an increase in manufacturing cost.
近年、加熱によって色を消去することのできるインクである熱消去性インクを用いた筆記具(フリクション(登録商標)など)が提案されている。 In recent years, writing instruments (friction (registered trademark), etc.) using heat-erasable ink, which is an ink whose color can be erased by heating, have been proposed.
熱消去性インクの筆記具の使用者は、原稿に描いた文字を消したい場合、その文字を専用の消しゴムでこする。これにより、原稿と消しゴムとの間に摩擦熱が発生し、発生した摩擦熱により原稿上の熱消去性インクは透明化する。その結果、原稿上の熱消去性インクは実際には除去されていないものの、描かれた文字は消去される(見えなくなる)。しかし、消去された熱消去性インクの文字を含む原稿の画像をフルカラー画像読取装置で読み取った場合、得られた画像データでは消去した文字が薄く再現される。 When a user of a writing instrument with heat-erasable ink wants to erase the characters drawn on the original, the characters are rubbed with a special eraser. As a result, frictional heat is generated between the original material and the eraser, and the generated frictional heat makes the heat-erasable ink on the original material transparent. As a result, although the heat-erasable ink on the original is not actually removed, the drawn characters are erased (invisible). However, when an image of a document containing characters of erased heat-erasable ink is read by a full-color image reader, the erased characters are reproduced thinly in the obtained image data.
図16は、画像データにおいて消去した文字が薄く再現される原理を説明する図である。図16(a)は、フルカラー画像読取装置のR(赤)、G(緑)およびB(青)色用のラインセンサーの各々の検出可能な波長域を示すグラフである。図16(b)は、青色の熱消去性インクIKで描かれた文字の部分からの受光光強度を模式的に示す図である。図16(c)は、青色の熱消去性インクIKで描かれた文字の消去痕の部分からの受光光強度を模式的に示す図である。図17は、ラインセンサー331と青色の熱消去性インクIKとの位置関係を示す図である。
FIG. 16 is a diagram illustrating a principle in which erased characters are thinly reproduced in image data. FIG. 16A is a graph showing the detectable wavelength range of each of the line sensors for R (red), G (green) and B (blue) colors of the full-color image reader. FIG. 16B is a diagram schematically showing the received light intensity from the character portion drawn with the blue heat-erasable ink IK. FIG. 16 (c) is a diagram schematically showing the intensity of received light from the erased marks of characters drawn with the blue heat-erasable ink IK. FIG. 17 is a diagram showing the positional relationship between the
図16(a)および図17を参照して、フルカラー画像読取装置は、光源325と、レンズ329および330と、ラインセンサー331とを含んでいる。ラインセンサー331は、RGB各色用のラインセンサーを含んでいる。光源325から照射された光は、原稿で反射してレンズ329および330を通過し、ラインセンサー331で受光される。ラインセンサー331は、RGB各色の受光光強度に応じた電圧を出力する。これにより、フルカラー画像読取装置は、原稿の画像を構成する複数の画素の各々のR色階調値、G色階調値、およびB色階調値の各々を検出する。
With reference to FIGS. 16 (a) and 17, the full-color image reader includes a
このとき、R色用のラインセンサーは、R色の光(可視光波長領域の光)のみならず赤外光(赤外波長領域の光)をも検知するため、R色の光および赤外光の受光強度に応じた電圧を出力する。 At this time, since the line sensor for R color detects not only R color light (light in the visible light wavelength region) but also infrared light (light in the infrared wavelength region), the R color light and infrared light. Outputs a voltage according to the light reception intensity.
図16(b)および図17を参照して、ところで熱消去性インクは、その温度に関わらず(消去の有無に関わらず)、可視光によって励起されて赤外光を発する性質を有している。このため、たとえば青色の熱消去性インクIKで描かれた文字を含む原稿の画像を読み取った場合、ラインセンサー331が受光する文字の部分からの反射光には、青色光および赤外光が含まれている。その結果、フルカラー画像読取装置から出力される画像データにおける文字の部分の画素の階調値は、B色とともにR色でも高くなる。
By the way, with reference to FIGS. 16 (b) and 17, the heat-erasable ink has a property of being excited by visible light and emitting infrared light regardless of its temperature (whether or not it is erased). There is. Therefore, for example, when an image of a document containing characters drawn with blue heat-erasable ink IK is read, the reflected light from the character portion received by the
図16(c)および図17を参照して、可視光によって励起されて赤外光を発する熱消去性インクの性質は、文字が消去された後(熱消去性インクが透明化した後)であっても失われない。このため、熱消去性インクIKで描かれた文字の消去痕を含む原稿の画像を読み取った場合、ラインセンサー331が受光する文字の部分からの反射光には、赤外光が含まれている。その結果、フルカラー画像読取装置から出力される画像データにおける文字の消去痕の部分の画素のB色階調値はゼロとなる一方で、R色階調値は高くなる。画像データにおける消去痕の部分にはR色が薄く再現される。
With reference to FIGS. 16 (c) and 17, the properties of the heat-erasable ink that is excited by visible light and emits infrared light are after the characters have been erased (after the heat-erasable ink has become transparent). Even if there is, it will not be lost. Therefore, when an image of a document including erasure marks of characters drawn with the heat-erasable ink IK is read, infrared light is included in the reflected light from the character portion received by the
なお、従来の画像読取装置はたとえば下記特許文献1などに開示されている。下記特許文献1には、原稿を照明する3色のLED(Light Emitting Diode)の点灯を制御する発光制御手段と、原稿からの反射光を異なる分光感度特性で受光する複数のセンサーとを備えた画像読取装置が開示されている。この画像読取装置は、緑色LEDのみを点灯させて取得した第一の画像データと、全色のLEDを点灯させて取得した第二の画像データのそれぞれの赤色画像データの差分から不可視光発生画素を特定する解析手段と、この差分データから特定した不可視光発生画素のR色画像データを補正するデータ補正手段とを備えている。
The conventional image reading device is disclosed in, for example,
読取画像において消去痕の部分にR色が薄く再現される事態を回避し得る方法として、レンズ329および330とラインセンサー331との間に赤外カットフィルタFT(図17)を設ける方法が考えられる。しかし、この方法では、赤外カットフィルタFTという構成がさらに必要となるため、製造コストが増加するという問題があった。特に、ラインセンサー331がCIS(Contact Image Sensor)のように複数のラインセンサーが主走査方向に配列した構成を有するものである場合には、赤外カットフィルタの主走査方向の配置ムラ(塗布ムラ)が生じないようにその厚みを十分に大きくする必要があるため、製造コストが著しく増加していた。赤外光は熱消去性インクIKから発生されるものであるため、光源325と熱消去性インクIKとの間に赤外カットフィルタFTを設けることはできなかった。
As a method of avoiding the situation where the R color is thinly reproduced in the erased mark portion in the scanned image, a method of providing an infrared cut filter FT (FIG. 17) between the
また、特許文献1の技術では、光源として3色のLEDが必要になるため、製造コストが増加するという問題があった。
Further, the technique of
本発明は、上記課題を解決するためのものであり、その目的は、製造コストの増加を抑止することのできる画像処理装置および画像処理装置の制御プログラムを提供することである。 The present invention is for solving the above problems, and an object of the present invention is to provide an image processing device and a control program for the image processing device capable of suppressing an increase in manufacturing cost.
本発明の一の局面に従う画像処理装置は、原稿の赤緑青各色の画像データを取得する画像取得手段と、赤緑青各色の画像データに基づいて、原稿の下地の赤緑青各色のレベルを検出する下地レベル検出手段と、赤色の画像データに基づいて、原稿内の特定の位置の赤色のレベルが所定の値であるか否かを判別するレベル判別手段と、赤緑青各色の画像データに基づいて、特定の位置の色相が赤色であるか否かを判別する色相判別手段と、赤緑青各色の画像データに基づいて、特定の位置の彩度が所定の範囲内であるか否かを判別する彩度判別手段と、特定の位置の赤色のレベルが所定の値であるとレベル判別手段にて判別し、かつ特定の位置の色相が赤色であると色相判別手段にて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別手段にて判別した場合に、特定の位置の赤緑青各色のレベルを、下地の赤緑青各色のレベルに置き換える置換手段とを備える。 The image processing apparatus according to one aspect of the present invention detects the level of each red, green, and blue color of the background of the original based on the image acquisition means for acquiring the image data of each red, green, and blue color of the original, and the image data of each red, green, and blue color. Based on the background level detecting means, the level determining means for determining whether or not the red level at a specific position in the document is a predetermined value based on the red image data, and the image data of each color of red, green, and blue. , Determines whether or not the saturation of a specific position is within a predetermined range based on the hue determining means for determining whether or not the hue of a specific position is red and the image data of each color of red, green, and blue. The saturation discriminating means and the level discriminating means discriminate that the level of red at a specific position is a predetermined value, and the hue discriminating means discriminates that the hue at a specific position is red, and a specific When the saturation determination means determines that the saturation of the position is within a predetermined range, it is provided with a replacement means for replacing the level of each color of red, green, and blue at a specific position with the level of each color of red, green, and blue of the background.
上記画像処理装置において好ましくは、画像取得手段は、原稿に光を照射する照射手段と、原稿から反射光を受光する受光手段と、反射光に基づいて、赤緑青各色の画像データを生成する画像生成手段であって、反射光に含まれる赤色波長領域および赤外波長領域の光に基づいて、赤色の画像データを生成する画像生成手段とを含む。 In the above image processing apparatus, preferably, the image acquisition means is an irradiation means for irradiating the document with light, a light receiving means for receiving the reflected light from the document, and an image for generating image data of each color of red, green, and blue based on the reflected light. The generation means includes an image generation means for generating red image data based on the light in the red wavelength region and the infrared wavelength region included in the reflected light.
上記画像処理装置において好ましくは、レベル判別手段は、特定の位置の赤色のレベルが下地の赤色のレベルの近傍であるか否かを判別し、置換手段は、特定の位置の赤色のレベルが下地の赤色のレベルの近傍であるとレベル判別手段にて判別し、かつ特定の位置の赤色のレベルが下地の赤色のレベルの近傍であると色相判別手段にて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別手段にて判別した場合に、赤緑青各色の画像データにおける特定の位置の赤緑青各色のレベルを、下地の位置の赤緑青各色のレベルに置き換える。 In the above image processing apparatus, preferably, the level determining means determines whether or not the red level at a specific position is close to the red level of the background, and the replacement means has the red level at the specific position as the background. It is determined by the level discrimination means that it is near the red level of the above, and it is determined by the hue discrimination means that the red level at a specific position is near the red level of the background, and the color at a specific position is colored. When the saturation determination means determines that the degree is within a predetermined range, the level of each color of red, green, and blue at a specific position in the image data of each color of red, green, and blue is replaced with the level of each color of red, green, and blue at the base position.
上記画像処理装置において好ましくは、レベル判別手段は、特定の位置の赤色のレベルと下地の赤色のレベルとの差が、下地の赤色のレベルの±1%以内である場合に、特定の位置の赤色のレベルが下地の赤色のレベルの近傍である判別する。 In the above image processing apparatus, preferably, the level discriminating means is used when the difference between the red level at the specific position and the red level of the background is within ± 1% of the red level of the background. Determine that the red level is near the underlying red level.
上記画像処理装置において好ましくは、レベル判別手段は、特定の位置の赤色のレベルが検出値の最大レベルであるか否かを判別し、置換手段は、特定の位置の赤色のレベルが検出値の最大レベルであるとレベル判別手段にて判別し、かつ特定の位置の赤色のレベルが下地の赤色のレベルの近傍であると色相判別手段にて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別手段にて判別した場合に、赤緑青各色の画像データにおける特定の位置の赤緑青各色のレベルを、下地の位置の赤緑青各色のレベルに置き換える。 In the above image processing apparatus, preferably, the level determining means determines whether or not the red level at a specific position is the maximum level of the detected value, and the replacement means determines whether the red level at the specific position is the detected value. The level determination means determines that the level is the maximum, and the hue determination means determines that the red level at a specific position is close to the red level of the background, and the saturation at the specific position is predetermined. When it is determined by the saturation determination means that it is within the range, the level of each color of red, green, and blue at a specific position in the image data of each color of red, green, and blue is replaced with the level of each color of red, green, and blue at the base position.
上記画像処理装置において好ましくは、レベル判別手段は、特定の位置の赤色のレベルが下地の赤色のレベルの近傍であるか否かを判別する第1の判別手段と、特定の位置の赤色のレベルが検出値の最大レベルであるか否かを判別する第2の判別手段と、第1および第2の判別手段のうちいずれか一方を選択する選択手段とを含み、置換手段は、選択手段にて第1のレベル判別手段を選択した場合において、特定の位置の赤色のレベルが下地の赤色のレベルの近傍であると第1のレベル判別手段にて判別し、かつ特定の位置の色相が赤色であると色相判別手段にて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別手段にて判別したときは、特定の位置の赤緑青各色のレベルを、下地の位置の赤緑青各色のレベルに置き換え、置換手段は、選択手段にて第2のレベル判別手段を選択した場合において、特定の位置の赤色のレベルが検出値の最大レベルであると第2のレベル判別手段にて判別し、かつ特定の位置の色相が赤色であると色相判別手段にて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別手段にて判別したときは、赤緑青各色の画像データにおける特定の位置の赤緑青各色のレベルを、下地の位置の赤緑青各色のレベルに置き換える。 In the above image processing apparatus, preferably, the level discriminating means includes a first discriminating means for discriminating whether or not the red level at a specific position is in the vicinity of the red level of the background, and the red level at the specific position. Includes a second determination means for determining whether or not is the maximum level of the detected value, and a selection means for selecting one of the first and second determination means, and the replacement means is a selection means. When the first level discriminating means is selected, the first level discriminating means determines that the red level at a specific position is close to the red level of the background, and the hue at the specific position is red. When it is determined by the hue discrimination means and the saturation at a specific position is within a predetermined range by the saturation discrimination means, the level of each color of red, green, and blue at the specific position is set as the background. Replaced with the level of each color of red, green, and blue at the position, and the replacement means is the second level when the red level at a specific position is the maximum level of the detection value when the second level determination means is selected by the selection means. When discriminating by the discriminating means, determining that the hue at a specific position is red by the hue discriminating means, and determining that the saturation at the specific position is within a predetermined range by the saturation discriminating means. Replaces the level of each color of red, green, and blue at a specific position in the image data of each color of red, green, and blue with the level of each color of red, green, and blue at the base position.
上記画像処理装置において好ましくは、原稿に含まれるインクの種類の設定の入力を受け付ける受付手段をさらに備え、選択手段は、受付手段にて受け付けた設定に基づいて選択を行う。 The image processing apparatus preferably further includes a receiving means for receiving an input for setting the type of ink contained in the document, and the selecting means selects based on the setting received by the receiving means.
上記画像処理装置において好ましくは、下地レベル検出手段は、赤緑青各色の画像データに基づいて、原稿の画像内の明度の分布を示すヒストグラムを作成するヒストグラム作成手段と、ヒストグラムにおいてピークとなる明度を有する原稿内の位置の赤緑青各色のレベルを赤緑青各色の画像データから抽出し、抽出した赤緑青各色のレベルを下地の赤緑青各色のレベルとして検出するレベル抽出手段とを含む。 In the above image processing apparatus, preferably, the background level detecting means is a histogram creating means for creating a histogram showing the distribution of brightness in the image of the original based on the image data of each color of red, green, and blue, and the brightness that becomes the peak in the histogram. It includes a level extraction means for extracting the level of each color of red, green, and blue at the position in the original from the image data of each color of red, green, and blue, and detecting the level of each of the extracted red, green, and blue as the level of each color of red, green, and blue of the background.
上記画像処理装置において好ましくは、赤色の画像データにおける特定の位置の赤色のレベルをレベルSRとし、緑色の画像データにおける特定の位置の緑色のレベルをレベルSGとし、青色の画像データにおける特定の位置の青色のレベルをレベルSBとした場合において、レベルSR、レベルSG、およびレベルSBが|SR−SG|>|SG−SB|の条件を満たすときは、色相判別手段は特定の位置の色相が赤色であると判別する。 In the above image processing apparatus, preferably, the red level at a specific position in the red image data is defined as the level SR, the green level at the specific position in the green image data is defined as the level SG, and the specific position in the blue image data. When the level SR, level SG, and level SB satisfy the condition of | SR-SG |> | SG-SB |, the hue discriminating means has a hue at a specific position. Determined to be red.
上記画像処理装置において好ましくは、彩度判別手段は、特定の位置の彩度が下地の彩度よりも大きく赤色の彩度よりも小さい範囲内であるか否かを判別する。 In the above image processing apparatus, preferably, the saturation determination means determines whether or not the saturation at a specific position is within a range larger than the saturation of the base and smaller than the saturation of red.
上記画像処理装置において好ましくは、赤色の画像データにおける特定の位置の赤色のレベルをレベルSRとし、緑色の画像データにおける特定の位置の緑色のレベルをレベルSGとし、青色の画像データにおける特定の位置の青色のレベルをレベルSBとし、レベルSR、レベルSG、およびレベルSBのうち最大のレベルを最大レベルMax(SR,SG,SB)とし、レベルSR、レベルSG、およびレベルSBのうち最小のレベルを最小レベルMix(SR,SG,SB)とした場合に、彩度判別手段は特定の位置の彩度CFを、CF=Max(SR,SG,SB)−Mix(SR,SG,SB)の式を用いて算出する。 In the above image processing apparatus, preferably, the red level at a specific position in the red image data is defined as the level SR, the green level at the specific position in the green image data is defined as the level SG, and the specific position in the blue image data. The blue level of is the level SB, the maximum level of the level SR, level SG, and level SB is the maximum level Max (SR, SG, SB), and the minimum level of the level SR, level SG, and level SB. When is set to the minimum level Mix (SR, SG, SB), the saturation determination means sets the saturation CF at a specific position to CF = Max (SR, SG, SB) -Mix (SR, SG, SB). Calculate using the formula.
上記画像処理装置において好ましくは、置換手段は、青緑各色の画像データにおける特定の位置の青緑各色のレベルのガンマ値が下地の青緑各色のレベルのガンマ値に合うように補正を行う。 In the above image processing apparatus, preferably, the replacement means corrects so that the gamma value of the level of each blue-green color at a specific position in the image data of each blue-green color matches the gamma value of the level of each blue-green color of the background.
本発明の他の局面に従う画像処理装置の制御プログラムは、原稿の赤緑青各色の画像データを取得する画像取得ステップと、赤緑青各色の画像データに基づいて、原稿の下地の赤緑青各色のレベルを検出する下地レベル検出ステップと、赤色の画像データに基づいて、原稿内の特定の位置の赤色のレベルが所定の値であるか否かを判別するレベル判別ステップと、赤緑青各色の画像データに基づいて、特定の位置の色相が赤色であるか否かを判別する色相判別ステップと、赤緑青各色の画像データに基づいて、特定の位置の彩度が所定の範囲内であるか否かを判別する彩度判別ステップと、特定の位置の赤色のレベルが所定の値であるとレベル判別ステップにて判別し、かつ特定の位置の色相が赤色であると色相判別ステップにて判別し、かつ特定の位置の彩度が所定の範囲内であると彩度判別ステップにて判別した場合に、特定の位置の赤緑青各色のレベルを、下地の赤緑青各色のレベルに置き換える置換ステップとをコンピューターに実行させるためのものである。 The control program of the image processing apparatus according to the other aspects of the present invention has an image acquisition step of acquiring image data of each red, green, and blue color of the original, and a level of each red, green, and blue color of the background of the original based on the image data of each red, green, and blue color. A background level detection step for detecting red, a level determination step for determining whether or not the red level at a specific position in a document is a predetermined value based on red image data, and image data for each color of red, green, and blue. Based on the hue determination step for determining whether or not the hue at a specific position is red, and whether or not the saturation at a specific position is within a predetermined range based on the image data of each color of red, green, and blue. The saturation determination step for determining and the level determination step determines that the red level at a specific position is a predetermined value, and the hue determination step determines that the hue at a specific position is red. In addition, when the saturation determination step determines that the saturation at a specific position is within a predetermined range, the replacement step of replacing the level of each red, green, and blue color at the specific position with the level of each color of the underlying red, green, and blue is used. It is intended to be executed by a computer.
本発明によれば、製造コストの増加を抑止することのできる画像処理装置および画像処理装置の制御プログラムを提供することができる。 According to the present invention, it is possible to provide an image processing device and a control program for the image processing device that can suppress an increase in manufacturing cost.
以下、本発明の一実施の形態について、図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
以下の実施の形態では、画像処理装置がMFP(Multifunction Peripheral)である場合について説明する。MFPは、スキャナー機能、ファクシミリ機能、複写機能、プリンターとしての機能、データ通信機能、およびサーバー機能を備えた電子写真式の画像形成装置である。画像処理装置はMFPである場合の他、スキャナーまたは複写機などであってもよいし、PC(Personal Computer)、携帯電話、またはスマートフォンなどであってもよい。 In the following embodiment, a case where the image processing device is an MFP (Multifunction Peripheral) will be described. The MFP is an electrophotographic image forming apparatus having a scanner function, a facsimile function, a copying function, a printer function, a data communication function, and a server function. In addition to the case where the image processing device is an MFP, it may be a scanner, a copying machine, or the like, or may be a PC (Personal Computer), a mobile phone, a smartphone, or the like.
[画像形成装置の構成および基本的な読取動作] [Configuration of image forming apparatus and basic reading operation]
始めに、本実施の形態における画像形成装置の構成について説明する。 First, the configuration of the image forming apparatus according to the present embodiment will be described.
図1は、本発明の一実施の形態における画像形成装置1の外観を示す図である。図2は、本発明の一実施の形態における画像形成装置1の構成を示すブロック図である。
FIG. 1 is a diagram showing the appearance of the
図1および図2を参照して、本実施の形態における画像形成装置1は、メインコントローラー10と、画像読取部31(画像取得手段の一例)と、プリンターエンジン部32と、操作表示部33(受付手段の一例)と、通信部34と、音声処理部35と、音声入力部36と、音声出力部37とを備えている。メインコントローラー100と、画像読取部31、プリンターエンジン部32、操作表示部33、通信部34、および音声処理部35の各々とは、相互に接続されている。
With reference to FIGS. 1 and 2, the
メインコントローラー10は、画像形成装置1全体の動作を制御する。メインコントローラー10は、CPU(Central Processing Unit)2と、ROM(Read Only Memory)3と、メモリ4と、HDD(Hard Disk Drive)5と、画像処理部(ASIC(Application Specific Integrated Circuit)6とを含んでいる。
The
CPU2は、画像形成装置1全体の動作を制御する。CPU2は、ROM3に記憶されたプログラムを実行する。
The
ROM3は、CPU2が実行する制御プログラムや、各種パラメーターなどを記憶する。
The
メモリ4は、CPU2の作業用のメモリであり、CPU2が制御プログラムを動作するために必要なデータや画像データなどを一時的に記憶する。
The
HDD5は、各種情報を記憶する補助記憶装置である。 The HDD 5 is an auxiliary storage device that stores various types of information.
画像処理部6は、画像読取部31が生成した画像データに対する処理などを行う。
The
画像読取部31は、原稿の画像を読み取り、RGB各色の画像データを生成(取得)する。
The
プリンターエンジン部32は、画像データに基づいて用紙などへ画像を形成するプリントジョブを行う。プリンターエンジン部32は、おおまかに、トナー像形成部、定着装置、および用紙搬送部などで構成される。プリンターエンジン部32は、たとえば電子写真方式で用紙に画像を形成する。トナー像形成部は、用紙に画像を形成する。トナー像形成部は、トナー像を現像する現像装置と、トナー像が形成される感光体と、感光体から用紙に画像を転写する転写部などで構成される。定着装置は、加熱ローラーおよび加圧ローラーを有する。定着装置は、加熱ローラーと加圧ローラーとでトナー像が形成された用紙を挟みながら搬送し、その用紙に加熱および加圧を行う。これにより、定着装置は、用紙に付着したトナーを溶融させて用紙に定着させ、用紙に画像を形成する。用紙搬送部は、給紙ローラー、搬送ローラー、およびそれらを駆動するモーターなどで構成されている。用紙搬送部は、用紙を給紙カセットから給紙して、画像形成装置1の筐体の内部で搬送する。また、用紙搬送部は、画像が形成された用紙を画像形成装置1の筐体から排紙トレイ38に排出する。
The
操作表示部33は、各種操作を受け付け、各種情報を表示する。
The
通信部34は、外部機器との間で通信を行う。
The
音声処理部35は、メインコントローラー10の制御の下で、必要な音声を音声出力部37からから出力し、音声入力部36から入力した音声を所定の形式に変更してメインコントローラー10に送信する。
Under the control of the
音声入力部36および音声出力部37の各々は音声処理部35と接続されている。音声入力部36は音声の入力を受け付ける。音声出力部37は音声を出力する。
Each of the
メインコントローラー10は、操作表示部33や通信部34からの操作指示に基づいて、画像読取機能(スキャン)や画像形成機能(印刷)などを実行する。また、ユーザーが音声入力部36に対して特定の操作指示を含む音声を入力した場合に、音声処理部35はその音声を認識し、認識した音声の情報を所定の形式に変換し、メインコントローラー10に送信する。メインコントローラー10は、音声処理部35から受信した情報に基づいて、操作表示部33や通信部34からの操作指示と同様に、各種機能を実行する。さらに、ユーザーに対して音声を発生させる必要があることを検知した場合、メインコントローラー10は、音声処理部35を経由して音声出力部37にて音声を発する。
The
なお、上述の構成においては、インターフェースを介して音声処理部35をメインコントローラー10と接続しているが、音声処理部35の一部または全体がメインコントローラー10内部に含まれていてもよいし、音声処理部35と音声入力部36とが一体化されてもよい。また、メインコントローラー10と音声処理部35と間との通信は、LAN(Local Area Network)やWAN(Wide Area Network)などのネットワーク経由で行われてもよい。
In the above configuration, the
図3は、画像読取部31の構成を示す断面図である。図4は、画像読取部31の一般的な動作を説明するブロック図である。
FIG. 3 is a cross-sectional view showing the configuration of the
図3を参照して、画像読取部31は、ADF(Auto Document Feeder)310と、コンタクトガラス321と、プラテンガラス322と、ワイヤー323と、スライダー324と、光源325(受光手段の一例)と、ミラー326および327と、モーター328と、レンズ329および330と、ラインセンサー331(受光手段の一例)とを備えている。
With reference to FIG. 3, the
画像読取部31は、原稿トレイ311に配置された原稿であって、ADF310によって搬送される原稿の画像を読み取る。また画像読取部31は、プラテンガラス322上に配置された原稿の画像を読み取る。
The
ADF310は、画像読取部31の筐体31aの上部に設けられている。ADF310は、原稿トレイ311に配置された原稿を搬送経路に沿って原稿読取位置P1へ搬送し、その後に排紙トレイ312に排出する。
The
コンタクトガラス321は、筐体31aの上面に設けられたスリット321aを塞いでおり、ADF310の底面に露出した原稿の搬送経路の一部に面している。プラテンガラス322は、筐体31aの上面に設けられたスリット322aを塞いでいる。
The
筐体31aの内部には、ワイヤー323と、スライダー324と、光源325と、ミラー326および327と、モーター328と、レンズ329および330と、ラインセンサー331とが設けられている。ワイヤー323には、スライダー324が接続されている。スライダー324には、光源325、ならびにミラー326および327が搭載されている。ワイヤー323はモーター328の回転に従動して回転する。
Inside the
ラインセンサー331は、主走査方向に配列した複数の受光素子により構成されたR色用のラインセンサー331Rと、主走査方向に配列した複数の受光素子により構成されたG色用のラインセンサー331Rと、主走査方向に配列した複数のB色用の受光素子により構成されたB色用のラインセンサー331Bとを含んでいる。ラインセンサー331R、331G、および331Bの各々は、R色、G色、およびB色の各々の受光光強度に応じた電気信号を出力する。
The
画像読取部31がADF310により搬送される原稿の画像を読み取る場合、光源325は、コンタクトガラス321を通して、ADF310にて搬送され原稿読取位置P1を通過する原稿の表面に光を照射する。ラインセンサー331はその反射光を受光する。
When the
画像読取部31がプラテンガラス322上に配置された原稿の画像を読み取る場合、モーター328は、矢印aで示す方向または矢印bで示す方向に回転することで、コンタクトガラス321の直下からプラテンガラス322の図3中右端までの間で、ワイヤー323に接続されたスライダー324を移動させる。光源325は、スライダー324の移動中に、プラテンガラス322を通して、プラテンガラス322上に配置された原稿の表面に光を照射する。原稿からの反射光はプラテンガラス322を透過し、ミラー326および327によって反射され、レンズ329および330によって収束される。ラインセンサー331は、収束された反射光を受光する。
When the
ラインセンサー331が受光する反射光の強度は、原稿の表面の色(正確には表面の光反射率)に応じて変化する。このためラインセンサー331から出力される電気信号は、原稿の表面に表示された画像を表す。
The intensity of the reflected light received by the
図4を参照して、画像読取部31は、駆動部41と、発光部42と、AD変換部43(画像生成手段の一例)とをさらに含んでいる。
With reference to FIG. 4, the
CPU2は、プラテンガラス322上に配置された原稿の画像読取の実行指示を操作表示部33にて受け付けると、駆動部41に駆動命令を行い、発光部42に発光命令を行う。駆動部41は、駆動命令を受けると、モーター328を回転させることによりスライダー324を副走査方向(図3中横方向)に移動させる。発光部42は、発光命令を受けると、スライダー324により移動中の光源325を発光させる。光源325からの光は、プラテンガラス322上に配置された原稿に入射する。ラインセンサー331は、原稿からの反射光を受光し、RGB各色の光の受光強度に応じた出力を行う。これにより、ラインセンサー331は原稿の画像の読取を行う。AD変換部43は、ラインセンサー331から出力された電気信号をデジタルデータに変換してRGB各色の画像データを生成し、RGB各色の画像データを画像処理部6に出力する。
When the
CPU2は、原稿の画像の読み取りが完了したことを検知した場合に、駆動部41および発光部42に読取完了を通知する。駆動部41はこの通知を受けると、スライダー324をホームセンサー位置に戻す。発光部42はこの通知を受けると、光源325を消灯させる。
When the
ここで、ラインセンサー331Rを構成する複数の受光素子の各々は、R色の光(R色波長領域の光)のみならず赤外光(赤外波長領域の光)をも検知し、R色の光および赤外光の受光光強度に応じた電気信号を出力する。このため、画像読取部31が生成するRGB各色の画像データのうちR色の画像データは、反射光に含まれるR色波長領域および赤外波長領域の光に基づいて生成されたものとなる。
Here, each of the plurality of light receiving elements constituting the
[熱消去性インクの消去痕の部分の検出方法の概要] [Summary of detection method for erased marks of heat-erasable ink]
図5は、白色の下地に対してR色の熱消去性インク(蛍光色でないもの)で描かれた文字を含む原稿の画像を画像読取部31にて読み取った場合に、画像読取部31から出力された画像の解析結果を示す図である。
FIG. 5 shows an image of a document containing characters drawn with R-color heat-erasable ink (non-fluorescent color) on a white background when the
図5を参照して、本願発明者は、白色の下地に対してR色の熱消去性インク(蛍光色でないもの)で描かれた文字を含む原稿を準備し、熱消去性インクの消去の前後で原稿の画像を画像読取部31にて読み取り、画像読取部31から出力された画像を解析した。具体的には、熱消去性インク(蛍光色でないもの)が存在する部分の消去前の画素(図5中「消去前インク部分」)と、熱消去性インク(蛍光色でないもの)が存在する部分の消去後の画素(図5中「消去後インク部分」)と、原稿の下地の画素(図5中「下地部分」)とを画像から抽出し、抽出した画素のR色階調値と、R色階調値とG色階調値との差(|R−G|)との関係(図5(a))と、抽出した画素のR色階調値と、G色階調値とB色階調値との差(|G−B|)との関係(図5(b))と、抽出した画素のR色階調値と彩度との関係(図5(c))とを調べた。
With reference to FIG. 5, the inventor of the present application prepares a manuscript containing characters drawn with R color heat erasable ink (non-fluorescent color) on a white background, and erases the heat erasable ink. The image of the original was read by the
なお、R色階調値(赤色のレベルの一例)、G色階調値(緑色のレベルの一例)、およびB色階調値(青色のレベルの一例)(ここではいずれの階調値も0〜255の範囲の値であるものとする)は、画像読取部31から出力される画像データに基づいて算出されるものである。色相および彩度は、R色階調値、G色階調値、およびB色階調値の各々を所定の式に代入することによって算出されるものである。
In addition, R color gradation value (an example of a red level), G color gradation value (an example of a green level), and B color gradation value (an example of a blue level) (here, all gradation values are used. (It is assumed that the value is in the range of 0 to 255) is calculated based on the image data output from the
その結果、熱消去性インク(蛍光色でないもの)が存在する部分の消去前の画素(図5中「消去前インク部分」)は、次の特徴X1〜X3を有していることが分かった。 As a result, it was found that the pixels before erasing (“ink before erasing” in FIG. 5) in the portion where the heat erasable ink (non-fluorescent color) is present have the following features X1 to X3. ..
特徴X1:R色階調値は熱消去性インクの色によって異なる。 Feature X1: The R color gradation value differs depending on the color of the heat-erasable ink.
特徴X2:色相は熱消去性インクの色によって互いに異なる。 Feature X2: Hues differ from each other depending on the color of the heat-erasable ink.
特徴X3:彩度は熱消去性インクの色にかかわらず高い。 Feature X3: Saturation is high regardless of the color of the heat-erasable ink.
一方、熱消去性インク(蛍光色でないもの)が存在する部分の消去後の画素(図5中「消去後インク部分」)は、次の特徴Y1〜Y3を有していることが分かった。 On the other hand, it was found that the erased pixels (“erased ink portion” in FIG. 5) of the portion where the heat-erasable ink (non-fluorescent color) is present have the following features Y1 to Y3.
特徴Y1:R色階調値は、熱消去性インクの色にかかわらず下地のR色階調値と同等である(具体的には、下地のR色階調値との差が下地のR色階調値の±1%の範囲E1内である)(図5(a)および図5(b)参照)。 Feature Y1: The R color gradation value is equivalent to the R color gradation value of the base regardless of the color of the heat-erasable ink (specifically, the difference from the R color gradation value of the base is the R of the base. It is within the range E1 of ± 1% of the color gradation value) (see FIGS. 5 (a) and 5 (b)).
特徴Y2:色相は、熱消去性インクの色にかかわらずR色系(|R−G|>|G−B|)である(図5(a)および図5(b)参照)。 Feature Y2: The hue is an R color system (| RG |> | GB |) regardless of the color of the heat-erasable ink (see FIGS. 5 (a) and 5 (b)).
特徴Y3:彩度は、熱消去性インクの色にかかわらず(赤色の彩度よりも)低い。但し下地の彩度よりは高い(図5(c)参照)。 Feature Y3: Saturation is lower (than red saturation) regardless of the color of the heat-erasable ink. However, it is higher than the saturation of the base (see FIG. 5 (c)).
なお、図5(c)において赤色の彩度(図5(c)中三角)が高い理由は、光源325から発せられる光が、可視光領域の所定の波長領域にピークを有しているためであると推測される。
The reason why the red saturation (middle triangle in FIG. 5C) is high in FIG. 5C is that the light emitted from the
したがって、本実施の形態では、画像読取部31から出力される画像において、上記特徴Y1、Y2、およびY3の全てを満たす部分(画素)は、蛍光色でない熱消去性インクの消去痕の部分として検出される。
Therefore, in the present embodiment, in the image output from the
図6は、白色の下地に対して赤色の熱消去性インク(蛍光色のもの)で描かれた文字を含む原稿の画像を画像読取部31にて読み取った場合に、画像読取部31から出力された画像の解析結果を示す図である。
FIG. 6 is output from the
図6を参照して、本願発明者は、白色の下地に対してRGB各色の熱消去性インク(蛍光色のもの)で描かれた文字を含む原稿を準備し、熱消去性インクの消去の前後で原稿の画像を画像読取部31にて読み取り、画像読取部31から出力された画像を解析した。具体的には、熱消去性インク(蛍光色のもの)が存在する部分の消去前の画素(図6中「消去前インク部分」)と、熱消去性インク(蛍光色のもの)が存在する部分の消去後の画素(図6中「消去後インク部分」)と、原稿の下地の画素(図6中「下地部分」)とを画像から抽出し、抽出した画素のR色階調値と彩度との関係を調べた。
With reference to FIG. 6, the inventor of the present application prepares a manuscript containing characters drawn with heat-erasable ink (fluorescent color) of each RGB color on a white background, and erases the heat-erasable ink. The image of the original was read by the
その結果、熱消去性インク(蛍光色のもの)が存在する部分の消去前の画素(図6中「消去前インク部分」)は、上記特徴X1〜X3を有していることが分かった。 As a result, it was found that the pixels before erasing (“ink portion before erasing” in FIG. 6) in the portion where the heat erasable ink (fluorescent color) is present have the above-mentioned features X1 to X3.
一方、熱消去性インク(蛍光色のもの)が存在する部分の消去後の画素(図6中「消去後インク部分」)は、次の特徴Z1〜Z3を有していることが分かった。 On the other hand, it was found that the erased pixels (“erased ink portion” in FIG. 6) of the portion where the heat-erasable ink (fluorescent color) is present have the following features Z1 to Z3.
特徴Z1:R色階調値は、熱消去性インクの色にかかわらず最大値(検出値の最大レベルの一例、ここでは255)である。 Feature Z1: The R color gradation value is the maximum value (an example of the maximum level of the detected value, 255 in this case) regardless of the color of the heat-erasable ink.
特徴Z2:色相は、熱消去性インクの色にかかわらずR色系(|R−G|>|G−B|)である。 Feature Z2: The hue is an R color system (| RG |> | GB |) regardless of the color of the heat-erasable ink.
特徴Z3:彩度は、熱消去性インクの色にかかわらず(R色の彩度よりも)低い。但し下地の彩度よりは高い。 Feature Z3: Saturation is lower (than R color saturation) regardless of the color of the heat-erasable ink. However, it is higher than the saturation of the base.
なお、特徴Z1においてR色階調値が最大値となるのは、R色階調値に関するAD変換部43による変換前のアナログの出力値(ラインセンサー331Rからの出力値)が、ラインセンサー331Rの感度の上限値を超えているためであると推測される。
The maximum value of the R color gradation value in the feature Z1 is that the analog output value (output value from the
したがって、本実施の形態では、画像読取部31から出力される画像において、上記特徴Z1、Z2、およびZ3の全てを満たす部分(画素)は、蛍光色の熱消去性インクの消去痕の部分として検出される。
Therefore, in the present embodiment, in the image output from the
熱消去性インクが存在する部分の消去後の画素が上記の特徴を有するのは、次の理由によるものであると推測される。一般的に、熱消去性インクには、ロイコ染料などの染料と、顕色剤と、変色温度調整剤とが含まれている。熱消去性インクが所定の温度(変色温度調整剤により規定される温度)未満である場合、染料と顕色剤とは化学的に結合しており、それにより染料の種類に応じた色を発色する。熱消去性インクが所定の温度(変色温度調整剤により規定される温度)以上に加熱された場合、顕色剤は染料との結合を切断し、変色温度調整剤と結合する。それにより染料の発色は無くなる。染料は、温度にかかわらず、赤外線領域の波長の光を発する特性を有している。このため、熱消去性インクが所定の温度以上に加熱され、染料の発色は無くなった場合でも、染料は赤外線領域の波長の光を発する。 It is presumed that the reason why the erased pixels in the portion where the heat-erasable ink is present has the above-mentioned characteristics is as follows. Generally, the heat-erasable ink contains a dye such as a leuco dye, a color developer, and a discoloration temperature adjuster. When the heat-erasable ink is below a predetermined temperature (the temperature specified by the discoloration temperature adjuster), the dye and the color developer are chemically bonded, thereby producing a color according to the type of dye. To do. When the heat-erasable ink is heated above a predetermined temperature (temperature specified by the discoloration temperature adjuster), the color developer breaks the bond with the dye and binds with the discoloration temperature adjuster. As a result, the color of the dye is eliminated. Dyes have the property of emitting light with wavelengths in the infrared region, regardless of temperature. Therefore, even when the heat-erasable ink is heated to a predetermined temperature or higher and the color of the dye disappears, the dye emits light having a wavelength in the infrared region.
[画像処理装置が行う処理の概要] [Outline of processing performed by the image processing device]
図7は、本発明の一実施の形態において、画像読取部31にて生成した画像データを印刷する際(原稿をコピーする際)に、画像処理部6が行う処理の概要を説明するブロック図である。
FIG. 7 is a block diagram illustrating an outline of processing performed by the
図7を参照して、画像処理部6は、表面用スキャナー画像処理ASICであるASIC61と、インク部分補正処理部62と、スキャナー画像処理ASICであるASIC63と、コントローラーASICであるASIC64と、プリンター画像処理ASICであるASIC65とを含んでいる。
With reference to FIG. 7, the
画像読取部31から入力されたRGB各色の画像データは、始めにASIC61によって処理される。ASIC61は、RGB各色の画像データに対して、画像データの下地の白色レベルを補正する表面用シェーディング補正、RGB各色のラインセンサー331R、331G、および331Bの各々の物理的距離の違いに起因する画像のずれを補正するライン間補正、および画像読取部31に含まれる光学系の収差に起因する画像の歪みを補正する色収差補正などを行う。ASIC61は、処理後のRGB各色の画像データをインク部分補正処理部62に送信する。
The image data of each RGB color input from the
インク部分補正処理部62は、受信したRGB各色の画像データから熱消去性インクの消去痕の部分を検出し、検出した部分を原稿の下地の色に補正する。インク部分補正処理部62が行う処理については後述する。インク部分補正処理部62は、処理後のRGB各色の画像データをASIC63に送信する。
The ink portion
ASIC63は、必要な倍率で画像を拡大または縮小する解像度変換処理、原稿が再生紙などである場合に下地の余分な色を白色化する下地飛ばし処理、画像データを網点領域、文字領域、画像領域などに分類する領域判別処理、RGB各色の画像データをYMCK各色の画像データに変換する変換処理、文字領域を補正する文字エッジ補正、および画像を滑らかにする処理である誤差拡散処理などを行う。ASIC63は、処理後のYMCK各色の画像データと属性信号SNとをASIC64に送信する。
The
ASIC64は、YMCK各色の画像データおよび属性信号SNに対して圧縮処理を行い、圧縮処理後のデータおよび属性信号SNをメモリ4に保存する。またASIC64は、メモリ4に保存されたデータに対して伸張処理を行うことにより、YMCK各色のデータおよび属性信号SNをメモリ4から読み出す。ASIC64は、処理後のYMCK各色の画像データと属性信号SNとをASIC65に送信する。
The
ASIC65は、エッジ強調ヤスムージングなどの画像補正処理、コピー防止用の地紋イメージを合成する処理、階調の変化を強調するスクリーン処理、YMCK各色を用紙に印刷するタイミングのずれを補正するPC間遅延制御処理、および印字強度を調整する処理(PWM+同期IC)などを必要に応じて行う。ASIC65は、処理の後YMCK各色の画像データと属性信号SNとをプリンターエンジン部32に送信する。
The ASIC65 includes image correction processing such as edge enhancement and smoothing, processing for synthesizing a tint block image for copy protection, screen processing for emphasizing gradation changes, and delay between PCs for correcting the timing deviation of printing each color of YMCK on paper. Control processing, processing for adjusting print strength (PWM + synchronous IC), and the like are performed as necessary. After processing, the
[インク部分補正処理部が行う処理] [Processing performed by the ink partial correction processing unit]
図8は、本発明の一実施の形態におけるインク部分補正処理部62の回路構成を示す図である。
FIG. 8 is a diagram showing a circuit configuration of the ink partial
図8を参照して、インク部分補正処理部62は、下地階調値検出部621(下地レベル検出手段の一例)と、R色近傍判別部622(レベル判別手段の一例)と、R色最大値判別部623(レベル判別手段の一例)と、彩度検出部624(彩度判別手段の一例)と、色相判別部625(色相判別手段の一例)と、下地彩度検出部626と、選択部627と、低彩度判別部628と、AND型回路629と、階調値置換部630と、選択部631(置換手段の一例)とを含んでいる。
With reference to FIG. 8, the ink portion
下地階調値検出部621は、画像読取部31から入力されたRGB各色の画像データ(以降、画像読取部31から入力された画像データを入力画像データと記すことがある)に基づいて、原稿の下地のRGB各色の階調値UR、UG、およびUBを検出する。
The background gradation
図9は、本発明の一実施の形態において、下地階調値検出部621が行う原稿の下地のRGB各色の階調値の検出方法を説明する図である。
FIG. 9 is a diagram illustrating a method of detecting gradation values of each RGB color of the background of a document by the background gradation
図8および図9を参照して、下地階調値検出部621は、入力画像データにおける各画素の明度Vを算出し、原稿の画像内の明度の分布を示すヒストグラムを作成する。画素の明度Vは、たとえば下記式(1)に示すように、その画素のR色階調値、G色階調値、およびB色階調値の平均値として算出される。
With reference to FIGS. 8 and 9, the background gradation
V=average(R,G,B) ・・・(1) V = average (R, G, B) ... (1)
続いて下地階調値検出部621は、ヒストグラムにおけるピークとなる明度のうち最大の明度(ここでは値PK1)を、下地の明度として検出する。下地階調値検出部621は、検出した明度の値PK1と同一の値を、原稿の下地のRGB各色の階調値UR、UG、およびUBとして検出する。
Subsequently, the background gradation
図10は、本発明の一実施の形態において、R色近傍判別部622が行う判別方法を説明する図である。
FIG. 10 is a diagram illustrating a discrimination method performed by the R color
図8および図10を参照して、R色近傍判別部622は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素のR色階調値SRが、下地階調値検出部621にて検出した下地のR色階調値URの近傍であるか否かを判別する。R色近傍判別部622は、抽出した画素のR色階調値SRが下地のR色階調値URの近傍であると判別した場合、選択部627に「1」を出力する。R色近傍判別部622は、抽出した画素のR色階調値SRが下地のR色階調値URの近傍でないと判別した場合、選択部627に「0」を出力する。
With reference to FIGS. 8 and 10, the R color
R色近傍判別部622は、抽出した画素のR色階調値SRと下地のR色階調値URとの差が、下地のR色階調値URの±1%以内である(言い換えれば、抽出した画素のR色階調値SRが範囲RG1の範囲内である)場合に、抽出した画素のR色階調値SRが下地のR色階調値URの近傍であると判別する。一方、R色近傍判別部622は、上記差が下地のR色階調値URの±1%以内でない(言い換えれば、抽出した画素のR色階調値SRが範囲RG1の範囲外である)場合に、抽出した画素のR色階調値SRが下地のR色階調値URの近傍でないと判別する。
In the R color
図11は、熱消去性インク(蛍光色でないもの)で描かれた文字を消去した痕跡の部分の画素のR色階調値と、原稿の下地のR色階調値との関係を示すヒストグラムである。 FIG. 11 is a histogram showing the relationship between the R color gradation value of the pixel of the trace portion where the characters drawn with the heat erasable ink (non-fluorescent color) are erased and the R color gradation value of the background of the document. Is.
図8および図11を参照して、R色最大値判別部623は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素のR色階調値SRが階調値の検出値の最大値であるか否かを判別する。R色最大値判別部623は、抽出した画素のR色階調値SRが最大値であると判別した場合、選択部627に「1」を出力する。R色最大値判別部623は、抽出した画素のR色階調値SRが最大値でないと判別した場合、選択部627に「0」を出力する。
With reference to FIGS. 8 and 11, the R color maximum
熱消去性インク(蛍光色でないもの)で描かれた文字を消去した痕跡の部分の画素を抽出した場合、その画素のR色階調値は最大値LRMaxとなり、原稿の下地のR色階調値URよりも大きくなる。 When the pixel of the trace part where the characters drawn with the heat-erasable ink (non-fluorescent color) is erased is extracted, the R color gradation value of the pixel becomes the maximum value LRMax, and the R color gradation of the background of the original. Greater than the value UR.
図8を参照して、彩度検出部624は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、RGBの入力画像データに基づいて、抽出した画素の彩度CFを検出する。抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBの中で最も大きい値を最大値Max(SR,SG,SB)とし、階調値SR、SG、およびSBの中で最も小さい値を最小値Min(SR,SG,SB)とした場合に、抽出した画素の彩度CFはたとえば下記式(2)を用いて算出される。
With reference to FIG. 8, the
CF=Max(SR,SG,SB)−Min(SR,SG,LB) ・・・(2) CF = Max (SR, SG, SB) -Min (SR, SG, LB) ... (2)
色相判別部625は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、RGB各色の画像データに基づいて、抽出した画素の色相がR色であるか否かを判別する。色相判別部625は、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが下記式(3)の条件を満たす場合に抽出した画素の色相がR色であると判別し、AND型回路629の端子IN2に「1」を出力する。一方、色相判別部625は、下記式(3)の条件を満たさない場合に抽出した画素の色相がR色でないと判別し、AND型回路629の端子IN2に「0」を出力する。
The
|SR−SG|>|SG−SB| ・・・(3) | SR-SG |>| SG-SB | ・ ・ ・ (3)
下地彩度検出部626は、下地階調値検出部621にて検出した原稿の下地のRGB各色の階調値UR、UG、およびUBに基づいて、原稿の下地の彩度CFAを検出する。原稿の下地のR色階調値UR、G色階調値UG、およびB色階調値UBの中で最も大きい値を最大値Max(UR,UG,UB)とし、階調値UR、UG、およびUBの中で最も小さい値を最小値Min(UR,UG,UB)とした場合に、原稿の下地の彩度CFAはたとえば下記式(4)を用いて算出される。
The background
CFA=Max(UR,UG,UB)−Min(UR,UG,UB) ・・・(4) CFA = Max (UR, UG, UB) -Min (UR, UG, UB) ... (4)
選択部627は、R色近傍判別部622による判別結果およびR色最大値判別部623による判別結果のうちいずれか一方を選択し、選択した判別結果(選択した部材からの入力値)をAND型回路629の端子IN1に出力する。
The
図12は、操作表示部33に表示される画面の一例を示す図である。
FIG. 12 is a diagram showing an example of a screen displayed on the
図8および図12を参照して、操作表示部33は、画像読取の実行指示をユーザーから受け付ける際に、原稿に含まれるインクの種類の設定の入力を受け付けてもよい。
With reference to FIGS. 8 and 12, the
操作表示部に表示される画面は、原稿に含まれるインクの種類の設定の入力を受け付ける画面であり、キーKY1、KY2、およびKY3を含んでいる。キーKY1は、原稿に含まれるインクの種類が蛍光色でない熱消去性インクであることの選択を受け付けるキーである。キーKY2は、原稿に含まれるインクの種類が蛍光色の熱消去性インクであることの選択を受け付けるキーである。キーKY1およびKY2のうちいずれか一方が選択された状態で、ジョブを実行するためのキーKY3の押下を受け付けた場合、画像形成装置1は、画像読取の実行指示とともに原稿に含まれるインクの種類が選択された種類である旨の設定を受け付ける。
The screen displayed on the operation display unit is a screen that accepts input for setting the type of ink contained in the document, and includes keys KY1, KY2, and KY3. The key KY1 is a key that accepts the selection that the type of ink contained in the original is a heat-erasable ink that is not a fluorescent color. The key KY2 is a key that accepts the selection that the type of ink contained in the original is a fluorescent color heat-erasable ink. When one of the keys KY1 and KY2 is selected and the key KY3 for executing the job is accepted, the
原稿に含まれるインクの種類の設定の入力を受け付けた場合、選択部627は、受け付けた設定に基づいて上記の選択を行う。すなわち、原稿に含まれるインクの種類が蛍光色の熱消去性インクでない旨の設定を受け付けた場合、選択部627はR色近傍判別部622による判別結果を選択する。原稿に含まれるインクの種類が蛍光色の熱消去性インクである旨の設定を受け付けた場合、選択部627はR色最大値判別部623による判別結果を選択する。
When the input of the setting of the type of ink contained in the original is accepted, the
図8を参照して、低彩度判別部628は、抽出した画素の彩度CFの入力を彩度検出部624から受け付け、原稿の下地の彩度CFAの入力を下地彩度検出部626から受け付け、固定値であるR色の彩度CFBの入力を受け付ける。低彩度判別部628は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素の彩度CFが、下記式(5)に示すように下地の彩度CFAよりも大きくR色の彩度CFBよりも小さい範囲内であるか否かを判別する。
With reference to FIG. 8, the low
CFA<CF<CFB ・・・(5) CFA <CF <CFB ... (5)
低彩度判別部628は、抽出した画素の彩度CFが上記範囲内であると判別した場合、AND型回路629の端子IN3に「1」を出力する。一方、低彩度判別部628は、抽出した画素の彩度CFが上記範囲外であると判別した場合、AND型回路629の端子IN3に「0」を出力する。
When the low
AND型回路629は、R色の入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素についての端子IN1、IN2、およびIN3の各々に入力する値がいずれも「1」である場合に、選択部631の入力端子Cに「1」という値Cを出力する。一方、AND型回路629は、端子IN1、IN2、およびIN3のうち少なくともいずれか1つの端子に入力する値が「0」である場合に、選択部631の入力端子に「0」という値Cを出力する。
The AND
図13は、抽出した画素のRGB各色の階調値SR、SG、およびSBに対するガンマ補正を説明する図である。 FIG. 13 is a diagram illustrating gamma correction for the gradation values SR, SG, and SB of each RGB color of the extracted pixels.
図8および図13を参照して、階調値置換部630は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素のRGB各色の階調値SR、SG、およびSBの各々を、下地のRGB各色の階調値UR、UG、およびUBの各々に置き換え、置き換えた後の階調値Bを選択部631に出力する。
With reference to FIGS. 8 and 13, the gradation
抽出した画素が熱消去性インクの消去痕の部分の画素である場合、抽出した画素のG色階調値およびB色階調値は低下する傾向にある。階調値置換部630は、図13中矢印で示すように、抽出した画素のGB各色の階調値SGおよびSBのガンマ値が、下地のRGB各色の階調値UGおよびUBのガンマ値に合うように補正を行ってもよい。
When the extracted pixels are the pixels of the erase marks of the heat-erasable ink, the G color gradation value and the B color gradation value of the extracted pixels tend to decrease. In the gradation
選択部631には、画像読取部31から抽出した画素のRGB各色の階調値SR、SG、およびSBが階調値Aとして入力され、階調値置換部630から階調値Bが入力され、AND型回路629から値Cが入力される。
The gradation values SR, SG, and SB of each RGB color of the pixels extracted from the
選択部631は、入力画像データにおける原稿内の画素を1つずつ順番に抽出し、抽出した画素について、AND型回路629から入力された値Cが「1」であるか「0」であるかを判別する。AND型回路629から入力された値Cが「1」である場合、抽出した画素が熱消去性インクの消去痕の部分であると判断される。この場合、選択部631は、抽出した画素の階調値を階調値Bに決定し、決定した画素の階調値を、抽出した画素の位置の情報とともに出力する。これにより、抽出した画素のRGB各色の階調値は下地のRGB各色の階調値UR、UG、およびUBに補正される。
The
一方、AND型回路629から入力された値Cが「0」である場合、抽出した画素が熱消去性インクの消去痕の部分でないと判断される。この場合、選択部631は、抽出した画素の階調値を階調値Aに決定し、決定した画素の階調値Aを、抽出した画素の位置の情報とともに出力する。これにより、抽出した画素のRGB各色の階調値SR、SG、およびSBは補正されず維持される。
On the other hand, when the value C input from the AND
インク部分補正処理部62の機能は、上記回路構成によって実現される場合の他、図14および図15に示すように、ROM3に記憶された制御プログラムをCPU2が実行することによって実現されてもよい。
The function of the ink partial
図14および図15は、本発明の一実施の形態においてインク部分補正処理部62が実行する処理を示すフローチャートである。
14 and 15 are flowcharts showing the processes executed by the ink partial
図14を参照して、CPU2は、画像読取部31からRGB各色の入力画像データを受信すると、RGB各色の入力画像データに基づいて、原稿の下地の明度を算出し、算出した明度に基づいて原稿の下地のRGB各色の階調値UR、UG、およびUBを算出(検出)する(S101)。次にCPU2は、原稿の下地のRGB各色の階調値UR、UG、およびUBに基づいて、原稿の下地の彩度CFAを算出(検出)し(S103)、R色の彩度CFBを設定する(S105)。続いてCPU2は、原稿内の1つの画素を抽出し(S107)、抽出した画素のRGB各色の階調値SR、SG、およびSBに基づいて、抽出した画素の彩度CFを算出する(S109)。続いてCPU2は、原稿に含まれるインクの種類が蛍光色でない熱消去性インクである旨の設定を受け付けているか否かを判別する(S111)。
With reference to FIG. 14, when the
ステップS111において、原稿に含まれるインクの種類が蛍光色でない熱消去性インクである旨の設定を受け付けていないと判別した場合(S111でNO)、CPU2は、原稿に含まれるインクの種類が蛍光色の熱消去性インクである旨の設定を受け付けていると判断し、図15のステップS131の処理へ進む。
When it is determined in step S111 that the setting that the type of ink contained in the original is not a fluorescent color is not accepted (NO in S111), the
ステップS111において、原稿に含まれるインクの種類が蛍光色でない熱消去性インクである旨の設定を受け付けていると判別した場合(S111でYES)、CPU2は、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たすか否かを判別する(S113)。
When it is determined in step S111 that the setting that the type of ink contained in the document is a heat-erasable ink that is not a fluorescent color is accepted (YES in S111), the
ステップS113において、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たすと判別した場合(S113でYES)、CPU2は、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たすか否かを判別する(S115)。
When it is determined in step S113 that the saturation CFA of the background of the document, the saturation CFB of the R color, and the saturation CF of the extracted pixels satisfy the relationship of the equation (5) (YES in S113), the
ステップS115において、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たすと判別した場合(S115でYES)、CPU2は、抽出した画素のR色階調値SRが原稿の下地のR色階調値URの近傍であるか否かを判別する(S117)。
When it is determined in step S115 that the R color gradation value SR, the G color gradation value SG, and the B color gradation value SB of the extracted pixels satisfy the condition of the equation (3) (YES in S115), the
ステップS117において、抽出した画素のR色階調値SRが原稿の下地のR色階調値URの近傍であると判別した場合(S117でYES)、CPU2は、抽出した画素のRGB各色の階調値SR、SG、およびSBの各々を、原稿の下地のRGB各色の階調値UR、UG、およびUBの各々に置き換え(S119)、ステップS151の処理へ進む。
In step S117, when it is determined that the R color gradation value SR of the extracted pixel is in the vicinity of the R color gradation value UR of the background of the document (YES in S117), the
ステップS113において、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たさないと判別した場合(S113でNO)、ステップS115において、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たさないと判別した場合(S115でNO)、またはステップS117において、抽出した画素のR色階調値SRが原稿の下地のR色階調値URの近傍でないと判別した場合(S117でNO)、CPU2は置き換えを行わずにステップS151の処理へ進む。
In step S113, when it is determined that the saturation CFA of the background of the document, the saturation CFB of the R color, and the saturation CF of the extracted pixel do not satisfy the relationship of the equation (5) (NO in S113), in step S115. , When it is determined that the R color gradation value SR, the G color gradation value SG, and the B color gradation value SB of the extracted pixels do not satisfy the condition of the equation (3) (NO in S115), or in step S117. When it is determined that the R color gradation value SR of the extracted pixel is not in the vicinity of the R color gradation value UR of the base of the document (NO in S117), the
ステップS151において、CPU2は、原稿内の全ての画素を抽出したか否かを判別する(S151)。
In step S151, the
ステップS151において、原稿内の全ての画素を抽出しないと判別した場合(S151でNO)、CPU2はステップS107の処理へ進む。
If it is determined in step S151 that all the pixels in the document are not extracted (NO in S151), the
ステップS151において、原稿内の全ての画素を抽出したと判別した場合(S151でYES)、CPU2は処理を終了する。
If it is determined in step S151 that all the pixels in the document have been extracted (YES in S151), the
図15を参照して、ステップS131において、CPU2は、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たすか否かを判別する(S131)。
With reference to FIG. 15, in step S131, the
ステップS131において、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たすと判別した場合(S131でYES)、CPU2は、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たすか否かを判別する(S133)。
In step S131, when it is determined that the saturation CFA of the background of the document, the saturation CFB of the R color, and the saturation CF of the extracted pixels satisfy the relationship of the equation (5) (YES in S131), the
ステップS133において、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たすと判別した場合(S133でYES)、CPU2は、抽出した画素のR色階調値SRが検出値の最大値であるか否かを判別する(S135)。
When it is determined in step S133 that the R color gradation value SR, the G color gradation value SG, and the B color gradation value SB of the extracted pixels satisfy the condition of the equation (3) (YES in S133), the
ステップS135において、抽出した画素のR色階調値SRが検出値の最大値であると判別した場合(S135でYES)、CPU2は、抽出した画素のRGB各色の階調値SR、SG、およびSBの各々を、原稿の下地のRGB各色の階調値UR、UG、およびUBの各々に置き換え(S137)、図14のステップS151の処理へ進む。
When it is determined in step S135 that the R color gradation value SR of the extracted pixel is the maximum value of the detected value (YES in S135), the
ステップS131において、原稿の下地の彩度CFA、R色の彩度CFB、および抽出した画素の彩度CFが式(5)の関係を満たさないと判別した場合(S131でNO)、ステップS133において、抽出した画素のR色階調値SR、G色階調値SG、およびB色階調値SBが式(3)の条件を満たさないと判別した場合(S133でNO)、またはステップS135において、抽出した画素のR色階調値SRが検出値の最大値でないと判別した場合(S135でNO)、CPU2は置き換えを行わずに図14のステップS151の処理へ進む。
In step S131, when it is determined that the saturation CFA of the background of the document, the saturation CFB of the R color, and the saturation CF of the extracted pixels do not satisfy the relationship of the equation (5) (NO in S131), in step S133. , When it is determined that the R color gradation value SR, the G color gradation value SG, and the B color gradation value SB of the extracted pixels do not satisfy the condition of the equation (3) (NO in S133), or in step S135. When it is determined that the R color gradation value SR of the extracted pixel is not the maximum value of the detected value (NO in S135), the
[実施の形態の効果] [Effect of Embodiment]
本実施の形態によれば、熱消去性インクの消去痕の画像に特有の特徴に基づいて、熱消去性インクの消去痕の部分の画素が検出され、抽出された画素の階調値が下地の階調値に置き換えられる。これにより、赤外カットフィルタや3色のLEDを使用しなくても、熱消去性インクの消去痕の部分にR色が薄く再現される事態を回避することができ、製造コストの増加を抑止することができる。 According to the present embodiment, pixels in the erased marks of the heat-erasable ink are detected based on the characteristics peculiar to the image of the erased marks of the heat-erasable ink, and the gradation value of the extracted pixels is used as the base. Is replaced with the gradation value of. As a result, even if an infrared cut filter or a three-color LED is not used, it is possible to avoid a situation in which the R color is thinly reproduced in the erase mark portion of the heat-erasable ink, and an increase in manufacturing cost is suppressed. can do.
[その他] [Other]
熱消去性インクの消去痕の部分であるか否かの判断は、上述のように一画素単位で行われてもよいし、複数画素単位で行われてもよい。 The determination as to whether or not the portion is the erase mark portion of the heat-erasable ink may be performed in units of one pixel as described above, or may be performed in units of a plurality of pixels.
上述の実施の形態における処理は、ソフトウェアにより行っても、ハードウェア回路を用いて行ってもよい。また、上述の実施の形態における処理を実行するプログラムを提供することもできるし、そのプログラムをCD−ROM、フレキシブルディスク、ハードディスク、ROM、RAM、メモリカードなどの記録媒体に記録してユーザーに提供することにしてもよい。プログラムは、CPUなどのコンピューターにより実行される。また、プログラムはインターネットなどの通信回線を介して、装置にダウンロードするようにしてもよい。 The processing in the above-described embodiment may be performed by software or by using a hardware circuit. It is also possible to provide a program that executes the processing according to the above-described embodiment, and record the program on a recording medium such as a CD-ROM, a flexible disk, a hard disk, a ROM, a RAM, or a memory card and provide the program to the user. You may decide to do it. The program is executed by a computer such as a CPU. Further, the program may be downloaded to the device via a communication line such as the Internet.
上述の実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be considered that the above embodiments are exemplary in all respects and not restrictive. The scope of the present invention is shown by the scope of claims rather than the above description, and it is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
1 画像形成装置
2 CPU(Central Processing Unit)
3 ROM(Read Only Memory)
4 メモリ
5 HDD(Hard Disk Drive)
6 画像処理部
10 メインコントローラー
31 画像読取部(画像取得手段の一例)
31a 画像読取部の筐体
32 プリンターエンジン部
33 操作表示部(受付手段の一例)
34 通信部
35 音声処理部
36 音声入力部
37 音声出力部
38 排紙トレイ
41 駆動部
42 発光部
43 AD変換部(画像生成手段の一例)
61,63,64,65 ASIC(Application Specific Integrated Circuit)
62 インク部分補正処理部
100 メインコントローラー
310 ADF(Auto Document Feeder)
311 原稿トレイ
312 排紙トレイ
321 コンタクトガラス
321a,322a スリット
322 プラテンガラス
323 ワイヤー
324 スライダー
325 光源(照射手段の一例)
326,327 ミラー
328 モーター
329,330 レンズ
331,331B,331G,331R ラインセンサー(受光手段の一例)
621 下地階調値検出部(下地レベル検出手段の一例)
622 R(赤)色近傍判別部(レベル判別手段の一例)
623 R色最大値判別部(レベル判別手段の一例)
624 彩度検出部(彩度判別手段の一例)
625 色相判別部(色相判別手段の一例)
626 下地彩度検出部
627,631 選択部(置換手段の一例)
628 低彩度判別部
629 AND型回路
630 階調値置換部
FT 赤外カットフィルタ
IK 熱消去性インク
IN1,IN2,IN3 端子
KY1,KY2,KY3 キー
P1 原稿読取位置
SN 属性信号
1 Image forming
3 ROM (Read Only Memory)
4 Memory 5 HDD (Hard Disk Drive)
6
31a Image
34
61, 63, 64, 65 ASIC (Application Specific Integrated Circuit)
62 Ink partial
326,327
621 Base gradation value detection unit (example of base level detection means)
622 R (red) color neighborhood discrimination unit (example of level discrimination means)
623 R color maximum value discriminating unit (an example of level discriminating means)
624 Saturation detection unit (an example of saturation determination means)
625 Hue Discrimination Unit (Example of Hue Discrimination Means)
626 Base saturation detection unit 627,631 Selection unit (example of replacement means)
628 Low-
Claims (13)
前記赤緑青各色の画像データに基づいて、前記原稿の下地の赤緑青各色のレベルを検出する下地レベル検出手段と、
赤色の前記画像データに基づいて、前記原稿内の特定の位置の赤色のレベルが所定の値であるか否かを判別するレベル判別手段と、
前記赤緑青各色の画像データに基づいて、前記特定の位置の色相が赤色であるか否かを判別する色相判別手段と、
前記赤緑青各色の画像データに基づいて、前記特定の位置の彩度が所定の範囲内であるか否かを判別する彩度判別手段と、
前記特定の位置の赤色のレベルが前記所定の値であると前記レベル判別手段にて判別し、かつ前記特定の位置の色相が赤色であると前記色相判別手段にて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別手段にて判別した場合に、前記特定の位置の赤緑青各色のレベルを、前記下地の赤緑青各色のレベルに置き換える置換手段とを備えた、画像処理装置。 Image acquisition means for acquiring image data of each color of red, green, and blue of the manuscript,
A background level detecting means for detecting the level of each color of red, green, and blue of the background of the document based on the image data of each color of red, green, and blue.
A level determination means for determining whether or not the red level at a specific position in the document is a predetermined value based on the red image data, and
A hue determining means for determining whether or not the hue at the specific position is red based on the image data of each of the red, green, and blue colors, and
A saturation determination means for determining whether or not the saturation at the specific position is within a predetermined range based on the image data of each of the red, green, and blue colors.
The level determination means determines that the red level at the specific position is the predetermined value, and the hue determination means determines that the hue at the specific position is red, and the specific When the saturation determination means determines that the saturation of the position is within the predetermined range, the replacement means replaces the level of each color of red, green, and blue at the specific position with the level of each color of red, green, and blue of the base. An image processing device equipped with.
前記原稿に光を照射する照射手段と、
前記原稿から反射光を受光する受光手段と、
前記反射光に基づいて、前記赤緑青各色の画像データを生成する画像生成手段であって、前記反射光に含まれる赤色波長領域および赤外波長領域の光に基づいて、前記赤色の前記画像データを生成する画像生成手段とを含む、請求項1に記載の画像処理装置。 The image acquisition means
Irradiation means for irradiating the document with light,
A light receiving means that receives reflected light from the document and
An image generation means for generating image data of each color of red, green, and blue based on the reflected light, and the red image data based on light in a red wavelength region and an infrared wavelength region included in the reflected light. The image processing apparatus according to claim 1, further comprising an image generating means for generating the image.
前記置換手段は、前記特定の位置の赤色のレベルが前記下地の赤色のレベルの近傍であると前記レベル判別手段にて判別し、かつ前記特定の位置の赤色のレベルが前記下地の赤色のレベルの近傍であると前記色相判別手段にて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別手段にて判別した場合に、前記赤緑青各色の画像データにおける前記特定の位置の赤緑青各色のレベルを、前記下地の位置の赤緑青各色のレベルに置き換える、請求項1または2に記載の画像処理装置。 The level determining means determines whether or not the red level at the specific position is in the vicinity of the red level of the base.
The replacement means determines by the level determining means that the red level at the specific position is close to the red level of the base, and the red level at the specific position is the red level of the base. Image data of each color of red, green, and blue when the hue discriminating means determines that the area is in the vicinity of, and the saturation discriminating means determines that the saturation of the specific position is within the predetermined range. The image processing apparatus according to claim 1 or 2, wherein the level of each color of red, green, and blue at the specific position in the above is replaced with the level of each color of red, green, and blue at the position of the base.
前記置換手段は、前記特定の位置の赤色のレベルが検出値の最大レベルであると前記レベル判別手段にて判別し、かつ前記特定の位置の赤色のレベルが前記下地の赤色のレベルの近傍であると前記色相判別手段にて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別手段にて判別した場合に、前記赤緑青各色の画像データにおける前記特定の位置の赤緑青各色のレベルを、前記下地の位置の赤緑青各色のレベルに置き換える、請求項1または2に記載の画像処理装置。 The level determining means determines whether or not the red level at the specific position is the maximum level of the detected value.
The replacement means determines by the level determining means that the red level at the specific position is the maximum level of the detected value, and the red level at the specific position is in the vicinity of the red level of the base. When the hue determination means determines that there is, and the saturation determination means determines that the saturation at the specific position is within the predetermined range, the identification in the image data of each color of red, green, and blue. The image processing apparatus according to claim 1 or 2, wherein the level of each color of red, green, and blue at the position of is replaced with the level of each color of red, green, and blue at the position of the base.
前記特定の位置の赤色のレベルが前記下地の赤色のレベルの近傍であるか否かを判別する第1の判別手段と、
前記特定の位置の赤色のレベルが検出値の最大レベルであるか否かを判別する第2の判別手段と、
第1および第2の判別手段のうちいずれか一方を選択する選択手段とを含み、
前記置換手段は、前記選択手段にて第1のレベル判別手段を選択した場合において、前記特定の位置の赤色のレベルが前記下地の赤色のレベルの近傍であると前記第1のレベル判別手段にて判別し、かつ前記特定の位置の色相が赤色であると前記色相判別手段にて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別手段にて判別したときは、前記特定の位置の赤緑青各色のレベルを、前記下地の位置の赤緑青各色のレベルに置き換え、
前記置換手段は、前記選択手段にて第2のレベル判別手段を選択した場合において、前記特定の位置の赤色のレベルが検出値の最大レベルであると前記第2のレベル判別手段にて判別し、かつ前記特定の位置の色相が赤色であると前記色相判別手段にて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別手段にて判別したときは、前記赤緑青各色の画像データにおける前記特定の位置の赤緑青各色のレベルを、前記下地の位置の赤緑青各色のレベルに置き換える、請求項1または2に記載の画像処理装置。 The level determination means
A first determining means for determining whether or not the red level at the specific position is in the vicinity of the red level of the base.
A second determination means for determining whether or not the red level at the specific position is the maximum level of the detected value, and
Including a selection means for selecting one of the first and second determination means,
When the first level discriminating means is selected by the selecting means, the replacement means tells the first level discriminating means that the red level at the specific position is close to the red level of the base. The hue determination means determines that the hue at the specific position is red, and the saturation determination means determines that the saturation at the specific position is within the predetermined range. When this is done, the level of each red, green, and blue color at the specific position is replaced with the level of each color of red, green, and blue at the base position.
When the second level determination means is selected by the selection means, the replacement means determines that the red level at the specific position is the maximum level of the detected value by the second level determination means. When the hue determination means determines that the hue at the specific position is red and the saturation determination means determines that the saturation at the specific position is within the predetermined range. The image processing apparatus according to claim 1 or 2, wherein the level of each color of red, green, and blue at the specific position in the image data of each color of red, green, and blue is replaced with the level of each color of red, green, and blue at the base position.
前記選択手段は、前記受付手段にて受け付けた設定に基づいて選択を行う、請求項6に記載の画像処理装置。 Further provided with a reception means for accepting input for setting the type of ink contained in the manuscript,
The image processing apparatus according to claim 6, wherein the selection means makes a selection based on the settings received by the reception means.
前記赤緑青各色の画像データに基づいて、前記原稿の画像内の明度の分布を示すヒストグラムを作成するヒストグラム作成手段と、
前記ヒストグラムにおいてピークとなる明度を有する前記原稿内の位置の赤緑青各色のレベルを前記赤緑青各色の画像データから抽出し、抽出した赤緑青各色のレベルを前記下地の赤緑青各色のレベルとして検出するレベル抽出手段とを含む、請求項1〜7のいずれかに記載の画像処理装置。 The ground level detecting means is
A histogram creating means for creating a histogram showing the distribution of brightness in the image of the manuscript based on the image data of each color of red, green, and blue.
The level of each red, green, and blue color at the position in the document having the peak brightness in the histogram is extracted from the image data of each of the red, green, and blue colors, and the level of each extracted red, green, and blue color is detected as the level of each red, green, and blue color of the background. The image processing apparatus according to any one of claims 1 to 7, further comprising a level extraction means for
前記赤緑青各色の画像データに基づいて、前記原稿の下地の赤緑青各色のレベルを検出する下地レベル検出ステップと、
赤色の前記画像データに基づいて、前記原稿内の特定の位置の赤色のレベルが所定の値であるか否かを判別するレベル判別ステップと、
前記赤緑青各色の画像データに基づいて、前記特定の位置の色相が赤色であるか否かを判別する色相判別ステップと、
前記赤緑青各色の画像データに基づいて、前記特定の位置の彩度が所定の範囲内であるか否かを判別する彩度判別ステップと、
前記特定の位置の赤色のレベルが前記所定の値であると前記レベル判別ステップにて判別し、かつ前記特定の位置の色相が赤色であると前記色相判別ステップにて判別し、かつ前記特定の位置の彩度が前記所定の範囲内であると前記彩度判別ステップにて判別した場合に、前記特定の位置の赤緑青各色のレベルを、前記下地の赤緑青各色のレベルに置き換える置換ステップとをコンピューターに実行させるための、画像処理装置の制御プログラム。 The image acquisition step to acquire the image data of each color of red, green, and blue of the manuscript,
A background level detection step for detecting the level of each color of red, green, and blue of the background of the document based on the image data of each color of red, green, and blue.
A level determination step for determining whether or not the red level at a specific position in the document is a predetermined value based on the red image data, and
A hue determination step for determining whether or not the hue at the specific position is red based on the image data of each of the red, green, and blue colors, and
A saturation determination step for determining whether or not the saturation at the specific position is within a predetermined range based on the image data of each color of red, green, and blue.
The level determination step determines that the red level at the specific position is the predetermined value, and the hue determination step determines that the hue at the specific position is red, and the specific When the saturation determination step determines that the saturation of the position is within the predetermined range, the replacement step of replacing the level of each red, green, and blue color at the specific position with the level of each red, green, and blue color of the base. A control program for an image processing device that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019076223A JP7159958B2 (en) | 2019-04-12 | 2019-04-12 | Image processing device and image processing device control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019076223A JP7159958B2 (en) | 2019-04-12 | 2019-04-12 | Image processing device and image processing device control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020174315A true JP2020174315A (en) | 2020-10-22 |
JP7159958B2 JP7159958B2 (en) | 2022-10-25 |
Family
ID=72831879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019076223A Active JP7159958B2 (en) | 2019-04-12 | 2019-04-12 | Image processing device and image processing device control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7159958B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308163A (en) * | 2002-04-15 | 2003-10-31 | Hitachi Ltd | Electronic pen with erasure function |
JP2004247789A (en) * | 2003-02-10 | 2004-09-02 | Konica Minolta Holdings Inc | Image reading processing apparatus, image reading processing method, and recording medium |
JP2005244504A (en) * | 2004-02-25 | 2005-09-08 | Ricoh Co Ltd | Image reading device and image forming apparatus |
JP2006148866A (en) * | 2004-10-20 | 2006-06-08 | Toshiba Corp | Image forming apparatus and image forming method |
JP2013058933A (en) * | 2011-09-08 | 2013-03-28 | Konica Minolta Business Technologies Inc | Image formation device, image formation method, and control program of image formation device |
-
2019
- 2019-04-12 JP JP2019076223A patent/JP7159958B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308163A (en) * | 2002-04-15 | 2003-10-31 | Hitachi Ltd | Electronic pen with erasure function |
JP2004247789A (en) * | 2003-02-10 | 2004-09-02 | Konica Minolta Holdings Inc | Image reading processing apparatus, image reading processing method, and recording medium |
JP2005244504A (en) * | 2004-02-25 | 2005-09-08 | Ricoh Co Ltd | Image reading device and image forming apparatus |
JP2006148866A (en) * | 2004-10-20 | 2006-06-08 | Toshiba Corp | Image forming apparatus and image forming method |
JP2013058933A (en) * | 2011-09-08 | 2013-03-28 | Konica Minolta Business Technologies Inc | Image formation device, image formation method, and control program of image formation device |
Also Published As
Publication number | Publication date |
---|---|
JP7159958B2 (en) | 2022-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10827101B2 (en) | Color inspection device to correct color readings of a color detection object using correction coefficients | |
CN1905614A (en) | Image processing apparatus and method therefor | |
JP5180551B2 (en) | Printing apparatus and control method thereof, and color processing apparatus and method thereof | |
JP2006238408A (en) | Image forming apparatus and calibration reference chart | |
US8373896B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
JP2011024135A (en) | Image reader, image formation device, and program | |
JP7468176B2 (en) | Image processing device and image reading method | |
US11323579B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP5531745B2 (en) | Image forming apparatus | |
JP4556242B2 (en) | Color tone correction method, color tone correction apparatus, image forming apparatus, and program | |
JP2011023833A (en) | Image reader, image formation device, and program | |
JP2003032504A (en) | Image forming device | |
JP2022137425A (en) | Image reading device and image forming apparatus | |
JP2013070173A (en) | Image reading device, image forming device, and program | |
JP7159958B2 (en) | Image processing device and image processing device control program | |
JP2008301114A (en) | Image processor | |
JP2006224538A (en) | Image forming apparatus and its control method | |
US20220150382A1 (en) | Image forming apparatus, non-transitory computer readable recording medium storing color correction control program, and color correction control method in image forming apparatus | |
JP5020777B2 (en) | Image processing apparatus, image processing method, and program | |
JP7314733B2 (en) | Color conversion table correction device, color conversion table correction program, and color conversion table correction method | |
JP2022128248A (en) | Image reading device and image forming apparatus | |
US10178280B2 (en) | Paper type dependent automatic background suppression | |
JPH10322568A (en) | Image forming device | |
JP2021022885A (en) | Reading device, image forming apparatus, and correction method | |
JP2009225308A (en) | Image processing apparatus and image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211224 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220829 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220913 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220926 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7159958 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |