Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6915455B2 - Image processing equipment, image forming equipment, and programs - Google Patents
[go: Go Back, main page]

JP6915455B2 - Image processing equipment, image forming equipment, and programs - Google Patents

Image processing equipment, image forming equipment, and programs Download PDF

Info

Publication number
JP6915455B2
JP6915455B2 JP2017162645A JP2017162645A JP6915455B2 JP 6915455 B2 JP6915455 B2 JP 6915455B2 JP 2017162645 A JP2017162645 A JP 2017162645A JP 2017162645 A JP2017162645 A JP 2017162645A JP 6915455 B2 JP6915455 B2 JP 6915455B2
Authority
JP
Japan
Prior art keywords
pixel
image
adjustment
adjusted
unit
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
JP2017162645A
Other languages
Japanese (ja)
Other versions
JP2019041280A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2017162645A priority Critical patent/JP6915455B2/en
Publication of JP2019041280A publication Critical patent/JP2019041280A/en
Application granted granted Critical
Publication of JP6915455B2 publication Critical patent/JP6915455B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像処理装置、画像形成装置、及びプログラムに関する。 The present invention relates to an image processing device, an image forming device, and a program.

特許文献1には、画像からエッジ部か否かの判定を行うエッジ判定部と、エッジ判定部の判定結果に基づいて画像のエッジ領域を広げてエッジ部と再判定するエッジ再判定部とを備えた画像処理装置が記載されている。この画像処理装置は、更に、エッジ判定部及びエッジ再判定部によりエッジ部と判定された画像と、非エッジ部と判定された画像とで異なる処理を施す処理部と、画像の注目画素の濃度に基づいてエッジ再判定部による再判定処理の内容を変更する変更部とを備える。 Patent Document 1 includes an edge determination unit that determines whether or not an image is an edge portion, and an edge redetermination unit that expands the edge region of the image based on the determination result of the edge determination unit and redetermines the edge portion. An image processing apparatus provided is described. This image processing device further includes a processing unit that performs different processing on the image determined to be the edge portion by the edge determination unit and the edge re-determination unit and the image determined to be the non-edge portion, and the density of the pixel of interest in the image. It is provided with a change unit that changes the content of the re-determination process by the edge re-determination unit based on the above.

特許文献2には、上記特許文献1と同様に、エッジ判定部及びエッジ再判定部を備えた画像処理装置が記載されている。この画像処理装置は、更に、エッジ判定部及びエッジ再判定部によりエッジ部と判定された画像と、非エッジ部と判定された画像とで異なる処理を施す処理部と、画像の入力解像度に基づいてエッジ再判定部による再判定処理の内容を変更する変更部とを備える。 Similar to Patent Document 1, Patent Document 2 describes an image processing apparatus including an edge determination unit and an edge redetermination unit. This image processing device is further based on a processing unit that performs different processing on an image determined to be an edge portion by an edge determination unit and an edge re-determination unit and an image determined to be a non-edge portion, and an input resolution of the image. It is provided with a change unit for changing the content of the re-determination process by the edge re-determination unit.

特許文献3には、画像の各々の画素を注目画素として、注目画素を含む判定領域の濃度が閾値以上であるか否かを判定する画像処理装置が記載されている。この閾値は、注目画素の濃度に応じて設定された閾値であって、注目画素が画像のエッジ部分に相当するエッジ画素か否かを判定するための閾値である。この画像処理装置は、更に、上記判定領域の濃度が上記閾値以上の場合に、注目画素をエッジ画素として検出し、検出したエッジ画素のうち予め定めた濃度以上の濃度を有するエッジ画素に対して、当該エッジ画素の濃度に応じた補正を行う。 Patent Document 3 describes an image processing device that determines whether or not the density of a determination region including the pixel of interest is equal to or greater than a threshold value, with each pixel of the image as the pixel of interest. This threshold value is a threshold value set according to the density of the pixel of interest, and is a threshold value for determining whether or not the pixel of interest is an edge pixel corresponding to an edge portion of an image. Further, when the density of the determination region is equal to or higher than the above threshold value, the image processing device detects the pixel of interest as an edge pixel, and for the edge pixel having a density equal to or higher than a predetermined density among the detected edge pixels. , The correction is performed according to the density of the edge pixel.

特開2012−28952号公報Japanese Unexamined Patent Publication No. 2012-28952 特開2013−38545号公報Japanese Unexamined Patent Publication No. 2013-38545 特許第5994741号公報Japanese Patent No. 5994741

ところで、電子写真方式等による画像形成装置では、外部環境における温度や湿度、更に、装置内部のマーキング特性等の様々な要因の影響を受けて、印刷された線や文字に、太りや、つぶれ、かすれ等が生じる場合がある。 By the way, in an image forming apparatus using an electrophotographic method or the like, the printed lines and characters are affected by various factors such as temperature and humidity in the external environment and marking characteristics inside the apparatus, and the printed lines and characters are thickened or crushed. Blurring may occur.

本発明は、線又は文字であることを示す画素と線又は文字でないことを示す画素との境界について常に一律に画素値を調整する場合と比べて、画像における線又は文字の太さを柔軟に調整することができる画像処理装置、画像形成装置、及びプログラムを提供することを目的とする。 In the present invention, the thickness of a line or character in an image can be flexibly adjusted as compared with the case where the pixel value is always uniformly adjusted for the boundary between a pixel indicating that it is a line or a character and a pixel indicating that it is not a line or a character. It is an object of the present invention to provide an image processing device, an image forming device, and a program that can be adjusted.

上記目的を達成するために、請求項1に記載の画像処理装置は、画像における線又は文字の一部を示す第1画素との境界に沿う第2画素であって、線又は文字の一部ではないことを示す前記第2画素を注目画素として含む予め定められた調整領域の中で、前記注目画素の近傍に位置する前記第1画素の画素値により画素値が調整された調整済画素の数が閾値未満である場合に、前記注目画素に対応する画素値を、前記注目画素の近傍に位置する前記第1画素である近傍画素の画素値に基づいて調整し、前記調整済画素の数が前記閾値以上である場合に、前記注目画素に対応する画素値を調整しない調整部を備え、前記調整領域及び前記閾値の少なくとも一方は変更可能であり、前記閾値には、1以上前記調整領域の画素数以下の値が設定される。 In order to achieve the above object, the image processing apparatus according to claim 1 is a second pixel along a boundary with a first pixel indicating a part of a line or a character in an image, and is a part of the line or the character. Of the adjusted pixel whose pixel value is adjusted by the pixel value of the first pixel located in the vicinity of the attention pixel in the predetermined adjustment region including the second pixel indicating that the second pixel is not the attention pixel. When the number is less than the threshold value, the pixel value corresponding to the attention pixel is adjusted based on the pixel value of the nearby pixel which is the first pixel located in the vicinity of the attention pixel, and the number of the adjusted pixels is adjusted. If There is more than the threshold value, an adjustment unit that does not adjust the pixel value corresponding to the pixel of interest, Ri least one modifiable der of the adjustment region and the threshold value, the threshold value, the adjustment of one or more the value of the following number of pixels in the region Ru is set.

また、請求項2に記載の画像処理装置は、請求項1に記載の発明において、前記調整部が、前記注目画素に対応する画素値の調整を、前記画像の左上角点を始点、右下角点を終点とし、前記注目画素を前記画像の左端から右端に向け、かつ、前記画像の上端から下端に向けて、1画素分ずつ移動させながら行うものである。 Further, in the image processing apparatus according to claim 2, in the invention according to claim 1, the adjusting unit adjusts the pixel value corresponding to the pixel of interest, starting from the upper left corner point of the image and lower right corner. With the point as the end point, the pixel of interest is moved from the left end to the right end of the image and from the upper end to the lower end of the image by one pixel at a time.

また、請求項3に記載の画像処理装置は、請求項2に記載の発明において、前記注目画素が、前記調整領域の右下端に位置する画素であるとされている。 Further, in the image processing apparatus according to claim 3, in the invention according to claim 2, the pixel of interest is a pixel located at the lower right end of the adjustment region.

また、請求項4に記載の画像処理装置は、請求項3に記載の発明において、前記調整領域が、前記注目画素の上隣及び左隣の各々の画素と、前記上隣の画素の右隣及び左隣の各々の画素と、を含む領域とされている。 Further, in the image processing apparatus according to claim 4, in the invention according to claim 3, the adjustment region is located on each of the pixels above and to the left of the pixel of interest and to the right of the pixel above and next to the pixel of interest. It is a region including each pixel on the left side and the pixel on the left side.

また、請求項5に記載の画像処理装置は、請求項1に記載の発明において、前記調整部が、画素値を調整した前記注目画素である前記調整済画素と、画素値を調整しない前記注目画素とを周期的に配置するように調整するものである。 Further, in the image processing apparatus according to claim 5, in the invention according to claim 1, the adjustment unit is the adjusted pixel which is the attention pixel whose pixel value is adjusted, and the attention which does not adjust the pixel value. The pixels are adjusted so as to be arranged periodically.

また、請求項6に記載の画像処理装置は、請求項1〜5のいずれか1項に記載の発明において、前記画像の各画素に対して、前記線又は文字の一部であることを示す線文字タグ、及び、前記線又は文字の一部ではないことを示す非線文字タグのいずれか一方を割り当てる割当部と、前記注目画素を含む予め定められた検出領域毎に、前記割当部により前記線文字タグが割り当てられた画素である前記第1画素と、前記非線文字タグが割り当てられた画素である前記第2画素との前記境界を検出する検出部と、を更に備えたものである。 Further, in the invention according to any one of claims 1 to 5, the image processing apparatus according to claim 6 indicates that each pixel of the image is a part of the line or character. An allocation unit that allocates either a line character tag or a non-line character tag indicating that it is not a part of the line or a character, and the allocation unit for each predetermined detection area including the pixel of interest. It further includes a detection unit that detects the boundary between the first pixel, which is a pixel to which the line character tag is assigned, and the second pixel, which is a pixel to which the non-line character tag is assigned. be.

また、請求項7に記載の画像処理装置は、請求項7に記載の発明において、前記検出部が、前記検出領域に対応する境界検出用パターンであって、前記注目画素、前記第1画素、前記第2画素、及び前記近傍画素の位置関係が予め規定された前記境界検出用パターンを用いて、前記境界を検出するものである。 Further, in the image processing apparatus according to claim 7, in the invention according to claim 7, the detection unit has a boundary detection pattern corresponding to the detection region, and the pixel of interest, the first pixel, and the like. The boundary is detected by using the boundary detection pattern in which the positional relationship between the second pixel and the neighboring pixels is defined in advance.

一方、上記目的を達成するために、請求項8に記載の画像形成装置は、画像における線又は文字の一部を示す第1画素との境界に沿う第2画素であって、線又は文字の一部ではないことを示す前記第2画素を注目画素として含む予め定められた調整領域の中で、前記注目画素の近傍に位置する前記第1画素の画素値により画素値が調整された調整済画素の数が閾値未満である場合に、前記注目画素に対応する画素値を、前記注目画素の近傍に位置する前記第1画素である近傍画素の画素値に基づいて調整し、前記調整済画素の数が前記閾値以上である場合に、前記注目画素に対応する画素値を調整しない調整部と、前記調整部により画素値が調整された前記画像又は調整されない前記画像を記録媒体に形成する形成部と、を備え、前記調整領域及び前記閾値の少なくとも一方は変更可能であり、前記閾値には、1以上前記調整領域の画素数以下の値が設定される。 On the other hand, in order to achieve the above object, the image forming apparatus according to claim 8 is a second pixel along a boundary with a first pixel indicating a part of a line or a character in an image, and is a line or a character. Adjusted in which the pixel value is adjusted by the pixel value of the first pixel located in the vicinity of the attention pixel in the predetermined adjustment region including the second pixel indicating that it is not a part as the attention pixel. When the number of pixels is less than the threshold value, the pixel value corresponding to the attention pixel is adjusted based on the pixel value of the nearby pixel which is the first pixel located in the vicinity of the attention pixel, and the adjusted pixel is adjusted. If the number of is not less than the threshold value, and which forms an adjustment unit that does not adjust the pixel value corresponding to the pixel of interest, the image is not the image or adjusted pixel value is adjusted by the adjusting unit in a recording medium comprising a part, the said Ri least one modifiable der adjustment region and the threshold value, the threshold value is 1 or more the number of pixels following values of the adjustment region Ru is set.

更に、上記目的を達成するために、請求項9に記載のプログラムは、コンピュータを、請求項1〜7のいずれか1項に記載の画像処理装置が備える各部として機能させるためのものである。 Further, in order to achieve the above object, the program according to claim 9 is for causing the computer to function as each part included in the image processing apparatus according to any one of claims 1 to 7.

