JP5863000B2 - Image processing apparatus, image forming apparatus, and program - Google Patents
Image processing apparatus, image forming apparatus, and program Download PDFInfo
- Publication number
- JP5863000B2 JP5863000B2 JP2011161141A JP2011161141A JP5863000B2 JP 5863000 B2 JP5863000 B2 JP 5863000B2 JP 2011161141 A JP2011161141 A JP 2011161141A JP 2011161141 A JP2011161141 A JP 2011161141A JP 5863000 B2 JP5863000 B2 JP 5863000B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- pixels
- thin line
- interest
- continuous
- 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
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、画像処理装置、画像形成装置およびプログラムに関する。 The present invention relates to an image processing apparatus, an image forming apparatus, and a program.
特許文献1には、多値の画像データに対してスクリーン処理を施す場合に、エッジ部の画素に対して高線数スクリーン処理を施し、非エッジ部の画素に対して低線数スクリーン処理を施す技術が開示されている。
In
また、特許文献2には、背景より低濃度の線であるネガ線およびエッジ部が抽出された多値の画像データに対して、ネガ線と隣接していない画素に対して再度エッジ判定を行い、ネガ線と隣接していないエッジ部の画素には高線数スクリーン処理を施し、それ以外の画素には低線数スクリーン処理を施す技術が開示されている。
Further, in
本発明の目的は、スクリーン処理が施された二値の画像データにおける連続したオン画素により構成される設定された幅以下の細線であるオン画素細線および連続したオフ画素により構成される設定された幅以下の細線であるオフ画素細線を、本構成を有していない場合と比較して正確に判定することができる画像処理装置、画像形成装置およびプログラムを提供することである。 An object of the present invention is set by an on-pixel thin line and a continuous off-pixel which are thin lines having a width equal to or smaller than a set width composed of continuous on-pixels in binary image data subjected to screen processing. It is an object to provide an image processing apparatus, an image forming apparatus, and a program that can accurately determine an off-pixel thin line that is a thin line having a width equal to or less than a width as compared with a case where this configuration is not provided.
[画像処理装置]
請求項1に係る本発明は、スクリーン処理が施された二値の画像データの各画素に対して、エッジを構成する画素であるか否かを判定してエッジ部の画素を検出するエッジ検出手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するオン画素細線判定手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するオフ画素細線判定手段と、
前記エッジ部検出手段により検出されたエッジ部のうち、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するオン画素変換手段と、
を有する画像処理装置である。
[Image processing device]
According to the first aspect of the present invention, edge detection is performed by determining whether or not each pixel of binary image data subjected to screen processing is a pixel constituting an edge and detecting a pixel at an edge portion. Means,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, On-pixel thin line determination means for determining a pixel constituted by a pixel having an on-pixel thin line whose width formed by the pixels is a thin line having the number of continuous on-pixels,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. An off-pixel thin line determination unit that determines that the width of the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of continuous off-pixels when the target pixel is equal to or greater than the third threshold value,
The edge portion sac Chi detected by the edge portion detection means is constituted by the on-pixel thin line determination means and and the ON pixels has not been determined to any ON pixels thin line and off pixels thin line by OFF pixels thin line determination means The edge portion is converted so as to reduce the number of on-pixels, and neither the on-pixel thin line nor the off-pixel thin line is determined by the on-pixel thin line determination unit and the off-pixel thin line determination unit and On-edge conversion means for converting so as to add on-pixels to the configured edge portion ;
Is an image processing apparatus.
請求項2に係る本発明は、前記第1の閾値は前記連続オン画素数に基づいて設定され、
前記第2の閾値および前記第3の閾値は前記連続オフ画素数に基づいて設定される請求項1記載の画像処理装置である。
According to a second aspect of the present invention, the first threshold value is set based on the number of continuously on pixels,
The image processing apparatus according to
請求項3に係る本発明は、前記判定領域は前記連続オン画素数または前記連続オフ画素数に基づいて範囲が設定される請求項1または2記載の画像処理装置である。
The present invention according to
[画像形成装置]
請求項4に係る本発明は、スクリーン処理が施された二値の画像データの各画素に対して、エッジを構成する画素であるか否かを判定してエッジ部の画素を検出するエッジ検出手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するオン画素細線判定手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するオフ画素細線判定手段と、
前記エッジ部検出手段により検出されたエッジ部のうち、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するオン画素変換手段と、
前記オン画素変換手段により変換された画像データを出力する出力手段と、
を有する画像形成装置である。
[Image forming apparatus]
According to the fourth aspect of the present invention, edge detection is performed by determining whether or not each pixel of binary image data subjected to screen processing is a pixel constituting an edge and detecting a pixel at an edge portion. Means,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, On-pixel thin line determination means for determining a pixel constituted by a pixel having an on-pixel thin line whose width formed by the pixels is a thin line having the number of continuous on-pixels,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. An off-pixel thin line determination unit that determines that the width of the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of continuous off-pixels when the target pixel is equal to or greater than the third threshold value,
The edge portion sac Chi detected by the edge portion detection means is constituted by the on-pixel thin line determination means and and the ON pixels has not been determined to any ON pixels thin line and off pixels thin line by OFF pixels thin line determination means The edge portion is converted so as to reduce the number of on-pixels, and neither the on-pixel thin line nor the off-pixel thin line is determined by the on-pixel thin line determination unit and the off-pixel thin line determination unit and On-edge conversion means for converting so as to add on-pixels to the configured edge portion ;
Output means for outputting the image data converted by the on-pixel conversion means;
An image forming apparatus having
[プログラム]
請求項5に係る本発明は、スクリーン処理が施された二値の画像データの各画素に対して、エッジを構成する画素であるか否かを判定してエッジ部の画素を検出するステップと、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するステップと、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するステップと、
検出されたエッジ部のうち、オン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、オン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するステップと、
をコンピュータに実行させるためのプログラムである。
[program]
According to a fifth aspect of the present invention, there is provided a step of detecting whether or not each pixel of binary image data subjected to screen processing is a pixel constituting an edge and detecting a pixel at an edge portion. ,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, Determining the width of the pixel to be a pixel of an on-pixel thin line that is a thin line of the number of continuous on-pixels;
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. Determining that the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of consecutive off-pixels when the pixel of interest is equal to or greater than the third threshold,
Detected edge portion sac Chi, for the edge portion formed by and on pixels not been determined to any ON pixels thin line and off pixels thin line, converts to reduce the on-pixel, on a pixel For an edge portion that is not determined to be either a fine line or an off-pixel thin line and is composed of off-pixels, a step of converting to add on-pixels ;
Is a program for causing a computer to execute.
請求項1に係る本発明によれば、スクリーン処理が施された二値の画像データにおける連続したオン画素により構成される設定された幅以下の細線であるオン画素細線および連続したオフ画素により構成される設定された幅以下の細線であるオフ画素細線を、本構成を有していない場合と比較して正確に判定することができる画像処理装置を提供することができる。 According to the first aspect of the present invention, the image processing device includes the on-pixel thin line and the continuous off-pixel which are thin lines having a width equal to or smaller than the set width composed of the continuous on-pixel in the binary image data subjected to the screen processing. It is possible to provide an image processing apparatus that can accurately determine an off-pixel thin line that is a thin line with a width equal to or smaller than a set width compared to a case where the present configuration is not provided.
請求項2に係る本発明によれば、請求項1により得られる効果に加えて、オン画素細線およびオフ画素細線をその線幅に応じてより正確に判定することができる。 According to the second aspect of the present invention, in addition to the effect obtained by the first aspect, the on-pixel thin line and the off-pixel thin line can be more accurately determined according to the line width.
請求項3に係る本発明によれば、請求項1または2により得られる効果に加えて、オン画素細線およびオフ画素細線をその線幅に応じてより正確に判定することができる。 According to the third aspect of the present invention, in addition to the effect obtained by the first or second aspect, the on-pixel thin line and the off-pixel thin line can be more accurately determined according to the line width.
請求項4に係る本発明によれば、スクリーン処理が施された二値の画像データにおける連続したオン画素により構成される設定された幅以下の細線であるオン画素細線および連続したオフ画素により構成される設定された幅以下の細線であるオフ画素細線を、本構成を有していない場合と比較して正確に判定することができる画像形成装置を提供することができる。 According to the fourth aspect of the present invention, the binary image data subjected to the screen processing is constituted by the on-pixel thin line and the continuous off-pixel which are thin lines having a width equal to or smaller than the set width constituted by the continuous on-pixel. Thus, it is possible to provide an image forming apparatus that can accurately determine an off-pixel thin line that is a thin line having a width equal to or smaller than a set width as compared with a case where this configuration is not provided.
請求項5に係る本発明によれば、スクリーン処理が施された二値の画像データにおける連続したオン画素により構成される設定された幅以下の細線であるオン画素細線および連続したオフ画素により構成される設定された幅以下の細線であるオフ画素細線を、本構成を有していない場合と比較して正確に判定することができるプログラムを提供することができる。 According to the fifth aspect of the present invention, the binary image data subjected to the screen processing is constituted by the on-pixel thin line and the continuous off-pixel which are thin lines having a width equal to or smaller than the set width constituted by the continuous on-pixel. It is possible to provide a program that can accurately determine an off-pixel thin line that is a thin line having a width equal to or smaller than a set width compared to a case where the present configuration is not provided.
[背景]
まず、本発明の理解を助けるために、本発明が発明されるに至った背景について説明する。
[background]
First, in order to help understanding of the present invention, the background that led to the present invention will be described.
電子写真において、文字や線を用紙に出力する場合、ドットゲイン等の影響によって、元の画像や潜像データよりも実際に用紙に出力された文字や線が太ってしまうという課題があった。 In electrophotography, when characters and lines are output on paper, there is a problem that characters and lines actually output on paper become thicker than original images and latent image data due to the influence of dot gain and the like.
上記の課題に対して、例えば、特許文献1に記載されているようにエッジの検出を行い、エッジ部の濃度を薄くすることで、用紙に出力した際に文字や線の線幅を調整する補正が行われている。
In response to the above problem, for example, as described in
しかし、ある一定の線幅以下の線である細線のうち、背景より高濃度であるポジ細線に対して濃度を薄くするように調整する場合、このポジ細線がかすれてしまうという問題があった。また、背景より低濃度であるネガ細線の白抜き部分がぼやけてしまうというような問題があった。 However, there is a problem that, when the density is adjusted to be thinner than the fine fine line having a higher density than the background among the fine lines having a certain line width or less, the positive fine line is faded. In addition, there is a problem that a white portion of a negative fine line having a lower density than the background is blurred.
そこで、特許文献2では、ポジ細線およびネガ細線に対しては濃度を変更することなくポジ細線およびネガ細線以外のエッジ部のみの濃度を変更するという技術が開示されている。
Therefore,
一方、上記の技術は、多値の画像データに対しては問題ないが、スクリーン処理が施された二値画像データとなると正確にポジ細線およびネガ細線を検出することができなかった。なぜなら、スクリーン済みの画像データでは、ハーフトーンなどの網点や汚れなどによる孤立点もポジ細線またはネガ細線と判定されてしまう恐れがあるためである。 On the other hand, the above technique has no problem for multi-valued image data, but when it is binary image data subjected to screen processing, it has not been possible to accurately detect positive fine lines and negative fine lines. This is because, in the screened image data, halftone dots and other isolated points due to dirt may be determined as positive thin lines or negative thin lines.
従って、スクリーン処理が施された二値の画像データにおけるポジ細線およびネガ細線を精度よく判定する技術が求められていた。 Therefore, there has been a demand for a technique for accurately determining positive fine lines and negative fine lines in binary image data subjected to screen processing.
[実施形態]
次に、本発明の実施の形態について図面を参照して詳細に説明する。
[Embodiment]
Next, embodiments of the present invention will be described in detail with reference to the drawings.
図1は本発明の一実施形態の画像形成システムを示す図である。 FIG. 1 is a diagram showing an image forming system according to an embodiment of the present invention.
本実施形態における画像形成装置1は、ネットワーク3を介して端末装置2と接続されている。画像形成装置1は、端末装置2からネットワーク3を介して送信されてきた画像データ、および図示しない光学的に画像を読み取るプリンタなどの読み取り装置から送信されてきた画像データを用紙に印刷する。また、本実施形態において、画像形成装置1には、内部に画像処理装置が設置されている。
The
次に、画像形成装置1のハードウェアの構成を図2を参照して詳細に説明する。
Next, the hardware configuration of the
画像形成装置1は、図2に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、ネットワーク3を介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)14、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置15、スキャナ16、プリンタ17を有する。これらの構成要素は、制御バス18を介して互いに接続されている。
As shown in FIG. 2, the
CPU11は、メモリ12または記憶装置13に格納された制御プログラムに基づいて所定の処理を実行して、画像形成装置1に設置された画像形成装置の動作を制御する。なお、本実施形態では、CPU11は、メモリ12または記憶装置13内に格納された制御プログラムを読み出して実行するものとして説明したが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU11に提供することも可能である。
The
図3は、上記の制御プログラムが実行されることにより実現される画像形成装置1内の画像処理装置4の機能構成を示すブロック図である。
FIG. 3 is a block diagram showing a functional configuration of the
画像処理装置4は、図4に示されるように、ポジ細線判定部41、ネガ細線判定部42、エッジ検出部43、ハーフトーン検知部44、データ処理部45、オン画素変換部46を有する。そして、オン画素変換部46によりオン画素変換が行われた画像データを用紙に出力するプリンタ17が画像処理装置4と接続されている。なお、本実施形態において画像処理装置4は、画像形成装置1の内部に設置されているものとして説明するが、本発明はこのような構成に限定されず、画像形成装置1から独立させるようにしてもよい。
As illustrated in FIG. 4, the
以下、画像形成装置1はスクリーン処理が施された二値の画像データを受信し、この画像データが入力画像データとして画像処理装置4に入力されたものとして説明する。
In the following description, it is assumed that the
ポジ細線判定部41は、入力画像データの画素のうちの1つを順次注目画素として選択し、この注目画素がオン画素であり、この注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が4つ以下であり、連続オン画素数に基づいて設定される範囲の判定領域内のオン画素数が第1の閾値以上である場合に、この注目画素を幅が連続オン画素数分のポジ細線(オン画素細線)の画素と判定する。ここで、ポジ細線とは、連続するオン画素により構成される連続オン画素数の細線のことである。
The positive thin
また、ポジ細線判定部41において、第1の閾値および判定領域は連続オン画素数に基づいて設定される。そして、ポジ細線判定部41は、入力画像データの各画素についてポジ細線の画素であるか否かを示す情報であるポジ細線情報を生成する。
Further, in the positive thin
ネガ細線判定部42は、入力画像データの画素のうちの1つを順次注目画素として選択し、この注目画素がオフ画素であり、この注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が4つ以下であり、連続オフ画素数に基づいて設定される範囲の判定領域内のオン画素数が第2の閾値以上かつ判定領域内のオフ画素数が第3の閾値以上である場合に、この注目画素を幅が連続オフ画素数分のネガ細線(オフ画素細線)の画素と判定する。ここで、ネガ細線とは、連続するオフ画素により構成される幅が連続オフ画素数の細線のことである。
The negative thin
また、ネガ細線判定部42において、第2の閾値、第3の閾値および判定領域は、連続オフ画素数に基づいて設定される。そして、ネガ細線判定部42は、入力画像データの各画素についてネガ細線の画素であるか否かを示す情報であるネガ細線情報を生成する。
Further, in the negative thin
エッジ検出部43は、入力画像データの各画素に対して、エッジを構成する画素であるか否かを判定してエッジ部の画素を検出する。そして、エッジ検出部43は、入力画像データの各画素についてエッジ部であるか否かを示す情報であるエッジ情報を生成する。
The
ハーフトーン検知部44は、入力画像データにおける白い背景と黒点の面積比で表現される中間階調(ハーフトーン)の領域を検知する。そして、ハーフトーン検知部44は、入力画像データの各画素についてハーフトーンの領域であるか否かを示すハーフトーン情報を生成する。
The
データ処理部45は、ポジ細線情報、ネガ細線情報、エッジ情報およびハーフトーン情報に基づいて、オン画素変換部46に対して入力画像データの変換を指示する。ここで、データ処理部45は、ハーフトーンの領域ではなく、かつエッジ部のうち、ポジ細線およびネガ細線と判定されていない画素のオン画素数を変更するようにオン画素変換部46に指示する。
The
オン画素変換部46は、データ処理部45からの指示に基づいて入力画像データのオン画素を変換する。ここで、オン画素変換部46は、オン画素により構成されるエッジである黒エッジ部に対してはオン画素を減らすように変換し、オフ画素により構成されるエッジである白エッジ部に対してはオン画素を追加するように変換する。
The on-
次に、本実施形態の画像処理装置4の動作を図面を参照して詳細に説明する。
Next, the operation of the
まず、画像処理装置4の動作の全体的な流れを図4を参照して説明する。
First, the overall flow of the operation of the
まず、ハーフトーン検知部44は、入力画像データにおけるハーフトーンの領域を検知してハーフトーン情報を生成する(ステップS101)。
First, the
次に、エッジ検出部43は、入力画像データの各画素に対して、エッジを構成する画素であるか否かを判定してエッジ部の画素を検出してエッジ情報を生成する(ステップS102)。エッジ部の検出方法の詳細は後述する。
Next, the
そして、ポジ細線判定部41およびネガ細線判定部42は、入力画像データにおけるポジ細線およびネガ細線を判定して、ポジ細線情報およびネガ細線情報を生成する(ステップS103、ステップS104)。ポジ細線の判定方法およびネガ細線の判定方法についても後述する。
Then, the positive thin
次に、データ処理部45は、ステップS101〜ステップS104における処理で得られたハーフトーン情報、エッジ情報、ポジ細線情報およびネガ細線情報に基づいて、ハーフトーンではなく、かつエッジ部である画素のうち、ポジ細線ではない画素およびネガ細線ではない画素のオン画素数を変更するようオン画素変換部46に指示する(ステップS105)。
Next, based on the halftone information, edge information, positive thin line information, and negative thin line information obtained by the processing in steps S101 to S104, the
最後に、オン画素変換部46は、画像データに対してデータ処理部45からの指示に基づいて、ハーフトーンではなく、かつポジ細線およびネガ細線と判定されていないエッジ部うち、オン画素により構成されるエッジである黒エッジに対してはオン画素を減らすように変換し、オフ画素により構成されるエッジである白エッジに対してはオン画素を追加するように変更する(ステップS106)。
Finally, the on-
次に、ステップS102におけるエッジ検出方法を図5を参照して詳細に説明する。 Next, the edge detection method in step S102 will be described in detail with reference to FIG.
まず、エッジ検出部43は、入力画像データの画素のうち1つを注目画素として選択する(ステップS201)。
First, the
そして、注目画素の近傍8画素のオン画素の配置パターンが予め設定されたパターンと一致する場合には、ステップS203に進み、注目画素の近傍8画素のオン画素の配置パターンが予め設定されたパターンと一致しない場合には、ステップS204に進む(ステップS202)。 If the on-pixel arrangement pattern of the eight pixels in the vicinity of the target pixel matches the preset pattern, the process proceeds to step S203, and the on-pixel arrangement pattern of the eight pixels in the vicinity of the target pixel is set in advance. If not, the process proceeds to step S204 (step S202).
次に、ステップS202において、注目画素の近傍8画素のオン画素の配置パターンが予め設定されたパターンと一致すると判定された場合は、エッジ検出部43は、この注目画素がエッジ部の画素であると判定する(ステップS203)。また、エッジ検出部43は、注目画素として選択された画素がエッジ部であるか否かを示すエッジ情報を生成する。
Next, in step S202, when it is determined that the on-pixel arrangement pattern of the 8 pixels in the vicinity of the target pixel matches the preset pattern, the
そして、エッジ検出部43は、入力画像データ中に注目画素として選択されていない画素があるか否かを判定する(ステップS204)。ここで、注目画素として選択されていない画素がまだある場合は、エッジ検出部43は、ステップS201に戻り上記の処理によってエッジ部を検出していく。そして、入力画像データの全ての画素についてエッジ判定が行われてエッジ情報が生成された場合には、エッジ検出部43は、エッジ検出の処理を終了する。
Then, the
なお、本実施形態では、注目画素の近傍8画素のオン画素の配置パターンが予め設定されたパターンと一致するか否かを判定することによってエッジが検出されるものとして説明したが、本発明においては、エッジ部が検出される方法であれば上記の方法に限定されるものではない。例えば、注目画素の近傍8画素のオン画素数が予め設定されている閾値以上であるか否かを判定して閾値以上である場合にはエッジ部と判定するようにしてもよい。 In the present embodiment, it has been described that the edge is detected by determining whether or not the arrangement pattern of the ON pixels of the 8 pixels in the vicinity of the target pixel matches a preset pattern. Is not limited to the above method as long as the edge portion is detected. For example, it may be determined whether or not the number of on-pixels in the vicinity of the pixel of interest is equal to or greater than a preset threshold value.
次に、ステップS103におけるポジ細線判定方法を図6を参照して詳細に説明する。 Next, the positive thin line determination method in step S103 will be described in detail with reference to FIG.
まず、ポジ細線判定部41は、入力画像データのうちの1つの画素を順次注目画素として選択する(ステップS301)。ここで、ポジ細線判定部41は、図7に示されるような9行×9列画素の画像データのうちの41番目の画素を注目画素51として選択したものとする。ここで、図7は、以後の処理の理解を助けるために、入力画像データのうち、注目画素を中心とする9行×9列の領域の各行、各列および各画素に番号が振られている図である。
First, the positive thin
次に、ポジ細線判定部41は、選択された注目画素がオン画素かオフ画素かを判定する(ステップS302)。ここで、注目画素51がオン画素である場合はステップS303に進み、注目画素がオフ画素である場合はステップS307に進む。
Next, the positive thin
次に、ポジ細線判定部41は、注目画素51を含めて左右方向または上下方向に連続するオン画素の数が4つ以下か否かを判定する(ステップS303)。ここで、左右方向または上下方向の連続するオン画素の数が4つ以下である場合にはステップS304に進み、左右方向および上下方向ともに連続するオン画素の数が4つより多い場合はステップS307に進む。
Next, the positive fine
次に、ポジ細線判定部41は、第1の閾値および判定領域を設定する(ステップS303)。
Next, the positive thin
このステップS303において、ポジ細線判定部41は、図8(A)に示されるように、注目画素51を含めた連続するオン画素52が1つの場合、図9に示される1ドット幅のポジ細線判定用の閾値1dPONを第1の閾値として設定し、注目画素51を中心とした5行×5列の領域を判定領域として設定する。また、ポジ細線判定部41は、図8(B)に示されるように、注目画素51を含む左右方向に連続するオン画素52が2つ連続している場合、図9に示される2ドット幅のポジ線判定用の閾値2dPONを第1の閾値として設定し、注目画素51を中心とした5行×5列の領域を判定領域として設定する。
In this step S303, the positive thin
さらに、ポジ細線判定部41は、図8(C)に示されるように、注目画素51を含む上下方向に連続するオン画素52が3つ連続している場合、図9に示される3ドット幅のポジ線判定用の閾値3dPONを第1の閾値として設定し、注目画素51を中心とした7行×7列の領域を判定領域として設定する。そして、ポジ細線判定部41は、図8(D)に示されるように、注目画素51を含む左右方向に連続するオン画素52が4つ連続している場合、図9に示される4ドット幅のポジ線判定用の閾値4dPONを第1の閾値として設定し、注目画素51を中心とした9行×9列の領域を判定領域として設定する。
Further, as shown in FIG. 8C, the positive thin
次に、ポジ細線判定部41は、第1の閾値と判定領域内のオン画素数を比較する(ステップS304)。
Next, the positive thin
そして、ステップS304において判定領域内のオン画素数が第1の閾値以上である場合は、注目画素51をポジ細線の画素と判定してステップS306に進み、判定領域内のオン画素数が第1の閾値未満である場合はステップS307に進む(ステップS305)。
If the number of on-pixels in the determination area is greater than or equal to the first threshold value in step S304, the
上記で説明したポジ細線の画素と判定される条件の一覧を図10に示す。ここで、図10におけるドット判定および背景判定の番号は、図7の番号に該当する画素の画素値、つまりオンであるかオフであるかを表す。 FIG. 10 shows a list of conditions determined to be positive thin line pixels described above. Here, the numbers for dot determination and background determination in FIG. 10 represent the pixel values of the pixels corresponding to the numbers in FIG. 7, that is, whether they are on or off.
例えば、図10に示されるように、注目画素である41番目の画素を含む41番目の画素、40番目の画素、39番目の画素がオン画素であり、38番目の画素および42番目の画素がオフ画素である場合、ポジ細線判定部41は、図7における2行2列目から8行8列目を判定領域とし、第1の閾値として閾値3dPONが設定される。そして、ポジ細線判定部41は、判定領域内のオン画素数が閾値3dPON以上の場合は41番目の画素を3ドットポジ細線の画素であると判定する。
For example, as shown in FIG. 10, the 41st pixel, the 40th pixel, and the 39th pixel including the 41st pixel which is the target pixel are ON pixels, and the 38th pixel and 42nd pixel are When the pixel is an off pixel, the positive thin
次に、ポジ細線判定部41は、注目画素がポジ細線の画素であることを示すポジ細線情報を生成する(ステップS306)。例えば、ポジ細線判定部41は、図11(A)に示すようなポジ細線に対して、図11(B)に示すようなポジ細線の画素と判定されたオン画素52を“1”、オフ画素を“0”としたポジ細線情報を生成する。
Next, the positive thin
また、ポジ細線判定部41が、図12(A)に示されるようなオン画素により構成される孤立点やハーフトーン処理における網点を判定する場合について説明する。例えば、入力画像データ中の図12(A)に示されるような領域を判定する場合、左右方向の連続オン画素数が2画素であるため、閾値2dPONとして7が設定されるが、判定領域内のオン画素数が6であり閾値2dPONよりも小さい。また、上下方向の連続オン画素数が3画素であるため、閾値3dPONとして10が設定されるが、判定領域内のオン画素数が6であり閾値3dPONより小さい。従って、図12(A)に示されるオン画素52は図10に示されるような条件と一致しないため、ポジ細線判定部41は、図12(A)に示されるオン画素52を、ポジ細線ではないものとして、図12(B)に示すように“0”とした情報を生成する。
Further, a case will be described in which the positive thin
そして、上記のステップS301〜S306の処理により、入力画像データの全ての画素についてポジ細線の画素か否かを判定してポジ細線情報を生成した場合、ポジ細線判定部41は、ポジ細線判定の処理を終了する(ステップ307)。
When positive thin line information is generated by determining whether or not all the pixels of the input image data are positive thin line pixels by the processing of steps S301 to S306, the positive thin
次に、ステップS104におけるネガ細線判定方法を図13を参照して詳細に説明する。 Next, the negative thin line determination method in step S104 will be described in detail with reference to FIG.
まず、ネガ細線判定部42は、入力画像データのうちの1つの画素を順次注目画素として選択する(ステップS401)。ここで、ネガ細線判定部42は、図7に示されるような9行×9列画素の画像データのうちの41番目の画素を注目画素51として選択したものとする。
First, the negative thin
次に、ネガ細線判定部42は、選択された注目画素がオン画素かオフ画素かを判定する(ステップS402)。ここで、注目画素51がオフ画素である場合はステップS403に進み、注目画素がオフ画素である場合はステップS407に進む。
Next, the negative thin
次に、ネガ細線判定部42は、注目画素51を含めて左右方向または上下方向に連続するオフ画素の数が4つ以下か否かを判定する(ステップS403)。ここで、左右方向または上下方向の連続するオフ画素の数が4つ以下である場合にはステップS404に進み、左右方向および上下方向ともに連続するオフ画素の数が4つより多い場合はステップS407に進む。
Next, the negative thin
次に、ネガ細線判定部42は、第2の閾値、第3の閾値および判定領域を設定する(ステップS403)。
Next, the negative thin
このステップS403において、ネガ細線判定部42は、図14(A)に示されるように、注目画素51を含めた連続するオフ画素53が1つの場合、図15に示される1ドット幅のネガ細線判定用の閾値1dNOFFを第2の閾値、閾値1dNONを第3の閾値として設定し、注目画素51を中心とした5行×5列の領域を判定領域として設定する。また、ネガ細線判定部42は、図14(B)に示されるように、注目画素51を含む左右方向に連続するオフ画素53が2つ連続している場合、図15に示される2ドット幅のネガ線判定用の閾値2dNOFFを第2の閾値、閾値2dNONを第3の閾値として設定し、注目画素51を中心とした5行×5列の領域を判定領域として設定する。
In this step S403, the negative thin
さらに、ネガ細線判定部42は、図14(C)に示されるように、注目画素51を含む上下方向に連続するオフ画素53が3つ連続している場合、図15に示される3ドット幅のネガ線判定用の閾値3dNOFFを第2の閾値、閾値3dNONを第3の閾値として設定し、注目画素51を中心とした7行×7列の領域を判定領域として設定する。そして、ネガ細線判定部42は、図14(D)に示されるように、注目画素51を含む左右方向に連続するオフ画素53が4つ連続している場合、図15に示される4ドット幅のネガ線判定用の閾値4dNOFFを第2の閾値、閾値4dNONを第3の閾値として設定し、注目画素51を中心とした9行×9列の領域を判定領域として設定する。
Further, as shown in FIG. 14C, the negative thin
次に、ポジ細線判定部41は、第2の閾値と判定領域内のオフ画素数、第3の閾値と判定領域内のオン画素数を比較する(ステップS404)。
Next, the positive thin
そして、ステップS404において判定領域内のオフ画素数が第2の閾値以上かつ判定領域内のオン画素数が第3の閾値以上である場合は、注目画素51をネガ細線の画素と判定してステップS406に進み、判定領域内のオフ画素数が第2の閾値未満または判定領域内のオン画素数が第3の閾値未満である場合はステップS407に進む(ステップS405)。
If the number of off pixels in the determination area is equal to or greater than the second threshold value and the number of on pixels in the determination area is equal to or greater than the third threshold value in step S404, the
上記で説明したネガ細線の画素と判定される条件の一覧を図16に示す。ここで、図16におけるドット判定および背景判定の番号は、図7の番号と該当する画素の画素値、つまりオンであるかオフであるかを示している。 FIG. 16 shows a list of conditions determined to be negative thin line pixels described above. Here, the numbers for dot determination and background determination in FIG. 16 indicate the numbers in FIG. 7 and the pixel values of the corresponding pixels, that is, whether they are on or off.
例えば、図16に示されるように、注目画素である41番目の画素を含む41番目の画素、32番目の画素がオフ画素であり、23番目の画素および50番目の画素がオン画素である場合、ポジ細線判定部41は、図7における3行3列目から7行7列目を判定領域とし、第2の閾値として閾値2dNOFF、第3の閾値として閾値2dNONが設定される。そして、ポジ細線判定部41は、判定領域内のオフ画素数が閾値2dNOFF以上かつ判定領域内のオン画素数が閾値2dNON以上の場合は41番目の画素を2ドットネガ細線の画素であると判定する。
For example, as shown in FIG. 16, the 41st pixel including the 41st pixel as the target pixel, the 32nd pixel is an off pixel, and the 23rd pixel and the 50th pixel are on pixels. The positive thin
次に、ネガ細線判定部42は、注目画素51がネガ細線の画素であることを示すネガ細線情報を生成する(ステップS406)。例えば、ネガ細線判定部42は、図17(A)に示すようなネガ細線に対して、図17(B)に示すようなネガ細線の画素と判定されたオフ画素53を“2”、オン画素52を“0”としたネガ細線情報を生成する。
Next, the negative thin
また、ネガ細線判定部42が、図18(A)に示されるようなオフ画素53により構成される孤立点やハーフトーン処理における網点を判定する場合について説明する。例えば、入力画像データ中の図18(A)に示されるような領域を判定する場合、左右方向の連続オフ画素数が2画素であるため閾値2dNOFFとして7および閾値2dNONとして13が設定されるが、判定領域内のオフ画素数が6であり閾値2dNOFFよりも小さい。また、上下方向の連続オフ画素数が3画素であるため閾値3dNOFFとして10および閾値3dNONとして25が設定されるが、判定領域内のオフ画素数が6であり閾値3dNOFFより小さい。従って、図18(A)に示されるようなオフ画素53は、図16に示されるような条件と一致しないため、ネガ細線判定部42は、図18(A)に示されるオフ画素53を、ポジ細線ではないものとして、図18(B)に示すように“0”とした情報を生成する。
Further, a case will be described in which the negative thin
そして、上記のステップS401〜S406の処理により、入力画像データの全ての画素についてネガ細線の画素か否かを判定してネガ細線情報を生成した場合、ネガ細線判定部42は、ネガ細線判定の処理を終了する(ステップ407)。
When the negative thin line information is generated by determining whether or not all the pixels of the input image data are negative thin line pixels by the processes in steps S401 to S406, the negative thin
なお、本実施形態においては、連続オン画素数が4画素以下の場合のポジ細線、連続オフ画素数が4画素以下の場合のネガ細線を判定するものとして説明したが、細線の幅の上限を4画素と定義しただけに過ぎず、細線の幅の上限を4画素より多いまたは4画素未満と定義する場合でも本発明は同様に適用できるものである。 In this embodiment, the positive thin line when the number of continuous on pixels is 4 pixels or less and the negative thin line when the number of continuous off pixels is 4 pixels or less are described. However, the upper limit of the width of the thin line is determined. The present invention can be similarly applied even when the upper limit of the width of the thin line is defined as more than 4 pixels or less than 4 pixels.
また、様々な画像に対する実験の結果、ポジ細線を判定する場合にはオフ画素数による判定を行わなくても精度よく判定できていたため、本実施形態においてはオフ画素数による判定をしない方法を採用したが、本発明においてオフ画素数による判定を行うようにしても同様にポジ細線の判定を行うことができる。
また、本実施形態では、ネガ細線を判定する場合に、オフ画素数による判定だけでなくオン画素数による判定を行うものとして説明したが、これは判定領域内の背景が基本的にオン画素であることを条件としていたためである。本発明は、ネガ細線を判定する場合においてオン画素数による判定を行わないようにしてオフ画素数による判定のみでもネガ細線の判定を行うことができる。
In addition, as a result of experiments on various images, when determining a positive thin line, it was possible to accurately determine without determining by the number of off pixels. In this embodiment, a method that does not determine by the number of off pixels is adopted. However, even if the determination based on the number of off-pixels is performed in the present invention, the determination of the positive thin line can be similarly performed.
Further, in the present embodiment, when the negative thin line is determined, it is described that the determination based on the number of on pixels as well as the determination based on the number of off pixels is performed. This is because there was a certain condition. According to the present invention, it is possible to determine the negative thin line only by the determination based on the number of off pixels without performing the determination based on the number of on pixels when determining the negative thin line.
1 画像形成装置
2 端末装置
3 ネットワーク
4 画像処理装置
11 CPU
12 メモリ
13 記憶装置
14 通信IF
15 UI装置
16 スキャナ
17 プリンタ
18 制御バス
41 ポジ線判定部
42 ネガ線判定部
43 エッジ検出部
44 ハーフトーン検知部
45 データ処理部
46 オン画素変換部
51 注目画素
52 オン画素
53 オフ画素
DESCRIPTION OF
12
DESCRIPTION OF
Claims (5)
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するオン画素細線判定手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するオフ画素細線判定手段と、
前記エッジ部検出手段により検出されたエッジ部のうち、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するオン画素変換手段と、
を有する画像処理装置。 Edge detection means for determining whether or not each pixel of binary image data subjected to screen processing is a pixel constituting an edge and detecting a pixel of an edge portion;
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, On-pixel thin line determination means for determining a pixel constituted by a pixel having an on-pixel thin line whose width formed by the pixels is a thin line having the number of continuous on-pixels,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. An off-pixel thin line determination unit that determines that the width of the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of continuous off-pixels when the target pixel is equal to or greater than the third threshold value,
The edge portion sac Chi detected by the edge portion detection means is constituted by the on-pixel thin line determination means and and the ON pixels has not been determined to any ON pixels thin line and off pixels thin line by OFF pixels thin line determination means The edge portion is converted so as to reduce the number of on-pixels, and neither the on-pixel thin line nor the off-pixel thin line is determined by the on-pixel thin line determination unit and the off-pixel thin line determination unit and On-edge conversion means for converting so as to add on-pixels to the configured edge portion ;
An image processing apparatus.
前記第2の閾値および前記第3の閾値は前記連続オフ画素数に基づいて設定される請求項1記載の画像処理装置。 The first threshold is set based on the number of consecutive on pixels,
The image processing apparatus according to claim 1, wherein the second threshold value and the third threshold value are set based on the number of consecutive off pixels.
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するオン画素細線判定手段と、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するオフ画素細線判定手段と、
前記エッジ部検出手段により検出されたエッジ部のうち、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、前記オン画素細線判定手段およびオフ画素細線判定手段によりオン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するオン画素変換手段と、
前記オン画素変換手段により変換された画像データを出力する出力手段と、
を有する画像形成装置。 Edge detection means for determining whether or not each pixel of binary image data subjected to screen processing is a pixel constituting an edge and detecting a pixel of an edge portion;
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, On-pixel thin line determination means for determining a pixel constituted by a pixel having an on-pixel thin line whose width formed by the pixels is a thin line having the number of continuous on-pixels,
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. An off-pixel thin line determination unit that determines that the width of the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of continuous off-pixels when the target pixel is equal to or greater than the third threshold value,
The edge portion sac Chi detected by the edge portion detection means is constituted by the on-pixel thin line determination means and and the ON pixels has not been determined to any ON pixels thin line and off pixels thin line by OFF pixels thin line determination means The edge portion is converted so as to reduce the number of on-pixels, and neither the on-pixel thin line nor the off-pixel thin line is determined by the on-pixel thin line determination unit and the off-pixel thin line determination unit and On-edge conversion means for converting so as to add on-pixels to the configured edge portion ;
Output means for outputting the image data converted by the on-pixel conversion means;
An image forming apparatus.
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオン画素であり、該注目画素を含めて左右方向または上下方向に連続するオン画素の数である連続オン画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第1の閾値以上である場合に、該注目画素を連続するオン画素により構成される幅が前記連続オン画素数の細線であるオン画素細線の画素と判定するステップと、
前記画像データを構成する画素のうちの1つを順次注目画素として選択し、該注目画素がオフ画素であり、該注目画素を含めて左右方向または上下方向に連続するオフ画素の数である連続オフ画素数が予め設定されている数以下であり、予め設定されている範囲の判定領域内のオン画素数が予め設定された第2の閾値以上かつ該判定領域内のオフ画素数が予め設定された第3の閾値以上である場合に、該注目画素を連続するオフ画素により構成される幅が前記連続オフ画素数の細線であるオフ画素細線の画素と判定するステップと、
検出されたエッジ部のうち、オン画素細線およびオフ画素細線のいずれにも判定されておらず且つオン画素により構成されるエッジ部に対しては、オン画素を減らすように変換し、オン画素細線およびオフ画素細線のいずれにも判定されておらず且つオフ画素により構成されるエッジ部に対しては、オン画素を追加するように変換するステップと、
をコンピュータに実行させるためのプログラム。 For each pixel of binary image data that has undergone screen processing, determining whether or not it is a pixel that constitutes an edge, and detecting a pixel at the edge portion;
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an on pixel, and is a continuous number of on pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest When the number of ON pixels is equal to or less than a preset number and the number of ON pixels in a predetermined range of the determination area is equal to or greater than a preset first threshold, Determining the width of the pixel to be a pixel of an on-pixel thin line that is a thin line of the number of continuous on-pixels;
One of the pixels constituting the image data is sequentially selected as a pixel of interest, the pixel of interest is an off pixel, and is a continuous number of off pixels that are continuous in the horizontal direction or the vertical direction including the pixel of interest The number of off pixels is equal to or less than a preset number, the number of on pixels in the judgment area in the preset range is greater than or equal to a preset second threshold value, and the number of off pixels in the judgment area is preset. Determining that the pixel of interest is a pixel of an off-pixel thin line that is a thin line of the number of consecutive off-pixels when the pixel of interest is equal to or greater than the third threshold,
Detected edge portion sac Chi, for the edge portion formed by and on pixels not been determined to any ON pixels thin line and off pixels thin line, converts to reduce the on-pixel, on a pixel For an edge portion that is not determined to be either a fine line or an off-pixel thin line and is composed of off-pixels, a step of converting to add on-pixels ;
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011161141A JP5863000B2 (en) | 2011-07-22 | 2011-07-22 | Image processing apparatus, image forming apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011161141A JP5863000B2 (en) | 2011-07-22 | 2011-07-22 | Image processing apparatus, image forming apparatus, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013026914A JP2013026914A (en) | 2013-02-04 |
JP5863000B2 true JP5863000B2 (en) | 2016-02-16 |
Family
ID=47784766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011161141A Expired - Fee Related JP5863000B2 (en) | 2011-07-22 | 2011-07-22 | Image processing apparatus, image forming apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5863000B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6935708B2 (en) * | 2017-09-15 | 2021-09-15 | 富士フイルムビジネスイノベーション株式会社 | Image processing equipment, image forming equipment, and programs |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60143769A (en) * | 1983-12-29 | 1985-07-30 | Kawasaki Steel Corp | Particle size and second phase fraction measuring apparatus |
JPH0718696B2 (en) * | 1986-06-23 | 1995-03-06 | 清水建設株式会社 | Automatic crack measuring device |
JP2964931B2 (en) * | 1995-04-25 | 1999-10-18 | 富士ゼロックス株式会社 | Image processing apparatus and image forming apparatus |
JP3927171B2 (en) * | 2003-12-26 | 2007-06-06 | キヤノンマーケティングジャパン株式会社 | Noise removing apparatus and method, program, and recording medium |
JP4548302B2 (en) * | 2005-10-25 | 2010-09-22 | コニカミノルタエムジー株式会社 | Image output system, image output control device, image output method, image output program, and storage medium storing this program in a computer-readable manner |
JP2008011484A (en) * | 2006-06-02 | 2008-01-17 | Nippon Telegr & Teleph Corp <Ntt> | Apparatus and method for extracting character and graphic string, program for executing the method, recording medium with the program stored therein |
JP4966787B2 (en) * | 2007-08-27 | 2012-07-04 | キヤノン株式会社 | Color image forming apparatus and color image correction method |
JP4491488B2 (en) * | 2008-03-03 | 2010-06-30 | シャープ株式会社 | Image processing apparatus, image reading apparatus, image data output processing apparatus, and image processing method |
-
2011
- 2011-07-22 JP JP2011161141A patent/JP5863000B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013026914A (en) | 2013-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5740212B2 (en) | Image processing apparatus, image processing method, and image processing program | |
US10359727B2 (en) | Image processing apparatus, image processing method, and storage medium, that determine a type of edge pixel | |
JP5863001B2 (en) | Image processing apparatus, image forming apparatus, and program | |
US8724174B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and computer-readable medium | |
JP4501791B2 (en) | Image processing method and image processing program | |
JP5494330B2 (en) | Image processing apparatus and program | |
JP2017161969A (en) | Character recognition device, method, and program | |
JP6027851B2 (en) | Image processing apparatus, image processing method, and program | |
JP5863000B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP2013500527A (en) | Automatic location of tables in documents | |
JP2008279626A (en) | Image processor and image processing program | |
JP6452342B2 (en) | Image processing apparatus, image forming apparatus, image processing method, and program | |
JP2011254271A (en) | Image processing device and image processing method | |
JP5768557B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP2021190738A (en) | Color parameter generation device, execution device, and color parameter generation program | |
CN101388951A (en) | Image forming apparatus, image processing apparatus and wire narrowing method | |
JP4998176B2 (en) | Translation apparatus and program | |
JP2013135396A (en) | Image processor and image processing method | |
JP5790000B2 (en) | Printing apparatus and printing method therefor | |
JP7211209B2 (en) | IMAGE PROCESSING APPARATUS, PROGRAM, IMAGE FORMING APPARATUS, AND CONTROL METHOD | |
JP5268861B2 (en) | Image processing device | |
JP5569107B2 (en) | Image processing apparatus and program | |
JP4238750B2 (en) | Image forming apparatus and image forming program | |
JP2007081793A (en) | Image forming apparatus | |
JP2022088207A (en) | Image processing system, image processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140619 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150511 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150702 |
|
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: 20151204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5863000 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |