JP6882043B2 - Image processing equipment, programs and image processing methods - Google Patents

Image processing equipment, programs and image processing methods Download PDF

Info

Publication number
JP6882043B2
JP6882043B2 JP2017076944A JP2017076944A JP6882043B2 JP 6882043 B2 JP6882043 B2 JP 6882043B2 JP 2017076944 A JP2017076944 A JP 2017076944A JP 2017076944 A JP2017076944 A JP 2017076944A JP 6882043 B2 JP6882043 B2 JP 6882043B2
Authority
JP
Japan
Prior art keywords
pixel
attribute
interest
adjacent
image processing
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
JP2017076944A
Other languages
Japanese (ja)
Other versions
JP2018182464A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2017076944A priority Critical patent/JP6882043B2/en
Publication of JP2018182464A publication Critical patent/JP2018182464A/en
Application granted granted Critical
Publication of JP6882043B2 publication Critical patent/JP6882043B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Description

本発明は、画像データに画像処理を実行する画像処理手段を有する画像処理装置に関する。 The present invention relates to an image processing apparatus having an image processing means for executing image processing on image data.

従来から、画像データの文字を明確にしたりするために、種々の画像処理が行われている。例えば、白抜き文字の膨張を実施する場合、白抜き文字の膨張を実施するか否かの判定を、文字のエッジを検出して行っている。 Conventionally, various image processings have been performed in order to clarify the characters of the image data. For example, when the outline character is expanded, the edge of the character is detected to determine whether or not the outline character is expanded.

例えば、入力される画像データの属性を示すタグデータより文字エッジを検出する文字エッジ検出部と、文字エッジ検出部で検出された文字エッジが白抜き文字の外エッジであるか否かを判定する白抜き文字判定部と、白抜き文字判定部で白抜き文字の外エッジであると判定された文字の1画素目と少なくともその画素に隣接する2画素目の各々に対し、白抜き文字の外エッジの白レベルと、白抜き文字の外エッジの白レベルと白抜き文字の白レベルとの差分とに応じて膨張処理を行う膨張処理部と、を含む発明が開示されている(例えば、特許文献1参照)。 For example, it is determined whether or not the character edge detection unit that detects the character edge from the tag data indicating the attribute of the input image data and the character edge detected by the character edge detection unit are the outer edges of the white characters. Outside the white character for each of the white character judgment unit, the first pixel of the character determined to be the outer edge of the white character by the white character judgment unit, and at least the second pixel adjacent to the pixel. An invention including an expansion processing unit that performs expansion processing according to a difference between a white level of an edge and a white level of an outer edge of a white character and a white level of a white character is disclosed (for example, a patent). See Document 1).

特開2011−254271号公報Japanese Unexamined Patent Publication No. 2011-254271

画像データに含まれるオブジェクトのエッジを適切に判定することが出来れば、例えば白文字を膨張させたり、イメージエンハンスメント処理を実行するのに、適切な処理を施したりするといったことが可能となる。 If the edge of the object included in the image data can be appropriately determined, for example, it is possible to expand the white characters or perform appropriate processing to execute the image enhancement processing.

しかし、従来の技術では、画像データに含まれるオブジェクトのエッジを適切に判定することが難しかった。 However, with the conventional technique, it has been difficult to appropriately determine the edge of an object included in the image data.

例えば、上述した特許文献1では、白抜き文字の膨張にあたり、画像の属性より第1に文字エッジを検出し、その後ビットマップデータも参照しながら白文字の膨張を実施しているが、処理が複雑なために、文字の収縮・白抜き文字の膨張等、様々な処理を同時に実施するのに適さないという問題があった。 For example, in the above-mentioned Patent Document 1, when expanding outline characters, character edges are detected first from the attributes of the image, and then expansion of outline characters is performed with reference to bitmap data. Due to its complexity, there is a problem that it is not suitable for simultaneously performing various processes such as shrinkage of characters and expansion of outline characters.

上述した課題に鑑み、本発明の目的は、従来に比してより簡易な処理で適切な画像処理を施すことができる画像処理装置等を提供することである。 In view of the above-mentioned problems, an object of the present invention is to provide an image processing apparatus or the like capable of performing appropriate image processing with simpler processing as compared with the conventional one.

上述した課題に鑑み、本発明の画像処理装置は、
画像データに画像処理を実行する画像処理手段を有する画像処理装置において、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶手段と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成手段と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定手段と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定手段と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える置き換え手段と、
を備えることを特徴とする。
In view of the above-mentioned problems, the image processing apparatus of the present invention is
In an image processing apparatus having an image processing means for executing image processing on image data,
A storage means for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel.
An attribute bitmap generating means for generating an attribute bitmap indicating the type of the object included in the image data for each pixel, and
A first determination means for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second determination means for determining
When the attribute of the adjacent pixel is included in the attribute condition as the second pixel, the replacement means for replacing the attribute and the pixel value of the pixel of interest with the attribute and the pixel value of the adjacent pixel.
It is characterized by having.

本発明の画像処理装置は、
画像データに画像処理を実行する画像処理手段を有する画像処理装置において、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶手段と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成手段と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定手段と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定手段と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性を、エッジの属性に置き換える置き換え手段と、
を備えることを特徴とする。
The image processing apparatus of the present invention
In an image processing apparatus having an image processing means for executing image processing on image data,
A storage means for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel.
An attribute bitmap generating means for generating an attribute bitmap indicating the type of the object included in the image data for each pixel, and
A first determination means for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second determination means for determining
When the attribute of the adjacent pixel is included in the attribute condition as the second pixel, the replacement means for replacing the attribute of the pixel of interest with the attribute of the edge,
It is characterized by having.

本発明のプログラムは、
画像データに画像処理を実行する画像処理機能を実現するコンピュータに、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶機能と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成機能と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定機能と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定機能と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える置き換え機能と、
を実現させる。
The program of the present invention
For computers that realize image processing functions that perform image processing on image data
A storage function that stores an attribute condition table that stores the attributes of the second pixel as attribute conditions in association with the attributes of the first pixel,
An attribute bitmap generation function that generates an attribute bitmap that indicates the type of object included in the image data for each pixel, and
A first determination function for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment function to judge
A replacement function that replaces the attribute and pixel value of the pixel of interest with the attribute and pixel value of the adjacent pixel when the attribute of the adjacent pixel is included in the attribute condition as the second pixel.
To realize.

本発明のプログラムは、
画像データに画像処理を実行する画像処理機能を実現するコンピュータに、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶機能と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成機能と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定機能と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定機能と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性を、エッジの属性に置き換える置き換え機能と、
を実現させる。
The program of the present invention
For computers that realize image processing functions that perform image processing on image data
A storage function that stores an attribute condition table that stores the attributes of the second pixel as attribute conditions in association with the attributes of the first pixel,
An attribute bitmap generation function that generates an attribute bitmap that indicates the type of object included in the image data for each pixel, and
A first determination function for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment function to judge
A replacement function that replaces the attribute of the pixel of interest with the attribute of the edge when the attribute of the adjacent pixel is included in the attribute condition as the second pixel.
To realize.

本発明の画像処理装置によれば、第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶しており、画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する。そして、注目画素の属性が、第1の画素として属性条件に含まれている場合に、注目画素に隣接する隣接画素の属性が、第2の画素として属性条件に含まれているか否かを判定し、属性条件に含まれている場合に、注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える。これにより、属性条件にしたがって、注目画素を、適切に隣接画素に置き換えることにより、適切な画像処理を施すことが可能となる。 According to the image processing apparatus of the present invention, the attribute of the second pixel is stored as an attribute condition in association with the attribute of the first pixel, and the attribute indicating the type of the object included in the image data is stored for each pixel. Generate the attribute bitmap shown in. Then, when the attribute of the pixel of interest is included in the attribute condition as the first pixel, it is determined whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. However, when it is included in the attribute condition, the attribute and pixel value of the pixel of interest are replaced with the attribute and pixel value of the adjacent pixel. As a result, it is possible to perform appropriate image processing by appropriately replacing the pixel of interest with an adjacent pixel according to the attribute condition.

第1実施形態における画像形成装置の外観斜視図である。It is external perspective view of the image forming apparatus in 1st Embodiment. 第1実施形態における画像形成装置の機能構成を説明するための図である。It is a figure for demonstrating the functional structure of the image forming apparatus in 1st Embodiment. 第1実施形態におけるPDLインタプリタ部、画像制御部、印刷制御部を説明するための図である。It is a figure for demonstrating the PDL interpreter part, the image control part, and the print control part in 1st Embodiment. 第1実施形態における属性を説明するための図である。It is a figure for demonstrating the attribute in 1st Embodiment. 第1実施形態におけるユーザ設定部を説明するための図である。It is a figure for demonstrating the user setting part in 1st Embodiment. 第1実施形態における属性条件の一例を示した図である。It is a figure which showed an example of the attribute condition in 1st Embodiment. 第1実施形態における属性条件の一例を示した図である。It is a figure which showed an example of the attribute condition in 1st Embodiment. 第1実施形態における処理の流れを説明するための動作フローである。It is an operation flow for demonstrating the flow of processing in 1st Embodiment. 第1実施形態におけるマスクパターンを説明するための図である。It is a figure for demonstrating the mask pattern in 1st Embodiment. 第1実施形態における動作を説明するための図である。It is a figure for demonstrating the operation in 1st Embodiment. 第1実施形態における動作を説明するための図である。It is a figure for demonstrating the operation in 1st Embodiment. 第2実施形態における処理の流れを説明するための動作フローである。It is an operation flow for demonstrating the flow of processing in 2nd Embodiment. 第3実施形態におけるPDLインタプリタ部、画像制御部、印刷制御部を説明するための図である。It is a figure for demonstrating the PDL interpreter part, the image control part, and the print control part in 3rd Embodiment. 第3実施形態における属性を説明するための図である。It is a figure for demonstrating the attribute in 3rd Embodiment. 第3実施形態におけるユーザ設定部を説明するための図である。It is a figure for demonstrating the user setting part in 3rd Embodiment. 第3実施形態における属性条件の一例を示した図である。It is a figure which showed an example of the attribute condition in 3rd Embodiment. 第3実施形態における属性条件の一例を示した図である。It is a figure which showed an example of the attribute condition in 3rd Embodiment. 第3実施形態における処理の流れを説明するための動作フローである。It is an operation flow for demonstrating the flow of processing in 3rd Embodiment. 第3実施形態におけるマスクパターンを説明するための図である。It is a figure for demonstrating the mask pattern in 3rd Embodiment. 第3実施形態における動作を説明するための図である。It is a figure for demonstrating the operation in 3rd Embodiment. 第3実施形態における動作を説明するための図である。It is a figure for demonstrating the operation in 3rd Embodiment. 第4実施形態におけるユーザ設定部を説明するための図である。It is a figure for demonstrating the user setting part in 4th Embodiment. 第4実施形態における処理の流れを説明するための動作フローである。It is an operation flow for demonstrating the flow of processing in 4th Embodiment.

以下、図面を参照して本発明を実施するための一実施形態について説明する。なお、本実施形態では、一例として、画像処理装置を、デジタル複合機に適用した場合について説明するが、画像処理を行う装置であれば、プリンタ、FAXといった装置に適用可能なことは勿論である。 Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. In this embodiment, the case where the image processing device is applied to a digital multifunction device will be described as an example, but it goes without saying that any device that performs image processing can be applied to devices such as printers and fax machines. ..

[1.第1実施形態]
[1.1 構成]
まず、画像処理装置を有する画像形成装置1の構成について、図1、図2、図3を用いて説明する。
[1. First Embodiment]
[1.1 Configuration]
First, the configuration of the image forming apparatus 1 having the image processing apparatus will be described with reference to FIGS. 1, 2, and 3.

図1は、画像形成装置1の外観斜視図を模式的に示した図である。また、図2は、画像形成装置1の機能構成について説明するブロック図(機能構成図)であり、図3は、PDLインタプリタ部1100、画像制御部1200、印刷制御部1300を説明するためのブロック図である。 FIG. 1 is a diagram schematically showing an external perspective view of the image forming apparatus 1. Further, FIG. 2 is a block diagram (functional configuration diagram) for explaining the functional configuration of the image forming apparatus 1, and FIG. 3 is a block for explaining the PDL interpreter unit 1100, the image control unit 1200, and the print control unit 1300. It is a figure.

図2に示すように、画像形成装置1は、制御部1000と、PDLインタプリタ部1100と、画像制御部1200と、印刷制御部1300と、画像入力部1400と、画像形成部1500と、記憶部1600と、操作表示部1700と、通信部1800とを備えて構成されている。 As shown in FIG. 2, the image forming apparatus 1 includes a control unit 1000, a PDL interpreter unit 1100, an image control unit 1200, a print control unit 1300, an image input unit 1400, an image forming unit 1500, and a storage unit. It is configured to include a 1600, an operation display unit 1700, and a communication unit 1800.

制御部1000は、画像形成装置1の全体を制御するための機能部である。制御部1000は、記憶部1600に記憶されている各種プログラムを読み出して実行することにより各種機能を実現しており、例えばCPU(Central Processing Unit)により構成されている。 The control unit 1000 is a functional unit for controlling the entire image forming apparatus 1. The control unit 1000 realizes various functions by reading and executing various programs stored in the storage unit 1600, and is configured by, for example, a CPU (Central Processing Unit).

画像入力部1400は、原稿の画像を読み取って画像データを生成するものであり、例えばCCD(Charge Coupled Device)等の光学情報を電気信号に変換するデバイスを備えたスキャナ装置等により構成されている。なお、画像入力部1400は、スキャナ装置等の他にもデジタルカメラ等で撮像された画像を外部から取り込むようにしてもよいし、USBメモリや、コンパクトフラッシュ(登録商標)等の記憶媒体、通信部1800を介して他の端末から原稿データを入力(受信)しても良い。 The image input unit 1400 reads an image of a document and generates image data, and is composed of a scanner device or the like equipped with a device for converting optical information such as a CCD (Charge Coupled Device) into an electric signal. .. The image input unit 1400 may capture an image captured by a digital camera or the like from the outside in addition to a scanner device or the like, or may use a USB memory, a storage medium such as a compact flash (registered trademark), or communication. Manuscript data may be input (received) from another terminal via unit 1800.

画像形成部1500は、画像データを記録媒体(例えば記録用紙)に形成するための機能部である。例えば、図1の給紙トレイ1350から記録用紙を給紙し、画像形成部1500に記録用紙の表面に画像が形成された後に排紙トレイ1550から排紙される。画像形成部1500は、例えば電子写真方式を利用したレーザプリンタ等により構成されている。 The image forming unit 1500 is a functional unit for forming image data on a recording medium (for example, recording paper). For example, the recording paper is fed from the paper feed tray 1350 of FIG. 1, and after an image is formed on the surface of the recording paper in the image forming unit 1500, the paper is discharged from the paper ejection tray 1550. The image forming unit 1500 is composed of, for example, a laser printer or the like using an electrophotographic method.

原稿データは、通信部1800を介して接続される情報処理装置等の他の装置から受信される。ここでは、他の装置から受信されるデータとして、例えばPDL(Page Description Language)により示されたPDLデータが受信される。受信されたPDLデータは、PDLインタプリタ部1100に出力され処理が実行される。 The manuscript data is received from another device such as an information processing device connected via the communication unit 1800. Here, as data received from another device, for example, PDL data indicated by PDL (Page Description Language) is received. The received PDL data is output to the PDL interpreter unit 1100 and processing is executed.

PDLインタプリタ部1100により受信されたPDLデータは、PDLインタプリタ部1100、画像制御部1200、印刷制御部1300により処理されて、画像形成部1500より出力される。 The PDL data received by the PDL interpreter unit 1100 is processed by the PDL interpreter unit 1100, the image control unit 1200, and the print control unit 1300, and output from the image forming unit 1500.

具体的には、給紙トレイ1350から記録用紙が搬送され、上記の処理を施された画像が、記録用紙に画像形成部1500により出力される。そして、排紙トレイ1550から、画像が形成された記録用紙が出力される。 Specifically, the recording paper is conveyed from the paper feed tray 1350, and the image subjected to the above processing is output to the recording paper by the image forming unit 1500. Then, the recording paper on which the image is formed is output from the output tray 1550.

なお、本実施形態においては、処理が施された画像は、記録用紙に出力されることを例に説明するが、例えばUSBメモリに記憶したり、クラウドサーバに保存したりしてもよい。 In the present embodiment, the processed image will be described as an example of being output to a recording paper, but may be stored in a USB memory or stored in a cloud server, for example.

ここで、PDLインタプリタ部1100、画像制御部1200及び印刷制御部1300の機能構成、動作について、図3に基づいて説明する。 Here, the functional configurations and operations of the PDL interpreter unit 1100, the image control unit 1200, and the print control unit 1300 will be described with reference to FIG.

PDLインタプリタ部1100は、入力インタフェース部110、受信バッファ部120、コマンド解析部130、中間データ生成部140、ビットマップ生成部150及び属性ビットマップ生成部160を有している。 The PDL interpreter unit 1100 includes an input interface unit 110, a reception buffer unit 120, a command analysis unit 130, an intermediate data generation unit 140, a bitmap generation unit 150, and an attribute bitmap generation unit 160.

入力インタフェース部110は、他の情報処理装置から送られてきたPDLデータ80を含むファイルを受信バッファ部120に一時的に格納する。受信バッファ部120に格納されたPDLデータ80を含むファイルは、コマンド解析部130に渡される。なお、受信バッファ部120は便宜的に記載しているが、後述する記憶部1600にバッファ領域を設けても良い。 The input interface unit 110 temporarily stores a file including the PDL data 80 sent from another information processing device in the reception buffer unit 120. The file containing the PDL data 80 stored in the reception buffer unit 120 is passed to the command analysis unit 130. Although the reception buffer unit 120 is described for convenience, a buffer area may be provided in the storage unit 1600 described later.

コマンド解析部130は、PDLデータ80に含まれるPDLコマンドを順次抽出し解析する。 The command analysis unit 130 sequentially extracts and analyzes PDL commands included in the PDL data 80.

中間データ生成部140は、PDLデータ80に含まれる入力描画コマンド(PDLコマンド)に基づいて、出力対象ページにおける各描画オブジェクトの種類に関する情報を含む中間データを生成する。 The intermediate data generation unit 140 generates intermediate data including information on the type of each drawing object on the output target page based on the input drawing command (PDL command) included in the PDL data 80.

例えば、中間データ生成部は、解析されたPDLコマンドを受け取り、このPDLコマンドに基づき生成されるべきバンドデータ単位で分類された印刷のための周知の中間データを生成する。 For example, the intermediate data generation unit receives the analyzed PDL command and generates well-known intermediate data for printing classified by band data units to be generated based on the PDL command.

この中間データには、描画すべき対象を表すオブジェクト(描画オブジェクト)を構成するためのデータ及びそのオブジェクトの属性(描画オブジェクトの種類、座標等)が記述されている。 In this intermediate data, data for forming an object (drawing object) representing an object to be drawn and attributes of the object (type of drawing object, coordinates, etc.) are described.

ビットマップ生成部150は、中間データ生成部140で得られた中間データに基づいて、出力対象ページのビットマップデータ(ビットマップイメージ)を生成する。ビットマップ生成部150で生成されるビットマップデータは、一般的に用いられるデータであることが好ましく、よってRGB形式又はCMYK形式のデータであることが好ましい。 The bitmap generation unit 150 generates bitmap data (bitmap image) of the output target page based on the intermediate data obtained by the intermediate data generation unit 140. The bitmap data generated by the bitmap generation unit 150 is preferably data that is generally used, and is therefore preferably RGB format or CMYK format data.

例えば、ビットマップ生成部150は、中間データからRGB又はCMYK各色8ビットのビットマップデータを生成する。なお、その他にもsRGB、HSV、HLS等の色空間を利用してもよい。 For example, the bitmap generation unit 150 generates 8-bit bitmap data for each color of RGB or CMYK from the intermediate data. In addition, a color space such as sRGB, HSV, or HLS may be used.

属性ビットマップ生成部160は、中間データ生成部140で得られた中間データに基づいて、上記ビットマップデータを構成する各画素(ピクセル)に対応し且つ各画素のそれぞれについての上記種類を示す属性(属性データ)からなる属性ビットマップデータ(属性ビットマップイメージ)を生成する。 The attribute bitmap generation unit 160 corresponds to each pixel (pixel) constituting the bitmap data based on the intermediate data obtained by the intermediate data generation unit 140, and has an attribute indicating the above type for each pixel. Generate attribute bitmap data (attribute bitmap image) consisting of (attribute data).

この属性ビットマップデータは、例えば、図4で示す属性(属性を示す属性データ)を用いて記述された各画素につき3ビットのデータである。属性は、描画オブジェクトの種類毎に3ビットの値を定めたものである。 This attribute bitmap data is, for example, 3-bit data for each pixel described using the attribute shown in FIG. 4 (attribute data indicating the attribute). The attribute defines a 3-bit value for each type of drawing object.

属性ビットマップデータは、中間データの各画素につき、中間データに記述されている属性が示す値(例えば、オブジェクトなしが「000」、白文字が「001」、文字が「010」、白ベクタグラフィックが「011」、ベクタグラフィックが「100」、ラスタが「101」、エッジが「110」)を記述したものとなる。 The attribute bitmap data is the value indicated by the attribute described in the intermediate data for each pixel of the intermediate data (for example, "000" for no object, "001" for white characters, "010" for characters, and white vector graphics. Is "011", the vector graphic is "100", the raster is "101", and the edge is "110").

つづいて、画像制御部1200は、画像置き換え判定部210、画像置き換え処理部220、ビットマップデータ圧縮部230及び画像保存処理部240を有する。 Subsequently, the image control unit 1200 includes an image replacement determination unit 210, an image replacement processing unit 220, a bitmap data compression unit 230, and an image storage processing unit 240.

画像置き換え判定部210は、属性ビットマップ生成部160で得られた属性ビットマップデータから、ユーザ設定部で設定された条件に合うよう画像データの中で置き換え画素となる画素を判定する。ここで、ユーザ設定部は、画像に対する処理を設定し、記憶部1600のユーザ設定情報1610に出力する機能である。 The image replacement determination unit 210 determines, from the attribute bitmap data obtained by the attribute bitmap generation unit 160, a pixel to be a replacement pixel in the image data so as to meet the conditions set by the user setting unit. Here, the user setting unit is a function of setting processing for an image and outputting it to the user setting information 1610 of the storage unit 1600.

画像置き換え処理部220は、画像データの画素の中で、置き換え画素と判定された画素情報を置き換える機能部である。具体的には、画像置き換え判定部210で検出された注目画素に隣接画素の画素情報をコピーする。ここで、画素情報とは、画素に関する情報のことをいい、例えば、本実施形態では画素値、属性のことをいう。 The image replacement processing unit 220 is a functional unit that replaces pixel information determined to be replacement pixels among the pixels of the image data. Specifically, the pixel information of the adjacent pixel is copied to the pixel of interest detected by the image replacement determination unit 210. Here, the pixel information refers to information related to pixels, and for example, in the present embodiment, it refers to pixel values and attributes.

ビットマップデータ圧縮部230は、ビットマップデータ、属性ビットマップデータをそれぞれのビットマップに適した圧縮方法で個別に圧縮し、画像保存処理部240は、それらを記憶部1600へ保存・記憶する。 The bitmap data compression unit 230 individually compresses the bitmap data and the attribute bitmap data by a compression method suitable for each bitmap, and the image storage processing unit 240 stores and stores them in the storage unit 1600.

印刷制御部1300は、画像読み出し部310、ビットマップ伸張部320、色変換/γ/フィルター/スクリーン処理部330及び印刷処理部340を有する。 The print control unit 1300 includes an image reading unit 310, a bitmap decompression unit 320, a color conversion / γ / filter / screen processing unit 330, and a print processing unit 340.

画像保存処理部240により1ページ分のデータが保存されると、画像読み出し部310は、印刷されるべきページのビットマップデータ、属性ビットマップデータ及び印刷のために必要な各種情報を記憶部1600から読み出す。このとき印刷処理部340に含まれるビデオコントローラに対して各種情報を設定する。 When the image storage processing unit 240 stores one page of data, the image reading unit 310 stores the bitmap data of the page to be printed, the attribute bitmap data, and various information necessary for printing in the storage unit 1600. Read from. At this time, various information is set for the video controller included in the print processing unit 340.

ビデオコントローラに設定された動作モードがカラーモードである場合、画像形成部1500にカラーモードで動作させるためのコマンドを送信することにより、画像形成部1500をカラーモードで動作するように設定する。 When the operation mode set in the video controller is the color mode, the image forming unit 1500 is set to operate in the color mode by transmitting a command for operating the image forming unit 1500 in the color mode.

ビットマップ伸張部320は、読み出された圧縮されたビットマップデータ及び属性ビットマップデータを色判定/圧縮伸張回路により、個別に伸張し、色変換/γ/フィルター/スクリーン処理部330で、CMYK各色4ビットに変換し、ビデオコントローラに転送する。 The bitmap decompression unit 320 individually decompresses the read compressed bitmap data and attribute bitmap data by a color determination / compression / decompression circuit, and the color conversion / γ / filter / screen processing unit 330 uses CMYK. Converts each color to 4 bits and transfers it to the video controller.

ビデオコントローラは、画像形成部から画像データの転送要求が発信されると、所定の同期信号に合わせてCMYK各色の画像データを印刷処理部340へ送信する。 When the image data transfer request is transmitted from the image forming unit, the video controller transmits the image data of each CMYK color to the print processing unit 340 in accordance with a predetermined synchronization signal.

印刷処理部340は、印刷処理を実行する。印刷処理としては、例えば、画像形成部1500から記録用紙に画像を形成した出力物90を出力する。 The print processing unit 340 executes the print process. As the printing process, for example, the image forming unit 1500 outputs the output 90 in which the image is formed on the recording paper.

記憶部1600は、画像形成装置1の動作に必要な各種プログラムや、各種データが記憶されている機能部である。記憶部1600は、例えば、SSD(Solid State Drive)等の半導体メモリや、HDD(Hard Disk Drive)等により構成されている。また、画像形成装置1の記憶装置ではなく、例えばネットワークを介して接続されたクラウドサーバに記憶領域が設けられてもよい。 The storage unit 1600 is a functional unit that stores various programs and various data necessary for the operation of the image forming apparatus 1. The storage unit 1600 is composed of, for example, a semiconductor memory such as an SSD (Solid State Drive), an HDD (Hard Disk Drive), or the like. Further, the storage area may be provided not in the storage device of the image forming device 1 but in, for example, a cloud server connected via a network.

また、記憶部1600には、ユーザ設定情報1610と、属性条件が設定されている属性条件設定テーブル1620とが記憶されている。 Further, the storage unit 1600 stores the user setting information 1610 and the attribute condition setting table 1620 in which the attribute conditions are set.

ユーザ設定情報1610は、画像を処理する上での利用者が行った設定が記憶されている。ユーザ設定情報1610は、ユーザ設定部により設定された値が記憶される。ユーザ設定部としては、例えば、図5に示すように、操作表示部1700により表示されて設定してもよいし、画像形成装置1に接続される情報処理装置において、印刷ドライバの設定画面で設定されても良い。 The user setting information 1610 stores the settings made by the user in processing the image. The value set by the user setting unit is stored in the user setting information 1610. As the user setting unit, for example, as shown in FIG. 5, the user setting unit may be displayed and set by the operation display unit 1700, or may be set on the print driver setting screen in the information processing device connected to the image forming device 1. May be done.

属性条件設定テーブル1620は、画像処理として、膨張・収縮処理を実行する上での、処理対象となる注目画素の属性と、当該注目画素に隣接する隣接画素との属性とが記憶されている。この、属性条件は、1つの属性条件が記憶されても良いし、ユーザ設定毎に記憶されていても良い。また、予め記憶されているものであるが、利用者が設定できるようにしても良い。 The attribute condition setting table 1620 stores the attributes of the pixel of interest to be processed and the attributes of the adjacent pixels adjacent to the pixel of interest in executing the expansion / contraction processing as the image processing. As for this attribute condition, one attribute condition may be stored or may be stored for each user setting. Further, although it is stored in advance, it may be possible for the user to set it.

この注目画素A0と、隣接画素Aiとの属性条件は、ユーザ設定毎に記憶されていてもよい。例えば、図6の属性条件は、「文字:収縮」、「白抜き文字:膨張」がユーザ設定として選択された場合の属性条件である。注目画素A0の属性が「文字」の場合、隣接画素Aiの属性は「オブジェクトなし」「白ベクタグラフィック」「ベクタグラフィック」「ラスタ」が記憶されている。 The attribute conditions of the attention pixel A0 and the adjacent pixel Ai may be stored for each user setting. For example, the attribute condition of FIG. 6 is an attribute condition when "character: contraction" and "outline character: expansion" are selected as user settings. When the attribute of the pixel of interest A0 is "character", the attributes of the adjacent pixel Ai are stored as "no object", "white vector graphic", "vector graphic", and "raster".

また、注目画素A0の属性が「ベクタグラフィック」の場合には、隣接画素Aiの属性は「白文字」と、注目画素A0の属性が「ラスタ」の場合には、隣接画素Aiの属性は「白文字」と記憶されている。 When the attribute of the attention pixel A0 is "vector graphic", the attribute of the adjacent pixel Ai is "white character", and when the attribute of the attention pixel A0 is "raster", the attribute of the adjacent pixel Ai is "". It is remembered as "white letters".

同様に、図7も属性条件を示した図である。図7は、ユーザ設定として「文字+グラフィック+画像:膨張」が選択された場合の属性条件である。図7に記載した通りであるが、例えば注目画素A0の属性が「オブジェクトなし」の場合、隣接画素Aiの属性は「文字」「ベクタグラフィック」「ラスタ」が対応づけて属性条件として記憶されている。 Similarly, FIG. 7 is also a diagram showing attribute conditions. FIG. 7 shows the attribute conditions when "character + graphic + image: expansion" is selected as the user setting. As shown in FIG. 7, for example, when the attribute of the pixel of interest A0 is "no object", the attributes of the adjacent pixel Ai are stored as attribute conditions in association with "character", "vector graphic", and "raster". There is.

このように、属性条件は、1つ記憶されていてもよいし、複数記憶されていてもよい。複数記憶されている場合は、ユーザ設定に対応づけて記憶され、ユーザ設定に応じて適切な属性条件が読み出される。 As described above, one attribute condition may be stored or a plurality of attribute conditions may be stored. When a plurality of items are stored, they are stored in association with the user settings, and appropriate attribute conditions are read out according to the user settings.

また、各属性条件は、それぞれのユーザ設定毎に記憶されており、組み合わせて読み出されてもよい。例えば、対象「文字」について「膨張」「収縮」と、「白抜き文字」について「膨張」「収縮」とが記憶されており、これらを組み合わせて読み出すことにより、一つの属性条件としてもよい。 Further, each attribute condition is stored for each user setting, and may be read in combination. For example, "expansion" and "contraction" are stored for the target "character", and "expansion" and "contraction" are stored for the "outline character", and by reading these in combination, one attribute condition may be obtained.

操作表示部1700は、ユーザが操作入力したり、ユーザに各種情報等を表示したりする為の入力装置・表示装置である。入力装置としては、例えばハードウェアキー等の何れかの公知の装置により構成され、表示層としては、例えば液晶ディスプレイ等の何れかの公知の装置により構成される。また、タッチパネルディスプレイ等の入力装置と表示装置とが一体となった操作表示装置を利用しても良い。 The operation display unit 1700 is an input device / display device for the user to input operations and display various information to the user. The input device is composed of any known device such as a hardware key, and the display layer is composed of any known device such as a liquid crystal display. Further, an operation display device in which an input device such as a touch panel display and a display device are integrated may be used.

通信部1800は、ネットワークに接続するための機能部であり、有線/無線により接続することが可能である。例えば、他の情報処理装置や、画像形成装置と通信を行ったり、サーバと通信を行ったりすることが可能である。 The communication unit 1800 is a functional unit for connecting to a network, and can be connected by wire / wireless. For example, it is possible to communicate with other information processing devices and image forming devices, and to communicate with a server.

[1.2 処理の流れ]
続いて、本実施形態における処理の流れについて、図8を利用して説明する。
[1.2 Processing flow]
Subsequently, the flow of processing in this embodiment will be described with reference to FIG.

まず、利用者の設定したユーザ設定に対して、属性条件が設定される(ステップS102)。例えば、図5に示すように、利用者が、ユーザ設定部で「文字:収縮」、「白抜き文字:膨張」と設定した場合、図6の属性条件がセットされる。また、ユーザが「文字+グラフィック+画像:膨張」と設定した場合には図7の属性条件がセットされる。すなわち、ユーザの選択できる設定ごとに、属性条件を予め準備しておく。 First, the attribute condition is set with respect to the user setting set by the user (step S102). For example, as shown in FIG. 5, when the user sets "character: contraction" and "outline character: expansion" in the user setting unit, the attribute condition of FIG. 6 is set. Further, when the user sets "character + graphic + image: expansion", the attribute condition of FIG. 7 is set. That is, attribute conditions are prepared in advance for each setting that can be selected by the user.

属性条件は、属性条件設定テーブル1620より適宜読み出される。ここで、本実施形態では、属性条件設定テーブル1620より読み出されることとしているが、例えば利用者が設定してもよい。また、クラウド上から属性条件を読み出してもよい。 The attribute condition is appropriately read from the attribute condition setting table 1620. Here, in the present embodiment, it is read from the attribute condition setting table 1620, but for example, the user may set it. Further, the attribute condition may be read from the cloud.

つづいて、画像置き換え判定部210は、図9のマスクパターンを画像全面に走査することで、注目画素A0が画像置き換え処理を実施すべきか否かを判定する。 Subsequently, the image replacement determination unit 210 determines whether or not the attention pixel A0 should perform the image replacement process by scanning the entire surface of the image with the mask pattern of FIG.

ここで、図9のマスクパターンは、注目画素A0と、隣接画素A1及びA2から構成されている。隣接画素として判定されるものは、画像の走査方向の画素である。具体的には、図10に示すように、P10から右方向に画素を走査する場合、1つの隣接画素は注目画素A0の右側であるP12が隣接画素A1となる。 Here, the mask pattern of FIG. 9 is composed of the pixel of interest A0 and the adjacent pixels A1 and A2. What is determined as adjacent pixels are pixels in the scanning direction of the image. Specifically, as shown in FIG. 10, when the pixels are scanned from P10 to the right, P12, which is the right side of the pixel of interest A0, is the adjacent pixel A1.

また、右方向に走査が完了すると、1つ下の行に移動する。すなわち、P14から右方向に走査する。この場合、注目画素A0の下側であるP14が隣接画素A2となる。 When the scan is completed to the right, the line moves down one line. That is, scanning is performed to the right from P14. In this case, P14, which is the lower side of the pixel of interest A0, becomes the adjacent pixel A2.

つぎに、注目画素A0の属性が属性条件に一致するか否かを判定する(ステップS104)。 Next, it is determined whether or not the attribute of the pixel of interest A0 matches the attribute condition (step S104).

図6を利用して具体的に説明すると、まず、注目画素A0の属性が図6の注目画素の属性条件である「文字」「ベクタグラフィック」「ラスタ」であるかを判定する。ここで注目画素A0がそれ以外の属性であれば、属性条件には一致しなかったと判定される(ステップS104;No)。 More specifically, with reference to FIG. 6, first, it is determined whether the attribute of the attention pixel A0 is the attribute condition of the attention pixel of FIG. 6, “character”, “vector graphic”, and “raster”. Here, if the pixel of interest A0 has other attributes, it is determined that the attribute conditions are not met (step S104; No).

また、注目画素A0の属性が、属性条件と一致した場合には(ステップS104;Yes)、iに初期値の1がセットされる(ステップS106)。まだ、iは1であることから、隣接画素Ai(A1)の属性が、属性条件に一致するか判定する(ステップS108;Yes→ステップS110)。具体的には、注目画素A0の属性が「文字」である場合、隣接画素A1の属性が「オブジェクトなし」「白ベクタグラフィック」「ベクタグラフィック」「ラスタ」の何れかであるか否かの判定をする。 If the attribute of the pixel of interest A0 matches the attribute condition (step S104; Yes), the initial value 1 is set in i (step S106). Since i is still 1, it is determined whether the attribute of the adjacent pixel Ai (A1) matches the attribute condition (step S108; Yes → step S110). Specifically, when the attribute of the pixel of interest A0 is "character", it is determined whether or not the attribute of the adjacent pixel A1 is "no object", "white vector graphic", "vector graphic", or "raster". do.

ここで、隣接画素Aiの属性が、属性条件に一致しなければ(ステップS110;No)、iはインクリメントされ(ステップS114)、iが3になるまで(すなわち、A2が)繰り返し判定される。 Here, if the attributes of the adjacent pixels Ai do not match the attribute conditions (step S110; No), i is incremented (step S114), and the determination is repeated until i becomes 3 (that is, A2).

ここで、隣接画素Aiの属性が属性条件に一致した場合、注目画素A0に隣接画素Aiの画素情報として、属性及び画素値をコピーする(ステップS110;Yes→ステップS112)。すなわち、注目画素A0の画素情報が、隣接画素Aiの画素情報に置き換わることとなる。 Here, when the attribute of the adjacent pixel Ai matches the attribute condition, the attribute and the pixel value are copied to the attention pixel A0 as the pixel information of the adjacent pixel Ai (step S110; Yes → step S112). That is, the pixel information of the pixel of interest A0 is replaced with the pixel information of the adjacent pixel Ai.

注目画素A0、隣接画素Aiの属性が属性条件に一致しない場合(ステップS104;No/ステップS108;No)か、注目画素A0に隣接画素Aiの画素情報がコピーされた(ステップS112)後には、最後のデータ(画像データで対象となる最後の画素)でなければ次の画素についても同様の処理を実行する(ステップS126;No→ステップS128→ステップS104)。最後のデータ(最後の画素)の場合は、本処理を終了する(ステップS126;Yes)。 When the attributes of the pixel of interest A0 and the adjacent pixel Ai do not match the attribute conditions (step S104; No / step S108; No), or after the pixel information of the adjacent pixel Ai is copied to the pixel of interest A0 (step S112), If it is not the last data (the last pixel to be the target in the image data), the same processing is executed for the next pixel (step S126; No → step S128 → step S104). In the case of the last data (last pixel), this process ends (step S126; Yes).

ここで、最後の画素であるか否かは、隣接画素分が除外されることが好ましい。例えば、図10で示すように、右端及び下端のグレー部分の画素については注目画素A0の対象とはならない。 Here, it is preferable that adjacent pixels are excluded as to whether or not it is the last pixel. For example, as shown in FIG. 10, the pixels in the gray portions at the right end and the lower end are not the target of the attention pixel A0.

[1.3 動作例]
つづいて、本実施形態における動作について、図11に基づいて説明する。図11は、文字を膨張する場合の処理について説明する。
[1.3 Operation example]
Subsequently, the operation in the present embodiment will be described with reference to FIG. FIG. 11 describes a process when the character is expanded.

ここで、図11では、白背景の画素(マス)は、属性として「オブジェクトなし」の画素である。また、白背景に「T」の画素は、属性として「文字」の画素である。また、色つき背景の「T」の画素は、本来「オブジェクトなし」であったが、膨張処理により「文字」に変更となった画素である。 Here, in FIG. 11, the pixels (mass) on the white background are pixels with "no object" as an attribute. Further, the pixel of "T" on the white background is the pixel of "character" as an attribute. Further, the pixel of "T" in the colored background is a pixel that was originally "no object" but changed to "character" by the expansion process.

画素P20を一例に説明すると、画素P20(注目画素A0)の属性は、最初は「オブジェクトなし」である。また、画素P20の右隣の画素(隣接画素A1)も、最初は「オブジェクトなし」の属性であることから、注目画素A0、隣接画素A1で属性条件は一致しない。 Taking pixel P20 as an example, the attribute of pixel P20 (pixel of interest A0) is initially "no object". Further, since the pixel to the right of the pixel P20 (adjacent pixel A1) also has the attribute of "no object" at first, the attribute conditions do not match between the attention pixel A0 and the adjacent pixel A1.

しかし、画素P20の下にある画素P22は、属性「文字」の画素である。この場合、注目画素A0及び隣接画素A2で属性条件が一致する。したがって、A0にA2の画素情報(属性及び画素値)がコピーされ、置き換わることになる。これにより、画素P20は、属性「文字」となり、画素P22の画素値となることから、結果として文字が膨張することになる。 However, the pixel P22 below the pixel P20 is a pixel with the attribute "character". In this case, the attribute conditions are the same for the pixel of interest A0 and the adjacent pixel A2. Therefore, the pixel information (attribute and pixel value) of A2 is copied to A0 and replaced. As a result, the pixel P20 becomes the attribute "character" and becomes the pixel value of the pixel P22, and as a result, the character expands.

同じように、画素P24で説明する。注目画素A0が画素P24の場合、右隣の画素P26は、隣接画素A1である。この画素P26は属性「文字」の画素である。この場合、注目画素A0及び隣接画素A1で属性条件が一致する。したがって、A0にA1の画素情報(属性及び画素値)がコピーされる。これにより、文字が膨張することになる。 Similarly, pixel P24 will be described. When the pixel of interest A0 is the pixel P24, the pixel P26 on the right side is the adjacent pixel A1. This pixel P26 is a pixel of the attribute "character". In this case, the attribute conditions are the same for the pixel of interest A0 and the adjacent pixel A1. Therefore, the pixel information (attribute and pixel value) of A1 is copied to A0. This causes the characters to expand.

このように、各ケース(ユーザ設定部(ドライバー・オペレーションパネル)にて選択できるケース)としてユーザ設定に対し、予め注目画素に隣接画素の属性及び画素値をコピーする条件を内部的に保持しておき、色情報を含む属性ビットマップ生成部で得られた属性ビットマップデータから注目画素と隣接画素の属性がユーザ設定部で設定された条件に一致するか否かを判定し、条件に一致する場合には、隣接画素の画素値及び属性情報を注目画素にコピーして膨張・収縮を実施することができる。 In this way, as each case (a case that can be selected in the user setting unit (driver / operation panel)), the condition for copying the attribute and pixel value of the adjacent pixel to the pixel of interest is internally retained for the user setting in advance. From the attribute bitmap data obtained by the attribute bitmap generator including color information, it is determined whether or not the attributes of the pixel of interest and the adjacent pixel match the conditions set by the user setting unit, and the conditions are met. In that case, the pixel values and attribute information of the adjacent pixels can be copied to the pixel of interest to perform expansion / contraction.

ここで、注目画素に隣接画素の画素情報として、属性及び画素値をコピーする条件として、注目画素と隣接画素の属性は異なり、属性毎にコピーのための優先順位が決まっており、処理条件として一意に決めても良い。 Here, as a condition for copying an attribute and a pixel value as pixel information of a pixel adjacent to the pixel of interest, the attributes of the pixel of interest and the adjacent pixel are different, and the priority for copying is determined for each attribute, and as a processing condition. It may be uniquely decided.

すなわち、膨張処理としては、文字の膨張が一番重要である。文字を膨張させる場合は、換言すればベクタは収縮されることになる。そこで、膨張する種類(オブジェクト)として優先度を設定してもよい。 That is, the expansion of characters is the most important as the expansion process. When expanding a character, in other words, the vector is contracted. Therefore, the priority may be set as the type (object) to expand.

例えば、「文字」「ベクタ」「ラスタ」の順で注目画素A0に優先度をつけておく。これにより、どの画素から先に実行するかということを決めてもよい。 For example, priority is given to the pixel of interest A0 in the order of "character", "vector", and "raster". Thereby, it may be decided which pixel is executed first.

[2.第2実施形態]
つづいて、第2実施形態について説明する。第2実施形態は、第1実施形態に加えて、画像の中でラスタエリアに入った場合に、ラスタデータの処理を別に実行する場合についての実施形態である。
[2. Second Embodiment]
Next, the second embodiment will be described. The second embodiment is an embodiment in which, in addition to the first embodiment, processing of raster data is separately executed when the raster area is entered in the image.

なお、第1実施形態と、機能構成については共通である。第2実施形態は、第1実施形態の図8の処理フローを、図12に置き換えたものである。なお、同一の処理については、同一の符号を付して説明を省略する。 The functional configuration is the same as that of the first embodiment. The second embodiment replaces the processing flow of FIG. 8 of the first embodiment with FIG. 12. The same processing will be designated by the same reference numerals and description thereof will be omitted.

図12に示すように、ステップS104〜ステップS112が第1実施形態で説明した膨張収縮処理である。本実施形態では、ステップS116〜ステップS124に、ラスタの場合の処理が追加されている。ラスタデータの場合、必ずしもオブジェクトの種類で膨張収縮させるエッジの検出が出来る訳ではない。そこで、本実施形態のように、異なる処理を組み合わせることに効果がある。 As shown in FIG. 12, steps S104 to S112 are expansion / contraction processing described in the first embodiment. In the present embodiment, processing in the case of a raster is added to steps S116 to S124. In the case of raster data, it is not always possible to detect edges that expand and contract depending on the type of object. Therefore, it is effective to combine different processes as in the present embodiment.

なお、ラスタエリアの処理はユーザが選択可能であり、例えば、処理を別に実行しないと選択することも可能である。 The processing of the raster area can be selected by the user, and for example, it can be selected without executing the processing separately.

ラスタエリアにおいて、ステップS116において、画像に関する設定がどのようになっているかが判定される。ここで、画像については「膨張」すると設定されている場合は(ステップS116;画像=膨張)、A0、A1、A2の属性がラスタである場合には(ステップS118;Yes)、ラスタ膨張処理が実行される(ステップS120)。 In the raster area, in step S116, it is determined how the settings related to the image are set. Here, when the image is set to "expand" (step S116; image = expansion), and when the attributes of A0, A1, and A2 are rasters (step S118; Yes), the raster expansion process is performed. It is executed (step S120).

また、画像については「収縮」すると設定されている場合は(ステップS116;画像=収縮)、A0、A1、A2の属性がラスタである場合には(ステップS122;Yes)、ラスタ収縮処理が実行される(ステップS124)。 If the image is set to "shrink" (step S116; image = shrink), and if the attributes of A0, A1, and A2 are rasters (step S122; Yes), the raster shrinkage process is executed. (Step S124).

画像に関する設定がない場合(ステップS116;画像=設定なし)か、画像の設定があっても、A0、A1、A2の属性がラスタでない場合(ステップS118;No/ステップS122;No)は、処理が実行されない。 If there is no setting related to the image (step S116; image = no setting), or if there is an image setting but the attributes of A0, A1, and A2 are not rasters (step S118; No / step S122; No), the process is performed. Is not executed.

ここで、ラスタ膨張処理、ラスタ収縮処理は、一例として以下の方法で行われる。
RGB形式の場合
<ラスタ膨張処理方法>
if(注目画素A0の画素値>MIN(隣接画素A1の画素値、隣接画素A2の画素値))
注目画素A0の画素値=MIN(隣接画素A1の画素値、隣接画素A2の画素値)
<ラスタの収縮処理方法>
if(注目画素A0の画素値<MAX(隣接画素A1の画素値、隣接画素A2の画素値))
注目画素A0の画素値=MAX(隣接画素A1の画素値、隣接画素A2の画素値)
Here, the raster expansion process and the raster contraction process are performed by the following methods as an example.
In case of RGB format <Raster expansion processing method>
if (pixel value of noteworthy pixel A0> MIN (pixel value of adjacent pixel A1, pixel value of adjacent pixel A2))
Pixel value of pixel A0 of interest = MIN (pixel value of adjacent pixel A1, pixel value of adjacent pixel A2)
<Raster shrinkage processing method>
if (pixel value of noteworthy pixel A0 <MAX (pixel value of adjacent pixel A1, pixel value of adjacent pixel A2))
Pixel value of pixel A0 of interest = MAX (pixel value of adjacent pixel A1, pixel value of adjacent pixel A2)

すなわち、ラスタの膨張処理としては、画素値が小さいもの(最小値)に置き換わることで、濃度が濃い画素が多くなり、膨張される。また、ラスタの収縮処理としては、画素値が大きいもの(最大値)に置き換わることで、濃度が薄い画素が多くなり、収縮される。 That is, as the raster expansion processing, by replacing the pixel value with a smaller one (minimum value), the number of pixels with a high density increases and the pixel is expanded. Further, as the raster shrinkage processing, by replacing it with a pixel having a large pixel value (maximum value), the number of pixels having a low density increases and the pixel is shrunk.

なお、上述した方法は、RGB形式の場合であり、他の方式では適切な処理がなされる。例えば、CMYK方式の場合には、最大、最小の関係が逆転し、膨張処理の場合が大きいもの、収縮処理の場合が小さいものに置き換わる。 The above-mentioned method is in the case of RGB format, and appropriate processing is performed in other methods. For example, in the case of the CMYK method, the relationship between the maximum and the minimum is reversed, and the expansion process is replaced with a large one and the contraction process is replaced with a small one.

このように、注目画素及び隣接画素の属性がラスタの場合には、RGB形式における膨張処理では、隣接画素の最小値が注目画素よりも小さい場合には隣接画素の最小画素値を注目画素にコピーされる。また、収縮処理では、隣接画素値の最大値が注目画素よりも大きい場合には隣接画素の最大画素値を注目画素にコピーされる。 In this way, when the attributes of the pixel of interest and the adjacent pixel are rasters, in the expansion processing in the RGB format, when the minimum value of the adjacent pixel is smaller than the pixel of interest, the minimum pixel value of the adjacent pixel is copied to the pixel of interest. Will be done. Further, in the shrinkage process, when the maximum value of the adjacent pixel value is larger than that of the pixel of interest, the maximum pixel value of the adjacent pixel is copied to the pixel of interest.

なお、本実施形態では、第1実施形態におけるステップS104〜S112の処理を実行した後に、ステップS116〜ステップS124の処理を実行することとして説明した。ただ、処理によっては逆に行ったとしても、発明の目的は達成できることは勿論である。 In the present embodiment, it has been described that the processes of steps S116 to S124 are executed after the processes of steps S104 to S112 of the first embodiment are executed. However, it goes without saying that the object of the invention can be achieved even if the treatment is performed in reverse.

[3.第3実施形態]
つづいて、第3実施形態について説明する。第3実施形態は、イメージエンハンスメント処理を実行する場合に、エッジ検出を効率的に実行するための実施形態である。
[3. Third Embodiment]
Next, the third embodiment will be described. The third embodiment is an embodiment for efficiently executing edge detection when executing image enhancement processing.

なお、第1実施形態と全体の機能構成は同一であるが、画像制御部の構成は異なり、第1実施形態の図3を図13に置き換えたものである。本実施形態では、第1実施形態と異なる点を中心に説明する。すなわち、第1実施形態の画像制御部1200を、画像制御部1210に置き換えた構成である。 Although the overall functional configuration is the same as that of the first embodiment, the configuration of the image control unit is different, and FIG. 3 of the first embodiment is replaced with FIG. In this embodiment, the points different from those in the first embodiment will be mainly described. That is, the image control unit 1200 of the first embodiment is replaced with the image control unit 1210.

画像制御部1210は、画像エッジ判定部212と、属性変換処理部214と、ビットマップデータ圧縮部230と、画像保存処理部240とを有している。 The image control unit 1210 includes an image edge determination unit 212, an attribute conversion processing unit 214, a bitmap data compression unit 230, and an image storage processing unit 240.

画像エッジ判定部212は、属性ビットマップ生成部160で得られた属性ビットマップデータから、ユーザ設定部で設定された条件に合うよう画像のエッジ部を判定する。 The image edge determination unit 212 determines the edge portion of the image from the attribute bitmap data obtained by the attribute bitmap generation unit 160 so as to meet the conditions set by the user setting unit.

ここで、イメージエンハンスメント処理では色情報が重要となるため属性ビットマップ生成部160は、第1実施形態よりも色情報をより多く含んだ属性ビットマップデータ(属性ビットマップイメージ)を生成する。 Here, since color information is important in the image enhancement process, the attribute bitmap generation unit 160 generates attribute bitmap data (attribute bitmap image) containing more color information than in the first embodiment.

例えば、図14で示すように描画オブジェクトの種類に加え、白、グレー、色の情報をエッジ判定時の属性とし、各画素につき4ビットのデータとなる。ここでの白の条件はR=G=B=255、グレーの条件はR=G=B等量で白以外、色の条件は白とグレー以外のデータである。 For example, as shown in FIG. 14, in addition to the types of drawing objects, white, gray, and color information are used as attributes at the time of edge determination, and 4-bit data is provided for each pixel. Here, the white condition is R = G = B = 255, the gray condition is R = G = B equal amount and other than white, and the color condition is data other than white and gray.

また、属性変換処理部214は、画像エッジ判定部212で判定された注目画素の属性を「エッジ」の属性に変換する。 Further, the attribute conversion processing unit 214 converts the attribute of the pixel of interest determined by the image edge determination unit 212 into the attribute of the “edge”.

そして、画像制御部1210でエッジと判定され、エッジ属性に変換された画素は、エッジに適する色変換処理、γ処理、フィルター処理、スクリーン処理が実行される。 Then, the pixel determined to be an edge by the image control unit 1210 and converted into an edge attribute is subjected to a color conversion process, a γ process, a filter process, and a screen process suitable for the edge.

ユーザが、図15のユーザ設定部で、ユーザ設定の一例として、イメージエンハンスメントの処理条件を設定する。イメージエンハンスメントの処理条件として、カラー・モノクロ全領域に対して「文字+白抜き文字」と設定した場合、図16の属性条件がセットされる。図16の属性条件としては、図の記載から明らかであるが、例えば注目画素A0の属性(オブジェクトの種類)が「グレー文字」の場合は、隣接画素Aiの属性は「オブジェクトなし」「白ベクタグラフィック」「グレーベクタグラフィック」「色ベクタグラフィック」「ラスタ」である。 The user sets the image enhancement processing condition as an example of the user setting in the user setting unit of FIG. When "character + outline character" is set for the entire color / monochrome area as the image enhancement processing condition, the attribute condition of FIG. 16 is set. The attribute conditions in FIG. 16 are clear from the description in the figure. For example, when the attribute (object type) of the pixel of interest A0 is "gray character", the attribute of the adjacent pixel Ai is "no object" and "white vector". These are "graphics", "gray vector graphics", "color vector graphics", and "rasters".

また、イメージエンハンスメントの処理条件として、モノクロ領域に対して、「文字+白抜き文字」と設定した場合、図17の属性条件がセットされる。 Further, when "character + outline character" is set for the monochrome area as the image enhancement processing condition, the attribute condition of FIG. 17 is set.

図17の属性条件としては、図の記載から明らかであるが、注目画素A0の属性は「グレー文字」と「グレーベクタグラフィック」とだけである。これは、黒の画像については、ジャギーが目立ちやすく、ユーザの要求が厳しい。そこで、グレーの部分のみに限定することで、細かい画像処理を実行することが可能となり、より鮮鋭化された画像を出力できるという効果が期待出来るからである。 The attribute conditions of FIG. 17 are clear from the description in the figure, but the attributes of the pixel of interest A0 are only "gray characters" and "gray vector graphics". This is because jaggies are easily noticeable for black images, and user demands are strict. Therefore, by limiting it to only the gray part, it is possible to execute fine image processing, and it is expected that an effect that a sharper image can be output can be expected.

なお、属性条件はユーザの選択できるユーザ設定ごとに予め記憶されている。また、エッジの判定範囲を「カラー・モノクロ全領域」と「モノクロ領域」で工場出荷時、サービスマン又はユーザが切り替えられるようにしてもよい。 The attribute conditions are stored in advance for each user setting that can be selected by the user. Further, the edge determination range may be switched between "color / monochrome full area" and "monochrome area" at the time of shipment from the factory by a serviceman or a user.

「モノクロ領域」を選択した時には、R=G=Bの等量データのみをエッジと判定し、グレーのみをエッジと判定するため、印刷制御部1300でグレーの領域のみエッジ特有の画像処理がされる。 When the "monochrome area" is selected, only the equal amount data of R = G = B is determined as an edge, and only the gray area is determined as an edge. Therefore, the print control unit 1300 performs image processing peculiar to the edge only in the gray area. To.

つづいて、本実施形態における処理の流れについて、図18に基づいて説明する。なお、この処理は、「カラー・モノクロ全領域」を選択し、かつ、データがRGB形式の場合についての説明である。 Subsequently, the flow of processing in this embodiment will be described with reference to FIG. It should be noted that this process is a description of the case where "the entire color / monochrome area" is selected and the data is in the RGB format.

画像エッジ判定は、図19のマスクパターンを画像全面に走査することで、注目画素A0の属性を「エッジ」に変更すべきか否かを判定する。 The image edge determination determines whether or not the attribute of the pixel of interest A0 should be changed to "edge" by scanning the entire surface of the image with the mask pattern of FIG.

マスクパターンは、注目画素A0の右側A1、下側A2、左側A3、上側A4の隣接画素から構成されている。このマスクパターンが、図20に示したように、左上から右下に向かって、画素毎に走査される。なお、周囲1画素分については、注目画素の対象とはならない。 The mask pattern is composed of adjacent pixels of the right side A1, the lower side A2, the left side A3, and the upper side A4 of the pixel of interest A0. As shown in FIG. 20, this mask pattern is scanned pixel by pixel from the upper left to the lower right. It should be noted that one peripheral pixel is not the target of the pixel of interest.