請求項1、請求項8、及び請求項9に係る発明によれば、線又は文字であることを示す画素と線又は文字でないことを示す画素との境界について常に一律に画素値を調整する場合と比べて、画像における線又は文字の太さを柔軟に調整することができる。 According to the first, eighth, and ninth aspects of the invention, the pixel value is always uniformly adjusted with respect to the boundary between the pixel indicating that it is a line or a character and the pixel indicating that it is not a line or a character. Compared with, the thickness of the line or the character in the image can be adjusted flexibly.

請求項2、請求項3、及び請求項4に係る発明によれば、画像全体に対して線又は文字の太さを柔軟に調整することができる。 According to claims 2, 3, and 4, the thickness of lines or characters can be flexibly adjusted with respect to the entire image.

請求項5に係る発明によれば、画素値を調整した注目画素である調整済画素と、画素値を調整しない注目画素とを周期的に配置しない場合と比べて、画像における線又は文字の太さをより違和感なく調整することができる。 According to the invention of claim 5, the thickness of the line or character in the image is larger than that in the case where the adjusted pixel, which is the pixel of interest whose pixel value is adjusted, and the pixel of interest whose pixel value is not adjusted are not periodically arranged. You can adjust the image more comfortably.

請求項6に係る発明によれば、各画素に線又は文字の一部であるか否かを示すタグを割り当てない場合と比べて、線又は文字を構成する画素と、線又は文字を構成しない画素との境界をより的確に検出することができる。 According to the invention of claim 6, the pixels constituting the line or the character and the pixel forming the line or the character are not formed as compared with the case where the tag indicating whether or not the pixel is a part of the line or the character is not assigned to each pixel. The boundary with the pixel can be detected more accurately.

請求項7に係る発明によれば、境界検出用パターンを用いない場合と比べて、線又は文字を構成する画素と、線又は文字を構成しない画素との境界をより的確に検出することができる。 According to the invention of claim 7, the boundary between the pixel constituting the line or the character and the pixel not forming the line or the character can be detected more accurately than in the case where the boundary detection pattern is not used. ..

第1の実施形態に係る画像形成装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure of the image forming apparatus which concerns on 1st Embodiment. 第1の実施形態に係る画像形成装置の機能的な構成の一例を示すブロック図である。It is a block diagram which shows an example of the functional structure of the image forming apparatus which concerns on 1st Embodiment. 第1の実施形態に係る画像形成装置によるラスタライズ処理の一例を説明するための模式図である。It is a schematic diagram for demonstrating an example of the rasterization processing by the image forming apparatus which concerns on 1st Embodiment. 実施形態に係るラスタ画像の境界検出処理における処理順の一例を示す模式図である。It is a schematic diagram which shows an example of the processing order in the boundary detection processing of the raster image which concerns on embodiment. 第1の実施形態に係る画像形成装置による境界検出処理の一例を説明するための模式図である。It is a schematic diagram for demonstrating an example of the boundary detection processing by the image forming apparatus which concerns on 1st Embodiment. 実施形態に係る境界検出用パターンの一例を示す模式図である。It is a schematic diagram which shows an example of the boundary detection pattern which concerns on embodiment. 第1の実施形態に係る画像形成装置による連続的画素値調整処理後における画像合成処理の一例を説明するための模式図である。It is a schematic diagram for demonstrating an example of the image composition processing after the continuous pixel value adjustment processing by the image forming apparatus which concerns on 1st Embodiment. 実施形態に係る調整領域の一例を示す図である。It is a figure which shows an example of the adjustment area which concerns on embodiment. 実施形態に係る他の調整領域の一例を示す図である。It is a figure which shows an example of another adjustment area which concerns on embodiment. 第1の実施形態に係る画像形成装置による周期的画素値調整処理の手順の一例を示す模式図である。It is a schematic diagram which shows an example of the procedure of the periodic pixel value adjustment processing by the image forming apparatus which concerns on 1st Embodiment. 第1の実施形態に係る画像形成装置による周期的画素値調整処理後における画像合成処理の一例を説明するための模式図である。It is a schematic diagram for demonstrating an example of the image composition processing after the periodic pixel value adjustment processing by the image forming apparatus which concerns on 1st Embodiment. 第1の実施形態に係る連続的画素値調整処理及び周期的画素値調整処理の各々を適用した場合の合成画像の一例を示す模式図である。It is a schematic diagram which shows an example of the composite image when each of the continuous pixel value adjustment processing and the periodic pixel value adjustment processing which concerns on 1st Embodiment is applied. 第1の実施形態に係る画像処理プログラムの処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the processing flow of the image processing program which concerns on 1st Embodiment. 第2の実施形態に係る画像形成装置の機能的な構成の一例を示すブロック図である。It is a block diagram which shows an example of the functional structure of the image forming apparatus which concerns on 2nd Embodiment. 第2の実施形態に係る画像形成装置によるラスタライズ処理の一例を説明するための模式図である。It is a schematic diagram for demonstrating an example of the rasterization processing by the image forming apparatus which concerns on 2nd Embodiment.

以下、図面を参照して、本発明を実施するための形態の一例について詳細に説明する。 Hereinafter, an example of a mode for carrying out the present invention will be described in detail with reference to the drawings.

[第1の実施形態]
図1は、第1の実施形態に係る画像形成装置10Aの構成の一例を示すブロック図である。
図1に示すように、本実施形態に係る画像形成装置10Aは、画像処理部11と、表示部16と、操作部18と、画像形成部20と、原稿読取部22と、通信部24と、を備える。画像処理部11は、画像処理装置の一例である。画像処理部11は、制御部12と、記憶部14と、を含んで構成されている。
[First Embodiment]
FIG. 1 is a block diagram showing an example of the configuration of the image forming apparatus 10A according to the first embodiment.
As shown in FIG. 1, the image forming apparatus 10A according to the present embodiment includes an image processing unit 11, a display unit 16, an operation unit 18, an image forming unit 20, a document reading unit 22, and a communication unit 24. , Equipped with. The image processing unit 11 is an example of an image processing device. The image processing unit 11 includes a control unit 12 and a storage unit 14.

制御部12は、CPU(Central Processing Unit)12A、ROM(Read Only Memory)12B、RAM(Random Access Memory)12C、及び入出力インターフェース(I/O)12Dを備えており、これら各部がバスを介して各々接続されている。 The control unit 12 includes a CPU (Central Processing Unit) 12A, a ROM (Read Only Memory) 12B, a RAM (Random Access Memory) 12C, and an input / output interface (I / O) 12D, and each of these units is via a bus. Are connected to each other.

I/O12Dには、記憶部14と、表示部16と、操作部18と、画像形成部20と、原稿読取部22と、通信部24と、を含む各機能部が接続されている。これらの各機能部は、I/O12Dを介して、CPU12Aと相互に通信可能とされる。 Each functional unit including a storage unit 14, a display unit 16, an operation unit 18, an image forming unit 20, a document reading unit 22, and a communication unit 24 is connected to the I / O 12D. Each of these functional units can communicate with the CPU 12A via the I / O 12D.

制御部12は、画像形成装置10Aの全体の動作を制御するメイン制御部の一部として構成されてもよい。制御部12の各ブロックの一部又は全部には、例えば、LSI(Large Scale Integration)等の集積回路又はIC(Integrated Circuit)チップセットが用いられる。上記各ブロックに個別の回路を用いてもよいし、一部又は全部を集積した回路を用いてもよい。上記各ブロック同士が一体として設けられてもよいし、一部のブロックが別に設けられてもよい。また、上記各ブロックのそれぞれにおいて、その一部が別に設けられてもよい。制御部12の集積化には、LSIに限らず、専用回路又は汎用プロセッサを用いてもよい。 The control unit 12 may be configured as a part of a main control unit that controls the overall operation of the image forming apparatus 10A. For example, an integrated circuit such as an LSI (Large Scale Integration) or an IC (Integrated Circuit) chipset is used for a part or all of each block of the control unit 12. An individual circuit may be used for each of the above blocks, or a circuit in which a part or all of them are integrated may be used. Each of the above blocks may be provided integrally, or some blocks may be provided separately. In addition, a part of each of the above blocks may be provided separately. The integration of the control unit 12 is not limited to the LSI, and a dedicated circuit or a general-purpose processor may be used.

記憶部14としては、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュメモリ等が用いられる。記憶部14には、画像処理プログラム14Aが記憶される。なお、この画像処理プログラム14Aは、ROM12Bに記憶されていてもよい。 As the storage unit 14, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, or the like is used. The image processing program 14A is stored in the storage unit 14. The image processing program 14A may be stored in the ROM 12B.

画像処理プログラム14Aは、例えば、画像形成装置10Aに予めインストールされていてもよい。画像処理プログラム14Aは、不揮発性の記憶媒体に記憶して、又はネットワークを介して配布して、画像形成装置10Aに適宜インストールすることで実現してもよい。なお、不揮発性の記憶媒体の例としては、CD-ROM、光磁気ディスク、HDD、DVD-ROM、フラッシュメモリ、メモリカード等が想定される。 The image processing program 14A may be pre-installed in, for example, the image forming apparatus 10A. The image processing program 14A may be realized by storing it in a non-volatile storage medium or distributing it via a network and appropriately installing it in the image forming apparatus 10A. As an example of the non-volatile storage medium, a CD-ROM, a magneto-optical disk, an HDD, a DVD-ROM, a flash memory, a memory card, or the like is assumed.

表示部16には、例えば、液晶ディスプレイ(LCD:Liquid Crystal Display)や有機EL(Electro Luminescence)ディスプレイ等が用いられる。表示部16は、タッチパネルを一体的に有している。操作部18には、テンキーやスタートキー等の各種の操作キーが設けられている。表示部16及び操作部18は、画像形成装置10Aのユーザから各種の指示を受け付ける。この各種の指示には、例えば、原稿の読み取りを開始させる指示や、原稿のコピーを開始させる指示等が含まれる。表示部16は、ユーザから受け付けた指示に応じて実行された処理の結果や、処理に対する通知等の各種の情報を表示する。 For the display unit 16, for example, a liquid crystal display (LCD), an organic EL (Electro Luminescence) display, or the like is used. The display unit 16 integrally has a touch panel. The operation unit 18 is provided with various operation keys such as a numeric keypad and a start key. The display unit 16 and the operation unit 18 receive various instructions from the user of the image forming apparatus 10A. These various instructions include, for example, an instruction to start reading the original, an instruction to start copying the original, and the like. The display unit 16 displays various information such as the result of the process executed in response to the instruction received from the user and the notification for the process.

原稿読取部22は、画像形成装置10Aの上部に設けられた図示しない自動原稿送り装置の給紙台に置かれた原稿を1枚ずつ取り込み、取り込んだ原稿を光学的に読み取って画像情報を得る。あるいは、原稿読取部22は、プラテンガラス等の原稿台に置かれた原稿を光学的に読み取って画像情報を得る。 The document reading unit 22 captures the documents placed on the paper feed tray of the automatic document feeder (not shown) provided on the upper part of the image forming apparatus 10A one by one, and optically reads the captured documents to obtain image information. .. Alternatively, the document reading unit 22 optically reads the document placed on the platen such as platen glass to obtain image information.

画像形成部20は、原稿読取部22による読み取りによって得られた画像情報、又は、ネットワークを介して接続された外部のPC等から得られた画像情報に基づく画像を、紙等の記録媒体に形成する。なお、本実施形態においては、画像を形成する方式として、電子写真方式を例示して説明するが、インクジェット方式等の他の方式を採用してもよい。なお、画像形成部20は、形成部の一例である。 The image forming unit 20 forms an image based on the image information obtained by reading by the document reading unit 22 or the image information obtained from an external PC or the like connected via a network on a recording medium such as paper. do. In the present embodiment, the electrophotographic method will be described as an example of the method for forming an image, but another method such as an inkjet method may be adopted. The image forming unit 20 is an example of the forming unit.

画像を形成する方式が電子写真方式の場合、画像形成部20は、感光体ドラム、帯電部、露光部、現像部、転写部、及び定着部を含む。帯電部は、感光体ドラムに電圧を印加して感光体ドラムの表面を帯電させる。露光部は、帯電部で帯電された感光体ドラムを画像情報に応じた光で露光することにより感光体ドラムに静電潜像を形成する。現像部は、感光体ドラムに形成された静電潜像をトナーにより現像することで感光体ドラムにトナー像を形成する。転写部は、感光体ドラムに形成されたトナー像を記録媒体に転写する。定着部は、記録媒体に転写されたトナー像を加熱及び加圧により定着させる。 When the method for forming an image is an electrophotographic method, the image forming unit 20 includes a photoconductor drum, a charging unit, an exposure unit, a developing unit, a transfer unit, and a fixing unit. The charging unit applies a voltage to the photoconductor drum to charge the surface of the photoconductor drum. The exposed unit forms an electrostatic latent image on the photoconductor drum by exposing the photoconductor drum charged by the charged unit with light corresponding to the image information. The developing unit develops an electrostatic latent image formed on the photoconductor drum with toner to form a toner image on the photoconductor drum. The transfer unit transfers the toner image formed on the photoconductor drum to the recording medium. The fixing unit fixes the toner image transferred to the recording medium by heating and pressurizing.

