JP2016116135A - Image processing apparatus, method, and program - Google Patents

Image processing apparatus, method, and program Download PDF

Info

Publication number
JP2016116135A
JP2016116135A JP2014254589A JP2014254589A JP2016116135A JP 2016116135 A JP2016116135 A JP 2016116135A JP 2014254589 A JP2014254589 A JP 2014254589A JP 2014254589 A JP2014254589 A JP 2014254589A JP 2016116135 A JP2016116135 A JP 2016116135A
Authority
JP
Japan
Prior art keywords
pixel
resolution
data
input image
character
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
JP2014254589A
Other languages
Japanese (ja)
Inventor
祐也 伊藤
Yuya Ito
祐也 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2014254589A priority Critical patent/JP2016116135A/en
Publication of JP2016116135A publication Critical patent/JP2016116135A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent false recognition of thick lines in characters as pattern parts to reduce consumption of toner.SOLUTION: An image processing apparatus includes a down-sampling circuit 21 that converts input image data into low-resolution data having a lower resolution than the resolution of the input image data, and a character/pattern determination circuit 22 that determines attribute information on pixels in the low-resolution data. The character/pattern determination circuit 22 determines the attribute information on the pixels of the low-resolution data and reflects the determined attribute information on the input image data.SELECTED DRAWING: Figure 2

Description

本発明は、画像処理装置、方法及びプログラムに関し、特に、トナー消費量削減に関する。   The present invention relates to an image processing apparatus, method, and program, and more particularly, to toner consumption reduction.

従来、複写機の技術分野では、読み取った画像の内、文字は高解像度に、絵柄は高階調に表現することが望まれており、また、黒文字においては単色で出力することがトナー消費量の点でも望まれる。これを実現するためには、文字部と絵柄部で別々の処理を施すことが有効であり、そのための文字部と絵柄部とを判別する技術が知られている。   Conventionally, in the technical field of copying machines, it has been desired to express characters with high resolution and images with high gradation in the scanned image. Also desirable in terms. In order to realize this, it is effective to perform separate processing for the character part and the picture part, and a technique for distinguishing the character part and the picture part for that purpose is known.

注目画素が文字部か絵柄部かを判別する技術として、注目画素と、検出した文字エッジとが所定のマスクに含まれているのであれば、注目画素を文字部と判別をするものがある(例えば、特許文献1)。また、黒画素であると判断される画素が連続する数をカウントして、カウント結果に応じて注目箇所が文字部であると判断するものがある(例えば、特許文献2)。   As a technique for discriminating whether a pixel of interest is a character portion or a picture portion, if the pixel of interest and a detected character edge are included in a predetermined mask, there is a technique for determining a pixel of interest as a character portion ( For example, Patent Document 1). In addition, there is a technique that counts the number of consecutive pixels that are determined to be black pixels, and determines that a point of interest is a character portion according to the count result (for example, Patent Document 2).

しかしながら、特許文献1に開示の技術であっても、太い文字のように文字を形成する線自体が太い場合、文字エッジと文字内の注目画素(線の中央部など。以下、「文字中(もじなか)と呼ぶ場合がある。)との距離(画素数)が遠くなってマスクに含まれなくなり、文字内の画素を絵柄部と誤認識することがある。その結果として、黒文字であっても文字内の注目画素をCMYKの4色で処理してしまい、結果として低画質、かつトナー消費量が多くなるという問題がある。特許文献2に開示の技術においても同様の問題がある。   However, even with the technique disclosed in Patent Document 1, when the line forming the character itself is thick like a thick character, the character edge and the pixel of interest in the character (such as the center of the line. May not be included in the mask, and the pixels in the character may be misrecognized as a picture part. However, there is a problem that the target pixel in the character is processed with four colors of CMYK, resulting in low image quality and a large amount of toner consumption.

本発明は、上記実情に鑑みてなされたものであって、文字中を絵柄部と誤認識することを防止し、トナー消費量を削減することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to prevent erroneous recognition of the inside of a character as a picture portion and to reduce toner consumption.

上記目的を達成するために本発明は、入力画像データを、該入力画像データの解像度より低解像度な低解像度データに変換する低解像度変換手段と、前記低解像度データにおける各画素の属性情報を判別する属性判別手段と、を備え、前記属性判別手段は、前記低解像度データの各画素における属性情報を判別し、判別した前記属性情報を前記入力画像データに反映させることを特徴とする。   To achieve the above object, the present invention discriminates attribute information of each pixel in the low resolution data, low resolution conversion means for converting the input image data into low resolution data having a resolution lower than the resolution of the input image data. Attribute determination means for determining the attribute information of each pixel of the low-resolution data, and reflecting the determined attribute information in the input image data.

本発明によれば、文字中を絵柄部と誤認識することを防止し、トナー消費量を削減することが可能となる。   According to the present invention, it is possible to prevent a character from being erroneously recognized as a picture part, and to reduce toner consumption.

実施形態1の画像形成装置1の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an image forming apparatus 1 according to a first embodiment. 図1の文字・絵柄分離回路20の構成を示すブロック図である。It is a block diagram which shows the structure of the character and picture separation circuit 20 of FIG. 図2の文字・絵柄判定回路22の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a character / picture determination circuit 22 in FIG. 2. 実施形態1におけるエッジ検出フィルタの例を示す図である。6 is a diagram illustrating an example of an edge detection filter in Embodiment 1. FIG. 実施形態1におけるダウンサンプリングの効果を説明するための図である。It is a figure for demonstrating the effect of the downsampling in Embodiment 1. FIG. 実施形態2における多段階制御マスクの例を示す図である。It is a figure which shows the example of the multistage control mask in Embodiment 2. FIG. 実施形態3の文字・絵柄分離回路20の構成を示すブロック図である。It is a block diagram which shows the structure of the character and picture separation circuit 20 of Embodiment 3. FIG. 実施形態4の文字・絵柄分離回路20の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a character / picture separation circuit 20 according to a fourth embodiment. 実施形態5の文字・絵柄分離回路20の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a character / picture separation circuit 20 according to a fifth embodiment. 実施形態6のダウンサンプリング回路21の構成を示すブロック図である。It is a block diagram which shows the structure of the downsampling circuit 21 of Embodiment 6.

以下に説明する実施形態は、画像の文字部、絵柄部を判別する処理において、入力された画像に対して解像度変換を行い、縮小した画像に対してエッジ判定、黒画素判定を行うことに特徴がある。以下、この特徴を中心に、図面を参照しながら詳細に解説する。   The embodiment described below is characterized by performing resolution conversion on an input image and performing edge determination and black pixel determination on a reduced image in the process of determining the character part and the pattern part of the image. There is. Hereinafter, this feature will be described in detail with reference to the drawings.

<実施形態1>
図1に、本実施形態に係る画像形成装置1の概略構成を示す。画像形成装置1は、複写機としての機能を提供することができ、図示のように、画像読取部10と、第1の画像処理部11と、第2の画像処理部12と、画像出力部13と、文字・絵柄分離回路20とを有する。
<Embodiment 1>
FIG. 1 shows a schematic configuration of an image forming apparatus 1 according to the present embodiment. The image forming apparatus 1 can provide a function as a copying machine, and as illustrated, an image reading unit 10, a first image processing unit 11, a second image processing unit 12, and an image output unit. 13 and a character / picture separation circuit 20.

画像読取部10は、スキャナ等で読み取ったカラー画像を出力する機能を持つ。文字・絵柄分離回路20は、画像読取部10を用いて読み取った画像に対して、文字領域と絵柄領域を分離する機能を持っており、その判定結果を制御信号として出力する。なお、文字・絵柄分離回路20が画像処理を行う対象は、画像読取部10を用いて読み取った画像に限定されない。   The image reading unit 10 has a function of outputting a color image read by a scanner or the like. The character / picture separation circuit 20 has a function of separating a character area and a picture area from an image read by the image reading unit 10 and outputs the determination result as a control signal. The object on which the character / picture separation circuit 20 performs image processing is not limited to an image read using the image reading unit 10.

第1の画像処理部11は、文字・絵柄分離回路20の処理と平行して行い、文字・絵柄分離回路20の出力結果に依存しない処理を行う画像処理を行う。第2の画像処理部12は、第1の画像処理部11によって得られた出力画像に対し、文字・絵柄分離回路20から出力される制御信号に応じて画像処理、例えばフィルタ処理を行う。   The first image processing unit 11 performs image processing that is performed in parallel with the processing of the character / picture separation circuit 20 and performs processing that does not depend on the output result of the character / picture separation circuit 20. The second image processing unit 12 performs image processing, for example, filter processing, on the output image obtained by the first image processing unit 11 in accordance with a control signal output from the character / picture separation circuit 20.

本実施形態において第2の画像処理部12が行う画像処理としては、文字・絵柄分離回路20において「黒文字」と判断された画素に対して墨黒を発生させる画像処理がある。文字・絵柄分離回路20からは、黒文字の画素毎にK信号の濃淡が指定された制御信号が出力される。第2の画像処理部12は、この制御信号に応じて、第1の画像処理部11の出力画像における黒文字画素と判断された画素に墨黒を発生させる。この画像処理により、後段の画像出力部13における画像出力処理において、高品位な出力画像を得ることができる。と同時に、無駄にカラートナーを消費することがないのでトナー消費量削減になる。なお、色文字に関しても、黒文字と同様の処理を行い、上記効果が得られる。   Image processing performed by the second image processing unit 12 in the present embodiment includes image processing that generates black and black for pixels that are determined to be “black characters” in the character / picture separation circuit 20. The character / picture separation circuit 20 outputs a control signal in which the density of the K signal is designated for each pixel of black characters. In response to the control signal, the second image processing unit 12 generates black ink on pixels determined to be black character pixels in the output image of the first image processing unit 11. By this image processing, a high-quality output image can be obtained in the image output processing in the image output unit 13 at the subsequent stage. At the same time, color toner is not wasted, so the toner consumption is reduced. Note that the same effect is obtained with respect to the color character by performing the same processing as that for the black character.

画像出力部13は、第2の画像処理部12による画像処理が行われた出力画像に基づいて、画像形成を行い形成した画像を出力する。出力の具体的態様は、本実施形態においては、トナーを用いた電子写真方式によるものとする。   The image output unit 13 forms an image based on the output image on which the image processing by the second image processing unit 12 has been performed, and outputs the formed image. In this embodiment, the specific mode of output is based on an electrophotographic system using toner.

図2は、図1の文字・絵柄分離回路20の構成を説明するための図である。図2に示すように、文字・絵柄分離回路20は、ダウンサンプリング回路21、文字・絵柄判定回路22、多段階制御信号生成回路23を有する構成である。   FIG. 2 is a diagram for explaining the configuration of the character / picture separation circuit 20 of FIG. As shown in FIG. 2, the character / picture separation circuit 20 includes a downsampling circuit 21, a character / picture determination circuit 22, and a multistage control signal generation circuit 23.

ダウンサンプリング回路21は、入力画像データに対して画像サイズを縮小する機能を持つ。ダウンサンプリング回路21の画像縮小率は、例えば閾値を複数用意し、画像の解像度に応じて切り替えることができる。   The downsampling circuit 21 has a function of reducing the image size with respect to input image data. The image reduction rate of the downsampling circuit 21 can be switched according to the resolution of the image, for example, by preparing a plurality of threshold values.

文字・絵柄判定回路22は、各画素の属性情報(黒文字、色文字、絵柄など)を判定し、画像中の文字部と絵柄部を判定する機能を有しており、図3のような構成となっている。   The character / picture determination circuit 22 has a function of determining attribute information (black character, color character, pattern, etc.) of each pixel and determining a character part and a picture part in the image. It has become.

図3のエッジ検出回路221は、ダウンサンプリング回路21によって得られた低解像度画像に対し、エッジ検出フィルタ回路を適用し、得られた信号をエッジ量とする。エッジ検出回路221は、このエッジ量を所定の閾値によって複数に分ける機能を持つ。閾値を1つしか用いない場合はエッジ画素、非エッジ画素の2種類に分けることであり、それ以上の数の閾値を用いる場合は、エッジ量の値に応じて画素を分類することとなる。エッジ検出フィルタ回路には、例として図4に示すラプラシアンフィルタを用いる。これにより、画像のエッジに相当する画素位置のレスポンスが高く出力される。   The edge detection circuit 221 in FIG. 3 applies an edge detection filter circuit to the low-resolution image obtained by the downsampling circuit 21, and uses the obtained signal as an edge amount. The edge detection circuit 221 has a function of dividing the edge amount into a plurality of values by a predetermined threshold. When only one threshold value is used, it is divided into two types of edge pixels and non-edge pixels. When a larger number of threshold values is used, the pixels are classified according to the value of the edge amount. As an example, a Laplacian filter shown in FIG. 4 is used for the edge detection filter circuit. Thereby, the response of the pixel position corresponding to the edge of the image is output high.

図3の黒画素検出回路222は、ダウンサンプリング回路21によって得られた低解像度画像に対し、所定の閾値で分割する機能を持つ。閾値を1つしか用いない場合は黒画素、非黒画素の2種類に分けることであり、それ以上の閾値を用いる場合は、黒の度合いに応じて画素を分類することとなる。   The black pixel detection circuit 222 in FIG. 3 has a function of dividing the low resolution image obtained by the downsampling circuit 21 with a predetermined threshold. When only one threshold value is used, it is divided into two types of black pixels and non-black pixels. When a threshold value higher than that is used, the pixels are classified according to the degree of black.

入力画像データは、一例としてCCD素子等を用いたスキャナから読み取ったデータであり、画像を読み取ってA/D変換した後、各画素8bitのデータである。また、入力画像データはカラー信号(RGB)を考えているが、モノクロ画像や、G信号を代表として使用しても良い。   The input image data is, for example, data read from a scanner using a CCD element or the like, and is data of 8 bits for each pixel after the image is read and A / D converted. Further, although the input image data is assumed to be a color signal (RGB), a monochrome image or a G signal may be used as a representative.

上述のような構成を備える文字・絵柄判定回路22は、例えば5×5のマスクを用いて、マスク内にエッジ画素が1つでも存在し、かつ注目画素が黒画素であった場合に、注目画素を文字として判定する機能を持つ。しかしながら、ダウンサンプリング回路21による処理を行わずに各画素の属性を判定した場合は、以下に述べるような誤判定が起きる場合がある。   The character / picture determination circuit 22 having the above-described configuration uses a 5 × 5 mask, for example, and if there is at least one edge pixel in the mask and the target pixel is a black pixel, It has a function of judging pixels as characters. However, when the attribute of each pixel is determined without performing the processing by the downsampling circuit 21, an erroneous determination as described below may occur.

図5は、カタカナの「ニ」をダウンサンプリングにより1/3に縮小した図である。図示された例では、縮小前は上辺と下辺の文字エッジの距離が30画素あるため、文字の中心の方は5×5のマスクでは文字エッジにかからないため、文字判定することができない。しかし、ダウンサンプリングを行うことで上辺と下辺の文字エッジの距離が10画素となれば、文字の中心部においてもマスクに文字エッジがかかるため文字判定することができるようになる。   FIG. 5 is a diagram in which Katakana “d” is reduced to 1/3 by downsampling. In the illustrated example, since the distance between the upper and lower character edges is 30 pixels before reduction, the character cannot be determined because the center of the character does not cover the character edge with a 5 × 5 mask. However, if the distance between the upper and lower character edges is 10 pixels by performing the downsampling, the character can be determined because the mask has a character edge even at the center of the character.

文字・絵柄判定回路22による判定が画素毎に行われた結果を受けて、図2の多段階制御信号生成回路23が出力する制御信号は、黒文字、色文字、絵柄のいずれかの判別結果であり画素毎に存在する。この制御信号は、ダウンサンプリングを行った画像で生成するため、元の解像度においても対応させるためにダウンサンプリング後の画素1つに対して複数の画素を同じ制御信号とする。例えば、画像サイズを主副50%にダウンサンプリングすることを考えると、ダウンサンプリング後のある1画素に対して生成した制御信号は、第1の画像処理部11によって出力された画像において当該1画素に対応する4画素に対して生成されたものとする。   The multi-stage control signal generation circuit 23 shown in FIG. 2 receives the result of the determination by the character / design determination circuit 22 for each pixel, and the control signal output from the determination result of black character, color character, or design. Present for each pixel. Since this control signal is generated from an image that has been down-sampled, a plurality of pixels are set to the same control signal for one pixel after down-sampling in order to cope with the original resolution. For example, considering that the image size is down-sampled to 50% main and sub, the control signal generated for one pixel after down-sampling is the one pixel in the image output by the first image processing unit 11. Are generated for four pixels corresponding to.

絵柄と判定された場合については、多段階制御信号生成回路23はスルーしてそのまま出力する。すなわち、ダウンサンプリング後の画素であって、文字・絵柄判定回路22により絵柄と判定された画素については、多段階制御信号生成回路23による制御信号の生成を行わない。   In the case where the pattern is determined, the multistage control signal generation circuit 23 passes through and outputs it as it is. In other words, the control signal generation circuit 23 does not generate a control signal for a pixel after downsampling that has been determined to be a pattern by the character / picture determination circuit 22.

一方で、黒文字であると判定された画素については、多段階制御信号生成回路23が、「黒文字多段階制御」という注目画素の周囲の画素の属性情報に応じて多段階に画素のデータを変更する処理を行う。なお、色文字に関しても、黒文字と判定された画素に対して行う処理と同様の処理を行う。   On the other hand, for a pixel determined to be a black character, the multistage control signal generation circuit 23 changes the pixel data in multiple stages according to the attribute information of the pixels around the pixel of interest, which is “black character multistage control”. Perform the process. For color characters, the same processing as that performed for pixels determined to be black characters is performed.

黒文字多段階制御について説明する。多段階制御信号生成回路23は、注目画素とエッジ画素との間の画素数に応じて注目画素のK信号の割合を変える機能を持つ。例として、5×5のマスクを考えた場合、注目画素が黒文字かつエッジ画素(注目画素とエッジ画素との間の画素数が0)のとき、K信号の割合を10割とし、注目画素が黒文字で、注目画素とエッジ画素との間の画素数が2となったときは、K信号の割合を6割とするような処理を行う。   The black character multi-stage control will be described. The multistage control signal generation circuit 23 has a function of changing the ratio of the K signal of the target pixel in accordance with the number of pixels between the target pixel and the edge pixel. As an example, when a 5 × 5 mask is considered, when the target pixel is a black character and an edge pixel (the number of pixels between the target pixel and the edge pixel is 0), the ratio of the K signal is set to 100%, When the number of pixels between the target pixel and the edge pixel is 2 for black characters, processing is performed so that the ratio of the K signal is 60%.

なお、注目画素とエッジ画素との間の画素数は、注目画素から最も近いところにある黒文字エッジ画素との間にある画素の数(当該エッジ画素自身を含む)を数えることとする。   Note that the number of pixels between the target pixel and the edge pixel is the number of pixels (including the edge pixel itself) between the black character edge pixel closest to the target pixel.

上述した黒文字多段階制御を行うことで、文字エッジから文字中方向に向かって段階的に墨率が低くなり、文字判定結果と絵柄判定結果が大きく異なっている場合においても見た目の違和感を低減すると同時にトナー消費量を抑えることができる。   By performing the above-described black character multi-stage control, the black rate gradually decreases from the character edge toward the middle of the character, and even when the character determination result and the pattern determination result are greatly different, the visual discomfort is reduced. At the same time, toner consumption can be reduced.

また、本実施形態は、入力された画像に対して解像度変換を行い、縮小した画像に対してエッジ判定、黒画素判定を行うことで太い文字に対しても文字のエッジと内部の距離が近くなり、精度よく文字中を文字と判定できるので、本実施形態によれば、従来技術と比較してトナーの消費量を削減することができる。また、黒文字にCMYの信号が混入するのを防ぐため、従来技術と比較して高品質な画像を作成することができる。   In addition, the present embodiment performs resolution conversion on the input image, and performs edge determination and black pixel determination on the reduced image, so that the distance between the edge of the character and the inside is close even for a thick character. Thus, since the character can be accurately determined as a character, according to the present embodiment, it is possible to reduce the amount of toner consumed as compared with the conventional technology. In addition, in order to prevent CMY signals from being mixed into black characters, it is possible to create a high-quality image as compared with the prior art.

<実施形態2>
次に、多段階制御信号生成回路23における多段階制御信号の生成方法の別の手段を説明する。本実施形態は、黒文字であると判定された画素に対して行う黒文字多段階制御の内容が、実施形態1と一部異なる。
<Embodiment 2>
Next, another means of the multistage control signal generation method in the multistage control signal generation circuit 23 will be described. The present embodiment is partially different from the first embodiment in the contents of black character multi-stage control performed on pixels determined to be black characters.

本実施形態では、黒文字多段階制御において、図6に示すようなマスクを用いる。図6は5×5のサイズのマスクを用いている。実施形態1では、注目画素と黒文字エッジとの間の画素数(図6に図示のケースでは2)に応じてK信号の割合を制御したが、本実施形態ではさらに加えてマスク内の黒画素の数に注目する。   In the present embodiment, a mask as shown in FIG. 6 is used in the black character multi-stage control. FIG. 6 uses a 5 × 5 size mask. In the first embodiment, the ratio of the K signal is controlled according to the number of pixels between the target pixel and the black character edge (2 in the case illustrated in FIG. 6). However, in the present embodiment, the black pixels in the mask are further added. Note the number of

マスク内に存在する黒画素をカウントし、(この場合は10)カウント値が大きければK信号の割合を増やし、小さければK信号の割合を減らす。注目画素とエッジ画素との間の画素数に応じてK信号の割合を制御し、且つ、黒画素の数に応じてK信号の割合を制御することで、K信号の割合をより最適なものに調節することができるようになる。   The black pixels existing in the mask are counted, and (in this case, 10) the ratio of the K signal is increased if the count value is large, and the ratio of the K signal is decreased if the count value is small. By controlling the ratio of the K signal according to the number of pixels between the target pixel and the edge pixel and controlling the ratio of the K signal according to the number of black pixels, the ratio of the K signal can be optimized. You will be able to adjust to.

例として、黒文字エッジとの間の画素数が1だが、マスク内に存在する黒画素の数が3となるような場合では、黒文字エッジとの距離は近いが黒画素の数は少ないため、注目画素が黒画素であるという蓋然性が低いと考えられる。そういった場合にはK信号の割合を少なくするような制御を行う。   As an example, in the case where the number of pixels between the black character edge is 1 but the number of black pixels existing in the mask is 3, the distance from the black character edge is close, but the number of black pixels is small. It is considered that the probability that the pixel is a black pixel is low. In such a case, control is performed to reduce the ratio of the K signal.

また、図3のエッジ検出回路、黒画素検出回路222が複数の閾値を持つ場合はさらに細かくK信号の割合を制御することができる。例として、黒文字エッジ量を4つの閾値を用いて5段階に画素を分けた場合、注目画素とエッジ画素の間の画素数が同じであってもエッジ量が2(エッジ量が小さい)とエッジ量が4(エッジ量が大きい)では、エッジ量が4のときのほうが、2のときのものよりも、注目画素のK信号の割合が増えるようにする。   Further, when the edge detection circuit and the black pixel detection circuit 222 in FIG. 3 have a plurality of threshold values, the ratio of the K signal can be controlled more finely. As an example, if the black character edge amount is divided into five stages using four thresholds, the edge amount is 2 (the edge amount is small) and the edge even if the number of pixels between the target pixel and the edge pixel is the same. When the amount is 4 (the edge amount is large), the ratio of the K signal of the target pixel is increased when the edge amount is 4 than when the edge amount is 2.

<実施形態3>
本実施形態においては、文字・絵柄分離回路20の構成を、図7に示す構成とする。図示のように、文字・絵柄判定回路22a、多段階制御信号生成回路23a、及び、セレクタ26を備える点が、図2に示す実施形態1の構成と異なる。なお、図7上段のダウンサンプリング回路21、文字・絵柄判定回路22、多段階制御信号生成回路23は、図2と同様の処理を行う。
<Embodiment 3>
In the present embodiment, the structure of the character / picture separation circuit 20 is as shown in FIG. As shown in the figure, the configuration is different from the configuration of the first embodiment shown in FIG. The downsampling circuit 21, the character / picture determination circuit 22 and the multistage control signal generation circuit 23 in the upper stage of FIG. 7 perform the same processing as in FIG.

図7下段は、入力画像データを縮小せず、上段と同様の処理を行う。本実施形態の構成は、細文字の場合はダウンサンプリングをすることによって文字が消えてしまう問題が生じる可能性があるため、ダウンサンプリングを行わない回路を追加するものである。   The lower part of FIG. 7 performs the same processing as the upper part without reducing the input image data. In the configuration of the present embodiment, in the case of a fine character, there is a possibility that the character disappears by down-sampling. Therefore, a circuit that does not perform down-sampling is added.

本実施形態では、入力画像データに対して解像度を下げて処理を行うもの(図7上段)と、解像度を下げないで処理を行うもの(図7下段)とに分離する分離判定処理を行う。ダウンサンプリングの前後に対して、分離判定処理を行うことで、多段階制御信号生成回路23では太文字に対する膨張処理を行い、多段階制御信号生成回路23aでは細文字に対する膨張処理を行うことになる。   In the present embodiment, separation determination processing is performed to separate input image data into processing that lowers the resolution (upper part in FIG. 7) and processing that does not lower the resolution (lower part in FIG. 7). By performing separation determination processing before and after downsampling, the multistage control signal generation circuit 23 performs expansion processing for thick characters, and the multistage control signal generation circuit 23a performs expansion processing for thin characters. .

セレクタ26は、対象画素が太文字なのか細文字なのかの選択を行う。セレクタ26の判定条件は、例として多段階制御信号生成回路23でK信号の割合が閾値以上、つまり黒文字であるという可能性が高い場合には多段階制御信号生成回路23の出力結果を、それ以外は多段階制御信号生成回路23aの出力結果を出力する。つまり、セレクタ26は、画素毎に最もK信号の割合が高いものを出力結果として選択する。   The selector 26 selects whether the target pixel is bold or thin. For example, when the multi-stage control signal generation circuit 23 has a high possibility that the ratio of the K signal is equal to or higher than the threshold, that is, a black character, the determination condition of the selector 26 is the output result of the multi-stage control signal generation circuit 23. Otherwise, the output result of the multistage control signal generation circuit 23a is output. That is, the selector 26 selects the output result having the highest K signal ratio for each pixel.

<実施形態4>
図8に、本実施形態の文字・絵柄分離回路20の構成を示す。図示のように、本実施形態は、図7の多段階制御信号生成回路23aを膨張フィルタ回路27に置き換えたものである。図7では、細文字に対してもK信号に対して多段階の制御を行い、K信号の割合を適応的に切り替える処理を行っていたが、細文字の場合は5×5のマスクの場合では、文字エッジから2画素程度離れた場所にある画素までしか制御を行えない。そのため、視覚的な影響がほとんどないことを考えると多段階の制御を行う意味は薄い。そこで、細文字に対しては多段階の制御は行わないことで回路規模を縮小することができる。
<Embodiment 4>
FIG. 8 shows the configuration of the character / picture separation circuit 20 of the present embodiment. As shown in the figure, this embodiment is obtained by replacing the multistage control signal generation circuit 23 a of FIG. 7 with an expansion filter circuit 27. In FIG. 7, the multi-level control is performed on the K signal for the fine character, and the process of adaptively switching the ratio of the K signal is performed. However, in the case of the fine character, a 5 × 5 mask is used. Then, control can be performed only up to a pixel located at a position about two pixels away from the character edge. Therefore, considering that there is almost no visual influence, it is not meaningful to perform multi-level control. Therefore, the circuit scale can be reduced by not performing multi-level control for fine characters.

<実施形態5>
図9に、本実施形態の文字・絵柄分離回路20の構成を示す。図示のように、本実施形態は、図8の回路にダウンサンプリングを行う回数を増やした構成となっている。
<Embodiment 5>
FIG. 9 shows the configuration of the character / picture separation circuit 20 of this embodiment. As shown in the figure, this embodiment has a configuration in which the number of times of downsampling is increased in the circuit of FIG.

これまでの説明ではダウンサンプリングは1度しか行っていなかったが、それでは文字の大きさが様々な原稿に対応できないという問題がある。1枚の画像中に存在する文字のサイズが全て同じであるとは限らないため、例えば、ダウンサンプリングを一定の縮小率で行う場合、ある文字サイズの場合には有効であっても、例えば別の領域にさらに大きな文字がある場合には1つの縮小率では足りないことが考えられる。   In the description so far, downsampling has been performed only once. However, there is a problem that the character size cannot be applied to various manuscripts. Since the size of characters existing in one image is not always the same, for example, when downsampling is performed at a certain reduction rate, even if it is effective for a certain character size, If there is a larger character in this area, one reduction ratio may not be sufficient.

そこで、入力画像に対してダウンサンプリング回路21を複数用意することで上記の問題を解決することができる。図9はダウンサンプリング回路21を2つ用いた場合の例である。例えば、ダウンサンプリング回路21では入力画像を1/4にダウンサンプリングし、ダウンサンプリング回路21bでは入力画像を1/2にダウンサンプリングする構成とする。セレクタ回路では、多段階制御信号生成回路23、多段階制御信号生成回路23b、膨張フィルタ回路27の出力の中で最もK信号の割合が高いものを選択する。   Therefore, the above problem can be solved by preparing a plurality of downsampling circuits 21 for the input image. FIG. 9 shows an example in which two downsampling circuits 21 are used. For example, the downsampling circuit 21 downsamples the input image to ¼, and the downsampling circuit 21b downsamples the input image to ½. In the selector circuit, the one having the highest K signal ratio among the outputs of the multistage control signal generation circuit 23, the multistage control signal generation circuit 23b, and the expansion filter circuit 27 is selected.

なお、図9では2つのダウンサンプリング回路21を用いているが、当然それ以上の数のダウンサンプリング回路21を用いることもできる。
以上の処理を行うことで、様々な文字サイズにも対応することができる。
Although two downsampling circuits 21 are used in FIG. 9, naturally, a larger number of downsampling circuits 21 may be used.
By performing the above processing, various character sizes can be handled.

<実施形態6>
本実施形態は、ダウンサンプリング回路21の構成に特徴がある。図10に、本実施形態のダウンサンプリング回路21の構成を示す。
ここまでの説明では、主走査、副走査方向のダウンサンプリングは同じ比率で行う前提で説明を行ってきた。しかし、主走査、副走査方向の解像度が異なるような場合においては、ダウンサンプリング後の解像度は等しいほうが処理を行ううえでは容易となる。それは、フィルタのサイズを変更しなくてすむ等の理由があるためである。
<Embodiment 6>
The present embodiment is characterized by the configuration of the downsampling circuit 21. FIG. 10 shows a configuration of the downsampling circuit 21 of the present embodiment.
The description so far has been made on the assumption that downsampling in the main scanning and sub-scanning directions is performed at the same ratio. However, when the resolutions in the main scanning and sub-scanning directions are different, the same resolution after downsampling is easier in performing processing. This is because there is a reason that it is not necessary to change the size of the filter.

そこで、本実施形態では、主走査方向ダウンサンプリング211及び副走査方向ダウンサンプリング212を備え、主走査、副走査方向でダウンサンプリングを独立に行う。例えば、主走査方向解像度が600dpi、副走査方向解像度が300dpiであるような場合においては、主走査方向ダウンサンプリング211が主走査方向を1/6とし、副走査方向ダウンサンプリング212が副走査方向を1/3(100dpi化)とする。   Therefore, in the present embodiment, the main scanning direction down-sampling 211 and the sub-scanning direction down-sampling 212 are provided, and down-sampling is performed independently in the main scanning and sub-scanning directions. For example, when the main scanning direction resolution is 600 dpi and the sub-scanning direction resolution is 300 dpi, the main scanning direction down-sampling 211 sets the main scanning direction to 1/6, and the sub-scanning direction down-sampling 212 sets the sub-scanning direction. 1/3 (100 dpi).

また、エッジ分離の性能が非常に高い場合を想定すると、文字中は必ずエッジ画素で囲まれていると考えることができる。そのため、ダウンサンプリング回路21による低解像度化を1方向のみ(例えば主走査方向)で行っても文字中の判定は十分に行うことができる。   Further, assuming that the performance of edge separation is very high, it can be considered that a character is always surrounded by edge pixels. Therefore, even if the resolution reduction by the downsampling circuit 21 is performed only in one direction (for example, the main scanning direction), the determination in the character can be sufficiently performed.

このように、エッジ分離の性能に応じて副走査(主走査)方向のダウンサンプリングを省くことで回路規模の縮小を実現することができる。   In this way, the circuit scale can be reduced by omitting down-sampling in the sub-scanning (main scanning) direction according to the edge separation performance.

20 文字・絵柄分離回路
21 ダウンサンプリング回路
211 主走査方向ダウンサンプリング
212 副走査方向ダウンサンプリング
22 文字・絵柄判定回路
221 エッジ検出回路
222 黒画素検出回路
23 多段階制御信号生成回路
26 セレクタ
27 膨張フィルタ回路
20 Character / Picture Separation Circuit 21 Down-sampling Circuit 211 Down-sampling in the Main Scanning Direction 212 Sub-Scanning Down-Sampling 22 Character / Picture Determination Circuit 221 Edge Detection Circuit 222 Black Pixel Detection Circuit 23 Multi-stage Control Signal Generation Circuit 26 Selector 27 Expansion Filter Circuit

特開2002−199212号公報JP 2002-199212 A 特開2005−033482号公報JP 2005-033482 A

Claims (10)

入力画像データを、該入力画像データの解像度より低解像度な低解像度データに変換する低解像度変換手段と、
前記低解像度データにおける各画素の属性情報を判別する属性判別手段と、
を備え、
前記属性判別手段は、前記低解像度データの各画素における属性情報を判別し、判別した前記属性情報を前記入力画像データに反映させる
ことを特徴とする、画像処理装置。
Low resolution conversion means for converting input image data into low resolution data having a resolution lower than the resolution of the input image data;
Attribute determining means for determining attribute information of each pixel in the low resolution data;
With
The image processing apparatus, wherein the attribute determining unit determines attribute information in each pixel of the low resolution data, and reflects the determined attribute information in the input image data.
注目画素が黒画素であるか非黒画素であるかを判別し、前記低解像度データの前記各画素の色情報を判別する黒画素判別手段と、
前記低解像度データのエッジ画素を検出するエッジ検出手段と、を備え、
前記属性判別手段は、前記黒画素判別手段によって判別された色情報と、前記エッジ検出手段によって検出されたエッジ画素と注目画素の位置関係と、に基づいて、前記低解像度データにおける各画素の属性情報を判別する
ことを特徴とする、請求項1記載の画像処理装置。
Black pixel determination means for determining whether the pixel of interest is a black pixel or a non-black pixel, and determining color information of each pixel of the low resolution data;
Edge detection means for detecting edge pixels of the low-resolution data,
The attribute determination unit is configured to determine the attribute of each pixel in the low resolution data based on the color information determined by the black pixel determination unit and the positional relationship between the edge pixel and the target pixel detected by the edge detection unit. The image processing apparatus according to claim 1, wherein information is discriminated.
前記属性判別手段は、前記入力画像データの各画素に対応する前記低解像度データの各画素の前記属性情報を、前記入力画像データの各画素に反映させる
ことを特徴とする、請求項1又は2記載の画像処理装置。
The attribute determination unit reflects the attribute information of each pixel of the low-resolution data corresponding to each pixel of the input image data to each pixel of the input image data. The image processing apparatus described.
注目画素と前記エッジ画素との間の画素数に応じて、注目画素の色情報を変更する多段階制御手段を備えたことを特徴とする、請求項1から3のいずれか1項に記載の画像処理装置。   The multi-stage control means for changing the color information of the target pixel according to the number of pixels between the target pixel and the edge pixel, according to any one of claims 1 to 3, Image processing device. 前記多段階制御手段は、特定の画素範囲内に含まれる前記黒画素判別手段によって黒画素と判別された画素の数に応じて、注目画素の色情報を変更することを特徴とする、請求項4記載の画像処理装置。   The multi-stage control means changes color information of a pixel of interest according to the number of pixels determined as black pixels by the black pixel determination means included in a specific pixel range. 4. The image processing apparatus according to 4. 低解像度化の際に用いる解像度の異なる、前記低解像度変換手段、前記属性判別手段及び前記多段階制御手段の組を複数備えることを特徴とする、請求項4又は5に記載の画像処理装置。   The image processing apparatus according to claim 4, comprising a plurality of sets of the low resolution conversion unit, the attribute determination unit, and the multi-stage control unit, which have different resolutions used for resolution reduction. 各組の前記他段階制御手段から出力される注目画素の色情報のうち、最も濃度が濃い色情報を選択するセレクタを有することを特徴とする、請求項6に記載の画像処理装置。   The image processing apparatus according to claim 6, further comprising a selector that selects color information having the darkest density among color information of a target pixel output from the other-stage control unit of each set. 前記低解像度変換手段は、主走査方向と副走査方向とで異なる比率で入力画像データの低解像度化を実施することを特徴とする、請求項1から7のいずれか1項に記載の画像処理装置。   8. The image processing according to claim 1, wherein the low-resolution conversion unit reduces the resolution of the input image data at a different ratio in the main scanning direction and the sub-scanning direction. 9. apparatus. 入力画像データを、該入力画像データの解像度より低解像度な低解像度データに変換する低解像度変換ステップと、
前記低解像度データにおける各画素の属性情報を判別する属性判別ステップと、
を有し、
前記属性判別ステップでは、前記低解像度データの各画素における属性情報を判別し、判別した前記属性情報を前記入力画像データに反映させる
ことを特徴とする、画像処理方法。
A low resolution conversion step of converting the input image data into low resolution data having a resolution lower than the resolution of the input image data;
An attribute determination step of determining attribute information of each pixel in the low resolution data;
Have
In the attribute determining step, attribute information in each pixel of the low resolution data is determined, and the determined attribute information is reflected in the input image data.
画像処理装置に、
入力画像データを、該入力画像データの解像度より低解像度な低解像度データに変換する低解像度変換処理と、
前記低解像度データにおける各画素の属性情報を判別する属性判別処理と、
を実行させ、
前記属性判別処理では、前記低解像度データの各画素における属性情報を判別し、判別した前記属性情報を前記入力画像データに反映させる
ことを特徴とする、画像処理プログラム。
In the image processing device,
Low resolution conversion processing for converting the input image data into low resolution data having a resolution lower than the resolution of the input image data;
Attribute determination processing for determining attribute information of each pixel in the low-resolution data;
And execute
In the attribute discrimination process, an attribute information in each pixel of the low resolution data is discriminated, and the discriminated attribute information is reflected in the input image data.
JP2014254589A 2014-12-16 2014-12-16 Image processing apparatus, method, and program Pending JP2016116135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014254589A JP2016116135A (en) 2014-12-16 2014-12-16 Image processing apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014254589A JP2016116135A (en) 2014-12-16 2014-12-16 Image processing apparatus, method, and program

Publications (1)

Publication Number Publication Date
JP2016116135A true JP2016116135A (en) 2016-06-23

Family

ID=56142513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014254589A Pending JP2016116135A (en) 2014-12-16 2014-12-16 Image processing apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP2016116135A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298598A (en) * 1995-02-02 1996-11-12 Fuji Xerox Co Ltd Image processor and image processing method
JP2002199212A (en) * 2000-12-27 2002-07-12 Ricoh Co Ltd Image processor
JP2002290721A (en) * 2001-03-26 2002-10-04 Ricoh Co Ltd Area detection apparatus and method
JP2004253874A (en) * 2003-02-18 2004-09-09 Ricoh Co Ltd Color image processor and color image processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08298598A (en) * 1995-02-02 1996-11-12 Fuji Xerox Co Ltd Image processor and image processing method
JP2002199212A (en) * 2000-12-27 2002-07-12 Ricoh Co Ltd Image processor
JP2002290721A (en) * 2001-03-26 2002-10-04 Ricoh Co Ltd Area detection apparatus and method
JP2004253874A (en) * 2003-02-18 2004-09-09 Ricoh Co Ltd Color image processor and color image processing method

Similar Documents

Publication Publication Date Title
US7889917B2 (en) Device and method for image color determination
US9369610B2 (en) Image processing apparatus and image processing method
US20170270359A1 (en) Document type recognition apparatus, image forming apparatus, document type recognition method, and computer program product
US20080137159A1 (en) Image forming apparatus and image quality improving method thereof
US9773319B2 (en) Image processing apparatus, method, and medium
CN107566684B (en) Image processing apparatus, image processing method, and storage medium
JP3868654B2 (en) Image processing device
US9948824B2 (en) Image compressing device, image forming apparatus, image compressing method, and recording medium
JP4013478B2 (en) Image processing device
JP6693310B2 (en) Image processing apparatus, image processing method and program
US8363263B2 (en) Image processing apparatus and image processing method
JP4438834B2 (en) Image color determination apparatus, image color determination method, and program
JP2002209103A (en) Image processing apparatus
JP2016116135A (en) Image processing apparatus, method, and program
US10477066B2 (en) Image processing apparatus to extract luminance data from image data, method for controlling the same, and storage medium
JP4047356B2 (en) Image processing device
EP2894841B1 (en) Information processing apparatus, information processing method, and storage medium
JP4007134B2 (en) Image processing device
JP4437621B2 (en) Region detection apparatus and method
JP7377435B2 (en) Image processing device
JP5825142B2 (en) Image processing apparatus, image processing method, and computer program
JP2009005398A (en) Image processor
JP2000151997A (en) Original type discrimination device and image processor
JP2002199211A (en) Image processor
JP2015149545A (en) Image processing apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171206

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20180205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180713

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180828