ユーザ設定に対応して、属性条件が設定される(ステップS202)。つづいて、注目画素A0の属性は、属性条件に一致しているかが判定される(ステップS204)。 Attribute conditions are set according to the user settings (step S202). Subsequently, it is determined whether the attribute of the pixel of interest A0 matches the attribute condition (step S204).

ここで、注目画素A0の属性が、属性条件に一致している場合には(ステップS204;Yes)、iに1がセットされ(ステップS206)、隣接画素Aiの属性が、属性条件に一致するか否かを判定する(ステップS208;Yes→ステップS210)。 Here, when the attribute of the pixel of interest A0 matches the attribute condition (step S204; Yes), 1 is set in i (step S206), and the attribute of the adjacent pixel Ai matches the attribute condition. Whether or not it is determined (step S208; Yes → step S210).

ここで、隣接画素Aiの属性が、属性条件に一致しない場合には、iが5になるまで、iをインクリメントしならが処理を繰り返し実行する(ステップS210;No→ステップS212→ステップS208)。すなわち、隣接画素A1〜A4の属性が属性条件に一致するか否かを判定する。 Here, if the attributes of the adjacent pixels Ai do not match the attribute conditions, the process is repeatedly executed while incrementing i until i becomes 5, (step S210; No → step S212 → step S208). That is, it is determined whether or not the attributes of the adjacent pixels A1 to A4 match the attribute conditions.

そして、隣接画素Aiの属性が属性条件に一致した場合(ステップS210;Yes)、注目画素A0の画素値が閾値以上であるか否かを判定し、閾値以上である場合には、注目画素A0の属性を「エッジ」の属性に変更しないが、閾値未満である場合には、注目画素A0の属性を「エッジ」の属性に変更する(ステップS214;Yes→ステップS216)。 Then, when the attribute of the adjacent pixel Ai matches the attribute condition (step S210; Yes), it is determined whether or not the pixel value of the pixel of interest A0 is equal to or greater than the threshold value, and when it is equal to or greater than the threshold value, the pixel of interest A0 Is not changed to the attribute of "edge", but if it is less than the threshold value, the attribute of the pixel of interest A0 is changed to the attribute of "edge" (step S214; Yes → step S216).

ここで、ステップS214における注目画素A0の画素値判定は、以下の方法により行う。RGB形式の場合、
(注目画素A0の画素値R ≧ 閾値R)
&(注目画素A0の画素値G ≧ 閾値G)
&(注目画素A0の画素値B ≧閾値B)
の条件を満たす場合にはエッジと判定しない(ステップS214;No)。これは、画素が薄い場合には、エッジとしない方が、画質が向上するからである。なお、CMYK形式の場合には、注目画素A0の各画素値C、M、Y、Kが閾値C、M、Y、K以下の場合にエッジと判定しない。
Here, the pixel value determination of the pixel of interest A0 in step S214 is performed by the following method. For RGB format
(Pixel value R of attention pixel A0 ≧ threshold value R)
& (Pixel value G of attention pixel A0 ≧ threshold value G)
& (Pixel value B of attention pixel A0 ≧ threshold value B)
If the condition of is satisfied, it is not determined as an edge (step S214; No). This is because when the pixel is thin, the image quality is improved when the pixel is not used as an edge. In the case of the CMYK format, if the pixel values C, M, Y, and K of the pixel of interest A0 are equal to or less than the threshold values C, M, Y, and K, the edge is not determined.

以下、具体的に説明すると、注目画素A0の属性が図16の条件「グレー文字」「色文字」「グレーベクタグラフィック」「色ベクタグラフィック」であるかを判定し、A0の属性が「グレー文字」の場合、隣接画素A1の属性が「オブジェクトなし」「白ベクタグラフィック」「グレーベクタグラフィック」「色ベクタグラフィック」「ラスタ」であるか否かの判定をする。 Hereinafter, specifically, it is determined whether the attribute of the attention pixel A0 is the condition "gray character", "color character", "gray vector graphic", and "color vector graphic" of FIG. 16, and the attribute of A0 is "gray character". In the case of "", it is determined whether or not the attributes of the adjacent pixel A1 are "no object", "white vector graphic", "gray vector graphic", "color vector graphic", and "raster".

隣接画素A1の属性が図16の属性条件に一致する場合には、注目画素A0の属性を「エッジ」と判定する。隣接画素A1の属性が図16の属性条件に一致しない場合には、隣接画素A2の属性に対して図16の属性条件に一致するか否かを判定し、一致する場合には注目画素A0の属性を「エッジ」と判定する。 When the attribute of the adjacent pixel A1 matches the attribute condition of FIG. 16, the attribute of the pixel of interest A0 is determined to be "edge". When the attribute of the adjacent pixel A1 does not match the attribute condition of FIG. 16, it is determined whether or not the attribute of the adjacent pixel A2 matches the attribute condition of FIG. Determine the attribute as "edge".

隣接画素A2の属性が図16の属性条件に一致しない場合には、隣接画素A3、A4と順次同様に判定していく。 When the attributes of the adjacent pixels A2 do not match the attribute conditions of FIG. 16, the determination is performed in the same manner as the adjacent pixels A3 and A4.

注目画素A0の属性が「エッジ」と判定された場合、ステップS214において、注目画素A0のR,G、Bの画素値を閾値R,G,Bと比較する。そして、注目画素A0の画素値が閾値以上の場合は「エッジ」の判定をキャンセルする。 When the attribute of the attention pixel A0 is determined to be "edge", in step S214, the pixel values of R, G, and B of the attention pixel A0 are compared with the threshold values R, G, and B. Then, when the pixel value of the pixel of interest A0 is equal to or greater than the threshold value, the determination of "edge" is cancelled.

また、注目画素A0のR,G、Bの画素値が閾値R,G,B未満の場合、「エッジ」と判定する。この時、注目画素の属性が「グレー文字」「グレーベクタグラフィック」の場合には「グレーエッジ」に、「色文字」「色ベクタグラフィック」の場合には「色エッジ」に変換する。上記処理を画像が終了するまで繰り返す。 Further, when the pixel values of R, G, and B of the pixel of interest A0 are less than the threshold values R, G, and B, it is determined as "edge". At this time, if the attribute of the pixel of interest is "gray character" or "gray vector graphic", it is converted to "gray edge", and if it is "color character" or "color vector graphic", it is converted to "color edge". The above process is repeated until the image is finished.

印刷制御部1300では、画像制御部1210でエッジと判定され、「エッジ」の属性に置換された画素はエッジに適する色変換処理、γ処理、フィルター処理、スクリーン処理を実施する。 In the print control unit 1300, the image control unit 1210 determines that the pixel is an edge, and the pixel replaced with the attribute of "edge" performs a color conversion process, a γ process, a filter process, and a screen process suitable for the edge.

「エッジ」の属性は色変換処理やγ処理、フィルター処理では通常の属性よりも、よりメリハリがあるように処理され、スクリーン処理では通常の属性よりも、より解像度の高い処理が実施される。 The "edge" attribute is processed so as to be more sharp than the normal attribute in the color conversion process, the γ process, and the filter process, and the screen process is processed with a higher resolution than the normal attribute.

また、属性「色エッジ」と「グレーエッジ」で「グレーエッジ」の方が「色エッジ」よりも黒の生成量を増やすように画像処理を設計してもよい。 Further, the image processing may be designed so that the "gray edge" has more black generation than the "color edge" in the attributes "color edge" and "gray edge".

また、エッジ属性の画像処理は数段階のレベルをもっており、よりエッジに適した画像処理より、通常処理とあまり差異がない画像処理まで色補正、γ、フィルター、スクリーンの処理レベルを調整してもよい。 In addition, the image processing of the edge attribute has several levels, and even if the color correction, γ, filter, and screen processing level are adjusted from the image processing more suitable for the edge to the image processing that is not so different from the normal processing. Good.

図21は、本実施形態の動作例を説明するための図である。白背景の画素は、属性が「オブジェクトなし」であり、白背景にTが表示された画素は、属性が「文字」の画素である。また、属性が「エッジ」の画素については、色背景にTが表示された画素となっている。 FIG. 21 is a diagram for explaining an operation example of the present embodiment. Pixels with a white background have an attribute of "no object", and pixels with a T displayed on a white background are pixels with an attribute of "character". Further, the pixel whose attribute is "edge" is a pixel in which T is displayed on the color background.

マスクパターンとして、注目画素A0の上下左右に隣接画素Aiがあることから、文字の総ての方向のエッジについてエッジが検出され、属性がエッジとして変更されている。 As the mask pattern, since there are adjacent pixels Ai on the top, bottom, left, and right of the pixel A0 of interest, edges are detected for edges in all directions of the character, and the attributes are changed as edges.

このように、各ケース(ユーザ設定部(ドライバー・オペレーションパネル)にて選択できるケース)に対してあらかじめ注目画素と隣接画素の属性の関係より注目画素の属性をエッジ属性に変更する条件を内部的に保持しておき、色情報を含む属性ビットマップ生成部で得られた属性ビットマップデータから注目画素と隣接画素の属性がユーザ設定部で設定された条件に一致するか否かを判定し、条件に一致する場合には、注目画素の属性をエッジ属性に変更することができる。 In this way, for each case (case that can be selected in the user setting unit (driver / operation panel)), the condition for changing the attribute of the pixel of interest to the edge attribute is internally based on the relationship between the attributes of the pixel of interest and the adjacent pixel. It is determined from the attribute bitmap data obtained by the attribute bitmap generation unit including the color information whether or not the attributes of the pixel of interest and the adjacent pixel match the conditions set by the user setting unit. If the conditions are met, the attribute of the pixel of interest can be changed to the edge attribute.

また、注目画素と隣接画素との属性より、注目画素の属性をエッジの属性に置き換える(変更する)条件として、注目画素と隣接画素との属性は異なっていても、属性が異なっている両画素ともに連続してエッジ属性として生成されないとしてもよい。 In addition, as a condition for replacing (changing) the attribute of the pixel of interest with the attribute of the edge from the attributes of the pixel of interest and the adjacent pixel, both pixels having different attributes even if the attributes of the pixel of interest and the adjacent pixel are different. Both may not be continuously generated as edge attributes.

具体的には、属性が変わったことにより、エッジ属性と判定される場合に、連続する画素をエッジの属性に置き換えないことにより、エッジの属性が連続しない処理となる。こうすることで、エッジ属性が連続するといったことを防ぐことが可能となる。 Specifically, when it is determined that the edge attribute is due to the change of the attribute, the edge attribute is not continuous by not replacing the continuous pixel with the edge attribute. By doing so, it is possible to prevent the edge attributes from being continuous.

また、この場合に、エッジ属性に変更するオブジェクトの種類の優先度を決めても良い。例えば、文字とベクタとの境目の場合は、文字の画素をエッジ属性に変更し、ベクタの画素についてはそのままとしてもよい。 Further, in this case, the priority of the type of the object to be changed to the edge attribute may be determined. For example, in the case of the boundary between the character and the vector, the pixel of the character may be changed to the edge attribute, and the pixel of the vector may be left as it is.

また、注目画素と隣接画素との属性より注目画素の属性をエッジの属性に変更する条件として、ラスタはエッジ属性としないこととしてもよい。すなわち、属性条件の注目画素には、文字とベクタだけが設定され、ラスタは設定されない。これにより、ラスタはエッジとならず、文字とベクタだけがエッジとなる。 Further, as a condition for changing the attribute of the pixel of interest to the attribute of the edge rather than the attribute of the pixel of interest and the adjacent pixel, the raster may not be the edge attribute. That is, only characters and vectors are set for the pixel of interest of the attribute condition, and the raster is not set. As a result, the raster is not an edge, only the characters and the vector are edges.

また、エッジ属性への変更はカラー・モノクロ全領域を変更するかモノクロ領域のみ変更するかを切り替える仕組みを持つことになる。 In addition, the change to the edge attribute has a mechanism for switching whether to change the entire color / monochrome area or only the monochrome area.

また、エッジ属性はエッジに適した画像処理(スクリーン・γ・フィルター処理)を実施することができる。 In addition, the edge attribute can be subjected to image processing (screen, γ, filter processing) suitable for the edge.

また、エッジ属性の画像処理は数段階のレベルをもっており、よりエッジに適した画像処理より、通常処理とあまり差異がない画像処理まで色補正、γ、フィルター、スクリーンの処理レベルを調整することができる。 In addition, the image processing of edge attributes has several levels, and it is possible to adjust the color correction, γ, filter, and screen processing levels from image processing that is more suitable for edges to image processing that is not much different from normal processing. it can.

[4.第4実施形態]
つづいて、第4実施形態について説明する。第4実施形態は、第1(2)実施形態と、第3実施形態とを組み合わせて処理する場合の実施形態である。
[4. Fourth Embodiment]
Next, the fourth embodiment will be described. The fourth embodiment is an embodiment in which the first (2) embodiment and the third embodiment are combined and processed.

この場合、図22に示すように、ユーザ設定部としては、両方の設定を行うことが可能となる。 In this case, as shown in FIG. 22, the user setting unit can make both settings.

また、動作処理としては、図23のような処理となる。この場合、第1実施形態の画像置き換え判定部210、画像置き換え処理部220を実行した後に画像エッジ判定部212、属性変換処理部214を実行する。 Further, the operation process is as shown in FIG. 23. In this case, after executing the image replacement determination unit 210 and the image replacement processing unit 220 of the first embodiment, the image edge determination unit 212 and the attribute conversion processing unit 214 are executed.

すなわち、膨張・収縮処理を実行後に、イメージエンハンスメント処理を実行する事が必要となる。これは、膨張・収縮により、注目画素A0の属性が置き換わることにより、画像エッジ判定部212での処理結果が変わってしまうためである。 That is, it is necessary to execute the image enhancement process after executing the expansion / contraction process. This is because the processing result of the image edge determination unit 212 changes due to the replacement of the attributes of the pixel of interest A0 due to expansion and contraction.

このように、膨張・収縮処理及びエッジ属性に変更する処理を共に実施する場合、膨張・収縮処理を一旦実施後、あらためて注目画素と隣接画素との比較をし、条件に一致する場合には、注目画素をエッジの属性に変更することになる。 In this way, when both the expansion / contraction processing and the processing for changing to the edge attribute are performed, after the expansion / contraction processing is performed once, the pixel of interest and the adjacent pixel are compared again, and if the conditions are met, The pixel of interest will be changed to the edge attribute.

[5.変形例]
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も特許請求の範囲に含まれる。
[5. Modification example]
Although the embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and the design and the like within a range not deviating from the gist of the present invention are also within the scope of claims. include.

また、上述した実施形態では、本発明の画像処理装置を、デジタル複合機等の画像形成装置に適用した場合について説明したが、それ以外の装置であっても適用可能なことは勿論である。例えば、プリンタ、FAXといった画像形成装置だけでなく、表示ディスプレイ、プロジェクタといった装置や、スマートフォン等の携帯端末装置における表示方法において適用されても良いことは勿論である。 Further, in the above-described embodiment, the case where the image processing apparatus of the present invention is applied to an image forming apparatus such as a digital multifunction device has been described, but it goes without saying that other devices can also be applied. For example, it is needless to say that it may be applied not only to an image forming device such as a printer or a fax machine but also to a display method in a device such as a display display or a projector or a mobile terminal device such as a smartphone.

また、上述した実施形態では、ユーザが設定して、膨張・収縮・エッジ判定により、画像処理の変更を実施しているが、予め工場出荷時に、一部のモードや、一部の属性について、処理を実行してもよい。例えば白抜き文字はデフォルトモードより膨張させておくといった処理を実行しても良い。 Further, in the above-described embodiment, the image processing is changed by the expansion / contraction / edge determination set by the user, but at the time of shipment from the factory, some modes and some attributes may be changed in advance. The process may be executed. For example, outline characters may be expanded from the default mode.

また、実施形態において各装置で動作するプログラムは、上述した実施形態の機能を実現するように、CPU等を制御するプログラム(コンピュータを機能させるプログラム)である。そして、これら装置で取り扱われる情報は、その処理時に一時的に一時記憶装置(例えば、RAM)に蓄積され、その後、各種ROMやHDD、SSDの記憶装置に格納され、必要に応じてCPUによって読み出し、修正・書き込みが行なわれる。 Further, the program that operates in each device in the embodiment is a program that controls a CPU or the like (a program that causes a computer to function) so as to realize the functions of the above-described embodiment. Then, the information handled by these devices is temporarily stored in a temporary storage device (for example, RAM) at the time of processing, then stored in various ROM, HDD, and SSD storage devices, and read by the CPU as needed. , Correction / writing is performed.

また、市場に流通させる場合には、可搬型の記録媒体にプログラムを格納して流通させたり、インターネット等のネットワークを介して接続されたサーバコンピュータに転送したりすることができる。この場合、サーバコンピュータの記憶装置も本発明に含まれるのは勿論である。 Further, in the case of distribution to the market, the program can be stored and distributed in a portable recording medium, or transferred to a server computer connected via a network such as the Internet. In this case, it goes without saying that the storage device of the server computer is also included in the present invention.

1 画像形成装置
1000 制御部
1100 PDLインタプリタ部
110 入力インタフェース部
120 受信バッファ部
130 コマンド解析部
140 中間データ生成部
150 ビットマップ生成部
160 属性ビットマップ生成部
1200 画像制御部
210 画像置き換え判定部
220 画像置き換え処理部
230 ビットマップデータ圧縮部
240 画像保存処理部
1300 印刷制御部
310 画像読み出し部
320 ビットマップ伸張部
330 色変換/γ/フィルター/スクリーン処理部
340 印刷処理部
1400 画像入力部
1500 画像形成部
1600 記憶部
1610 ユーザ設定情報
1620 属性条件設定テーブル
1700 操作表示部
1800 通信部
1 Image forming device 1000 Control unit 1100 PDL interpreter unit 110 Input interface unit 120 Receive buffer unit 130 Command analysis unit 140 Intermediate data generation unit 150 Bitmap generation unit 160 Attribute bitmap generation unit 1200 Image control unit 210 Image replacement judgment unit 220 Image Replacement processing unit 230 Bitmap data compression unit 240 Image storage processing unit 1300 Print control unit 310 Image reading unit 320 Bitmap expansion unit 330 Color conversion / γ / filter / screen processing unit 340 Print processing unit 1400 Image input unit 1500 Image forming unit 1600 Storage unit 1610 User setting information 1620 Attribute condition setting table 1700 Operation display unit 1800 Communication unit

Claims (14)

画像データに画像処理を実行する画像処理手段を有する画像処理装置において、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶手段と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成手段と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定手段と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定手段と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える置き換え手段と、
前記注目画素及び前記隣接画素の属性がラスタであるか否かを判定する第3判定手段と、
を備え
前記置き換え手段は、前記第3判定手段により、前記注目画素及び前記隣接画素の属性がラスタであると判定された場合には、前記注目画素及び前記隣接画素の画素値に基づいて前記注目画素の画素値を、当該隣接画素の画素値に置き換えることを特徴とする画像処理装置。
In an image processing apparatus having an image processing means for executing image processing on image data,
A storage means for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel.
An attribute bitmap generating means for generating an attribute bitmap indicating the type of the object included in the image data for each pixel, and
A first determination means for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second determination means for determining
When the attribute of the adjacent pixel is included in the attribute condition as the second pixel, the replacement means for replacing the attribute and the pixel value of the pixel of interest with the attribute and the pixel value of the adjacent pixel.
A third determination means for determining whether or not the attributes of the pixel of interest and the adjacent pixel are rasters,
Equipped with a,
When the third determination means determines that the attributes of the attention pixel and the adjacent pixel are rasters, the replacement means of the attention pixel is based on the pixel values of the attention pixel and the adjacent pixel. An image processing device characterized in that a pixel value is replaced with a pixel value of the adjacent pixel.
前記記憶手段は、前記属性条件テーブルを、ユーザ設定毎に記憶しており、
ユーザにより画像処理を設定する設定手段と、
前記設定された画像処理に応じて、前記属性条件を読み出す属性条件読み出し手段と、
を更に備えることを特徴とする請求項1に記載の画像処理装置。
The storage means stores the attribute condition table for each user setting.
Setting means for setting image processing by the user,
An attribute condition reading means for reading the attribute condition according to the set image processing, and an attribute condition reading means.
The image processing apparatus according to claim 1, further comprising.
前記画像処理は、前記画像データに含まれるオブジェクトを膨張又は収縮する処理であることを特徴とする請求項1又は2に記載の画像処理装置。 The image processing apparatus according to claim 1 or 2, wherein the image processing is a process of expanding or contracting an object included in the image data. 前記隣接画素は、前記注目画素の走査方向へ隣接する画素であることを特徴とする請求項1から3の何れか一項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 3, wherein the adjacent pixel is a pixel adjacent to the pixel of interest in the scanning direction. 前記属性には優先順位が予め設定されており、
前記置き換え手段は、前記注目画素の属性より前記隣接画素の属性の方が優先順位が高い場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換えることを特徴とする請求項1から4の何れか一項に記載の画像処理装置。
The priority is set in advance for the attribute,
The replacement means is characterized in that when the attribute of the adjacent pixel has a higher priority than the attribute of the pixel of interest, the attribute and the pixel value of the pixel of interest are replaced with the attribute and the pixel value of the adjacent pixel. The image processing apparatus according to any one of claims 1 to 4.
前記置き換え手段は、
画像データがRGB形式においては、
膨張処理の場合は、隣接画素の画素値の最小値が、注目画素の画素値よりも小さい場合には、隣接画素の最小画素値で注目画素の画素値に置き換え、
収縮処理の場合は、隣接画素の画素値の最大値が、注目画素の画素値よりも大きい場合には、隣接画素の最大画素値で注目画素の画素値に置き換え、
また、画像データがCMYK形式においては、
膨張処理の場合は、隣接画素の画素値の最大値が、注目画素の画素値よりも大きい場合には、隣接画素の最大画素値で注目画素の画素値に置き換え、
収縮処理の場合は、隣接画素の画素値の最小値が、注目画素の画素値よりも小さい場合
には、隣接画素の最小画素値で注目画素の画素値に置き換える、
ことを特徴とする請求項に記載の画像処理装置。
The replacement means
When the image data is in RGB format,
In the case of expansion processing, when the minimum value of the pixel value of the adjacent pixel is smaller than the pixel value of the pixel of interest, the minimum pixel value of the adjacent pixel is replaced with the pixel value of the pixel of interest.
In the case of shrinkage processing, when the maximum value of the pixel value of the adjacent pixel is larger than the pixel value of the pixel of interest, the maximum pixel value of the adjacent pixel is replaced with the pixel value of the pixel of interest.
In addition, when the image data is in CMYK format,
In the case of expansion processing, when the maximum value of the pixel value of the adjacent pixel is larger than the pixel value of the pixel of interest, the maximum pixel value of the adjacent pixel is replaced with the pixel value of the pixel of interest.
In the case of shrinkage processing, when the minimum value of the pixel value of the adjacent pixel is smaller than the pixel value of the pixel of interest, the minimum pixel value of the adjacent pixel is replaced with the pixel value of the pixel of interest.
The image processing apparatus according to claim 1.
画像データに画像処理を実行する画像処理手段を有する画像処理装置において、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶手段と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成手段と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定手段と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定手段と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性を、エッジの属性に置き換える置き換え手段と、
を備え、
前記置き換え手段は、画像データがRGB形式においては、
前記注目画素の画素値が、所定の閾値以上の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止し、
画像データがCMYK形式においては、
前記注目画素の画素値が、所定の閾値以下の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止する、
ことを特徴とする画像処理装置。
In an image processing apparatus having an image processing means for executing image processing on image data,
A storage means for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel.
An attribute bitmap generating means for generating an attribute bitmap indicating the type of the object included in the image data for each pixel, and
A first determination means for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second determination means for determining
When the attribute of the adjacent pixel is included in the attribute condition as the second pixel, the replacement means for replacing the attribute of the pixel of interest with the attribute of the edge,
With
In the replacement means, when the image data is in RGB format,
When the pixel value of the pixel of interest is equal to or greater than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
When the image data is in CMYK format,
When the pixel value of the pixel of interest is equal to or less than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
An image processing device characterized by this.
前記属性ビットマップには、属性に加えて、色情報が含まれることを特徴とする請求項に記載の画像処理装置。 The image processing apparatus according to claim 7 , wherein the attribute bitmap includes color information in addition to the attributes. 前記第1の画素の属性は、ラスタ以外の属性であることを特徴とする請求項に記載の画像処理装置。 The image processing apparatus according to claim 7 , wherein the attribute of the first pixel is an attribute other than the raster. 前記属性条件は、カラー・モノクロ全領域と、モノクロ領域のみとで、切り替えることが可能な属性条件切替え手段を更に有することを特徴とする請求項7から9の何れか一項に記載の画像処理装置。 The image processing according to any one of claims 7 to 9 , wherein the attribute condition further includes an attribute condition switching means capable of switching between the entire color / monochrome area and only the monochrome area. apparatus. 画像データに画像処理を実行する画像処理機能を実現するコンピュータに、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶機能と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成機能と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定機能と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定機能と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える置き換え機能と、
前記注目画素及び前記隣接画素の属性がラスタであるか否かを判定する第3判定機能と、
前記置き換え機能は、前記第3判定機能により、前記注目画素及び前記隣接画素の属性がラスタであると判定された場合には、前記注目画素及び前記隣接画素の画素値に基づいて前記注目画素の画素値を、当該隣接画素の画素値に置き換えることを特徴とするプログラム。
For computers that realize image processing functions that perform image processing on image data
A storage function that stores an attribute condition table that stores the attributes of the second pixel as attribute conditions in association with the attributes of the first pixel,
An attribute bitmap generation function that generates an attribute bitmap that indicates the type of object included in the image data for each pixel, and
A first determination function for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment function to judge
A replacement function that replaces the attribute and pixel value of the pixel of interest with the attribute and pixel value of the adjacent pixel when the attribute of the adjacent pixel is included in the attribute condition as the second pixel.
A third determination function for determining whether or not the attributes of the pixel of interest and the adjacent pixel are rasters, and
When the third determination function determines that the attributes of the attention pixel and the adjacent pixel are rasters, the replacement function of the attention pixel is based on the pixel values of the attention pixel and the adjacent pixel. A program characterized by replacing a pixel value with a pixel value of the adjacent pixel.
画像データに画像処理を実行する画像処理機能を実現するコンピュータに、
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶機能と、
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成機能と、
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定機能と、
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定機能と、
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性を、エッジの属性に置き換える置き換え機能と、
を実現させるためのプログラムであって、
前記置き換え機能は、画像データがRGB形式においては、
前記注目画素の画素値が、所定の閾値以上の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止し、
画像データがCMYK形式においては、
前記注目画素の画素値が、所定の閾値以下の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止する、
ことを特徴とするプログラム。
For computers that realize image processing functions that perform image processing on image data
A storage function that stores an attribute condition table that stores the attributes of the second pixel as attribute conditions in association with the attributes of the first pixel,
An attribute bitmap generation function that generates an attribute bitmap that indicates the type of object included in the image data for each pixel, and
A first determination function for determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment function to judge
A replacement function that replaces the attribute of the pixel of interest with the attribute of the edge when the attribute of the adjacent pixel is included in the attribute condition as the second pixel.
A program for realizing a
The replacement function is used when the image data is in RGB format.
When the pixel value of the pixel of interest is equal to or greater than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
When the image data is in CMYK format,
When the pixel value of the pixel of interest is equal to or less than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
A program characterized by that.
画像データに画像処理を実行する画像処理ステップを含む画像処理方法において、In an image processing method that includes an image processing step that executes image processing on image data,
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶ステップと、A storage step for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel, and a storage step.
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成ステップと、An attribute bitmap generation step that generates an attribute bitmap that indicates the attribute indicating the type of the object included in the image data for each pixel, and
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定ステップと、The first determination step of determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定ステップと、When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment step to judge
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性及び画素値を、当該隣接画素の属性及び画素値に置き換える第1置き換えステップと、When the attribute of the adjacent pixel is included in the attribute condition as the second pixel, the first replacement step of replacing the attribute and the pixel value of the pixel of interest with the attribute and the pixel value of the adjacent pixel,
前記注目画素及び前記隣接画素の属性がラスタであるか否かを判定する第3判定ステップと、A third determination step for determining whether or not the attributes of the pixel of interest and the adjacent pixel are rasters, and
前記第3判定ステップにより、前記注目画素及び前記隣接画素の属性がラスタであると判定された場合には、前記注目画素及び前記隣接画素の画素値に基づいて前記注目画素の画素値を、当該隣接画素の画素値に置き換える第2置き換えステップと、When it is determined by the third determination step that the attributes of the pixel of interest and the adjacent pixel are rasters, the pixel value of the pixel of interest is determined based on the pixel values of the pixel of interest and the adjacent pixel. The second replacement step of replacing with the pixel value of the adjacent pixel,
を含むことを特徴とする画像処理方法。An image processing method comprising.
画像データに画像処理を実行する画像処理ステップを含む画像処理方法において、In an image processing method that includes an image processing step that executes image processing on image data,
第1の画素の属性に対応づけて、第2の画素の属性を属性条件として記憶する属性条件テーブルを記憶する記憶ステップと、A storage step for storing an attribute condition table that stores the attribute of the second pixel as an attribute condition in association with the attribute of the first pixel, and a storage step.
前記画像データに含まれるオブジェクトの種類を示す属性を画素毎に示す属性ビットマップを生成する属性ビットマップ生成ステップと、An attribute bitmap generation step that generates an attribute bitmap that indicates the attribute indicating the type of the object included in the image data for each pixel, and
注目画素の属性が、前記第1の画素として属性条件に含まれているか否かを判定する第1判定ステップと、The first determination step of determining whether or not the attribute of the pixel of interest is included in the attribute condition as the first pixel, and
前記注目画素の属性が、前記第1の画素として属性条件に含まれている場合に、前記注目画素に隣接する隣接画素の属性が、前記第2の画素として属性条件に含まれているか否かを判定する第2判定ステップと、When the attribute of the pixel of interest is included in the attribute condition as the first pixel, whether or not the attribute of the adjacent pixel adjacent to the pixel of interest is included in the attribute condition as the second pixel. The second judgment step to judge
前記隣接画素の属性が、前記第2の画素として属性条件に含まれている場合に、前記注目画素の属性を、エッジの属性に置き換える置き換えステップと、A replacement step of replacing the attribute of the pixel of interest with the attribute of the edge when the attribute of the adjacent pixel is included in the attribute condition as the second pixel.
を含み、Including
前記置き換えステップは、画像データがRGB形式においては、In the replacement step, when the image data is in RGB format,
前記注目画素の画素値が、所定の閾値以上の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止し、When the pixel value of the pixel of interest is equal to or greater than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
画像データがCMYK形式においては、When the image data is in CMYK format,
前記注目画素の画素値が、所定の閾値以下の場合に、当該注目画素の属性を、エッジの属性に置き換えることを中止する、When the pixel value of the pixel of interest is equal to or less than a predetermined threshold value, the replacement of the attribute of the pixel of interest with the attribute of the edge is stopped.
ことを特徴とする画像処理方法。An image processing method characterized by that.
JP2017076944A 2017-04-07 2017-04-07 Image processing equipment, programs and image processing methods Active JP6882043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017076944A JP6882043B2 (en) 2017-04-07 2017-04-07 Image processing equipment, programs and image processing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017076944A JP6882043B2 (en) 2017-04-07 2017-04-07 Image processing equipment, programs and image processing methods

Publications (2)

Publication Number Publication Date
JP2018182464A JP2018182464A (en) 2018-11-15
JP6882043B2 true JP6882043B2 (en) 2021-06-02

Family

ID=64277082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017076944A Active JP6882043B2 (en) 2017-04-07 2017-04-07 Image processing equipment, programs and image processing methods

Country Status (1)

Country Link
JP (1) JP6882043B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210058855A (en) 2018-09-27 2021-05-24 스미또모 덴꼬오 하드메탈 가부시끼가이샤 Cubic boron nitride polycrystal and method for producing same
JP7277238B2 (en) * 2019-04-18 2023-05-18 キヤノン株式会社 image forming device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3915795B2 (en) * 2004-03-29 2007-05-16 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus and image processing program
JP5218768B2 (en) * 2009-02-16 2013-06-26 富士ゼロックス株式会社 Image processing apparatus and program
JP5409137B2 (en) * 2009-06-19 2014-02-05 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP2012121265A (en) * 2010-12-09 2012-06-28 Canon Inc Image forming apparatus and control method thereof
JP5630338B2 (en) * 2011-03-10 2014-11-26 セイコーエプソン株式会社 Printing device
JP2013110491A (en) * 2011-11-18 2013-06-06 Seiko Epson Corp Image processing device, image processing method, and image processing program
JP6489761B2 (en) * 2014-05-14 2019-03-27 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6516224B2 (en) * 2015-09-02 2019-05-22 シャープ株式会社 IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP2018182464A (en) 2018-11-15

Similar Documents

Publication Publication Date Title
JP6353271B2 (en) Image processing apparatus and method
US9036199B2 (en) Image processing apparatus for performing color matching processing, image processing method, and computer-readable medium
US8384964B2 (en) Image processing apparatus and image processing method
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP5525548B2 (en) Image processing system for processing digital image and image processing method for processing digital image
US11272074B2 (en) System, method, and storage medium for converting low-resolution image data into high-resolution image data using neural network
US10841457B2 (en) Image forming apparatus with density correction and edge smoothing, method, and storage medium storing program to perform the method
JP6840884B2 (en) Image processing system and image processing method
US10373030B2 (en) Image processing apparatus that executes halftone process on target image data including edge pixel
US10592766B2 (en) Image processing apparatus and medium storing program executable by image processing apparatus
JP2015173419A (en) Image processing device, control method of the same and program
JP6882043B2 (en) Image processing equipment, programs and image processing methods
JP4908382B2 (en) Image processing apparatus and image processing method
JP2004104735A (en) Image processor, generating device and printing device
US10872216B2 (en) Image output device, image output method, and output image data production method
JP2019134232A (en) Image formation device, and method and program for the device
US8830509B2 (en) Image processing apparatus, method, and medium for performing density adjustment
JP2017132095A (en) Printing device, printing method and program
JP4697933B2 (en) Image processing apparatus, image input / output apparatus and methods thereof
JP5990217B2 (en) Image processing apparatus, image forming apparatus, and control method thereof
JP5090969B2 (en) Image processing device
US20110158531A1 (en) Image processing apparatus and control method thereof
JP4974072B2 (en) Image processing device
US20180359388A1 (en) Image processing apparatus and image processing method
JP2023037968A (en) Image processing apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200325

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210322

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210506

R150 Certificate of patent or registration of utility model

Ref document number: 6882043

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150