通信部24は、LAN(Local Area Network)、WAN(Wide Area Network)等のネットワークに接続されており、図示しない外部のPC等との間でネットワークを介して通信が可能とされる。なお、通信部24とネットワークとは有線で接続されていてもよく、無線で接続されていてもよい。 The communication unit 24 is connected to a network such as a LAN (Local Area Network) or WAN (Wide Area Network), and can communicate with an external PC or the like (not shown) via the network. The communication unit 24 and the network may be connected by wire or wirelessly.

本実施形態に係る画像形成装置10AのCPU12Aは、記憶部14に記憶されている画像処理プログラム14AをRAM12Cに書き込んで実行することにより、図2に示す各部として機能する。 The CPU 12A of the image forming apparatus 10A according to the present embodiment functions as each unit shown in FIG. 2 by writing the image processing program 14A stored in the storage unit 14 into the RAM 12C and executing the program.

図2は、第1の実施形態に係る画像形成装置10Aの機能的な構成の一例を示すブロック図である。
図2に示すように、本実施形態に係る画像形成装置10AのCPU12Aは、ラスタライズ部30、検出部32、調整部34、及び合成部36として機能する。なお、ラスタライズ部30は、割当部の一例である。
FIG. 2 is a block diagram showing an example of a functional configuration of the image forming apparatus 10A according to the first embodiment.
As shown in FIG. 2, the CPU 12A of the image forming apparatus 10A according to the present embodiment functions as a rasterization unit 30, a detection unit 32, an adjustment unit 34, and a composition unit 36. The rasterization unit 30 is an example of an allocation unit.

本実施形態において、ラスタライズ部30は、入力されたベクタ画像をラスタライズしてラスタ画像を生成する。ベクタ画像とは、画像を円や直線等の幾何的な図形の集まりとして表現するベクタ形式の画像である。一方、ラスタ画像(所謂ビットマップ画像ともいう。)とは、画像を各点の濃淡の集まりとして表現するラスタ形式の画像である。ラスタ画像の各画素は、例えば、C(シアン)、M(マゼンタ)、Y(イエロー)、及びK(ブラック)の各色の画素値(階調値)を有している。 In the present embodiment, the rasterization unit 30 rasterizes the input vector image to generate a raster image. A vector image is an image in a vector format that expresses an image as a collection of geometric figures such as circles and straight lines. On the other hand, a raster image (also referred to as a so-called bitmap image) is a raster format image that expresses an image as a collection of shades of each point. Each pixel of the raster image has, for example, pixel values (gradation values) of each color of C (cyan), M (magenta), Y (yellow), and K (black).

また、本実施形態に係るラスタライズ部30は、ラスタ画像に含まれる各画素に、線又は文字の一部であることを示す線文字タグ、及び、線又は文字の一部ではないことを示す非線文字タグのいずれか一方を割り当てる。 Further, the rasterization unit 30 according to the present embodiment has a line character tag indicating that each pixel included in the raster image is a part of a line or a character, and a non-rasterizing unit 30 indicating that the pixel is not a part of the line or the character. Assign one of the line character tags.

検出部32は、ラスタ画像における注目画素を含む予め定められた検出領域毎に、ラスタライズ部30により線文字タグが割り当てられた画素と、非線文字タグが割り当てられた画素との境界を検出する。なお、本実施形態では、線文字タグが割り当てられた画素を線文字画素といい、非線文字タグが割り当てられた画素を非線文字画素という。線文字画素は、第1画素の一例であり、非線文字画素は、第2画素の一例である。 The detection unit 32 detects the boundary between the pixel to which the line character tag is assigned by the rasterization unit 30 and the pixel to which the non-line character tag is assigned for each predetermined detection area including the pixel of interest in the raster image. .. In the present embodiment, the pixel to which the line character tag is assigned is referred to as a line character pixel, and the pixel to which the non-line character tag is assigned is referred to as a non-line character pixel. The line character pixel is an example of the first pixel, and the non-line character pixel is an example of the second pixel.

調整部34は、検出部32により上記境界が検出され、当該境界に沿う非線文字画素を注目画素として含む予め定められた調整領域の中で、調整済画素の数が閾値未満である場合に、注目画素に対応する画素値を、近傍画素の画素値に基づいて調整する。調整領域及び閾値の少なくとも一方は変更可能である。なお、調整領域とは、注目画素に対応する画素値の調整に用いる領域である。調整済画素とは、注目画素の近傍に位置する線文字画素の画素値により画素値が調整された注目画素である。近傍画素とは、注目画素の近傍に位置する線文字画素である。また、ここでいう「近傍」とは、注目画素を基準として予め定められた距離内の位置を表し、例えば、注目画素から3画素以内の位置を表すものとする。 When the boundary is detected by the detection unit 32 and the number of adjusted pixels is less than the threshold value in the predetermined adjustment region including the non-line character pixel along the boundary as the pixel of interest. , The pixel value corresponding to the pixel of interest is adjusted based on the pixel value of the neighboring pixel. At least one of the adjustment area and the threshold can be changed. The adjustment area is an area used for adjusting the pixel value corresponding to the pixel of interest. The adjusted pixel is a pixel of interest whose pixel value is adjusted by the pixel value of a line character pixel located in the vicinity of the pixel of interest. The neighborhood pixel is a line character pixel located in the vicinity of the pixel of interest. Further, the “neighborhood” here means a position within a predetermined distance with respect to the pixel of interest, and for example, a position within 3 pixels from the pixel of interest.

合成部36は、ラスタライズ部30によりラスタライズされたラスタ画像と、調整部34により画素値が調整された注目画素を有する修正画像とを合成して合成画像を出力する。なお、この修正画像については後述する。 The compositing unit 36 synthesizes a raster image rasterized by the rasterizing unit 30 and a modified image having a pixel of interest whose pixel value has been adjusted by the adjusting unit 34, and outputs a composite image. The modified image will be described later.

次に、図3〜図12を参照して、本実施形態に係る画像形成装置10Aが備えるラスタライズ部30、検出部32、調整部34、及び合成部36の各部について具体的に説明する。 Next, with reference to FIGS. 3 to 12, each unit of the rasterization unit 30, the detection unit 32, the adjustment unit 34, and the composition unit 36 included in the image forming apparatus 10A according to the present embodiment will be specifically described.

なお、本実施形態では、線文字画素と非線文字画素との境界を検出するために線文字タグ及び非線文字タグを用いているが、当該境界を検出するために画素値演算による手法を用いてもよい。 In the present embodiment, the line character tag and the non-line character tag are used to detect the boundary between the line character pixel and the non-line character pixel, but a method by pixel value calculation is used to detect the boundary. You may use it.

まず、本実施形態に係る画像形成装置10Aによるラスタライズ処理について説明する。 First, the rasterization process by the image forming apparatus 10A according to the present embodiment will be described.

図3は、第1の実施形態に係る画像形成装置10Aによるラスタライズ処理の一例を説明するための模式図である。 FIG. 3 is a schematic diagram for explaining an example of rasterization processing by the image forming apparatus 10A according to the first embodiment.

本実施形態に係るラスタライズ部30は、図3に示すように、ベクタ画像と共に、ベクタ画像のオブジェクト情報の入力を受け付ける。ベクタ画像のオブジェクト情報とは、例えば、グラフィックでは点の座標や、線の角度等の図形要素に関する情報とされ、テキストでは文字コードや、フォントの種類、大きさ等の文字要素に関する情報とされる。ラスタライズ部30は、オブジェクト情報を用いて、ベクタ画像をラスタライズしてラスタ画像を生成する。 As shown in FIG. 3, the rasterization unit 30 according to the present embodiment accepts the input of the object information of the vector image together with the vector image. The object information of a vector image is, for example, information about graphic elements such as point coordinates and line angles in graphics, and information about character elements such as character codes, font types, and sizes in texts. .. The rasterization unit 30 rasterizes the vector image using the object information to generate a raster image.

また、ラスタライズ部30は、上記のオブジェクト情報に基づいて、ラスタ画像の各画素に対して、線文字タグ及び非線文字タグのいずれか一方を割り当てる。本実施形態に係るラスタライズ部30は、割り当てた結果として、ラスタ画像の各画素に対応付けて、線文字タグ又は非線文字タグを区別するための1ビットの情報を記憶部14に記憶する。例えば、当該情報が「0」であれば、線文字タグが割り当てられていることを示し、当該情報が「1」であれば、非線文字タグが割り当てられていることを示す。本実施形態では、図3に示すように、線文字タグが割り当てられた画素を線文字画素Tg1とし、非線文字タグが割り当てられた画素を非線文字画素Tg2として区別するものとする。 Further, the rasterization unit 30 assigns either a line character tag or a non-line character tag to each pixel of the raster image based on the above object information. As a result of the allocation, the rasterization unit 30 according to the present embodiment stores 1-bit information for distinguishing the line character tag or the non-line character tag in the storage unit 14 in association with each pixel of the raster image. For example, if the information is "0", it indicates that a line character tag is assigned, and if the information is "1", it indicates that a non-line character tag is assigned. In the present embodiment, as shown in FIG. 3, the pixel to which the line character tag is assigned is defined as the line character pixel Tg1, and the pixel to which the non-line character tag is assigned is designated as the non-line character pixel Tg2.

次に、本実施形態に係る画像形成装置10Aによる境界検出処理について説明する。 Next, the boundary detection process by the image forming apparatus 10A according to the present embodiment will be described.

図4は、本実施形態に係るラスタ画像の境界検出処理における処理順の一例を示す模式図である。
図4の矢印で示すように、本実施形態に係る境界検出処理では、ラスタ画像の左上角点を始点、右下角点を終点とし、注目画素をラスタ画像の左端から右端に向け、かつ、上端から下端に向けて、1画素分ずつ移動させながら、境界の検出が行われる。
FIG. 4 is a schematic diagram showing an example of the processing order in the boundary detection processing of the raster image according to the present embodiment.
As shown by the arrows in FIG. 4, in the boundary detection process according to the present embodiment, the upper left corner point of the raster image is set as the start point and the lower right corner point is set as the end point, and the pixel of interest is directed from the left end to the right end of the raster image and the upper end. The boundary is detected while moving one pixel at a time from the to the lower end.

図5は、第1の実施形態に係る画像形成装置10Aによる境界検出処理の一例を説明するための模式図である。 FIG. 5 is a schematic diagram for explaining an example of the boundary detection process by the image forming apparatus 10A according to the first embodiment.

本実施形態に係る検出部32は、一例として、図5に示すように、注目画素Ap1を含む検出領域40毎に、線文字画素Tg1と非線文字画素Tg2との境界を検出する。検出領域40は、線文字画素Tg1と非線文字画素Tg2との境界の検出に用いる領域であり、上記の調整領域とは異なる領域である。検出領域40としては、一例として、3×3の領域を示しているが、5×5、7×7等の領域でもよい。なお、検出領域40における画素の配置としては、縦方向の画素数と横方向の画素数とが同一となる配置に限らず、縦方向の画素数と横方向の画素数とが異なる配置でもよい。 As an example, the detection unit 32 according to the present embodiment detects the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 for each detection area 40 including the attention pixel Ap1. The detection area 40 is an area used for detecting the boundary between the line character pixel Tg1 and the non-line character pixel Tg2, and is a region different from the above adjustment area. As the detection region 40, as an example, a region of 3 × 3 is shown, but an region of 5 × 5, 7 × 7, etc. may be used. The arrangement of the pixels in the detection area 40 is not limited to the arrangement in which the number of pixels in the vertical direction and the number of pixels in the horizontal direction are the same, and the number of pixels in the vertical direction and the number of pixels in the horizontal direction may be different. ..

ここで、検出部32は、検出領域40に対応する境界検出用パターンを用いて、ラスタ画像に対してパターンマッチングを行うことにより、線文字画素Tg1と非線文字画素Tg2との境界を検出する。 Here, the detection unit 32 detects the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 by performing pattern matching on the raster image using the boundary detection pattern corresponding to the detection area 40. ..

