JP5024006B2 - Image processing program and image processing apparatus - Google Patents
Image processing program and image processing apparatus Download PDFInfo
- Publication number
- JP5024006B2 JP5024006B2 JP2007316116A JP2007316116A JP5024006B2 JP 5024006 B2 JP5024006 B2 JP 5024006B2 JP 2007316116 A JP2007316116 A JP 2007316116A JP 2007316116 A JP2007316116 A JP 2007316116A JP 5024006 B2 JP5024006 B2 JP 5024006B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- difference
- pixels
- value
- interest
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims description 25
- 238000001514 detection method Methods 0.000 claims description 2
- 230000002093 peripheral effect Effects 0.000 description 36
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、入力されたディジタル画像を二値化するための画像処理プログラム等に関し、特に、太い文字等の中抜けの問題を解決でき、突発的なノイズの影響を抑えることのできる画像処理プログラム等に関する。 The present invention relates to an image processing program or the like for binarizing an input digital image, and in particular, an image processing program that can solve the problem of missing characters such as thick characters and can suppress the influence of sudden noise. Etc.
従来、各画素が多値の濃度階調値を有する画像データを二値化することが行なわれている。当該処理では、所定の閾値が設定されて、当該閾値より大きい濃度階調値を有する画素は白画素に、当該閾値より小さい濃度階調値を有する画素は黒画素に変換される。かかる画像の二値化処理は、画像をOCRで読み取る際に、帳票などを判別する際に、また、データ量を小さくして保存する際などに用いられる。 Conventionally, binarization is performed on image data in which each pixel has multi-value density gradation values. In this process, a predetermined threshold is set, and pixels having a density gradation value larger than the threshold are converted to white pixels, and pixels having a density gradation value smaller than the threshold are converted to black pixels. Such binarization processing of an image is used when an image is read by OCR, when a form or the like is discriminated, and when a data amount is reduced and stored.
下記特許文献1には、従来の単に一定閾値と比較して白黒を決定する方法での問題点に鑑み、文字の潰れやかすれがない品質の良い二値化データを得ることを目的とした二値化装置等が提案されている。具体的には、注目画素を中心にした所定領域内の最大階調値を求め、それと注目画素の値との差が閾値よりも小さければ白とし、閾値よりも大きければ黒とする処理が示されている。
しかしながら、上記特許文献1では、広い範囲が黒く塗り潰されているような画像の場合、その画像の中の部分では、注目画素と周辺画素との差が小さいので白画素に変換されてしまい、いわゆる画像の中抜けという問題が発生してしまう。これに対し、所定の閾値によって二値化した画像と合成することが提案されているが、文字等の黒として残したい上記広く塗り潰された画像が、元々明るい色であった場合には、上記合成する二値化画像で中抜け部分を黒とするために、その閾値を高くする必要があり、その結果、不必要な部分まで黒として残ってしまう可能性が高く、やはり課題がある。 However, in the above-mentioned Patent Document 1, in the case of an image in which a wide range is filled in with black, the portion in the image is converted into a white pixel because the difference between the target pixel and the peripheral pixel is small, so-called The problem of missing the image occurs. On the other hand, it has been proposed to combine with an image binarized by a predetermined threshold value, but if the widely painted image that is desired to be left as a black character or the like was originally a bright color, In order to make the hollow portion black in the synthesized binarized image, it is necessary to increase the threshold value. As a result, there is a high possibility that an unnecessary portion will remain as black, which still has a problem.
また、画像に突発的なノイズが存在することがあるが、当該ノイズは、上記注目画素を中心とした所定領域内で最大階調値となりやすいので、上記方法はノイズの影響を受けやすい方法であり、判断を誤る可能性がある。 In addition, sudden noise may exist in the image. However, since the noise is likely to have a maximum gradation value within a predetermined area centered on the pixel of interest, the above method is susceptible to noise. Yes, there is a possibility of making a mistake.
そこで、本発明の目的は、入力されたディジタル画像を二値化するための画像処理プログラムであって、太い文字等の中抜けの問題を解決でき、突発的なノイズの影響を抑えることのできる画像処理プログラム、等を提供することである。 Therefore, an object of the present invention is an image processing program for binarizing an input digital image, which can solve the problem of missing characters such as thick characters and can suppress the influence of sudden noise. An image processing program is provided.
上記の目的を達成するために、本発明の一つの側面は、画素が多値の階調値を有する画像データを二値化する処理をコンピュータに実行させる画像処理プログラムが、処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定する差分判定ステップと、前記検知された階調値が一定差以上ある画素の値に応じて、前記注目画素の二値化後の値を決定する二値化処理ステップと、を前記コンピュータに実行させる、ことである。 In order to achieve the above object, according to one aspect of the present invention, there is provided an image processing program that causes a computer to execute a process of binarizing image data in which a pixel has multi-value gradation values. Each pixel is scanned in a direction generally away from the pixel of interest from the pixel close to the pixel of interest until at least one pixel having a gradation value greater than or equal to a certain difference is detected from the pixel of interest of In accordance with a difference determination step for determining whether or not the difference between the scanned pixel and the gradation value of the pixel of interest is equal to or greater than the certain difference, and according to the value of the pixel whose detected gradation value is equal to or larger than the certain difference , Causing the computer to execute a binarization processing step for determining a value after binarization of the target pixel.
更に、上記の発明において、好ましい態様は、前記差分判定ステップにおける各画素の走査が、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の小さい画素が2以上検知されるまで、あるいは、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の大きい画素が2以上検知されるまで行なわれる、ことを特徴とする。 Furthermore, in the above invention, a preferable aspect is that the scanning of each pixel in the difference determination step is a pixel whose gradation value is equal to or greater than a certain difference from the target pixel, and the gradation is higher than the gradation value of the target pixel. Until two or more pixels having a small value are detected, or two or more pixels having a gradation value greater than or equal to a certain difference from the pixel of interest and having a gradation value larger than the gradation value of the pixel of interest It is performed until it is done.
更に、上記の発明において、好ましい態様は、前記差分判定ステップにおける各画素の走査は、前記注目画素と階調値が一定差以上ある画素の検知が完了していなくても、前記画像データの全画素を走査した場合、あるいは、所定数の画素を走査した場合には終了し、当該場合には、前記二値化処理ステップにおいて、前記注目画素の二値化後の値が予め定められた値に決定される、ことを特徴とする。 Further, in the above invention, a preferable aspect is that the scanning of each pixel in the difference determination step is performed even if detection of a pixel whose gradation value is greater than a certain difference from the target pixel is not completed. When the pixel is scanned, or when a predetermined number of pixels are scanned, the process ends. In this case, in the binarization processing step, the binarized value of the target pixel is a predetermined value. It is determined by that.
更に、上記の発明において、一つの態様は、前記差分判定ステップにおける各画素の走査は、前記走査の方向において、所定方法により画素を間引いて行なわれる、ことを特徴とする。 Further, in the above invention, one aspect is characterized in that the scanning of each pixel in the difference determining step is performed by thinning out pixels by a predetermined method in the scanning direction.
上記の目的を達成するために、本発明の別の側面は、画素が多値の階調値を有する画像データを二値化する処理を実行する画像処理装置が、処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定する差分判定手段と、前記検知された階調値が一定差以上ある画素の値に応じて、前記注目画素の二値化後の値を決定する二値化処理手段とを有する、ことである。 In order to achieve the above object, according to another aspect of the present invention, an image processing apparatus that executes a process of binarizing image data in which pixels have multi-value gradation values is the pixel to be processed. Each pixel is scanned in a direction that is approximately away from the pixel of interest from the pixel that is close to the pixel of interest until one or more pixels that have a certain difference in gradation value from the pixel of interest are detected. A difference determining means for determining whether or not a difference between the gradation value of the pixel and the target pixel is equal to or greater than the certain difference, and according to a value of the pixel whose detected gradation value is equal to or larger than the certain difference, And binarization processing means for determining a value after binarization of the target pixel.
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。 Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。 Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
図1は、本発明を適用した画像処理装置の実施の形態例に係る機能構成図である。図1に示す画像処理装置2が本発明を適用した画像処理装置であり、処理対象画素との階調値の差が所定値以上となる周辺画素が1以上検知されるまで、当該処理対象画素の近くに位置する画素から順番に、処理対象画素から概ね離れていく方向へ周辺画素を走査し、上記検知された階調値差が所定値以上となる周辺画素の値に応じて当該処理対象画素の二値化を実行し、前述した中抜けの問題を解決すると共に、突発的なノイズの影響を抑えようとするものである。 FIG. 1 is a functional configuration diagram according to an embodiment of an image processing apparatus to which the present invention is applied. The image processing apparatus 2 shown in FIG. 1 is an image processing apparatus to which the present invention is applied, and the processing target pixel is detected until one or more peripheral pixels whose gradation value difference from the processing target pixel is a predetermined value or more are detected. The peripheral pixels are scanned in order from the pixel located near the pixel in the direction of moving away from the pixel to be processed, and the processing target is determined according to the value of the peripheral pixel in which the detected gradation value difference becomes a predetermined value or more. The binarization of pixels is executed to solve the above-described problem of hollowing out and to suppress the influence of sudden noise.
図1に示す本実施の形態例に係るシステムは、二値化対象画像の原稿を読み取る、いわゆるスキャナである画像読み取り装置1と、そのホスト装置であるホストコンピュータ等に備えられる上記画像処理装置2とから構成される。 The system according to the present embodiment shown in FIG. 1 includes an image reading device 1 that is a so-called scanner that reads a document of an image to be binarized, and the image processing device 2 that is provided in a host computer that is the host device. It consists of.
画像読み取り装置1は、ユーザ操作などに従って上記原稿の画像を光学的な方法により読み取り、読み取った画像をディジタル画像として出力する。このディジタル画像は、各画素が各色の濃度階調値を有する画像データとなっており、カラー画像として読み取った場合には、例えば、各画素がRGB各色の濃度階調値(例えば、0〜255の256階調)で表現される。また、グレースケールで読み取った場合には、1次元の濃度階調値(例えば、0〜255の256階調)で表現される。画像読み取り装置1では、このような画像データを画像処理装置2に供給する。 The image reading device 1 reads the image of the original by an optical method according to a user operation or the like, and outputs the read image as a digital image. This digital image is image data in which each pixel has a density gradation value of each color, and when read as a color image, for example, each pixel has a density gradation value of each color of RGB (for example, 0 to 255). 256 gradations). When read in gray scale, it is expressed by a one-dimensional density gradation value (for example, 256 gradations from 0 to 255). The image reading apparatus 1 supplies such image data to the image processing apparatus 2.
次に、画像処理装置2は、上述の通り、前記画像読み取り装置1のホストコンピュータ内に構築される。当該ホストコンピュータは、いわゆるパーソナルコンピュータなどで構成することができ、図示していないが、CPU、ROM、RAM、ハードディスク、他装置とのインターフェースなどを備える。 Next, the image processing device 2 is constructed in the host computer of the image reading device 1 as described above. The host computer can be constituted by a so-called personal computer and includes a CPU, a ROM, a RAM, a hard disk, an interface with other devices, etc. (not shown).
図1に示すとおり、画像処理装置2は、機能的には、差分判定部21及び二値化処理部22を有し、前記画像読み取り装置1から供給される画像データに対して、ユーザ指示等に基づき、二値化処理を実行し、その結果の出力画像を出力する。これら各部21〜22は、上記ホストコンピュータのROMに格納される各種プログラム、当該プログラムに従って処理を実行する上記CPU、及び上記RAM等で構成される。なお、当該プログラムが本発明を適用した画像処理プログラムに相当し、例えば、上記画像読み取り装置1のドライバプログラムとして備えられる。また、当該プログラムは、CDなどの記憶媒体に格納されているものをホストコンピュータにインストールする、あるいは、所定のサイトからインターネットなどを介してホストコンピュータにダウンロードする、ことによってホストコンピュータに備えることができる。 As shown in FIG. 1, the image processing apparatus 2 functionally includes a difference determination unit 21 and a binarization processing unit 22, and provides user instructions and the like for image data supplied from the image reading apparatus 1. Based on the above, binarization processing is executed, and an output image as a result is output. Each of these units 21 to 22 includes various programs stored in the ROM of the host computer, the CPU that executes processing according to the programs, the RAM, and the like. The program corresponds to an image processing program to which the present invention is applied. For example, the program is provided as a driver program for the image reading apparatus 1. Further, the program can be provided in the host computer by installing the program stored in a storage medium such as a CD in the host computer or by downloading the program from a predetermined site to the host computer via the Internet or the like. .
差分判定部21は、上記プログラムに従ったCPUの処理で、各画素の二値化を行うために、処理対象画素(注目画素)の周辺画素を順次走査し、注目画素と各周辺画素との濃度(輝度)階調値の差を所定の閾値と比較していく部分である。具体的な処理内容は後述するが、当該差分判定部21の上記走査方法に本画像処理装置2の特徴を有する。なお、前記画像読み取り装置1から供給される画像データがカラーデータである場合には、当該差分判定部21において、画像データをグレーデータに変換する処理を実行する。 The difference determination unit 21 sequentially scans the peripheral pixels of the processing target pixel (target pixel) in order to perform binarization of each pixel by the processing of the CPU according to the above program, and the difference between the target pixel and each peripheral pixel. This is a part for comparing the density (luminance) gradation value difference with a predetermined threshold value. Although specific processing contents will be described later, the above-described scanning method of the difference determination unit 21 has the characteristics of the image processing apparatus 2. When the image data supplied from the image reading device 1 is color data, the difference determination unit 21 executes a process for converting the image data into gray data.
次に、二値化処理部22は、上記プログラムに従ったCPUの処理で、上記差分判定部21の判定結果に基づく各画素の二値化処理を実行する部分である。当該処理にも本画像処理装置2の特徴を有し、その具体的な内容については後述する。 Next, the binarization processing unit 22 is a part that executes binarization processing of each pixel based on the determination result of the difference determination unit 21 by the processing of the CPU according to the program. This process also has the characteristics of the image processing apparatus 2, and the specific contents thereof will be described later.
以上説明したような構成を有する本実施の形態例に係る画像処理装置2では、以下に示すような内容で各処理が実行される。 In the image processing apparatus 2 according to the present embodiment having the configuration described above, each process is executed with the following contents.
まず、前記画像読み取り部1から処理対象データが入力されると、差分判定部21が、当該入力された画像データがカラーデータであるかグレーデータであるかを判断し、グレーデータである場合には、そのまま、上記RAM等に格納する。 First, when processing target data is input from the image reading unit 1, the difference determination unit 21 determines whether the input image data is color data or gray data. Is stored in the RAM or the like as it is.
一方、入力されたデータがカラーデータである場合には、グレーデータへの変換処理を行なう。例えば、入力された画像データがRGBで表現されている場合には、下記(1)式により、各画素のグレースケールでの濃度階調値Y(言い換えれば、輝度の階調値)を求める。 On the other hand, when the input data is color data, conversion processing to gray data is performed. For example, when the input image data is expressed in RGB, the density gradation value Y (in other words, the gradation value of luminance) of each pixel is obtained by the following equation (1).
Y=(R+G+B)/3 (1)
なお、R、G、Bは、各画素が有する各色の濃度階調値であり、例えば、それぞれ、0〜255のいずれかの値をとる。また、(1)式では、R、G、Bのそれぞれに1/3の混合比率を用いているが、これら3つの比率の合計が1であれば、(1)式と異なる比率としてYを求めても良い。
Y = (R + G + B) / 3 (1)
Note that R, G, and B are density gradation values of each color that each pixel has, and for example each take a value of 0 to 255. Further, in the formula (1), a mixing ratio of 1/3 is used for each of R, G, and B. If the sum of these three ratios is 1, Y is set as a ratio different from the formula (1). You may ask.
そして、求めたグレーデータの画像データは、上記RAM等に格納される。 The obtained gray data image data is stored in the RAM or the like.
図2は、グレーデータへ変換後の処理対象画像を例示した図である。図2の左側に示す例には、薄い色の(階調値の高い)背景に黒ではないが濃い色の(階調値の低い)文字(ABC)が描かれており、また、右側に示す例には、濃い色の(階調値の低い)背景に白色の文字(ABC)が描かれている。 FIG. 2 is a diagram illustrating a processing target image after conversion into gray data. In the example shown on the left side of FIG. 2, a non-black but dark (low gradation value) character (ABC) is drawn on a light color (high gradation value) background, and on the right side. In the example shown, white characters (ABC) are drawn on a dark-colored background (low gradation value).
このような画像データが準備されると、差分判定部21及び二値化処理部22は、対象とする画像データの各画素について、以下のような差分判定及び二値化の処理を実行する。なお、以下の処理は、例えば、画像データの左上の画素から順番に全ての画素について実行される。 When such image data is prepared, the difference determination unit 21 and the binarization processing unit 22 execute the following difference determination and binarization processing for each pixel of the target image data. The following processing is executed for all the pixels in order from the upper left pixel of the image data, for example.
図3は、差分判定部21及び二値化処理部22が行なう差分判定及び二値化の処理を例示したフローチャートである。以下、図3に基づいて、1画素についての差分判定及び二値化の処理について説明する。 FIG. 3 is a flowchart illustrating the difference determination and binarization processing performed by the difference determination unit 21 and the binarization processing unit 22. Hereinafter, based on FIG. 3, the difference determination and binarization processing for one pixel will be described.
まず、処理対象画素が決定されると、差分判定部21は、当該処理対象画素(注目画素)の周辺画素を走査する(ステップS1)。この時点では、最初の周辺画素の走査であるので、注目画素に最も近い一つの周辺画素が走査される。当該周辺画素の走査(S1)は、後述するように、一つの注目画素に対して継続して複数回実行されることになるが、その走査は、注目画素からの距離が近いものから順番に行なわれる。 First, when a processing target pixel is determined, the difference determination unit 21 scans a peripheral pixel of the processing target pixel (target pixel) (step S1). At this time, since the first peripheral pixel is scanned, one peripheral pixel closest to the target pixel is scanned. As will be described later, the scanning of the peripheral pixels (S1) is continuously performed a plurality of times for one target pixel, and the scanning is performed in order from the closest distance from the target pixel. Done.
図4は、当該走査の順番を例示した図である。図4において、「0」で示す画素が注目画素であり、この例では、図中の矢印の順番で周辺画素が順次走査される。すなわち、画素に記した番号の順番で、注目画素に近い画素から走査される。 FIG. 4 is a diagram illustrating the scanning order. In FIG. 4, the pixel indicated by “0” is the target pixel. In this example, the peripheral pixels are sequentially scanned in the order of the arrows in the figure. In other words, scanning is performed from a pixel close to the target pixel in the order of the numbers indicated on the pixel.
このようにして周辺画素の走査を行なうと、差分判定部21は、当該走査が走査限界を超えているか否かを判断する(ステップ2)。この走査限界は、当該注目画素についての周辺画素の走査をストップさせるための限界条件であり、対象とする画像データの全画素について走査が終了し上記周辺画素の走査で対象の画素がない場合、あるいは、予め定めた画素数の走査を終了しており上記周辺画素の走査でその数を超えている場合には、走査限界を超えていると判断する(ステップS2のYes)。 When the peripheral pixels are scanned in this way, the difference determination unit 21 determines whether or not the scanning exceeds the scanning limit (step 2). This scanning limit is a limiting condition for stopping the scanning of the peripheral pixels for the target pixel, and when all the pixels of the target image data are scanned and there are no target pixels in the scanning of the peripheral pixels, Alternatively, when the scanning of the predetermined number of pixels is finished and the number of the surrounding pixels is exceeded, it is determined that the scanning limit is exceeded (Yes in step S2).
一方、そうでない場合には、走査限界に達していないと判断し(ステップS2のNo)、上記走査した周辺画素と注目画素との階調値Yの差分Ydを求める(ステップS3)。当該差分の計算は、例えば、下記(2)式によって行なう。 On the other hand, if not, it is determined that the scanning limit has not been reached (No in step S2), and the difference Yd of the gradation value Y between the scanned peripheral pixel and the target pixel is obtained (step S3). The calculation of the difference is performed by, for example, the following equation (2).
Yd=Y[i,j]−Y[i−n,j−m] (2)
なお、Y[i,j]は注目画素の階調値を、Y[i−n,j−m]は周辺画素の階調値を表す。また、iは画像の水平方向位置を、jは画像の垂直方向の位置を示し、n,mは、周辺画素の位置を指定するための変数である。
Yd = Y [i, j] −Y [in, j−m] (2)
Y [i, j] represents the tone value of the pixel of interest, and Y [i−n, j−m] represents the tone value of the surrounding pixels. Further, i represents the horizontal position of the image, j represents the vertical position of the image, and n and m are variables for designating the positions of surrounding pixels.
次に、差分判定部21は、上記求めた差分Ydを予め定めた閾値と比較する。具体的には、当該閾値は、注目画素を二値化において黒と判定するための閾値Thbと、注目画素を二値化において白と判定するための閾値Thwとがある。これらの閾値は、処理対象画像データの濃度階調値が0〜255の値で表されている場合には、例えば、Thb=−40、Thw=40とすることができる。 Next, the difference determination unit 21 compares the obtained difference Yd with a predetermined threshold value. Specifically, the threshold value includes a threshold value Thb for determining the target pixel as black in binarization and a threshold value Thw for determining the target pixel as white in binarization. These threshold values can be set to, for example, Thb = −40 and Thw = 40 when the density gradation value of the processing target image data is represented by a value of 0 to 255.
まず、上記求めた差分Ydが上記黒と判定するための閾値Thb以下であるか否かが判定される(ステップS4)。その結果、閾値Thb以下でない場合には(ステップS4のNo)、上記差分Ydが上記白と判定するための閾値Thw以上であるか否かが判定される(ステップS5)。その結果、閾値Thw以上でない場合には(ステップS5のNo)、すなわち、注目画素と当該周辺画素との濃度があまり変わらない場合には、ステップS1へ処理が戻る。そして、上述した走査順で次の周辺画素が走査され、同様の処理が繰り返される。 First, it is determined whether or not the obtained difference Yd is equal to or less than a threshold value Thb for determining the black (step S4). As a result, if it is not less than or equal to the threshold Thb (No in step S4), it is determined whether or not the difference Yd is greater than or equal to the threshold Thw for determining the white (step S5). As a result, if it is not equal to or greater than the threshold value Thw (No in step S5), that is, if the densities of the target pixel and the surrounding pixels do not change much, the process returns to step S1. Then, the next peripheral pixel is scanned in the above-described scanning order, and the same processing is repeated.
一方、上記ステップS4で、差分Ydが黒と判定するための閾値Thb以下であると判定された場合には(ステップS4のYes)、二値化処理部22が、黒判定回数Drbを1増やす(ステップS6)。この黒判定回数Drbは、当該注目画素について、差分Ydが閾値Thb以下であると判定された累積回数である。 On the other hand, if it is determined in step S4 that the difference Yd is equal to or less than the threshold value Thb for determining black (Yes in step S4), the binarization processing unit 22 increases the black determination count Drb by one. (Step S6). The black determination number Drb is the cumulative number of times that the difference Yd is determined to be equal to or less than the threshold Thb for the target pixel.
次に、二値化処理部22は、当該黒判定回数Drbを予め定められた判定回数(閾値)Cbと比較する(ステップS7)。この判定回数Cbは、所定の複数値であり、例えば、3回と定められている。そして、黒判定回数Drbが判定回数Cbよりも小さい場合には(ステップS7のNo)、ステップS1へ処理が戻る。そして、上述した走査順で次の周辺画素が走査され、同様の処理が繰り返される。 Next, the binarization processing unit 22 compares the black determination number Drb with a predetermined determination number (threshold) Cb (step S7). The number of times of determination Cb is a predetermined multiple value, and is set to 3 times, for example. When the black determination number Drb is smaller than the determination number Cb (No in step S7), the process returns to step S1. Then, the next peripheral pixel is scanned in the above-described scanning order, and the same processing is repeated.
一方、黒判定回数Drbが判定回数Cb以上である場合には(ステップS7のYes)、二値化処理部22は、当該注目画素の二値化後の色を黒とする(ステップS8)。そして、黒を表す値を上記RAM等の所定箇所に格納する。 On the other hand, if the black determination number Drb is equal to or greater than the determination number Cb (Yes in step S7), the binarization processing unit 22 sets the color after the binarization of the target pixel to black (step S8). Then, a value representing black is stored in a predetermined location such as the RAM.
一方、上記ステップS5で、差分Ydが白と判定するための閾値Thw以上であると判定された場合には(ステップS5のYes)、二値化処理部22が、白判定回数Drwを1増やす(ステップS9)。この白判定回数Drwは、当該注目画素について、差分Ydが閾値Thw以上である判定された累積回数である。 On the other hand, if it is determined in step S5 that the difference Yd is equal to or greater than the threshold value Thw for determining white (Yes in step S5), the binarization processing unit 22 increases the white determination count Drw by one. (Step S9). The white determination number Drw is the accumulated number of times that the difference Yd is determined to be greater than or equal to the threshold Thw for the target pixel.
次に、二値化処理部22は、当該白判定回数Drwを予め定められた判定回数(閾値)Cwと比較する(ステップS10)。この判定回数Cwは、所定の複数値であり、例えば、3回と定められている。そして、白判定回数Drwが判定回数Cwよりも小さい場合には(ステップS10のNo)、ステップS1へ処理が戻る。そして、上述した走査順で次の周辺画素が走査され、同様の処理が繰り返される。 Next, the binarization processing unit 22 compares the white determination number Drw with a predetermined determination number (threshold value) Cw (step S10). The number of times of determination Cw is a predetermined multiple value, for example, 3 times. If the white determination number Drw is smaller than the determination number Cw (No in step S10), the process returns to step S1. Then, the next peripheral pixel is scanned in the above-described scanning order, and the same processing is repeated.
一方、白判定回数Drwが判定回数Cw以上である場合には(ステップS10のYes)、二値化処理部22は、当該注目画素の二値化後の色を白とする(ステップS11)。そして、白を表す値を上記RAM等の所定箇所に格納する。 On the other hand, when the white determination frequency Drw is equal to or greater than the determination frequency Cw (Yes in step S10), the binarization processing unit 22 sets the color after binarization of the target pixel to white (step S11). Then, a value representing white is stored in a predetermined location such as the RAM.
また、一方、前述したステップ2において、走査限界を超えていると判断した場合には(ステップS2のYes)、二値化処理部22は、当該注目画素の二値化後の色を事前に設定した黒又は白とする(ステップS12)。そして、決定した黒又は白を表す値を上記RAM等の所定箇所に格納する。なお、上記事前に設定される黒又は白の色は、処理対象とした画像データの内容や二値化の目的に応じて、適宜、黒又は白の色が決定される。 On the other hand, if it is determined in step 2 described above that the scanning limit has been exceeded (Yes in step S2), the binarization processing unit 22 determines the color after binarization of the target pixel in advance. The set black or white is set (step S12). Then, a value representing the determined black or white is stored in a predetermined location such as the RAM. The black or white color set in advance is appropriately determined according to the content of the image data to be processed and the purpose of binarization.
以上説明した処理が対象画像の全画素について実行されて、本画像処理装置2における二値化処理が終了し、二値化後の画像が出力される。 The process described above is executed for all the pixels of the target image, the binarization process in the image processing apparatus 2 is finished, and the binarized image is output.
図5は、本画像処理装置2における二値化処理を説明するための図である。図5の(b)は、図2の左側に例示した処理対象画像であり、図5の(a)は、図5の(b)の画像のSで示すエリアを拡大した図である。 FIG. 5 is a diagram for explaining the binarization processing in the image processing apparatus 2. FIG. 5B is a processing target image illustrated on the left side of FIG. 2, and FIG. 5A is an enlarged view of an area indicated by S in the image of FIG. 5B.
図5の(a)において、x1で示す画素を注目画素として、本画像処理装置2における上述した処理を実行すると、図中の矢印で示す順番に周辺画素の走査が行なわれることになる。そして、周辺画素y11が走査されるまでは、注目画素x1と周辺画素との濃度差が小さいため、前述した黒判定回数Drd及び白判定回数Drwは0である。 In FIG. 5A, when the above-described processing in the image processing apparatus 2 is executed with the pixel indicated by x1 as the target pixel, the surrounding pixels are scanned in the order indicated by the arrows in the drawing. Until the peripheral pixel y11 is scanned, since the density difference between the target pixel x1 and the peripheral pixel is small, the black determination number Drd and the white determination number Drw described above are zero.
その後、走査が周辺画素y11に達すると、注目画素x1と周辺画素y11との濃度差が閾値Thb以下となり、黒判定回数Drdが1となる。その後、周辺画素y12とy13において同様の処理が行なわれ、周辺画素y13の処理において、黒判定回数Drdが判定回数Cb(3回)以上となって、当該注目画素x1が黒画素とされる。 Thereafter, when the scanning reaches the peripheral pixel y11, the density difference between the target pixel x1 and the peripheral pixel y11 becomes equal to or less than the threshold Thb, and the black determination count Drd becomes 1. Thereafter, similar processing is performed on the peripheral pixels y12 and y13. In the processing on the peripheral pixel y13, the black determination number Drd becomes equal to or greater than the determination number Cb (three times), and the target pixel x1 is set as a black pixel.
また、x2で示す画素を注目画素とした場合には、図中の矢印で示す順番に同様の処理が実行され、周辺画素y21、y22、及びy23で、注目画素x1と周辺画素y11との濃度差が閾値Thw以上となって、周辺画素y23の処理において、白判定回数Drwが判定回数Cw(3回)以上となり、当該注目画素x2が白画素とされる。 Further, when the pixel indicated by x2 is the target pixel, the same processing is executed in the order indicated by the arrows in the figure, and the density of the target pixel x1 and the peripheral pixel y11 at the peripheral pixels y21, y22, and y23. The difference is equal to or greater than the threshold value Thw, and in the processing of the peripheral pixel y23, the white determination number Drw is equal to or greater than the determination number Cw (three times), and the target pixel x2 is set as a white pixel.
このように、本画像処理装置2を用いることにより、二値化後に残したい文字の部分が黒として残り、二値化後に不要な背景の部分が消されることになる。 As described above, by using the image processing apparatus 2, a character portion desired to be left after binarization remains black, and an unnecessary background portion is erased after binarization.
図6は、判定回数Cb及びCwを複数とする効果を説明するための図である。図6には、処理対象画像の一部を例示しており、Gで示すグレーの部分は文字などの二値化後に残したい領域であり、Wで示す白の部分は二値化後に不要な背景の部分である。また、zで示す部分は黒色の突発的なノイズであり、上記グレーの部分よりも濃い色を有している。 FIG. 6 is a diagram for explaining the effect of making the determination times Cb and Cw plural. FIG. 6 illustrates a part of the processing target image. A gray part indicated by G is an area to be left after binarization of characters and the like, and a white part indicated by W is unnecessary after binarization. This is the background part. Further, a portion indicated by z is a sudden black noise and has a darker color than the gray portion.
このような状態で、図中のx3を注目画素として上述の処理を実行すると、図中の矢印のように各周辺画素についての処理が進行し、画素zの際に、前記差分Ydが閾値Thw以上となり白判定回数Drwが1となる。その後、背景に位置する画素y31、y32、及びy33において、前記差分Ydが閾値Thb以下となり、画素y33において黒判定回数Drbが3となる。従って、この時点で、注目画素x3は黒画素とされる。 In this state, when the above process is executed with x3 in the figure as the target pixel, the process for each peripheral pixel proceeds as indicated by the arrow in the figure, and at the pixel z, the difference Yd becomes the threshold value Thw. Thus, the number of white determinations Drw is 1. Thereafter, in the pixels y31, y32, and y33 located in the background, the difference Yd is equal to or less than the threshold Thb, and the black determination number Drb is 3 in the pixel y33. Therefore, at this point, the target pixel x3 is a black pixel.
このように、本画像処理装置2では、二値化の最終決定が、上記閾値Thb、Thwによる1回の判定で行なわれることなく、その判定が複数回なされた段階で行われるので、突発的なノイズが存在しても、その単発的な画素についての判断だけで処理がなされず、判断を誤る危険性が少ない。上述の図6に示した例では、画素zの際の1回の判定で二値化の最終決定がなされてしまえば、注目画素x3は白画素とされてしまい好ましくない結果となるが、上述の通り、本画像処理装置2では、ノイズの影響を受けることなく正しい二値化が実現される。 As described above, in the present image processing apparatus 2, since the final determination of binarization is not performed by a single determination based on the threshold values Thb and Thw, but is performed at a stage where the determination is performed a plurality of times. Even if noise is present, the processing is not performed only by the determination about the single pixel, and there is little risk of erroneous determination. In the example shown in FIG. 6 described above, if the final determination of the binarization is made by one determination at the time of the pixel z, the target pixel x3 becomes a white pixel, which is not preferable. As described above, in the present image processing apparatus 2, correct binarization is realized without being affected by noise.
図7は、本画像処理装置2による処理結果等を例示した図である。図7の(a)は、図2に例示した処理対象画像を本画像処理装置2によって二値化処理した結果を例示している。また、図7の(b)は、同じ処理対象画像を従来装置で処理した場合の一例を示している。 FIG. 7 is a diagram exemplifying processing results by the image processing apparatus 2. FIG. 7A illustrates the result of binarization processing performed on the processing target image illustrated in FIG. 2 by the image processing apparatus 2. FIG. 7B shows an example when the same processing target image is processed by a conventional apparatus.
図から明らかなように、本画像処理装置2によって二値化された画像は、文字の中央部分が抜けてしまう中抜けが発生しておらず、ノイズと思われるものも少なく抑えられている。 As can be seen from the figure, the image binarized by the image processing apparatus 2 does not have a void where the central portion of the character is missing, and the amount of what appears to be noise is reduced.
なお、上述の説明では、閾値Thb、Thwを異なるものとしたが、差分Ydの絶対値を一つの閾値Th(例えば、40)と比較し、注目画素と周辺画素との階調値の大小関係から黒判定回数Drb又は白判定回数Drwをインクリメントするようにしてもよい。 In the above description, the threshold values Thb and Thw are different from each other. However, the absolute value of the difference Yd is compared with one threshold value Th (for example, 40), and the magnitude relationship between the gradation values of the target pixel and the surrounding pixels is compared. Alternatively, the black determination number Drb or the white determination number Drw may be incremented.
また、図4に示した走査順は一例であり、注目画素の近くからスタートして、概ね注目画素から離れていく方向へ走査するものであれば他の順番でも構わない。なお、図4に示した走査順は、注目画素からの直線距離で見ると、厳密にはその距離が短い順に走査されていないが、注目画素から周辺画素に到達するまでの画素数で見れば、その数が少ない順に走査が行なわれ、概ね注目画素から離れていく方向へ走査するものである。上記直線距離が短い順に走査するようにすることもできる。 The scanning order shown in FIG. 4 is merely an example, and any other order may be used as long as scanning starts in the vicinity of the pixel of interest and moves away from the pixel of interest. Note that the scanning order shown in FIG. 4 is not scanned in the order of the shortest distance when viewed from the straight line distance from the target pixel, but if viewed from the target pixel to the surrounding pixels, Scanning is performed in ascending order of the number, and scanning is performed in a direction that is generally away from the target pixel. It is also possible to scan in the order that the linear distance is short.
また、前述した周辺画素の走査限界(図3のS2)について周辺画素の走査回数で設定する場合は、以下のようにして行なう。まず、事前に、上述した走査、差分の判定処理を1秒間で行なうことのできる回数を測定する。そして、当該測定回数と画像データ全体についての目標処理時間(秒)を掛け合わせ、その値を画像データの全画素数で割る。その結果得られた回数を上記走査限界の走査回数とする。 Further, when setting the above-described peripheral pixel scanning limit (S2 in FIG. 3) by the number of scanning of the peripheral pixels, it is performed as follows. First, the number of times that the above-described scanning and difference determination processing can be performed in one second is measured in advance. Then, the number of times of measurement is multiplied by the target processing time (seconds) for the entire image data, and the value is divided by the total number of pixels of the image data. The number of times obtained as a result is set as the number of scans at the scan limit.
例えば、上記1秒間で処理可能な回数が70000000(回/秒)であり、上記目標処理時間が5(秒)であり、上記画像データの全画素数が1000000である場合には、1注目画素に対して可能な周辺画素の走査回数(走査限界)は350に設定される。 For example, when the number of times that processing can be performed in one second is 70000000 (times / second), the target processing time is 5 (seconds), and the total number of pixels of the image data is 1000000, one pixel of interest In contrast, the number of scans (scan limit) of peripheral pixels that can be performed is set to 350.
このように、走査限界を設定することにより、二値化処理を所定時間内に終了させることが可能であり、濃淡の差が小さく走査回数が増えるような画像に対してもむやみに処理時間を増やさないで済む。なお、処理対象画像の画素数に応じてこの走査限界回数を可変にするようにすりことにより、処理対象画像の相違による処理時間の差異を軽減することもできる。 In this way, by setting the scanning limit, the binarization processing can be completed within a predetermined time, and the processing time is unnecessarily reduced even for an image with a small difference in shading and an increased number of scans. There is no need to increase it. Note that the difference in processing time due to the difference in the processing target images can be reduced by making the scanning limit frequency variable according to the number of pixels of the processing target image.
また、上述の周辺画素の走査では、注目画素に近い画素から順番に画素を飛ばすことなく全ての画素を走査していったが、処理速度向上のために走査する周辺画素を間引くようにしても良い。図8は、処理速度向上のための走査順を例示した図である。図8の(a)に示す例は、1画素おきに間引きながら走査していく場合を示しており、注目画素(0)から画素に付された番号の順番で走査を行なう。番号の付されていない画素については走査されない。 In the above-described peripheral pixel scanning, all the pixels are scanned in order from the pixel closest to the target pixel without skipping the pixels. However, the peripheral pixels to be scanned may be thinned out in order to improve the processing speed. good. FIG. 8 is a diagram illustrating a scanning order for improving the processing speed. The example shown in FIG. 8A shows a case where scanning is performed while thinning out every other pixel, and scanning is performed in the order of the numbers assigned to the pixels from the target pixel (0). Pixels that are not numbered are not scanned.
また、図8の(b)は、注目画素近傍のある一定の範囲Mを越えた後は、注目画素の左右上下方向に位置する画素及び注目画素の四角の対角線方向に位置する画素に限定して走査を行なう。なお、上記一定の範囲M内においては、走査が停止しない限り全ての周辺画素について走査を行なう。 FIG. 8B is limited to a pixel located in the left / right / up / down direction of the pixel of interest and a pixel located in the diagonal direction of the square of the pixel of interest after exceeding a certain range M in the vicinity of the pixel of interest. Scan. Note that, within the certain range M, scanning is performed for all peripheral pixels unless scanning is stopped.
また、上述の説明では、差分判定部21及び二値化処理部22の処理がプログラムに基づいて実行されることとしたが、これらの処理部をハードウェアで構成するようにしても良い。 In the above description, the processing of the difference determination unit 21 and the binarization processing unit 22 is executed based on a program. However, these processing units may be configured by hardware.
以上説明したように本実施の形態例に係る画像処理装置2では、単に一つの閾値を用いて白黒を決定するのではなく、処理対象画素と周辺の相対的な関係に応じて白黒を決定するので、残したい文字等が薄い色の場合や、文字等の背景色が濃い色の場合等においても、文字を見やすい状態として二値化することができる。 As described above, the image processing apparatus 2 according to the present embodiment determines monochrome according to the relative relationship between the pixel to be processed and the surrounding area, instead of simply determining monochrome using a single threshold. Therefore, even when a character or the like to be left is a light color, or when a background color of a character or the like is a dark color, the character can be binarized so that it can be easily seen.
また、本画像処理装置2では、文字の中央部における画素についても、文字の外側の背景まで周辺画素の走査がなされて、上述した判定により黒色と判定されるので、従来の課題である中抜けの問題を解消することができる。 In the present image processing apparatus 2, the pixels in the center of the character are also scanned to the surrounding pixels up to the background outside the character, and are determined to be black by the above-described determination. The problem can be solved.
また、本画像処理装置2では、注目画素と周辺画素の濃度差が所定の閾値よりも大きくなる場合が1回発生した段階では注目画素の白黒を最終決定せず、かかる場合が複数回発生した時点で白黒を決定する。通常、画像に発生する突発的なノイズというものは周辺との濃度差が大きいが広い範囲に亘って存在しないので、ノイズの存在のみで注目画素と周辺画素の濃度差が所定の閾値よりも大きくなる場合が複数回発生する可能性は低い。従って、本画像処理装置2では、ノイズの悪影響を受けずらいという効果も得ることができる。 Further, in the present image processing apparatus 2, when the density difference between the target pixel and the surrounding pixels becomes larger than the predetermined threshold value once, the black and white of the target pixel is not finally determined, and such a case has occurred a plurality of times. Determine black and white at the moment. Usually, sudden noise that occurs in an image has a large density difference from the surroundings but does not exist over a wide range, so the density difference between the target pixel and the surrounding pixels is larger than a predetermined threshold only by the presence of noise. It is unlikely that this will happen multiple times. Therefore, the present image processing apparatus 2 can also achieve an effect that it is less susceptible to the adverse effects of noise.
なお、上述のノイズについての効果が得られないが、注目画素と周辺画素の濃度差が所定の閾値よりも大きくなる場合が1回発生した時点で注目画素の白黒を判断するようにしても良い。この場合にも、中抜け防止という効果は得ることができる。 Note that although the above-described effect on noise cannot be obtained, the black and white of the target pixel may be determined when a case where the density difference between the target pixel and the peripheral pixel becomes larger than a predetermined threshold value occurs once. . Also in this case, the effect of preventing hollowing out can be obtained.
また、上記実施の形態例では、画像読み取り装置1及び画像処理装置2を含むホストコンピュータからなるシステム構成としたが、本発明に係る画像処理プログラム及び画像処理装置は、当該システム構成に限定されることなく適用することができる。 In the above embodiment, the system configuration includes a host computer including the image reading device 1 and the image processing device 2. However, the image processing program and the image processing device according to the present invention are limited to the system configuration. Can be applied without.
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。 The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
1 画像読み取り装置、 2 画像処理装置、 21 差分判定部(差分判定手段)、 22 二値化処理部(二値化処理手段) DESCRIPTION OF SYMBOLS 1 Image reading apparatus, 2 Image processing apparatus, 21 Difference determination part (difference determination means), 22 Binarization process part (binarization process means)
Claims (5)
処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定する差分判定ステップと、
前記検知された階調値が一定差以上ある画素の個数に応じて、前記注目画素の二値化後の値を決定する二値化処理ステップと、を前記コンピュータに実行させる
ことを特徴とする画像処理プログラム。 An image processing program for causing a computer to execute processing for binarizing image data in which pixels have multi-value gradation values,
Each pixel in the direction of moving away from the pixel of interest approximately from the pixel close to the pixel of interest until one or more pixels having a gradation value equal to or greater than a certain difference from the pixel of interest to be processed are detected. A difference determination step for determining whether or not a difference between the scanned pixel and the target pixel is equal to or greater than the predetermined difference;
A binarization processing step for determining a value after binarization of the target pixel according to the number of pixels in which the detected gradation value is equal to or greater than a certain difference. Image processing program.
前記差分判定ステップにおける各画素の走査が、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の小さい画素が2以上検知されるまで、あるいは、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の大きい画素が2以上検知されるまで行なわれる
ことを特徴とする画像処理プログラム。 In claim 1,
Scanning of each pixel in the difference determination step is performed until two or more pixels having a gradation value equal to or larger than a certain difference from the target pixel and having a gradation value smaller than the gradation value of the target pixel are detected. Alternatively, the processing is performed until two or more pixels having a gradation value greater than or equal to a certain difference from the pixel of interest and having a gradation value larger than the gradation value of the pixel of interest are detected. Processing program.
前記差分判定ステップにおける各画素の走査は、前記注目画素と階調値が一定差以上ある画素の検知が完了していなくても、前記画像データの全画素を走査した場合、あるいは、所定数の画素を走査した場合には終了し、当該場合には、前記二値化処理ステップにおいて、前記注目画素の二値化後の値が予め定められた値に決定される
ことを特徴とする画像処理プログラム。 In claim 1 or 2,
The scanning of each pixel in the difference determination step is performed when all the pixels of the image data are scanned even when detection of a pixel whose gradation value is greater than a certain difference from the target pixel is completed, or a predetermined number of pixels are scanned. When the pixel is scanned, the process ends. In this case, the binarization processing step determines a value after binarization of the pixel of interest as a predetermined value. program.
前記差分判定ステップにおける各画素の走査は、前記走査の方向において、所定方法により画素を間引いて行なわれる
ことを特徴とする画像処理プログラム。 In any one of Claim 1 thru | or 3,
The image processing program characterized in that scanning of each pixel in the difference determination step is performed by thinning out pixels by a predetermined method in the scanning direction.
処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定する差分判定手段と、
前記検知された階調値が一定差以上ある画素の個数に応じて、前記注目画素の二値化後の値を決定する二値化処理手段と、を有する
ことを特徴とする画像処理装置。 An image processing apparatus that executes processing for binarizing image data in which pixels have multi-value gradation values,
Each pixel in the direction of moving away from the pixel of interest approximately from the pixel close to the pixel of interest until one or more pixels having a gradation value equal to or greater than a certain difference from the pixel of interest to be processed are detected. Difference determining means for determining whether a difference between the scanned pixel and the target pixel is equal to or greater than the predetermined difference;
An image processing apparatus, comprising: binarization processing means for determining a value after binarization of the pixel of interest according to the number of pixels whose detected gradation values are equal to or larger than a certain difference.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007316116A JP5024006B2 (en) | 2007-12-06 | 2007-12-06 | Image processing program and image processing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007316116A JP5024006B2 (en) | 2007-12-06 | 2007-12-06 | Image processing program and image processing apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009140243A JP2009140243A (en) | 2009-06-25 |
| JP5024006B2 true JP5024006B2 (en) | 2012-09-12 |
Family
ID=40870785
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007316116A Expired - Fee Related JP5024006B2 (en) | 2007-12-06 | 2007-12-06 | Image processing program and image processing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5024006B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5251100B2 (en) * | 2007-12-07 | 2013-07-31 | セイコーエプソン株式会社 | Image processing program and image processing apparatus |
| CN112801090B (en) * | 2021-01-26 | 2026-03-31 | 西安万像电子科技有限公司 | Text Region Detection Method and Device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3524826B2 (en) * | 1999-09-16 | 2004-05-10 | 日本電信電話株式会社 | Three-dimensional image processing method and apparatus, and recording medium storing three-dimensional image processing program |
| JP2002175532A (en) * | 2000-12-08 | 2002-06-21 | Fuji Xerox Co Ltd | Image processor, method for image processing and storage medium with image processing program recorded thereon |
| JP2002218232A (en) * | 2001-01-19 | 2002-08-02 | Sharp Corp | Image processing apparatus, image forming apparatus having the same, and image processing method |
| JP2006020144A (en) * | 2004-07-02 | 2006-01-19 | Ricoh Co Ltd | Document processing system |
-
2007
- 2007-12-06 JP JP2007316116A patent/JP5024006B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009140243A (en) | 2009-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7227990B2 (en) | Color image processing device and color image processing method | |
| KR101172399B1 (en) | Image forming apparatus and image improvement method thereof | |
| JP5500996B2 (en) | Image processing apparatus and image processing method | |
| US8619162B2 (en) | Image processing apparatus and method, and image processing program | |
| JPH05328121A (en) | Image processing method and apparatus thereof | |
| JP6781406B2 (en) | Image processing equipment and computer programs | |
| JP2001298625A (en) | Image processing method and image processing apparatus | |
| JP5024006B2 (en) | Image processing program and image processing apparatus | |
| JP5024574B2 (en) | Image processing apparatus and image processing program | |
| KR20080006112A (en) | Halftoning method and apparatus for improving the sharpness of the boundary area | |
| JP5251100B2 (en) | Image processing program and image processing apparatus | |
| US20090016613A1 (en) | Image processing apparatus, image processing method, and computer program product | |
| JP5007316B2 (en) | Image reading apparatus and image forming apparatus | |
| JP2007189577A (en) | Computer program, image input apparatus, image input system, and image input method | |
| JP4122703B2 (en) | Image processing device | |
| JP2008219119A (en) | Image processing apparatus and program | |
| JP4314141B2 (en) | Document image identification device, color copying machine, and document image identification method | |
| JP4968192B2 (en) | Image processing apparatus, image processing program, and image processing method | |
| US20060268344A1 (en) | Method and system for processing color image data | |
| US20110096984A1 (en) | Image processing device, method for image processing, and image forming apparatus | |
| JP2020102148A (en) | Image processing device, image processing method, and program | |
| JP3451490B2 (en) | Image information processing method | |
| JP2017169162A (en) | Image reading apparatus and image processing method | |
| KR100214337B1 (en) | How to binarize mixed documents | |
| JP2006238051A (en) | Image processing apparatus, image processing method, image processing program, and recording medium storing image processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101015 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111011 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111207 |
|
| 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: 20120522 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120604 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150629 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5024006 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |