JP5656800B2 - Image processing apparatus and image forming apparatus - Google Patents

Image processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP5656800B2
JP5656800B2 JP2011235589A JP2011235589A JP5656800B2 JP 5656800 B2 JP5656800 B2 JP 5656800B2 JP 2011235589 A JP2011235589 A JP 2011235589A JP 2011235589 A JP2011235589 A JP 2011235589A JP 5656800 B2 JP5656800 B2 JP 5656800B2
Authority
JP
Japan
Prior art keywords
base point
pixel
pseudo gradation
enlargement
image
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.)
Active
Application number
JP2011235589A
Other languages
Japanese (ja)
Other versions
JP2013093783A (en
Inventor
星輝 里見
星輝 里見
敏明 六尾
敏明 六尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011235589A priority Critical patent/JP5656800B2/en
Publication of JP2013093783A publication Critical patent/JP2013093783A/en
Application granted granted Critical
Publication of JP5656800B2 publication Critical patent/JP5656800B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像処理装置および画像形成装置に関するものである。   The present invention relates to an image processing apparatus and an image forming apparatus.

ある画像処理装置は、画像を拡大するときに、画像内のエッジ部分の段差を、その段差の前または後の平坦部分の長さなどに応じてスムージングする(例えば特許文献1参照)。   When a certain image processing apparatus enlarges an image, the level difference of the edge portion in the image is smoothed according to the length of the flat portion before or after the level difference (for example, see Patent Document 1).

また、ある画像処理装置は、1ラインごとに、そのライン内の隣接する画素間での画素値の変化回数に基づいて、そのラインの画像が擬似階調画像であるか否かを判定し、擬似階調画像ではない場合にはスムージングを行い、擬似階調画像である場合には、階調の再現性を損なわないようにするためにスムージングを行わない(例えば特許文献2参照)。   Further, an image processing apparatus determines, for each line, whether or not the image of the line is a pseudo gradation image based on the number of pixel value changes between adjacent pixels in the line. When the image is not a pseudo gradation image, smoothing is performed. When the image is a pseudo gradation image, smoothing is not performed so as not to impair the reproducibility of the gradation (see, for example, Patent Document 2).

特開平4−329483号公報JP-A-4-329484 特開2001−268348号公報JP 2001-268348 A

擬似階調領域とそれ以外の領域(文字や線画の領域)とをより細かく分離するために、注目画素ごとに、その画素が擬似階調領域に属するか否かを判定し、擬似階調領域に属さない場合にはスムージングを行い、擬似階調領域に属する場合には、階調の再現性を損なわないようにするためにスムージングを行わないようにすることが考えられる。   In order to separate the pseudo gradation area and the other areas (character and line drawing areas) more finely, it is determined for each pixel of interest whether the pixel belongs to the pseudo gradation area, and the pseudo gradation area It is conceivable that smoothing is performed if the tone does not belong to, and smoothing is not performed in order not to impair the reproducibility of the tone if it belongs to the pseudo tone area.

しかしながら、注目画素ごとに、その注目画素が擬似階調領域に属するか否かを判定する場合、段差周辺のドットの分布によっては、段差周辺で、擬似階調領域に属すると判定される画素と、擬似階調領域に属さないと判定される画素とが、空間的に交互に配列され画像拡大後の段差部分の連続性が損なわれることがある。   However, when determining whether or not the target pixel belongs to the pseudo gradation area for each target pixel, depending on the distribution of dots around the step, the pixel determined to belong to the pseudo gradation area around the step and The pixels that are determined not to belong to the pseudo gradation region are spatially alternately arranged, and the continuity of the stepped portion after image enlargement may be impaired.

図5は、画素ごとに擬似階調領域に属するか否かの判定を行い、その判定結果に基づいてスムージングを行うか否かを決定し、拡大処理を行った場合の一例を示す図である。図5(A)は、原画像の一例を示している。図5(A)では、エッジ101,102により段差103が形成されている。図5(B)は、原画像内の各画素について、その画素の周囲8画素において隣接する2画素の対のうちの画素値が変化する対の数を示している。   FIG. 5 is a diagram illustrating an example of a case where it is determined whether or not each pixel belongs to the pseudo gradation region, and whether or not to perform smoothing is determined based on the determination result, and enlargement processing is performed. . FIG. 5A shows an example of the original image. In FIG. 5A, a step 103 is formed by the edges 101 and 102. FIG. 5B shows the number of pairs in which the pixel value of a pair of two pixels adjacent to each other in the eight pixels around the pixel in the original image changes.

図5(C)は、図5(B)に示す各画素についての上述の対の数に基づく、スムージングを行うか否かの判定結果の一例を示している。上述の対の数が6以上であれば擬似階調領域に属すると判定する場合、図5(A)では、画素111は擬似階調領域に属すると判定され、画素112は擬似階調領域に属さないと判定される。また、画素114は擬似階調領域に属すると判定され、画素113は擬似階調領域に属さないと判定される。このため、図5(C)に示すように、画素111,114については、スムージングなしで拡大処理が行われ、画素112,113については、スムージングありで拡大処理が行われる。   FIG. 5C illustrates an example of a determination result on whether to perform smoothing based on the number of pairs described above for each pixel illustrated in FIG. When it is determined that the number of pairs is 6 or more, in FIG. 5A, the pixel 111 is determined to belong to the pseudo gradation area, and the pixel 112 is included in the pseudo gradation area. It is determined that it does not belong. The pixel 114 is determined to belong to the pseudo gradation area, and the pixel 113 is determined not to belong to the pseudo gradation area. For this reason, as shown in FIG. 5C, the enlargement process is performed without smoothing on the pixels 111 and 114, and the enlargement process is performed with smoothing on the pixels 112 and 113.

図5(D)は、図5(A)に示す原画像を縦および横にそれぞれ3倍に拡大した場合(つまり、解像度を3倍にした場合)の画像である。図5(D)に示すように、スムージングの有無を画素ごとに決定して拡大処理を行うと、段差付近のエッジの凹凸が激しくなり、画像拡大後の段差部分におけるエッジの連続性が損なわれる。   FIG. 5D shows an image when the original image shown in FIG. 5A is enlarged three times vertically and horizontally (that is, when the resolution is tripled). As shown in FIG. 5D, when the enlargement process is performed by determining whether or not smoothing is performed for each pixel, the unevenness of the edge near the step becomes intense, and the continuity of the edge in the step portion after the image enlargement is impaired. .

本発明は、上記の問題に鑑みてなされたものであり、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在する画像であっても、画像拡大後の段差部分におけるエッジの連続性を保持する画像処理装置および画像形成装置を得ることを目的とする。   The present invention has been made in view of the above problems, and even in an image in which a pseudo gradation area and other areas (character and line drawing areas) are mixed, an edge in a step portion after image enlargement is obtained. An object of the present invention is to obtain an image processing apparatus and an image forming apparatus that maintain the continuity of the image.

上記の課題を解決するために、本発明では以下のようにした。   In order to solve the above problems, the present invention is configured as follows.

本発明に係る画像処理装置は、段差を構成するエッジの端部を基点として特定する基点特定部と、画素単位で擬似階調領域に属するか否かを判定する領域種別判定部と、擬似階調領域に対してスムージングを行わずに拡大処理を行い擬似階調領域以外の領域に対してスムージングを行いつつ拡大処理を行う拡大処理部とを備える。そして、拡大処理部は、その基点を含むその基点周辺の所定の範囲の画素については、その基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。 An image processing apparatus according to the present invention includes a base point specifying unit that specifies an end of an edge constituting a step as a base point, a region type determining unit that determines whether or not each pixel belongs to a pseudo gradation region, a pseudo-level An enlargement processing unit that performs an enlargement process without performing smoothing on the key area and performs an enlargement process while performing smoothing on an area other than the pseudo gradation area. The enlargement processing unit performs an enlargement process on the pixels in a predetermined range around the base point including the base point without performing smoothing on the pixel when the base point belongs to the pseudo gradation area, and the base point Is not belonging to the pseudo gradation area, the enlargement process is performed while smoothing.

これにより、段差付近(つまり基点付近)の画素については、その基点と同一の領域(擬似階調領域またはそれ以外の領域)に属するものとして、スムージングを行うか否かが判定される。したがって、段差付近(つまり基点付近)でスムージングの有無が切り換わらないため、原画像において、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在していても、画像拡大後の段差部分におけるエッジの連続性が保持される。   As a result, it is determined whether or not to perform smoothing for pixels near the step (that is, near the base point) as belonging to the same region (pseudo gradation region or other region) as the base point. Therefore, smoothing does not switch near the step (that is, near the base point), so even if the original image contains both pseudo-gradation areas and other areas (character and line drawing areas), The continuity of the edge in the step portion is maintained.

また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、拡大処理部は、複数の、基点を含む基点周辺の所定の範囲に属する画素については、その画素から最も近い基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その画素から最も近い基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。 In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, for the pixels belonging to a predetermined range around the base point including the base point , the enlargement processing unit does not perform smoothing on the pixel when the base point closest to the pixel belongs to the pseudo gradation area. Enlarging processing is performed, and when the base point closest to the pixel does not belong to the pseudo gradation region, the enlarging processing is performed while performing smoothing.

これにより、各画素について適切に、スムージングを行うか否かが判定される。   Thereby, it is determined whether or not smoothing is appropriately performed for each pixel.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、拡大処理部は、上述の基点を含む、その基点からエッジに平行な方向における所定の範囲の画素については、その基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。 The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the enlargement processing unit does not perform smoothing on a pixel in a predetermined range in a direction parallel to the edge from the base point including the above-described base point when the base point belongs to the pseudo gradation area. If the base point does not belong to the pseudo gradation area, the enlargement process is performed while performing smoothing.

これにより、基点からエッジに平行な方向における、基点付近の画素については、その基点と同一の領域に属するものとして、スムージングを行うか否かが判定される。したがって、基点付近でエッジに平行な方向においてスムージングの有無が切り換わらないため、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在する画像であっても、画像拡大後の段差部分におけるエッジの連続性が保持される。   As a result, regarding the pixels near the base point in the direction parallel to the edge from the base point, whether to perform smoothing is determined as belonging to the same region as the base point. Therefore, since smoothing is not switched in the direction parallel to the edge in the vicinity of the base point, even if the image includes a pseudo gradation region and other regions (character or line drawing region), The continuity of the edge in the step portion is maintained.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、領域種別判定部は、上述の基点の周辺領域に、段差を構成する2つのエッジ以外のドットが存在しない場合には、その基点は擬似階調領域に属さないと判定する。   The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the area type determination unit determines that the base point does not belong to the pseudo gradation area when there is no dot other than the two edges constituting the step in the peripheral area of the base point.

これにより、斜めのエッジを表現するために、縦エッジまたは横エッジが斜め方向に配列されて段差が形成されている場合には、適切にその段差がスムージングされる。   Thereby, in order to express an oblique edge, when the vertical edge or the horizontal edge is arranged in an oblique direction and a step is formed, the step is appropriately smoothed.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、拡大処理部は、上述の基点を含む、その基点周辺の所定の範囲の画素について、その基点が擬似階調領域に属さない場合には、その画素について、エッジの長さおよびエッジの端部からの距離を応じたスムージングを行いつつ拡大処理を行う。 The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, for the pixels in a predetermined range around the base point including the above-described base point , when the base point does not belong to the pseudo gradation area, the enlargement processing unit determines the edge length and the edge of the pixel. The enlargement process is performed while performing smoothing according to the distance from the end.

また、本発明に係る画像形成装置は、上記の画像処理装置のいずれかを備える。   An image forming apparatus according to the present invention includes any of the image processing apparatuses described above.

これにより、画像形成装置の取り扱う画像(例えばファクシミリ受信画像など)について、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在する画像であっても、画像拡大後の段差部分におけるエッジの連続性が保持される。   As a result, even if the image handled by the image forming apparatus (for example, a facsimile received image) is an image in which a pseudo gradation area and other areas (character and line drawing areas) are mixed, the stepped portion after image enlargement The continuity of the edges at is maintained.

本発明によれば、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在する画像であっても、画像拡大後の段差部分におけるエッジの連続性が保持される。   According to the present invention, even in an image in which a pseudo gradation area and other areas (character and line drawing areas) are mixed, the continuity of the edge in the stepped portion after the image enlargement is maintained.

図1は、本発明の実施の形態に係る画像形成装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention. 図2は、図1における領域種別判定部による、注目画素が擬似階調領域に属するか否かの判定について説明する図である。FIG. 2 is a diagram for explaining determination of whether or not the target pixel belongs to the pseudo gradation region by the region type determination unit in FIG. 図3は、図1における画像処理装置による拡大処理について説明するフローチャートである。FIG. 3 is a flowchart for explaining enlargement processing by the image processing apparatus in FIG. 図4は、図1における画像処理装置による拡大処理の一例を示す図である。FIG. 4 is a diagram illustrating an example of enlargement processing by the image processing apparatus in FIG. 図5は、画素ごとに擬似階調領域に属するか否かの判定を行い、その判定結果に基づいてスムージングを行うか否かを決定し、拡大処理を行った場合の一例を示す図である。FIG. 5 is a diagram illustrating an example of a case where it is determined whether or not each pixel belongs to the pseudo gradation region, and whether or not to perform smoothing is determined based on the determination result, and enlargement processing is performed. .

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る画像形成装置1の構成を示すブロック図である。図1に示す画像形成装置1は、複合機である。ただし、画像形成装置1は、プリンター、コピー機、ファクシミリ機などでもよい。   FIG. 1 is a block diagram showing a configuration of an image forming apparatus 1 according to an embodiment of the present invention. An image forming apparatus 1 shown in FIG. 1 is a multifunction machine. However, the image forming apparatus 1 may be a printer, a copier, a facsimile machine, or the like.

この画像形成装置1は、印刷装置11と、画像読取装置12と、ファクシミリ装置13と、画像処理装置14とを備える。   The image forming apparatus 1 includes a printing device 11, an image reading device 12, a facsimile device 13, and an image processing device 14.

印刷装置11は、ラスター画像データに基づいて原稿画像を印刷する内部装置である。印刷装置11は、例えば、画像処理装置14により拡大処理された画像データに基づいて原稿画像を印刷する。   The printing device 11 is an internal device that prints a document image based on raster image data. For example, the printing apparatus 11 prints a document image based on the image data enlarged by the image processing apparatus 14.

画像読取装置12は、原稿から原稿画像を光学的に読み取り、原稿画像の画像データを生成する内部装置である。   The image reading device 12 is an internal device that optically reads a document image from a document and generates image data of the document image.

ファクシミリ装置13は、送信すべき原稿画像の画像データからファクシミリ信号を生成し所定の通信路を介して送信するとともに、ファクシミリ信号を所定の通信路を介して受信し画像データに変換する内部装置である。   The facsimile machine 13 is an internal device that generates a facsimile signal from image data of a document image to be transmitted and transmits it via a predetermined communication path, and receives the facsimile signal via a predetermined communication path and converts it into image data. is there.

画像処理装置14は、画像読取装置12、ファクシミリ装置13などで生成された画像データに対して拡大処理などの画像処理を行う。特に、画像処理装置14は、主走査方向および/または副走査方向に二値画像を拡大する。例えば、画像処理装置14は、ファクシミリ装置13により受信された400dpi(dot per inch)の画像の解像度を、印刷用の1200dpiに変換する。   The image processing device 14 performs image processing such as enlargement processing on the image data generated by the image reading device 12, the facsimile device 13, or the like. In particular, the image processing device 14 enlarges the binary image in the main scanning direction and / or the sub-scanning direction. For example, the image processing apparatus 14 converts the resolution of an image of 400 dpi (dot per inch) received by the facsimile apparatus 13 into 1200 dpi for printing.

画像処理装置14は、演算処理装置21とメモリー22とを有する。演算処理装置21は、ASIC(Application Specific Integrated Circuit)やマイクロコンピューターで実現され、各種処理部を有する。メモリー22は、RAM(Random Access Memory)などの書換可能な記憶装置である。メモリー22には、拡大処理などの画像処理を施す前の画像データ、画像処理の途中のデータ、画像処理を施した後の画像データなどが一時的に記憶される。   The image processing device 14 includes an arithmetic processing device 21 and a memory 22. The arithmetic processing unit 21 is realized by an application specific integrated circuit (ASIC) or a microcomputer, and has various processing units. The memory 22 is a rewritable storage device such as a RAM (Random Access Memory). The memory 22 temporarily stores image data before image processing such as enlargement processing, data during image processing, image data after image processing, and the like.

また、演算処理装置21は、処理部として、制御部31、基点特定部32、領域種別判定部33、および拡大処理部34を有する。   The arithmetic processing device 21 includes a control unit 31, a base point specifying unit 32, an area type determination unit 33, and an enlargement processing unit 34 as processing units.

制御部31は、基点特定部32、領域種別判定部33、および拡大処理部34を制御するとともに、二値画像の画像データにおいて、主走査方向および副走査方向に沿って順番に画素を注目画素としてスキャンする。   The control unit 31 controls the base point specifying unit 32, the region type determination unit 33, and the enlargement processing unit 34, and in the image data of the binary image, the pixels are selected in order along the main scanning direction and the sub scanning direction. Scan as.

基点特定部32は、パターンマッチングで、画像内で段差を構成するエッジの端部を基点として特定する。   The base point specifying unit 32 specifies the end of the edge constituting the step in the image as a base point by pattern matching.

ここでは、段差は、2つのエッジが横(主走査方向)または縦(副走査方向)に1画素だけずれて接している箇所のことであり、エッジの端部は、横(主走査方向)または縦(副走査方向)に直線状に配列される画素列の端の画素である。   Here, the step is a portion where two edges are in contact with each other in the horizontal direction (main scanning direction) or the vertical direction (sub-scanning direction) while being shifted by one pixel, and the edge portion of the edge is horizontal (main scanning direction). Alternatively, it is a pixel at the end of a pixel row arranged in a straight line in the vertical direction (sub-scanning direction).

領域種別判定部33は、画素ごとに擬似階調領域に属するか否かを判定する。なお、擬似階調領域とは、誤差拡散法やスクリーン法などにより得られ、ドットの大きさや密度で階調を表現した領域のことである。   The area type determination unit 33 determines whether each pixel belongs to the pseudo gradation area. Note that the pseudo gradation area is an area obtained by an error diffusion method, a screen method, or the like and expressing a gradation with the size and density of dots.

領域種別判定部33は、注目画素の周辺領域における画素の値から、注目画素が擬似階調領域に属するか否かを判定する。   The region type determination unit 33 determines whether or not the target pixel belongs to the pseudo gradation region from the values of the pixels in the peripheral region of the target pixel.

図2は、図1における領域種別判定部33による、注目画素が擬似階調領域に属するか否かの判定について説明する図である。図2に示すように、領域種別判定部33は、画素ごとに、その画素の周囲8画素において隣接する2画素の対のうちの画素値が変化する対の割合、または画素値が変化する対の数が所定の閾値より大きい場合には、その画素が擬似階調領域に属すると判定する。   FIG. 2 is a diagram for explaining determination by the region type determination unit 33 in FIG. 1 whether or not the target pixel belongs to the pseudo gradation region. As shown in FIG. 2, the region type determination unit 33 performs, for each pixel, a ratio of a pair in which the pixel value of a pair of two adjacent pixels in eight pixels around the pixel changes or a pair in which the pixel value changes. Is greater than a predetermined threshold value, it is determined that the pixel belongs to the pseudo gradation area.

なお、図2の場合、注目画素の周囲8画素において隣接する2画素の対(8つ)のうち、画素値が変化する対の数は、6である。   In the case of FIG. 2, the number of pairs in which the pixel value changes is 6 among the pair (eight) of two adjacent pixels in the eight pixels around the target pixel.

この実施の形態では、図2における8の対のうち、6以上の対において、画素値が変化している(つまり、対を構成する2つの画素の画素値が互いに異なる)場合、その画素は擬似階調領域に属すると判定される。   In this embodiment, when the pixel value is changed in 6 or more of the 8 pairs in FIG. 2 (that is, the pixel values of the two pixels constituting the pair are different from each other), the pixel is It is determined that it belongs to the pseudo gradation area.

上記実施の形態では、領域種別判定部33は、上述の基点の周辺領域(領域種別判定部33についての周辺領域と同一の領域)に、段差を構成する2つのエッジ以外のドットが存在しない場合には、その基点は擬似階調領域に属さないと判定するように構成されている。例えば、上述の基点の周辺に、段差を構成する2つのエッジ以外のドットが存在しない場合には、上述の所定の閾値が、その基点は擬似階調領域に属さないと判定するように設定される。   In the above-described embodiment, the region type determination unit 33 does not include dots other than the two edges constituting the step in the peripheral region of the base point (the same region as the peripheral region for the region type determination unit 33). Is configured to determine that the base point does not belong to the pseudo gradation region. For example, when there are no dots other than the two edges forming the step around the above-described base point, the above-described predetermined threshold is set so as to determine that the base point does not belong to the pseudo gradation region. The

拡大処理部34は、擬似階調領域に対してスムージングを行わずに拡大処理を行い擬似階調領域以外の領域に対してスムージングを行いつつ拡大処理を行う。ただし、拡大処理部34は、その基点周辺の所定の範囲の画素については、その基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。つまり、基点周辺の所定の範囲の画素の領域種別が、その基点の領域種別と同一とみなされる。   The enlargement processing unit 34 performs enlargement processing without performing smoothing on the pseudo gradation region, and performs enlargement processing while performing smoothing on regions other than the pseudo gradation region. However, when the base point belongs to the pseudo gradation area, the enlargement processing unit 34 performs the enlargement process without performing smoothing for the pixel in the predetermined range around the base point. If it does not belong to the key area, the enlargement process is performed while smoothing. That is, the region type of a pixel in a predetermined range around the base point is regarded as the same as the region type of the base point.

この実施の形態では、拡大処理部34は、上述の基点からエッジに平行な方向における所定の範囲の画素については、その基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。   In this embodiment, the enlargement processing unit 34 does not perform smoothing on a pixel in a predetermined range in the direction parallel to the edge from the above base point when the base point belongs to the pseudo gradation area. When the enlargement process is performed and the base point does not belong to the pseudo gradation area, the enlargement process is performed while performing the smoothing.

拡大処理部34は、スムージングを行う場合(上述の基点周辺の所定の範囲の画素についてその基点が擬似階調領域に属さない場合など)、その画素について、エッジの長さおよびエッジの端部からの距離を応じたスムージングを行いつつ拡大処理を行う。拡大処理部34は、スムージングを行わない場合、ニアレストネイバー法で拡大処理を行う。なお、拡大処理は、解像度の増加と同義である。   The enlargement processing unit 34 performs smoothing (for example, when the base point does not belong to the pseudo gradation area for the pixels in the predetermined range around the base point), from the edge length and the edge end of the pixel. The enlargement process is performed while performing smoothing according to the distance. The enlargement processing unit 34 performs enlargement processing by the nearest neighbor method when smoothing is not performed. Note that the enlargement process is synonymous with an increase in resolution.

次に、上記画像処理装置14の動作について説明する。図3は、図1における画像処理装置14による拡大処理について説明するフローチャートである。図4は、図1における画像処理装置14による拡大処理の一例を示す図である。   Next, the operation of the image processing apparatus 14 will be described. FIG. 3 is a flowchart for explaining enlargement processing by the image processing apparatus 14 in FIG. FIG. 4 is a diagram illustrating an example of enlargement processing by the image processing apparatus 14 in FIG.

制御部31は、まず、基点特定部32に、原画像内の基点を特定させる。基点特定部32は、原画像の全領域をスキャンし、パターンマッチングで、画像内で段差を検出し、段差を構成する2つのエッジのうちの一端の画素を基点として特定する(ステップS1)。   First, the control unit 31 causes the base point specifying unit 32 to specify the base point in the original image. The base point specifying unit 32 scans the entire area of the original image, detects a step in the image by pattern matching, and specifies a pixel at one end of two edges constituting the step as a base point (step S1).

図4(A)は、原画像の一例を示している。図4(A)では、エッジ51,52により段差53が形成されている。図4(A)に示す原画像では、画素61が基点として特定される。   FIG. 4A shows an example of the original image. In FIG. 4A, a step 53 is formed by the edges 51 and 52. In the original image shown in FIG. 4A, the pixel 61 is specified as the base point.

基点が特定された後、制御部31は、注目画素を、主走査方向および副走査方向へ順番に移動させていき、画素ごとに拡大処理を行わせる。   After the base point is specified, the control unit 31 sequentially moves the target pixel in the main scanning direction and the sub-scanning direction, and performs an enlargement process for each pixel.

制御部31は、まず、注目画素を設定する(ステップS2)。最初の場合、第1ラインにおける主走査方向の先頭画素が注目画素に選択される。次に、第1ラインにおける主走査方向の次の画素が注目画素に選択される。そして、第1ラインにおける主走査方向の最後の画素の次は、第2ラインにおける主走査方向の先頭画素が注目画素に選択される。   First, the control unit 31 sets a target pixel (step S2). In the first case, the first pixel in the main scanning direction in the first line is selected as the target pixel. Next, the next pixel in the main scanning direction in the first line is selected as the target pixel. Then, after the last pixel in the main scanning direction in the first line, the first pixel in the main scanning direction in the second line is selected as the target pixel.

次に、制御部31は、注目画素が、いずれかの基点周辺の所定の範囲に入っているか否かを判定する(ステップS3)。   Next, the control unit 31 determines whether or not the target pixel is within a predetermined range around any base point (step S3).

ここでは、基点(画素61)の属するエッジ52に平行な方向において、基点(画素61)と、基点に隣接するエッジ52上の画素62と、基点に隣接するエッジ52外の画素63とその画素63に隣接する画素64が、基点(画素61)周辺の所定の範囲に入っていると判定される。   Here, in the direction parallel to the edge 52 to which the base point (pixel 61) belongs, the base point (pixel 61), the pixel 62 on the edge 52 adjacent to the base point, the pixel 63 outside the edge 52 adjacent to the base point, and the pixel It is determined that the pixel 64 adjacent to 63 is within a predetermined range around the base point (pixel 61).

領域種別判定部33は、注目画素が基点周辺の所定の範囲に入っていると判定された場合、注目画素の領域種別の判定を行わずに、注目画素の領域種別を、その基点の領域種別と同一とし(ステップS4)、注目画素が基点周辺の所定の範囲に入っていないと判定された場合、注目画素の領域種別の判定を行い、注目画素の領域種別を特定する(ステップS5)。   When it is determined that the pixel of interest is within a predetermined range around the base point, the region type determination unit 33 determines the region type of the pixel of interest without determining the region type of the pixel of interest. If it is determined that the target pixel is not within the predetermined range around the base point, the region type of the target pixel is determined and the region type of the target pixel is specified (step S5).

拡大処理部34は、注目画素が擬似階調領域に属すると判定された場合、スムージングせずに拡大処理を実行し(ステップS7)、注目画素が擬似階調領域に属さないと判定された場合、スムージングしつつ拡大処理を実行する(ステップS8)。   When it is determined that the target pixel belongs to the pseudo gradation area, the enlargement processing unit 34 executes the enlargement process without smoothing (step S7), and when it is determined that the target pixel does not belong to the pseudo gradation area. The enlargement process is executed while smoothing (step S8).

スムージングしつつ拡大処理を実行する場合、拡大処理部34は、パターンマッチングで、エッジの長さおよび段差から注目画素までの距離を特定し、エッジの長さおよび段差から注目画素までの距離に応じたスムージングを行って、拡大処理後の画素値(ドットありまたはドットなし)を決定する。   When executing the enlargement process while performing smoothing, the enlargement processing unit 34 specifies the edge length and the distance from the step to the target pixel by pattern matching, and responds to the edge length and the distance from the step to the target pixel. Smoothing is performed to determine the pixel value (with or without dots) after the enlargement process.

そして、注目画素についての拡大処理(ステップS7またはステップS8)が完了すると、制御部31は、原画像内のすべての画素についての拡大処理が完了したか否かを判定し(ステップS9)、すべての画素についての拡大処理が完了するまで、注目画素を移動させて、画素ごとに上述の処理(ステップS2〜S8)を実行させる。   When the enlargement process (step S7 or step S8) for the target pixel is completed, the control unit 31 determines whether or not the enlargement process for all pixels in the original image is completed (step S9). The pixel of interest is moved until the enlargement process for that pixel is completed, and the above-described processes (steps S2 to S8) are executed for each pixel.

図4(B)は、図4(A)に示す原画像内の各画素について、その画素の周囲8画素において隣接する2画素の対のうちの画素値が変化する対の数を示している。図4(C)は、領域種別判定部33による、スムージングを行うか否かの判定結果の一例を示している。図4(C)では、上述の対の数が6以上である場合、その画素は、擬似階調領域に属すると判定される。したがって、基点の画素61は擬似階調領域に属すると判定されるため、その基点周辺の所定の範囲内の画素である画素61〜64については、スムージングは行われない。   FIG. 4B shows the number of pairs in which the pixel value of a pair of two adjacent pixels in each of the pixels in the original image shown in FIG. . FIG. 4C illustrates an example of a determination result of whether or not smoothing is performed by the region type determination unit 33. In FIG. 4C, when the number of pairs described above is 6 or more, it is determined that the pixel belongs to the pseudo gradation region. Accordingly, since the base pixel 61 is determined to belong to the pseudo gradation region, the pixels 61 to 64 that are pixels within a predetermined range around the base point are not smoothed.

図4(D)は、図4(A)に示す原画像を縦および横にそれぞれ3倍に拡大した場合(つまり、解像度を3倍にした場合)の画像である。図4(D)に示すように、段差周辺では、隣接する画素間でスムージングの有無が切り替わらないため、段差周辺のエッジの凹凸が激しくならず、画像拡大後の段差部分におけるエッジの連続性が確保される。   FIG. 4D is an image when the original image shown in FIG. 4A is enlarged three times vertically and horizontally (that is, when the resolution is tripled). As shown in FIG. 4D, in the vicinity of the step, the presence or absence of smoothing is not switched between adjacent pixels, so that the unevenness of the edge around the step does not become severe, and the continuity of the edge in the step portion after image enlargement is improved. Secured.

なお、図4(A)において、基点の画素61の周辺に、段差を構成する2つのエッジ以外のドット(画素71)が存在しない場合には、その基点の画素61は擬似階調領域に属さないと判定される。画素71にドットがない場合、上述の対の数が4となり、基点の画素61は擬似階調領域に属さないと判定される。その場合、段差53周辺のエッジ51,52はすべてスムージングされる。   In FIG. 4A, when there is no dot (pixel 71) other than the two edges constituting the step around the base pixel 61, the base pixel 61 belongs to the pseudo gradation region. It is determined that there is no. When there is no dot in the pixel 71, the number of pairs described above is 4, and it is determined that the base pixel 61 does not belong to the pseudo gradation region. In that case, the edges 51 and 52 around the step 53 are all smoothed.

以上のように、上記実施の形態によれば、基点特定部32は、段差を構成するエッジの端部を基点として特定し、領域種別判定部33は、画素ごとに擬似階調領域に属するか否かを判定し、拡大処理部34は、擬似階調領域に対してスムージングを行わずに拡大処理を行い擬似階調領域以外の領域に対してスムージングを行いつつ拡大処理を行う。ただし、拡大処理部34は、その基点周辺の所定の範囲の画素については、その基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行う。   As described above, according to the above embodiment, the base point specifying unit 32 specifies the edge of the edge constituting the step as the base point, and the region type determination unit 33 belongs to the pseudo gradation region for each pixel. The enlargement processing unit 34 performs an enlargement process without performing smoothing on the pseudo gradation area and performs an enlargement process while performing smoothing on areas other than the pseudo gradation area. However, when the base point belongs to the pseudo gradation area, the enlargement processing unit 34 performs the enlargement process without performing smoothing for the pixel in the predetermined range around the base point. If it does not belong to the key area, the enlargement process is performed while smoothing.

これにより、段差付近(つまり基点付近)の画素については、その基点と同一の領域(擬似階調領域またはそれ以外の領域)に属するものとして、スムージングを行うか否かが判定される。したがって、段差付近(つまり基点付近)でスムージングの有無が切り換わらないため、原画像において、擬似階調領域とそれ以外の領域(文字や線画の領域)とが混在していても、画像拡大後の段差部分におけるエッジの連続性が保持される。   As a result, it is determined whether or not to perform smoothing for pixels near the step (that is, near the base point) as belonging to the same region (pseudo gradation region or other region) as the base point. Therefore, smoothing does not switch near the step (that is, near the base point), so even if the original image contains both pseudo-gradation areas and other areas (character and line drawing areas), The continuity of the edge in the step portion is maintained.

なお、上述の実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   The above-described embodiments are preferred examples of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. is there.

例えば、上記実施の形態において、拡大処理部34は、複数の基点周辺の所定の範囲に属する画素については、その画素から最も近い基点が擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その画素から最も近い基点が擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行うようにしてもよい。そのようにした場合、各画素について、適切に、スムージングを行うか否かが判定される。   For example, in the above embodiment, the enlargement processing unit 34 performs smoothing on a pixel belonging to a predetermined range around a plurality of base points when the base point closest to the pixel belongs to the pseudo gradation area. If the base point closest to the pixel does not belong to the pseudo gradation area, the enlargement process may be performed while performing smoothing. In such a case, it is determined whether or not smoothing is appropriately performed for each pixel.

また、上記実施の形態における、領域種別(擬似階調領域またはそれ以外の領域)の判定方法は上述のものに限定されるものではない。   In addition, the method for determining the region type (pseudo gradation region or other region) in the above embodiment is not limited to the above.

本発明は、例えば、複合機などにおける画像解像度の変換に適用可能である。   The present invention is applicable to image resolution conversion in, for example, a multifunction machine.

1 画像形成装置
14 画像処理装置
32 基点特定部
33 領域種別判定部
34 拡大処理部
51,52 エッジ
53 段差
61 画素(基点の一例)
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 14 Image processing apparatus 32 Base point specific | specification part 33 Area | region classification determination part 34 Enlargement process part 51,52 Edge 53 Level | step difference 61 Pixel (an example of a base point)

Claims (6)

段差を構成するエッジの端部を基点として特定する基点特定部と、
画素単位で擬似階調領域に属するか否かを判定する領域種別判定部と、
前記擬似階調領域に対してスムージングを行わずに拡大処理を行い前記擬似階調領域以外の領域に対してスムージングを行いつつ拡大処理を行う拡大処理部とを備え、
前記拡大処理部は、前記基点を含む前記基点周辺の所定の範囲の画素については、その基点が前記擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が前記擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行うこと、
を特徴とする画像処理装置。
A base point specifying part that specifies the end of the edge constituting the step as a base point;
An area type determination unit that determines whether or not each pixel belongs to a pseudo gradation area;
An enlargement processing unit that performs enlargement processing without performing smoothing on the pseudo gradation region and performs enlargement processing while performing smoothing on regions other than the pseudo gradation region;
The enlargement processing unit performs an enlargement process without performing smoothing on a pixel in a predetermined range around the base point including the base point without performing smoothing on the pixel when the base point belongs to the pseudo gradation area, and the base point Is not belonging to the pseudo gradation area, performing an enlargement process while performing smoothing,
An image processing apparatus.
前記拡大処理部は、複数の前記基点を含む前記基点周辺の所定の範囲に属する画素については、その画素から最も近い基点が前記擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その画素から最も近い基点が前記擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行うことを特徴とする請求項1記載の画像処理装置。 For the pixel belonging to a predetermined range around the base point including a plurality of the base points , the enlargement processing unit does not perform smoothing on the pixel when the base point closest to the pixel belongs to the pseudo gradation area. 2. The image processing apparatus according to claim 1, wherein enlargement processing is performed, and if the base point closest to the pixel does not belong to the pseudo gradation region, the enlargement processing is performed while performing smoothing. 前記拡大処理部は、前記基点を含む前記基点から前記エッジに平行な方向における所定の範囲の画素については、その基点が前記擬似階調領域に属する場合にはその画素についてスムージングを行わずに拡大処理を行い、その基点が前記擬似階調領域に属さない場合にはスムージングを行いつつ拡大処理を行うことを特徴とする請求項1または請求項2記載の画像処理装置。 The enlargement processing unit enlarges a pixel in a predetermined range in a direction parallel to the edge from the base point including the base point without performing smoothing on the pixel when the base point belongs to the pseudo gradation region. 3. The image processing apparatus according to claim 1, wherein when the base point does not belong to the pseudo gradation area, the enlargement process is performed while performing the smoothing. 前記領域種別判定部は、前記基点の周辺領域に、段差を構成する2つのエッジ以外のドットが存在しない場合には、前記基点は擬似階調領域に属さないと判定することを特徴とする請求項1から請求項3のうちのいずれか1項記載の画像処理装置。   The region type determination unit determines that the base point does not belong to a pseudo gradation region when there are no dots other than two edges forming a step in a peripheral region of the base point. The image processing device according to any one of claims 1 to 3. 前記拡大処理部は、前記基点を含む前記基点周辺の所定の範囲の画素について、その基点が前記擬似階調領域に属さない場合には、その画素について、前記エッジの長さおよび前記エッジの端部からの距離を応じたスムージングを行いつつ拡大処理を行うことを特徴とする請求項1から請求項4のうちのいずれか1項記載の画像処理装置。 If the base point does not belong to the pseudo gradation region for a pixel in a predetermined range around the base point including the base point , the enlargement processing unit performs the length of the edge and the edge of the edge for the pixel. The image processing apparatus according to claim 1, wherein the enlargement process is performed while performing smoothing according to the distance from the unit. 請求項1から請求項5のうちのいずれか1項記載の画像処理装置を備えることを特徴とする画像形成装置。   An image forming apparatus comprising the image processing apparatus according to claim 1.
JP2011235589A 2011-10-27 2011-10-27 Image processing apparatus and image forming apparatus Active JP5656800B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011235589A JP5656800B2 (en) 2011-10-27 2011-10-27 Image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011235589A JP5656800B2 (en) 2011-10-27 2011-10-27 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2013093783A JP2013093783A (en) 2013-05-16
JP5656800B2 true JP5656800B2 (en) 2015-01-21

Family

ID=48616568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011235589A Active JP5656800B2 (en) 2011-10-27 2011-10-27 Image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP5656800B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6549971B2 (en) * 2015-11-17 2019-07-24 Eizo株式会社 Image processing apparatus and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07240834A (en) * 1994-02-25 1995-09-12 Canon Inc Method and device for image processing
JPH08263650A (en) * 1995-03-24 1996-10-11 Canon Inc Picture processing method and picture processor
JP2002247351A (en) * 2001-02-19 2002-08-30 Konica Corp Image processor

Also Published As

Publication number Publication date
JP2013093783A (en) 2013-05-16

Similar Documents

Publication Publication Date Title
KR101223865B1 (en) Image processing apparatus and control method of image processing apparatus
KR102055293B1 (en) Apparatus, method, and storage medium storing program
JP2006289947A (en) Printing device, printing device control program and method of controlling printing device, and data formation device for printing, data formation program for printing and method of forming data for printing
US10511741B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP2012257000A (en) Image processor, image processing method, and image processing program
JP2007295533A (en) Optimum noise filter setting for scanner in closed-loop system
JP6249240B2 (en) Image processing device
JP5543406B2 (en) Image processing apparatus and image forming apparatus
JP2013009075A (en) Image processing system and program
JP5656800B2 (en) Image processing apparatus and image forming apparatus
JP2002016797A (en) Image processing method and its unit
JP6073674B2 (en) Image processing apparatus and image forming apparatus
JP5884362B2 (en) Image processing method, image reading apparatus, and image processing program
JP6601225B2 (en) Control device and computer program
JP5705173B2 (en) Image processing apparatus and image forming apparatus
JP2007281815A (en) Image processor, dithering method, and program
JP6953908B2 (en) Image processing device
JP2010074627A (en) Image processor and method of processing image
JP2006014262A (en) Image processing apparatus and image processing method
JP4871211B2 (en) Image processing apparatus and image forming apparatus
JP6025803B2 (en) Image processing device
JP2019174887A (en) Image processing device
JP5269019B2 (en) Image reading apparatus and image forming apparatus
JP2007008177A (en) Printer, printer controlling program, printer controlling method, apparatus for generating data for printing, program for generating data for printing and method for generating data for printing
JP5656790B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140918

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141015

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: 20141030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141125

R150 Certificate of patent or registration of utility model

Ref document number: 5656800

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150