図6は、本実施形態に係る境界検出用パターンの一例を示す模式図である。
図6に示すように、本実施形態に係る境界検出用パターンの各々は、上記の検出領域40に対応するパターンマッチング用の画像であり、本実施形態では、検出領域40と同一の3×3の画像が適用される。
FIG. 6 is a schematic diagram showing an example of a boundary detection pattern according to the present embodiment.
As shown in FIG. 6, each of the boundary detection patterns according to the present embodiment is an image for pattern matching corresponding to the above-mentioned detection area 40, and in the present embodiment, the same 3 × 3 as the detection area 40. Image is applied.

本実施形態に係る境界検出用パターンでは、注目画素Ap1、線文字画素Tg1、非線文字画素Tg2、及び近傍画素Np1の位置関係が予め規定されている。画素Dc1は、画素値が任意(Don't Care)であることを示す画素である。なお、本実施形態では、境界検出用パターンの中央に位置する画素を注目画素Ap1とする。注目画素Ap1は、非線文字画素Tg2である。近傍画素Np1は、注目画素Ap1の近傍に位置する線文字画素Tg1である。近傍画素Np1は、注目画素Ap1を基準として予め定められた距離内に位置する画素である。近傍画素Np1には、例えば、注目画素Ap1から3画素以内に位置する画素が適用される。近傍画素Np1の画素値は、後述するように、注目画素Ap1に対応する画素値の調整に使用される。 In the boundary detection pattern according to the present embodiment, the positional relationship between the attention pixel Ap1, the line character pixel Tg1, the non-line character pixel Tg2, and the neighboring pixel Np1 is defined in advance. The pixel Dc1 is a pixel indicating that the pixel value is arbitrary (Don't Care). In the present embodiment, the pixel located at the center of the boundary detection pattern is designated as the pixel of interest Ap1. The pixel of interest Ap1 is a non-line character pixel Tg2. The neighborhood pixel Np1 is a line character pixel Tg1 located in the vicinity of the pixel of interest Ap1. The neighboring pixel Np1 is a pixel located within a predetermined distance with respect to the pixel of interest Ap1. For example, a pixel located within 3 pixels from the pixel of interest Ap1 is applied to the neighboring pixel Np1. The pixel value of the neighboring pixel Np1 is used for adjusting the pixel value corresponding to the pixel of interest Ap1 as described later.

本実施形態において、記憶部14には、複数種類の境界検出用パターンが予め格納されている。本実施形態に係る注目画素Ap1の近傍画素Np1は、注目画素Ap1の右隣、左隣、上隣、及び下隣のいずれかに位置する画素である。すなわち、境界検出用パターンは、図6に示すように、近傍画素Np1が注目画素Ap1の右隣、左隣、上隣、及び下隣のいずれかに位置する場合について、複数種類ずつ設けられている。なお、本実施形態は、境界検出用パターンを、近傍画素Np1が注目画素Ap1の右隣、左隣、上隣、及び下隣の各々に位置する場合について1種類ずつ設ける場合についても同様に適用される。 In the present embodiment, a plurality of types of boundary detection patterns are stored in advance in the storage unit 14. The nearby pixel Np1 of the attention pixel Ap1 according to the present embodiment is a pixel located on any of the right side, the left side, the upper side, and the lower side of the attention pixel Ap1. That is, as shown in FIG. 6, a plurality of types of boundary detection patterns are provided for the case where the neighboring pixel Np1 is located on any of the right side, left side, top side, and bottom side of the attention pixel Ap1. There is. The present embodiment is similarly applied to the case where one type of boundary detection pattern is provided for each of the case where the neighboring pixel Np1 is located on the right side, the left side side, the upper side side, and the lower side of the attention pixel Ap1. Will be done.

本実施形態に係る検出部32は、上記の各隣接方向毎に複数種類ずつの境界検出用パターンを選択的に用いて、ラスタ画像に対してパターンマッチングを行う。例えば、近傍画素Np1の位置が注目画素Ap1の右隣、左隣、上隣、及び下隣に位置する全てのパターンを用いてもよいし、近傍画素Np1が注目画素Ap1の右隣及び下隣に位置するパターンのみを用いてもよい。このような境界検出用パターンの使い分けにより、後述の画素値調整処理において線及び文字が異なる太さに調整される。例えば、右隣、左隣、上隣、及び下隣の全てのパターンを用いた場合、線及び文字の太さが2画素相当分太く調整される。一方、右隣及び下隣のパターンのみを用いた場合、線及び文字の太さが1画素相当分太く調整される。なお、線及び文字の太さをどの程度調整するかは、ユーザが設定可能とすることが望ましい。例えば、ユーザが太さ調整量のレベルを設定するための調整量設定画面(図示省略)を表示可能とする。この調整量設定画面において、例えば、レベル大が設定された場合には、2画素相当分太く調整されるようにパターンが選択され、レベル小が設定された場合には、1画素相当分太く調整されるようにパターンが選択される。 The detection unit 32 according to the present embodiment selectively uses a plurality of types of boundary detection patterns for each of the above-mentioned adjacent directions to perform pattern matching on a raster image. For example, all patterns in which the positions of the neighboring pixel Np1 are located on the right side, the left side, the upper side, and the lower side of the attention pixel Ap1 may be used, or the nearby pixel Np1 is on the right side and the lower side of the attention pixel Ap1. Only the pattern located at may be used. By properly using the boundary detection pattern in this way, the lines and characters are adjusted to different thicknesses in the pixel value adjustment process described later. For example, when all the patterns on the right side, the left side, the top side, and the bottom side are used, the thickness of the line and the character is adjusted to be thicker by two pixels. On the other hand, when only the patterns adjacent to the right and the patterns adjacent to the bottom are used, the thickness of the lines and characters is adjusted to be thicker by one pixel. It is desirable that the user can set how much the thickness of the line and the character is adjusted. For example, it is possible to display an adjustment amount setting screen (not shown) for the user to set the level of the thickness adjustment amount. On this adjustment amount setting screen, for example, when a large level is set, a pattern is selected so as to be adjusted to be thicker by 2 pixels, and when a small level is set, the pattern is adjusted to be thicker by 1 pixel. The pattern is selected so that it is.

検出部32は、図5に示す検出領域40内の画素の配置パターンが、図6に示す境界検出用パターンのいずれかに合致した場合、線文字画素Tg1と非線文字画素Tg2との境界が存在すると判定する。ここで、検出領域40内の画素の配置パターンと境界検出用パターンとが合致する場合とは、線文字画素Tg1と非線文字画素Tg2との境界が検出され、かつ、注目画素Ap1が非線文字画素Tg2である場合である。一方、検出領域40内の画素の配置パターンが、図6に示す境界検出用パターンのいずれにも合致しない場合、線文字画素Tg1と非線文字画素Tg2との境界は存在しないと判定する。 In the detection unit 32, when the arrangement pattern of the pixels in the detection area 40 shown in FIG. 5 matches any of the boundary detection patterns shown in FIG. 6, the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 is set. Determined to exist. Here, when the arrangement pattern of the pixels in the detection area 40 and the boundary detection pattern match, the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 is detected, and the attention pixel Ap1 is non-line. This is the case where the character pixel Tg2 is used. On the other hand, when the arrangement pattern of the pixels in the detection area 40 does not match any of the boundary detection patterns shown in FIG. 6, it is determined that the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 does not exist.

ところで、本実施形態に係る画像形成装置10Aでは、連続的画素値調整処理と、周期的画素値調整処理とが選択的に実行される。いずれの画素値調整処理を実行するかは、例えば、ユーザにより選択可能とすることが望ましい。連続的画素値調整処理とは、パターンマッチングにより境界が検出された全ての注目画素Ap1に対して連続的に画素値の調整を行う処理である。連続的画素値調整処理は、調整部34及び合成部36が実行する処理である。一方、周期的画素値調整処理とは、パターンマッチングにより境界が検出された注目画素Ap1に対して、例えば、1つおき、2つおき等のように周期的に画素値の調整を行う処理である。周期的画素値調整処理は、調整部34及び合成部36が実行する処理である。 By the way, in the image forming apparatus 10A according to the present embodiment, the continuous pixel value adjustment process and the periodic pixel value adjustment process are selectively executed. It is desirable that the pixel value adjustment process to be executed can be selected by the user, for example. The continuous pixel value adjustment process is a process of continuously adjusting the pixel value for all the pixels of interest Ap1 whose boundaries are detected by pattern matching. The continuous pixel value adjustment process is a process executed by the adjustment unit 34 and the composition unit 36. On the other hand, the periodic pixel value adjustment process is a process of periodically adjusting the pixel value of the attention pixel Ap1 whose boundary is detected by pattern matching, for example, every other pixel value, every two pixels, and the like. be. The periodic pixel value adjustment process is a process executed by the adjustment unit 34 and the composition unit 36.

まず、本実施形態に係る画像形成装置10Aが連続的画素値調整処理を行う場合における調整部34及び合成部36の各々の動作について説明する。 First, each operation of the adjustment unit 34 and the composition unit 36 when the image forming apparatus 10A according to the present embodiment performs continuous pixel value adjustment processing will be described.

調整部34は、検出部32によるパターンマッチングにより、一例として図6に示す境界検出用パターンのいずれかが合致した場合、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値に基づいて調整する。ここで行う調整として、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値で置き換えてもよいし、近傍画素Np1の画素値に近い値に調整してもよい。なお、近傍画素Np1の画素値に近い値としては、当該画素値を基準として予め定められた範囲内の画素値が適用される。例えば、近傍画素Np1の画素値の80%以上100%未満の範囲の画素値が適用される。 When any of the boundary detection patterns shown in FIG. 6 is matched by pattern matching by the detection unit 32, the adjustment unit 34 sets the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1. adjust. As the adjustment performed here, the pixel value corresponding to the pixel of interest Ap1 may be replaced with the pixel value of the neighboring pixel Np1 or may be adjusted to a value close to the pixel value of the neighboring pixel Np1. As a value close to the pixel value of the neighboring pixel Np1, a pixel value within a predetermined range based on the pixel value is applied. For example, a pixel value in the range of 80% or more and less than 100% of the pixel value of the neighboring pixel Np1 is applied.

このように、非線文字画素である注目画素Ap1の画素値は、線文字画素である近傍画素Np1の画素値に置き換えられる。あるいは、注目画素Ap1の画素値は、近傍画素Np1の画素値に近い値に調整される。このため、連続的画素値調整処理後の画像では、連続的画素値調整処理前と比べて、線又は文字が太く視認される。 In this way, the pixel value of the attention pixel Ap1 which is a non-line character pixel is replaced with the pixel value of the neighboring pixel Np1 which is a line character pixel. Alternatively, the pixel value of the pixel of interest Ap1 is adjusted to a value close to the pixel value of the neighboring pixel Np1. Therefore, in the image after the continuous pixel value adjustment processing, the lines or characters are visually recognized thicker than those before the continuous pixel value adjustment processing.

なお、調整部34は、画素値が調整された注目画素Ap1について、連続的画素値調整処理前に注目画素Ap1に割り当てられた非線文字タグを線文字タグに更新する。 The adjustment unit 34 updates the non-line character tag assigned to the attention pixel Ap1 to the line character tag for the attention pixel Ap1 whose pixel value has been adjusted before the continuous pixel value adjustment processing.

ここで、調整部34は、上記の連続的画素値調整処理を、ラスタ画像とは異なる修正画像を用いて行う。なお、ここでいう修正画像とは、近傍画素Np1の画素値に基づいて画素値が調整された注目画素Ap1だけを配置した画像であり、一例として、図7に示される画像である。 Here, the adjustment unit 34 performs the above-mentioned continuous pixel value adjustment process using a modified image different from the raster image. The modified image referred to here is an image in which only the attention pixel Ap1 whose pixel value is adjusted based on the pixel value of the neighboring pixel Np1 is arranged, and is an image shown in FIG. 7 as an example.

図7は、第1の実施形態に係る画像形成装置10Aによる連続的画素値調整処理後における画像合成処理の一例を説明するための模式図である。 FIG. 7 is a schematic diagram for explaining an example of the image composition processing after the continuous pixel value adjustment processing by the image forming apparatus 10A according to the first embodiment.

本実施形態に係る合成部36は、一例として、図7に示すように、ラスタライズ部30によりラスタライズされたラスタ画像と、調整部34により画素値が調整された注目画素Ap1のみを有する修正画像とを合成した合成画像を画像形成部20に出力する。 As an example, the synthesis unit 36 according to the present embodiment includes a raster image rasterized by the rasterization unit 30 and a modified image having only the attention pixel Ap1 whose pixel value is adjusted by the adjustment unit 34. Is output to the image forming unit 20.

ここで、ラスタ画像と修正画像とを分ける理由について説明する。
上述したように、境界検出用パターンを用いたパターンマッチングは、ラスタ画像に対して実施される。このため、ラスタ画像において注目画素Ap1の画素値を直接調整して線又は文字を太らせてしまうと、線又は文字を太らせた後のラスタ画像に対して更にパターンマッチングが実施され、線又は文字を延々と太らせてしまうという事態が発生する場合がある。
Here, the reason for separating the raster image and the modified image will be described.
As described above, pattern matching using the boundary detection pattern is performed on the raster image. Therefore, if the pixel value of the pixel of interest Ap1 is directly adjusted in the raster image to thicken the line or character, pattern matching is further performed on the raster image after the line or character is thickened, and the line or character is further thickened. In some cases, the characters may be fattened endlessly.

そこで、本実施形態では、ラスタ画像と修正画像とを分けて処理することで、ラスタ画像自体はオリジナルの状態を維持するようにしている。これにより、上記のように線又は文字を延々と太らせる事態の発生が抑制される。 Therefore, in the present embodiment, the raster image itself is maintained in the original state by processing the raster image and the modified image separately. As a result, the occurrence of the situation where the line or character is thickened endlessly as described above is suppressed.

ところで、上記の連続的画素値調整処理では、境界が検出された注目画素Ap1に対して連続的に画素値の調整が行われるため、必ずしも画像における線又は文字の太さを柔軟に調整できるとは限らない。このため、ユーザによっては、画素値調整後の線又は文字の太さが太過ぎると感じることも起こり得る。 By the way, in the above-mentioned continuous pixel value adjustment process, since the pixel value is continuously adjusted for the attention pixel Ap1 in which the boundary is detected, it is not always possible to flexibly adjust the thickness of the line or character in the image. Is not always. Therefore, depending on the user, it may be felt that the thickness of the line or character after adjusting the pixel value is too thick.

これに対して、周期的画素値調整処理では、境界が検出された注目画素Ap1に対して、例えば、1つおき、2つおき等のように周期的に画素値の調整が行われる。このため、ユーザには、連続的画素値調整処理により画素値が調整された線又は文字の太さと比べて、線又は文字の太さがやや細くより適切な太さとして視認される。 On the other hand, in the periodic pixel value adjustment process, the pixel value is periodically adjusted for the pixel of interest Ap1 whose boundary is detected, for example, every other pixel value, every two pixels, and the like. Therefore, the thickness of the line or character is slightly thinner than the thickness of the line or character whose pixel value is adjusted by the continuous pixel value adjustment processing, and the user visually recognizes the line or character as a more appropriate thickness.

次に、本実施形態に係る画像形成装置10Aが周期的画素値調整処理を行う場合における調整部34及び合成部36の各々の動作について説明する。 Next, the operations of the adjusting unit 34 and the combining unit 36 when the image forming apparatus 10A according to the present embodiment performs the periodic pixel value adjusting processing will be described.

調整部34は、検出部32によるパターンマッチングにより、一例として、図6に示す境界検出用パターンのいずれかが合致した場合、一例として、図8に示す調整領域42を用いて、注目画素Ap1に対応する画素の画素値を調整するか否かを判定する。なお、検出部32によるパターンマッチングにより、一例として、図6に示す境界検出用パターンのいずれにも合致しない場合、注目画素Ap1に対応する画素の画素値は調整しない。 When any of the boundary detection patterns shown in FIG. 6 is matched by pattern matching by the detection unit 32, the adjustment unit 34 uses the adjustment region 42 shown in FIG. 8 as an example to cover the pixel of interest Ap1. It is determined whether or not to adjust the pixel value of the corresponding pixel. As an example, when the pattern matching by the detection unit 32 does not match any of the boundary detection patterns shown in FIG. 6, the pixel value of the pixel corresponding to the pixel of interest Ap1 is not adjusted.

図8は、本実施形態に係る調整領域42の一例を示す図である。
図8に示すように、この調整領域42は、上述の検出領域40と同一の注目画素Ap1を含む領域である。図8に示す調整領域42の場合、注目画素Ap1は、調整領域42の右下端に位置する。
FIG. 8 is a diagram showing an example of the adjustment region 42 according to the present embodiment.
As shown in FIG. 8, the adjustment region 42 is a region including the same attention pixel Ap1 as the detection region 40 described above. In the case of the adjustment region 42 shown in FIG. 8, the pixel of interest Ap1 is located at the lower right end of the adjustment region 42.

本実施形態に係る調整領域42は、一例として、図8に示すように、注目画素Ap1の上隣の画素p2、左隣の画素p4、画素p2の右隣の画素p3、及び画素p2の左隣の画素p1を含む領域である。つまり、注目画素Ap1の右隣及び下隣には画素が存在しない。上述した検出領域40は、ラスタ画像に対して適用される領域であり、調整領域42は、修正画像に対して適用される領域である。 As an example, the adjustment region 42 according to the present embodiment is the pixel p2 above and to the left of the pixel of interest Ap1, the pixel p4 to the left, the pixel p3 to the right of the pixel p2, and the left of the pixel p2, as shown in FIG. This is an area including the adjacent pixel p1. That is, there are no pixels on the right side and the bottom side of the pixel of interest Ap1. The detection area 40 described above is an area applied to the raster image, and the adjustment area 42 is an area applied to the modified image.

調整部34は、調整領域42の中で調整済画素の数が閾値未満である場合に、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値に基づいて調整する。一方、調整部34は、調整領域42の中で調整済画素の数が閾値以上である場合に、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値の如何に係らず調整しない。上記の閾値として、例えば、「1」が設定される。この場合、調整領域42の中の調整済画素の数が1つ未満である場合(=0個の場合)、つまり、調整領域42内の画素p1〜p4が全て調整済画素ではない場合に、注目画素Ap1に対応する画素値を調整する。一方、調整領域42の中の調整済画素の数が1つ以上である場合、つまり、調整領域42内の画素p1〜p4の1つ以上が調整済画素である場合に、注目画素Ap1に対応する画素値を調整しない。 When the number of adjusted pixels in the adjustment area 42 is less than the threshold value, the adjusting unit 34 adjusts the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1. On the other hand, when the number of adjusted pixels in the adjustment region 42 is equal to or greater than the threshold value, the adjustment unit 34 does not adjust the pixel value corresponding to the pixel of interest Ap1 regardless of the pixel value of the neighboring pixel Np1. For example, "1" is set as the above threshold value. In this case, when the number of adjusted pixels in the adjustment area 42 is less than one (= 0), that is, when all the pixels p1 to p4 in the adjustment area 42 are not adjusted pixels. The pixel value corresponding to the pixel of interest Ap1 is adjusted. On the other hand, when the number of adjusted pixels in the adjustment area 42 is one or more, that is, when one or more of the pixels p1 to p4 in the adjustment area 42 are adjusted pixels, it corresponds to the pixel of interest Ap1. Do not adjust the pixel value.

調整部34は、上記により、近傍画素Np1の画素値に基づいて、注目画素Ap1に対応する画素値を調整する。ここで行う調整は、上記の連続的画素値調整処理の場合と同様である。この調整の結果、修正画像には、画素値を調整した注目画素Ap1(すなわち調整済画素)と、画素値を調整しない注目画素Ap1とが周期的に配置される。一例として図8に示す調整領域42を適用した場合、画素値を調整した注目画素Ap1(調整済画素)と、画素値を調整しない注目画素Ap1とが交互に並ぶ配置となる。 As described above, the adjusting unit 34 adjusts the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1. The adjustment performed here is the same as in the case of the continuous pixel value adjustment process described above. As a result of this adjustment, the attention pixel Ap1 (that is, the adjusted pixel) whose pixel value is adjusted and the attention pixel Ap1 whose pixel value is not adjusted are periodically arranged in the corrected image. As an example, when the adjustment region 42 shown in FIG. 8 is applied, the attention pixel Ap1 (adjusted pixel) whose pixel value is adjusted and the attention pixel Ap1 whose pixel value is not adjusted are arranged alternately.

なお、調整部34は、上記の連続的画素値調整処理の場合と同様に、画素値が調整された注目画素Ap1について、周期的画素値調整処理前に注目画素Ap1に割り当てられた非線文字タグを線文字タグに更新する。 In addition, as in the case of the continuous pixel value adjustment processing described above, the adjustment unit 34 has the non-line character assigned to the attention pixel Ap1 before the periodic pixel value adjustment processing for the attention pixel Ap1 whose pixel value has been adjusted. Update the tag to a line character tag.

図9は、本実施形態に係る他の調整領域44の一例を示す図である。
図9に示すように、この調整領域44は、図8に示す調整領域42と同様に、検出領域40と同一の注目画素Ap1を右下端に含む領域である。
FIG. 9 is a diagram showing an example of another adjustment region 44 according to the present embodiment.
As shown in FIG. 9, the adjustment area 44 is an area including the same attention pixel Ap1 as the detection area 40 in the lower right end, similarly to the adjustment area 42 shown in FIG.

図9に示す調整領域44についても、図8に示す調整領域42と同様に、注目画素Ap1の右隣及び下隣には画素が存在しない。調整領域44では、上記の閾値として、例えば、「2」が設定される。具体的には、調整領域44の中の調整済画素の数が2つ未満である場合(=0個又は1個の場合)、つまり、調整領域44内の画素p1〜p12の1つ以下が調整済画素である場合に、注目画素Ap1に対応する画素値を調整する。一方、調整領域44の中の調整済画素の数が2つ以上である場合、つまり、調整領域44内の画素p1〜p12の2つ以上が調整済画素である場合に、注目画素Ap1に対応する画素値を調整しない。 As for the adjustment area 44 shown in FIG. 9, similarly to the adjustment area 42 shown in FIG. 8, there are no pixels on the right side and the lower side of the attention pixel Ap1. In the adjustment area 44, for example, "2" is set as the above threshold value. Specifically, when the number of adjusted pixels in the adjustment area 44 is less than 2 (= 0 or 1), that is, one or less of the pixels p1 to p12 in the adjustment area 44 When the pixel is adjusted, the pixel value corresponding to the pixel of interest Ap1 is adjusted. On the other hand, when the number of adjusted pixels in the adjustment area 44 is two or more, that is, when two or more of the pixels p1 to p12 in the adjustment area 44 are adjusted pixels, it corresponds to the pixel of interest Ap1. Do not adjust the pixel value.

図10は、第1の実施形態に係る画像形成装置10Aによる周期的画素値調整処理の手順の一例を示す模式図である。以下、図10を参照して、画像形成装置10Aによる周期的画素値調整処理を、更に具体的に説明する。なお、本実施形態では、図8に示す調整領域42を適用した場合について説明するが、図9に示す調整領域44を適用してもよい。 FIG. 10 is a schematic diagram showing an example of a procedure of periodic pixel value adjustment processing by the image forming apparatus 10A according to the first embodiment. Hereinafter, the periodic pixel value adjustment process by the image forming apparatus 10A will be described more specifically with reference to FIG. In the present embodiment, the case where the adjustment area 42 shown in FIG. 8 is applied will be described, but the adjustment area 44 shown in FIG. 9 may be applied.

まず、(S1)では、検出部32が、ラスタ画像に対して検出領域40を適用し、パターンマッチングにより線文字画素Tg1と非線文字画素Tg2との境界を検出する。境界が検出された場合、調整部34が、修正画像に対して調整領域42を適用し、注目画素Ap1に対応する画素値を調整するか否かを判定する。ここでは、調整領域42の中に調整済画素Bp1が含まれないため、注目画素Ap1に対応する画素値を調整すると判定する。調整部34は、判定の結果に従って、注目画素Ap1に対応する画素値を、一例として、図6に示す近傍画素Np1の画素値に基づいて調整し、調整済画素Bp1とする。 First, in (S1), the detection unit 32 applies the detection area 40 to the raster image and detects the boundary between the line character pixel Tg1 and the non-line character pixel Tg2 by pattern matching. When the boundary is detected, the adjustment unit 34 applies the adjustment area 42 to the corrected image and determines whether or not to adjust the pixel value corresponding to the pixel of interest Ap1. Here, since the adjusted pixel Bp1 is not included in the adjustment region 42, it is determined that the pixel value corresponding to the pixel of interest Ap1 is adjusted. The adjusting unit 34 adjusts the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1 shown in FIG. 6 according to the result of the determination to obtain the adjusted pixel Bp1.

(S2)では、注目画素Ap1を右隣に移動させた後に、同様に、検出部32が、ラスタ画像に対して検出領域40を適用し、パターンマッチングにより線文字画素Tg1と非線文字画素Tg2との境界を検出する。境界が検出された場合、調整部34が、修正画像に対して調整領域42を適用し、注目画素Ap1に対応する画素値を調整するか否かを判定する。ここでは、調整領域42の中に調整済画素Bp1が1つ含まれるため、注目画素Ap1に対応する画素値を調整しないと判定する。 In (S2), after moving the pixel of interest Ap1 to the right, the detection unit 32 similarly applies the detection area 40 to the raster image, and pattern matching results in line character pixel Tg1 and non-line character pixel Tg2. Detect the boundary with. When the boundary is detected, the adjustment unit 34 applies the adjustment area 42 to the corrected image and determines whether or not to adjust the pixel value corresponding to the pixel of interest Ap1. Here, since one adjusted pixel Bp1 is included in the adjustment area 42, it is determined that the pixel value corresponding to the pixel of interest Ap1 is not adjusted.

(S3)では、注目画素Ap1を更に右隣に移動させた後に、同様に、検出部32が、ラスタ画像に対して検出領域40を適用し、パターンマッチングにより線文字画素Tg1と非線文字画素Tg2との境界を検出する。境界が検出された場合、調整部34が、修正画像に対して調整領域42を適用し、注目画素Ap1に対応する画素値を調整するか否かを判定する。ここでは、調整領域42の中に調整済画素Bp1が含まれないため、注目画素Ap1に対応する画素値を調整すると判定する。調整部34は、判定の結果に従って、注目画素Ap1に対応する画素値を、一例として、図6に示す近傍画素Np1の画素値に基づいて調整し、調整済画素Bp1とする。 In (S3), after the attention pixel Ap1 is further moved to the right, the detection unit 32 similarly applies the detection area 40 to the raster image, and the line character pixel Tg1 and the non-line character pixel are pattern-matched. The boundary with Tg2 is detected. When the boundary is detected, the adjustment unit 34 applies the adjustment area 42 to the corrected image and determines whether or not to adjust the pixel value corresponding to the pixel of interest Ap1. Here, since the adjusted pixel Bp1 is not included in the adjustment region 42, it is determined that the pixel value corresponding to the pixel of interest Ap1 is adjusted. The adjusting unit 34 adjusts the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1 shown in FIG. 6 according to the result of the determination to obtain the adjusted pixel Bp1.

(S4)では、注目画素Ap1を更に右隣に移動させた後に、同様に、検出部32が、ラスタ画像に対して検出領域40を適用し、パターンマッチングにより線文字画素Tg1と非線文字画素Tg2との境界を検出する。境界が検出された場合、調整部34が、修正画像に対して調整領域42を適用し、注目画素Ap1に対応する画素値を調整するか否かを判定する。ここでは、調整領域42の中に調整済画素Bp1が1つ含まれるため、注目画素Ap1に対応する画素値を調整しないと判定する。以下、同様に、注目画素Ap1の位置を1画素ずつ移動させながら、画素値調整処理を繰り返し実行する。 In (S4), after the attention pixel Ap1 is further moved to the right, the detection unit 32 similarly applies the detection area 40 to the raster image, and the line character pixel Tg1 and the non-line character pixel are pattern-matched. The boundary with Tg2 is detected. When the boundary is detected, the adjustment unit 34 applies the adjustment area 42 to the corrected image and determines whether or not to adjust the pixel value corresponding to the pixel of interest Ap1. Here, since one adjusted pixel Bp1 is included in the adjustment area 42, it is determined that the pixel value corresponding to the pixel of interest Ap1 is not adjusted. Hereinafter, similarly, the pixel value adjustment process is repeatedly executed while moving the position of the pixel of interest Ap1 pixel by pixel.

ここで、調整部34は、上記の周期的画素値調整処理を、ラスタ画像とは異なる修正画像を用いて行う。なお、ここでいう修正画像とは、近傍画素Np1の画素値に基づいて画素値が調整された注目画素Ap1と、画素値が調整されない注目画素Ap1とを配置した画像であり、一例として、図11に示される画像である。 Here, the adjustment unit 34 performs the above-mentioned periodic pixel value adjustment process using a modified image different from the raster image. The modified image referred to here is an image in which the attention pixel Ap1 whose pixel value is adjusted based on the pixel value of the neighboring pixel Np1 and the attention pixel Ap1 whose pixel value is not adjusted are arranged. It is an image shown in 11.

図11は、第1の実施形態に係る画像形成装置10Aによる周期的画素値調整処理後における画像合成処理の一例を説明するための模式図である。 FIG. 11 is a schematic diagram for explaining an example of the image composition processing after the periodic pixel value adjustment processing by the image forming apparatus 10A according to the first embodiment.

図11に示すように、ラスタ画像に対して、上記の周期的画素値調整処理を行った結果、画素値が調整された注目画素Ap1と、画素値が調整されない注目画素Ap1とが一例として交互に配置された修正画像が生成される。 As shown in FIG. 11, as a result of performing the above periodic pixel value adjustment processing on the raster image, the attention pixel Ap1 whose pixel value is adjusted and the attention pixel Ap1 whose pixel value is not adjusted alternate as an example. A modified image placed in is generated.

本実施形態に係る合成部36は、図11に示すように、ラスタライズ部30によりラスタライズされたラスタ画像と、調整部34により生成された修正画像とを合成した合成画像を画像形成部20に出力する。この場合、合成画像は、一例として櫛歯状に形成されている。 As shown in FIG. 11, the compositing unit 36 according to the present embodiment outputs a composite image obtained by combining the rasterized image rasterized by the rasterizing unit 30 and the modified image generated by the adjusting unit 34 to the image forming unit 20. do. In this case, the composite image is formed in a comb-teeth shape as an example.

本実施形態に係る画像形成部20は、合成部36により出力された、図11に示す合成画像を、紙等の記録媒体に形成する。 The image forming unit 20 according to the present embodiment forms the composite image shown in FIG. 11 output by the synthesis unit 36 on a recording medium such as paper.

図12は、第1の実施形態に係る連続的画素値調整処理及び周期的画素値調整処理の各々を適用した場合の合成画像の一例を示す模式図である。 FIG. 12 is a schematic diagram showing an example of a composite image when each of the continuous pixel value adjustment process and the periodic pixel value adjustment process according to the first embodiment is applied.

図12に示すように、連続的画素値調整処理を適用した合成画像では、ラスタ画像における線の太さが1画素相当分太くなっている。これに対して、一例として図8に示す調整領域42を用いた周期的画素値調整処理を適用した合成画像では、ユーザにはラスタ画像における線の太さが1/2画素相当分太くなっているように視認される。これは、周期的画素値調整処理が適用された合成画像では、ラスタ画像に対して、画素値を調整した画素と、画素値を調整しない画素とが交互に配置されるためである。なお、図12に示す合成画像は、実際には細かい櫛歯状になっているが、ユーザの目で判別することは難しく、ユーザには連続した線として視認される。 As shown in FIG. 12, in the composite image to which the continuous pixel value adjustment processing is applied, the line thickness in the raster image is thickened by one pixel. On the other hand, in the composite image to which the periodic pixel value adjustment process using the adjustment region 42 shown in FIG. 8 is applied as an example, the line thickness in the raster image is thickened by 1/2 pixel for the user. It is visually recognized as if it were. This is because, in the composite image to which the periodic pixel value adjustment process is applied, the pixels whose pixel values are adjusted and the pixels whose pixel values are not adjusted are alternately arranged with respect to the raster image. Although the composite image shown in FIG. 12 is actually in the shape of a fine comb tooth, it is difficult for the user to distinguish it, and the composite image is visually recognized as a continuous line by the user.

一方、図8に示す調整領域42に代えて、図9に示す調整領域44を用いた周期的画素値調整処理を適用した合成画像では、ユーザにはラスタ画像における線の太さが2/3画素相当分太くなっているように視認される。このように、調整領域における画素の配置パターンと、調整済画素の個数と、を適宜設定することで、線又は文字の太さがユーザの好みに応じて柔軟に調整される。なお、周期的画素値調整処理で線及び文字の太さをどの程度調整するかは、ユーザが設定可能とすることが望ましい。例えば、ユーザが太さ調整量のレベルを設定するための調整量設定画面(図示省略)を表示可能とする。この調整量設定画面において、例えば、レベル大が設定された場合には、2/3画素相当分太く視認されるように、図9に示す調整領域44が選択され、レベル小が設定された場合には、1/2画素相当分太く視認されるように、図8に示す調整領域42が選択される。 On the other hand, in the composite image in which the periodic pixel value adjustment process using the adjustment area 44 shown in FIG. 9 is applied instead of the adjustment area 42 shown in FIG. 8, the thickness of the line in the raster image is 2/3 for the user. It is visually recognized as being thicker by the amount equivalent to the pixel. In this way, by appropriately setting the pixel arrangement pattern in the adjustment area and the number of adjusted pixels, the thickness of the line or character can be flexibly adjusted according to the user's preference. It is desirable that the user can set how much the thickness of lines and characters is adjusted by the periodic pixel value adjustment process. For example, it is possible to display an adjustment amount setting screen (not shown) for the user to set the level of the thickness adjustment amount. On this adjustment amount setting screen, for example, when a large level is set, the adjustment area 44 shown in FIG. 9 is selected and a small level is set so that the adjustment area 44 is visually recognized as thick as 2/3 pixels. The adjustment region 42 shown in FIG. 8 is selected so that it can be visually recognized as thick as 1/2 pixel.

次に、図13を参照して、第1の実施形態に係る画像形成装置10Aの作用を説明する。なお、図13は、第1の実施形態に係る画像処理プログラム14Aの処理の流れの一例を示すフローチャートである。 Next, the operation of the image forming apparatus 10A according to the first embodiment will be described with reference to FIG. Note that FIG. 13 is a flowchart showing an example of the processing flow of the image processing program 14A according to the first embodiment.

まず、画像形成装置10Aの画像処理に関するメニュー画面(図示省略)において、ユーザの操作により、例えば、「線文字太さ調整」の項目が選択され、実行が指示されると、画像処理プログラム14Aが起動され、以下の各ステップを実行する。なお、ここでは、周期的画素値調整処理を適用した場合について説明する。 First, on the menu screen (not shown) related to image processing of the image forming apparatus 10A, for example, when an item of "line character thickness adjustment" is selected by a user operation and execution is instructed, the image processing program 14A is executed. It will be launched and perform each of the following steps. Here, a case where the periodic pixel value adjustment process is applied will be described.

図13のステップ100では、ラスタライズ部30が、上述の図3を参照して説明したように、ベクタ画像及びオブジェクト情報の入力を受け付ける。 In step 100 of FIG. 13, the rasterization unit 30 accepts the input of the vector image and the object information as described with reference to FIG. 3 described above.

ステップ102では、ラスタライズ部30が、上述の図3を参照して説明したように、オブジェクト情報を用いて、ベクタ画像をラスタライズしてラスタ画像を生成する。 In step 102, the rasterization unit 30 rasterizes the vector image and generates a raster image by using the object information as described with reference to FIG. 3 described above.

ステップ104では、ラスタライズ部30が、上述の図3を参照して説明したように、オブジェクト情報に基づいて、ラスタ画像の各画素に対して、線文字タグ及び非線文字タグのいずれか一方を割り当てる。 In step 104, as described with reference to FIG. 3 described above, the rasterization unit 30 attaches either a line character tag or a non-line character tag to each pixel of the raster image based on the object information. assign.

ステップ106では、検出部32が、ラスタ画像のM画素目(M=1以上m以下:mはラスタ画像の全画素数)を注目画素Ap1として含む検出領域40(図5も参照)に対して、図6に示す境界検出用パターンを選択的に用いてパターンマッチングを行う。なお、Mの初期値は「1」に設定されているものとする。 In step 106, the detection unit 32 relatives to the detection region 40 (see also FIG. 5) including the Mth pixel of the raster image (M = 1 or more and m or less: m is the total number of pixels of the raster image) as the pixel of interest Ap1. , Pattern matching is performed by selectively using the boundary detection pattern shown in FIG. It is assumed that the initial value of M is set to "1".

ステップ108では、検出部32が、ステップ106でのパターンマッチングの結果、注目画素Ap1を含む検出領域40の画素の配置パターンが、複数種類の境界検出用パターンのいずれかと合致したか否かを判定する。合致したと判定した場合(肯定判定の場合)、ステップ110に移行し、合致しないと判定した場合(否定判定の場合)、ステップ116に移行する。 In step 108, as a result of pattern matching in step 106, the detection unit 32 determines whether or not the arrangement pattern of the pixels in the detection region 40 including the pixel of interest Ap1 matches any of a plurality of types of boundary detection patterns. do. If it is determined that they match (in the case of affirmative determination), the process proceeds to step 110, and if it is determined that they do not match (in the case of a negative determination), the process proceeds to step 116.

ステップ110では、調整部34が、注目画素Ap1に対応する画素値を調整するか否かを判定する。具体的には、調整部34は、一例として調整領域42の中で調整済画素Bp1の数が閾値未満である場合に、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値に基づいて調整すると判定し(肯定判定)、ステップ112に移行する。一方、調整部34は、調整領域42の中で調整済画素Bp1の数が閾値以上である場合に、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値の如何に係らず調整しないと判定し(否定判定)、ステップ116に移行する。 In step 110, the adjusting unit 34 determines whether or not to adjust the pixel value corresponding to the pixel of interest Ap1. Specifically, as an example, when the number of adjusted pixels Bp1 in the adjustment region 42 is less than the threshold value, the adjusting unit 34 sets the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1. It is determined that the adjustment is made (affirmative determination), and the process proceeds to step 112. On the other hand, when the number of adjusted pixels Bp1 in the adjustment region 42 is equal to or greater than the threshold value, the adjusting unit 34 does not adjust the pixel value corresponding to the pixel of interest Ap1 regardless of the pixel value of the neighboring pixel Np1. (Negative determination), and the process proceeds to step 116.

ステップ112では、調整部34が、注目画素Ap1に対して、ステップ108の処理により合致した境界検出用パターンに基づいて、ラスタ画像において、注目画素Ap1に対応する近傍画素Np1の位置を特定する。つまり、近傍画素Np1が、注目画素Ap1の左隣、右隣、上隣、及び下隣のいずれに位置しているかを特定する。 In step 112, the adjusting unit 34 specifies the position of the neighboring pixel Np1 corresponding to the pixel of interest Ap1 in the raster image based on the boundary detection pattern matched by the process of step 108 with respect to the pixel of interest Ap1. That is, it is specified whether the neighboring pixel Np1 is located on the left side, the right side side, the upper side side, or the lower side side of the attention pixel Ap1.

ステップ114では、調整部34が、ステップ112の処理により特定した位置の近傍画素Np1の画素値に基づいて、注目画素Ap1に対応する画素値を調整する。なお、このとき、調整部34は、注目画素Ap1に割り当てられている非線文字タグを線文字タグに更新する。 In step 114, the adjusting unit 34 adjusts the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the nearby pixel Np1 at the position specified by the process of step 112. At this time, the adjustment unit 34 updates the non-line character tag assigned to the pixel of interest Ap1 to the line character tag.

ステップ116では、調整部34が、ラスタ画像に含まれる全ての画素について処理が終了したか否かを判定する。全ての画素について処理が終了したと判定した場合(肯定判定の場合)、ステップ118に移行する。一方、全ての画素について処理が終了していないと判定した場合(否定判定の場合)、ステップ106に戻り、ラスタ画像のM画素目(Mを1つだけインクリメント)を注目画素Ap1として処理を繰り返す。 In step 116, the adjusting unit 34 determines whether or not the processing has been completed for all the pixels included in the raster image. When it is determined that the processing is completed for all the pixels (in the case of affirmative determination), the process proceeds to step 118. On the other hand, when it is determined that the processing has not been completed for all the pixels (in the case of a negative determination), the process returns to step 106, and the processing is repeated with the Mth pixel of the raster image (incrementing only one M) as the pixel of interest Ap1. ..

ステップ118では、合成部36が、図11を参照して説明したように、ラスタライズ部30によりラスタライズされたラスタ画像と、調整部34により画素値が調整された注目画素Ap1を有する修正画像とを合成して合成画像を生成する。そして、合成部36は、生成した合成画像を画像形成部20に出力し、上記画像処理プログラム14Aによる一連の処理を終了する。 In step 118, as described with reference to FIG. 11, the compositing unit 36 obtains a raster image rasterized by the rasterization unit 30 and a modified image having the attention pixel Ap1 whose pixel value is adjusted by the adjustment unit 34. Combine to generate a composite image. Then, the compositing unit 36 outputs the generated composite image to the image forming unit 20, and ends a series of processing by the image processing program 14A.

[第2の実施形態]
上記第1の実施形態では、線文字タグ及び非線文字タグの2種類のタグを用いて、線と文字とを区別せずに周期的画素値調整処理を行った。これに対して、本実施形態では、線タグ、文字タグ、非線タグ、及び非文字タグの4種類のタグを用いて、線と文字とを区別して周期的画素値調整処理を行う。なお、本実施形態は、周期的画素値調整処理に限らず、連続的画素値調整処理にも同様に適用可能とされる。
[Second Embodiment]
In the first embodiment, two types of tags, a line character tag and a non-line character tag, are used to perform periodic pixel value adjustment processing without distinguishing between lines and characters. On the other hand, in the present embodiment, four types of tags, a line tag, a character tag, a non-line tag, and a non-character tag, are used to distinguish between a line and a character and perform periodic pixel value adjustment processing. It should be noted that this embodiment can be similarly applied not only to the periodic pixel value adjustment process but also to the continuous pixel value adjustment process.

図14は、第2の実施形態に係る画像形成装置10Bの機能的な構成の一例を示すブロック図である。
図14に示すように、本実施形態に係る画像形成装置10Bは、ラスタライズ部50、検出部52、調整部54、及び合成部36を備える。なお、同じ機能を有する構成要素には同じ符号を付し、繰り返しの説明は省略する。
FIG. 14 is a block diagram showing an example of a functional configuration of the image forming apparatus 10B according to the second embodiment.
As shown in FIG. 14, the image forming apparatus 10B according to the present embodiment includes a rasterization unit 50, a detection unit 52, an adjustment unit 54, and a composition unit 36. The components having the same function are designated by the same reference numerals, and the repeated description will be omitted.

図15は、第2の実施形態に係る画像形成装置10Bによるラスタライズ処理の一例を説明するための模式図である。 FIG. 15 is a schematic diagram for explaining an example of rasterization processing by the image forming apparatus 10B according to the second embodiment.

本実施形態に係るラスタライズ部50は、図15に示すように、線及び文字を含むベクタ画像と共に、ベクタ画像のオブジェクト情報の入力を受け付ける。ラスタライズ部50は、第1の実施形態と同様に、オブジェクト情報に基づいて、ベクタ画像をラスタライズしてラスタ画像を生成する。 As shown in FIG. 15, the rasterization unit 50 according to the present embodiment accepts input of object information of the vector image together with the vector image including lines and characters. Similar to the first embodiment, the rasterization unit 50 rasterizes the vector image based on the object information to generate a raster image.

本実施形態において、線文字タグは、線タグ及び文字タグを含み、非線文字タグは、非線タグ及び非文字タグを含む。ラスタライズ部50は、上記のオブジェクト情報に基づいて、ラスタ画像の各画素に対して、線タグ、文字タグ、非線タグ、及び非文字タグのいずれか1つを割り当てる。線タグは、画素が線の一部であることを示すタグである。文字タグは、画素が文字の一部であることを示すタグである。非線タグは、画素が非線であることを示すタグである。非文字タグは、画素が非文字であることを示すタグである。 In the present embodiment, the line character tag includes a line tag and a character tag, and the non-line character tag includes a non-line tag and a non-character tag. The rasterization unit 50 assigns any one of a line tag, a character tag, a non-line tag, and a non-character tag to each pixel of the raster image based on the above object information. A line tag is a tag indicating that a pixel is a part of a line. A character tag is a tag indicating that a pixel is a part of a character. The non-line tag is a tag indicating that the pixel is non-line. The non-character tag is a tag indicating that the pixel is non-character.

本実施形態では、図15に示すように、線タグが割り当てられた画素を線画素Tg3とし、非線タグが割り当てられた画素を非線画素Tg5として区別する。同様に、文字タグが割り当てられた画素を文字画素Tg4とし、非文字タグが割り当てられた画素を非文字画素Tg6として区別する。但し、非線画素Tg5と非文字画素Tg6とは同一の画素である。本実施形態に係るラスタライズ部50は、割り当てた結果として、ラスタ画像の各画素に対応付けて、線タグ、文字タグ、非線タグ、及び非文字タグを区別するための2ビットの情報を記憶部14に記憶する。例えば、当該情報が「00」であれば、線タグが割り当てられていることを示し、当該情報が「01」であれば、文字タグが割り当てられていることを示す。同様に、当該情報が「10」であれば、非線タグが割り当てられていることを示し、当該情報が「11」であれば、非文字タグが割り当てられていることを示す。 In the present embodiment, as shown in FIG. 15, the pixel to which the line tag is assigned is designated as the line pixel Tg3, and the pixel to which the non-line tag is assigned is designated as the non-line pixel Tg5. Similarly, the pixel to which the character tag is assigned is designated as the character pixel Tg4, and the pixel to which the non-character tag is assigned is designated as the non-character pixel Tg6. However, the non-line pixel Tg5 and the non-character pixel Tg6 are the same pixel. As a result of the allocation, the rasterization unit 50 according to the present embodiment stores 2-bit information for distinguishing the line tag, the character tag, the non-line tag, and the non-character tag in association with each pixel of the raster image. Store in part 14. For example, if the information is "00", it indicates that a line tag is assigned, and if the information is "01", it indicates that a character tag is assigned. Similarly, if the information is "10", it indicates that a non-line tag is assigned, and if the information is "11", it indicates that a non-character tag is assigned.

本実施形態に係る検出部52は、上述の図5を参照して説明したように、注目画素Ap1を含む検出領域40毎に、線画素Tg3と非線画素Tg5との境界を検出する。但し、図5に示す線文字画素Tg1を線画素Tg3と読み替え、非線文字画素Tg2を非線画素Tg5と読み替える。同様に、検出部52は、注目画素Ap1を含む検出領域40毎に、文字画素Tg4と非文字画素Tg6との境界を検出する。但し、図5に示す線文字画素Tg1を文字画素Tg4と読み替え、非線文字画素Tg2を非文字画素Tg6と読み替える。 As described with reference to FIG. 5 described above, the detection unit 52 according to the present embodiment detects the boundary between the line pixel Tg3 and the non-line pixel Tg5 for each detection region 40 including the pixel of interest Ap1. However, the line character pixel Tg1 shown in FIG. 5 is read as the line pixel Tg3, and the non-line character pixel Tg2 is read as the non-line pixel Tg5. Similarly, the detection unit 52 detects the boundary between the character pixel Tg4 and the non-character pixel Tg6 for each detection region 40 including the pixel of interest Ap1. However, the line character pixel Tg1 shown in FIG. 5 is read as a character pixel Tg4, and the non-line character pixel Tg2 is read as a non-character pixel Tg6.

本実施形態に係る境界検出処理には、線検出の場合及び文字検出の場合の各々に対して、第1の実施形態と同様に、図6に示す境界検出用パターンを用いたバターンマッチングが適用される。 In the boundary detection process according to the present embodiment, pattern matching using the boundary detection pattern shown in FIG. 6 is applied to each of the case of line detection and the case of character detection, as in the first embodiment. Will be done.

本実施形態に係る調整部54は、線検出の場合のパターンマッチングにより、図6に示す境界検出用パターンのいずれかが合致した場合、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値に基づいて調整するか否かを判定する。この場合、注目画素Ap1は、非線画素Tg5であり、近傍画素Np1は、線画素Tg3である。そして、線検出の場合には、一例として図8に示す調整領域42を用いて周期的画素値調整処理を行う。一方、調整部54は、文字検出の場合のパターンマッチングにより、図6に示す境界検出用パターンのいずれかが合致した場合、注目画素Ap1に対応する画素値を、近傍画素Np1の画素値に基づいて調整するか否かを判定する。この場合、注目画素Ap1は、非文字画素Tg6であり、近傍画素Np1は、文字画素Tg4である。そして、文字検出の場合には、一例として図9に示す調整領域44を用いて周期的画素値調整処理を行う。 When any of the boundary detection patterns shown in FIG. 6 matches by pattern matching in the case of line detection, the adjustment unit 54 according to the present embodiment sets the pixel value corresponding to the pixel of interest Ap1 to the pixel of the neighboring pixel Np1. Determine whether to adjust based on the value. In this case, the pixel of interest Ap1 is the non-line pixel Tg5, and the neighboring pixel Np1 is the line pixel Tg3. Then, in the case of line detection, periodic pixel value adjustment processing is performed using the adjustment region 42 shown in FIG. 8 as an example. On the other hand, when any of the boundary detection patterns shown in FIG. 6 is matched by pattern matching in the case of character detection, the adjustment unit 54 sets the pixel value corresponding to the pixel of interest Ap1 based on the pixel value of the neighboring pixel Np1. To determine whether or not to make adjustments. In this case, the pixel of interest Ap1 is the non-character pixel Tg6, and the neighboring pixel Np1 is the character pixel Tg4. Then, in the case of character detection, the periodic pixel value adjustment process is performed using the adjustment area 44 shown in FIG. 9 as an example.

上記のような調整領域の使い分けにより、線と文字とが異なる太さに調整される。例えば、調整領域42を用いた場合、線の太さが1/2画素相当分太く視認されるように調整される。一方、調整領域44を用いた場合、文字の太さが2/3画素相当分太く視認されるように調整される。 By properly using the adjustment area as described above, the lines and characters are adjusted to different thicknesses. For example, when the adjustment area 42 is used, the line thickness is adjusted so that it can be visually recognized as thick as 1/2 pixel. On the other hand, when the adjustment area 44 is used, the thickness of the character is adjusted so that it can be visually recognized as thick as 2/3 pixels.

以上、実施形態として画像処理装置及び画像形成装置を例示して説明した。実施形態は、画像処理装置又は画像形成装置が備える各部の機能をコンピュータに実行させるためのプログラムの形態としてもよい。実施形態は、このプログラムを記憶したコンピュータが読み取り可能な記憶媒体の形態としてもよい。 In the above, the image processing apparatus and the image forming apparatus have been illustrated and described as embodiments. The embodiment may be in the form of a program for causing a computer to execute the functions of each part included in the image processing device or the image forming device. The embodiment may be in the form of a storage medium that can be read by a computer that stores this program.

その他、上記実施形態で説明した画像処理装置又は画像形成装置の構成は、一例であり、主旨を逸脱しない範囲内において状況に応じて変更してもよい。 In addition, the configuration of the image processing device or the image forming device described in the above embodiment is an example, and may be changed depending on the situation within a range that does not deviate from the gist.

また、上記実施形態で説明したプログラムの処理の流れも、一例であり、主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよい。 Further, the processing flow of the program described in the above embodiment is also an example, and even if unnecessary steps are deleted, new steps are added, or the processing order is changed within a range that does not deviate from the purpose. good.

また、上記実施形態では、プログラムを実行することにより、実施形態に係る処理がコンピュータを利用してソフトウェア構成により実現される場合について説明したが、これに限らない。実施形態は、例えば、ハードウェア構成や、ハードウェア構成とソフトウェア構成との組み合わせによって実現してもよい。 Further, in the above-described embodiment, the case where the processing according to the embodiment is realized by the software configuration by using the computer by executing the program has been described, but the present invention is not limited to this. The embodiment may be realized by, for example, a hardware configuration or a combination of a hardware configuration and a software configuration.

10A、10B画像形成装置
11 画像処理部
12 制御部
12A CPU
12B ROM
12C RAM
12D I/O
14 記憶部
14A 画像処理プログラム
16 表示部
18 操作部
20 画像形成部
22 原稿読取部
24 通信部
30、50 ラスタライズ部
32、52 検出部
34、54、 調整部
36 合成部
40 検出領域
42、44 調整領域
10A, 10B Image forming apparatus 11 Image processing unit 12 Control unit 12A CPU
12B ROM
12C RAM
12D I / O
14 Storage unit 14A Image processing program 16 Display unit 18 Operation unit 20 Image forming unit 22 Document reading unit 24 Communication unit 30, 50 Rasterization unit 32, 52 Detection unit 34, 54, Adjustment unit 36 Synthesis unit 40 Detection area 42, 44 Adjustment region

Claims (9)

画像における線又は文字の一部を示す第1画素との境界に沿う第2画素であって、線又は文字の一部ではないことを示す前記第2画素を注目画素として含む予め定められた調整領域の中で、前記注目画素の近傍に位置する前記第1画素の画素値により画素値が調整された調整済画素の数が閾値未満である場合に、前記注目画素に対応する画素値を、前記注目画素の近傍に位置する前記第1画素である近傍画素の画素値に基づいて調整し、前記調整済画素の数が前記閾値以上である場合に、前記注目画素に対応する画素値を調整しない調整部
を備え、
前記調整領域及び前記閾値の少なくとも一方は変更可能であり、
前記閾値には、1以上前記調整領域の画素数以下の値が設定される画像処理装置。
A predetermined adjustment that includes the second pixel along the boundary with the first pixel indicating a part of a line or character in the image and not a part of the line or character as a pixel of interest. When the number of adjusted pixels whose pixel value is adjusted by the pixel value of the first pixel located in the vicinity of the pixel of interest in the region is less than the threshold value, the pixel value corresponding to the pixel of interest is determined. Adjustment is made based on the pixel value of the nearby pixel, which is the first pixel located in the vicinity of the attention pixel, and when the number of the adjusted pixels is equal to or greater than the threshold value, the pixel value corresponding to the attention pixel is adjusted. Equipped with an adjustment unit that does not
Ri least one modifiable der of the adjustment regions and the threshold value,
The threshold value is 1 or more the adjustment region image processing apparatus following values: number of pixels Ru is set in.
前記調整部は、前記注目画素に対応する画素値の調整を、前記画像の左上角点を始点、右下角点を終点とし、前記注目画素を前記画像の左端から右端に向け、かつ、前記画像の上端から下端に向けて、1画素分ずつ移動させながら行う請求項1に記載の画像処理装置。 The adjusting unit adjusts the pixel value corresponding to the pixel of interest with the upper left corner point of the image as the start point and the lower right corner point as the end point, and the attention pixel is directed from the left end to the right end of the image and the image. The image processing apparatus according to claim 1, wherein the image processing apparatus is performed while moving one pixel at a time from the upper end to the lower end of the image. 前記注目画素は、前記調整領域の右下端に位置する画素である請求項2に記載の画像処理装置。 The image processing apparatus according to claim 2, wherein the pixel of interest is a pixel located at the lower right end of the adjustment region. 前記調整領域は、前記注目画素の上隣及び左隣の各々の画素と、前記上隣の画素の右隣及び左隣の各々の画素と、を含む領域である請求項3に記載の画像処理装置。 The image processing according to claim 3, wherein the adjustment area is an area including each pixel on the upper side and the left side of the pixel of interest, and each pixel on the right side and the left side of the upper side pixel. Device. 前記調整部は、画素値を調整した前記注目画素である前記調整済画素と、画素値を調整しない前記注目画素とを周期的に配置するように調整する請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the adjusting unit adjusts the adjusted pixel, which is the pixel of interest whose pixel value is adjusted, and the pixel of interest whose pixel value is not adjusted so as to be periodically arranged. 前記画像の各画素に対して、前記線又は文字の一部であることを示す線文字タグ、及び、前記線又は文字の一部ではないことを示す非線文字タグのいずれか一方を割り当てる割当部と、
前記注目画素を含む予め定められた検出領域毎に、前記割当部により前記線文字タグが割り当てられた画素である前記第1画素と、前記非線文字タグが割り当てられた画素である前記第2画素との前記境界を検出する検出部と、
を更に備えた請求項1〜5のいずれか1項に記載の画像処理装置。
Assignment to assign either a line character tag indicating that it is a part of the line or character and a non-line character tag indicating that it is not a part of the line or character to each pixel of the image. Department and
The first pixel, which is a pixel to which the line character tag is assigned by the allocation unit, and the second pixel, which is a pixel to which the non-line character tag is assigned, for each predetermined detection region including the pixel of interest. A detection unit that detects the boundary with the pixel,
The image processing apparatus according to any one of claims 1 to 5, further comprising.
前記検出部は、前記検出領域に対応する境界検出用パターンであって、前記注目画素、前記第1画素、前記第2画素、及び前記近傍画素の位置関係が予め規定された前記境界検出用パターンを用いて、前記境界を検出する請求項6に記載の画像処理装置。 The detection unit is a boundary detection pattern corresponding to the detection region, and the boundary detection pattern in which the positional relationship between the attention pixel, the first pixel, the second pixel, and the neighboring pixels is defined in advance. The image processing apparatus according to claim 6, wherein the boundary is detected by using the image processing apparatus. 画像における線又は文字の一部を示す第1画素との境界に沿う第2画素であって、線又は文字の一部ではないことを示す前記第2画素を注目画素として含む予め定められた調整領域の中で、前記注目画素の近傍に位置する前記第1画素の画素値により画素値が調整された調整済画素の数が閾値未満である場合に、前記注目画素に対応する画素値を、前記注目画素の近傍に位置する前記第1画素である近傍画素の画素値に基づいて調整し、前記調整済画素の数が前記閾値以上である場合に、前記注目画素に対応する画素値を調整しない調整部と、
前記調整部により画素値が調整された前記画像又は調整されない前記画像を記録媒体に形成する形成部と、
を備え、
前記調整領域及び前記閾値の少なくとも一方は変更可能であり、
前記閾値には、1以上前記調整領域の画素数以下の値が設定される画像形成装置。
A predetermined adjustment that includes the second pixel along the boundary with the first pixel indicating a part of a line or character in the image and not a part of the line or character as a pixel of interest. When the number of adjusted pixels whose pixel value is adjusted by the pixel value of the first pixel located in the vicinity of the pixel of interest in the region is less than the threshold value, the pixel value corresponding to the pixel of interest is determined. Adjustment is made based on the pixel value of the nearby pixel, which is the first pixel located in the vicinity of the attention pixel, and when the number of the adjusted pixels is equal to or greater than the threshold value, the pixel value corresponding to the attention pixel is adjusted. With the adjustment part that does not
A forming unit that forms the image whose pixel value is adjusted by the adjusting unit or the image whose pixel value is not adjusted on a recording medium, and a forming unit.
With
Ri least one modifiable der of the adjustment regions and the threshold value,
The threshold value is 1 or more the adjustment region image forming apparatus which the value of or less than the number of pixels Ru is set in.
コンピュータを、請求項1〜7のいずれか1項に記載の画像処理装置が備える各部として機能させるためのプログラム。 A program for causing a computer to function as each part included in the image processing apparatus according to any one of claims 1 to 7.
JP2017162645A 2017-08-25 2017-08-25 Image processing equipment, image forming equipment, and programs Active JP6915455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017162645A JP6915455B2 (en) 2017-08-25 2017-08-25 Image processing equipment, image forming equipment, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017162645A JP6915455B2 (en) 2017-08-25 2017-08-25 Image processing equipment, image forming equipment, and programs

Publications (2)

Publication Number Publication Date
JP2019041280A JP2019041280A (en) 2019-03-14
JP6915455B2 true JP6915455B2 (en) 2021-08-04

Family

ID=65726780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017162645A Active JP6915455B2 (en) 2017-08-25 2017-08-25 Image processing equipment, image forming equipment, and programs

Country Status (1)

Country Link
JP (1) JP6915455B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084814B (en) * 2019-05-13 2021-11-02 苏州微创关节医疗科技有限公司 Surface coating measuring method, device, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007057954A (en) * 2005-08-25 2007-03-08 Fuji Xerox Co Ltd Image forming apparatus
JP5924112B2 (en) * 2012-05-14 2016-05-25 コニカミノルタ株式会社 Image processing apparatus and image processing method
JP5812960B2 (en) * 2012-09-24 2015-11-17 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP6472336B2 (en) * 2014-06-18 2019-02-20 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP2016201037A (en) * 2015-04-13 2016-12-01 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6249244B2 (en) * 2015-06-25 2017-12-20 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus

Also Published As

Publication number Publication date
JP2019041280A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
JP5874721B2 (en) Image processing apparatus, image correction method, and program
CN108337400B (en) Image processing apparatus and image processing method
JP6206018B2 (en) Image processing apparatus, image processing system, and image processing method
JP6299436B2 (en) Image processing apparatus, image processing method, program, and recorded member
JP4979357B2 (en) Image forming apparatus and control method thereof
JP5499981B2 (en) Image processing device
CN102461149B (en) Image forming apparatus and image processing method
US20180234592A1 (en) Image forming apparatus and method of adjusting output density of image forming apparatus
JP6915455B2 (en) Image processing equipment, image forming equipment, and programs
JP6232948B2 (en) Information processing apparatus, information processing method, and program
JP6977390B2 (en) Image processing equipment, image forming equipment, and programs
JP2013205703A (en) Image formation device
US9036210B2 (en) Image processing device, image forming apparatus, image processing method, and non-transitory computer readable medium
JP2013031148A (en) Image forming apparatus and image forming method
JP6935708B2 (en) Image processing equipment, image forming equipment, and programs
JP2006295624A (en) Image processing apparatus and method, and computer program and recording medium
US20210120142A1 (en) Pattern generation device, pattern generation method, and pattern forming device
JP2019047206A (en) Image processing apparatus, image forming apparatus, and program
JP2020127142A (en) Image forming device
JP7205292B2 (en) Information processing device and image forming device
JP6705620B2 (en) History generation device, history generation method, and program
JP6175939B2 (en) Image forming apparatus
CN107783398B (en) Image forming apparatus and printing sheet
JP6604172B2 (en) Image forming apparatus and line width adjusting method
JP2024040692A (en) Information processing device, information processing system, and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210413

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210628

R150 Certificate of patent or registration of utility model

Ref document number: 6915455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150