JP2014110588A - Image processing apparatus, image forming apparatus and program - Google Patents
Image processing apparatus, image forming apparatus and program Download PDFInfo
- Publication number
- JP2014110588A JP2014110588A JP2012265084A JP2012265084A JP2014110588A JP 2014110588 A JP2014110588 A JP 2014110588A JP 2012265084 A JP2012265084 A JP 2012265084A JP 2012265084 A JP2012265084 A JP 2012265084A JP 2014110588 A JP2014110588 A JP 2014110588A
- Authority
- JP
- Japan
- Prior art keywords
- binary image
- image information
- image
- unit
- halftone dot
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color, Gradation (AREA)
Abstract
Description
本発明は、画像処理装置、画像形成装置、プログラムに関する。 The present invention relates to an image processing apparatus, an image forming apparatus, and a program.
例えば、電子写真方式やインクジェット方式等を用いた複写機やプリンタ等の画像形成装置においては、入力された画像データに種々の画像処理を施した後、出力装置によって出力する。 For example, in an image forming apparatus such as a copying machine or a printer using an electrophotographic system or an ink jet system, the input image data is subjected to various image processing and then output by an output device.
特許文献1には、2値画像データを受け取り、この2値画像データを基に多値画像データを生成し、この多値画像データに対して色補正を施した色補正画像データを生成し、2値画像データにおける注目画素の値と、注目画素に隣接する画素の値とに基づいて、2値画像データまたは色補正画像データに誤差拡散を施して2値化した再2値化画像データのいずれを出力するか選択し、選択結果に従って、2値画像データまたは再2値化画像データのいずれかを出力する画像処理装置が開示されている。
例えば、外部装置により作成された二値画像の二値画像情報を取得し、この二値画像情報を階調補正して出力する画像処理装置では、階調補正後の出力二値画像情報により形成される画像の画質の劣化をより少なくすることが望ましい。 For example, in an image processing apparatus that acquires binary image information of a binary image created by an external device and outputs the binary image information after gradation correction, the binary image information is formed by the output binary image information after gradation correction. It is desirable to reduce the degradation of the image quality of the image to be generated.
請求項1に記載の発明は、二値画像の画像情報である入力二値画像情報を取得する画像情報取得部と、前記画像情報取得部によって取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する分離部と、前記画像情報取得部によって取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する平滑化処理部と、前記平滑化処理部により生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する階調補正量取得部と、前記階調補正量取得部により取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する二値画像生成部と、前記分離部により網点領域とされた画像領域では、前記二値画像生成部により生成された後の新たな二値画像情報を選択し、当該分離部により非網点領域とされた画像領域では、前記画像情報取得部により取得された前記入力二値画像情報を選択して出力二値画像情報とする選択部と、を備えることを特徴とする画像処理装置である。
The invention according to
請求項2に記載の発明は、前記二値画像生成部は、前記誤差拡散処理において生ずる誤差を、前記非網点領域の場合は0とすることを特徴とする請求項1に記載の画像処理装置である。
請求項3に記載の発明は、前記二値画像生成部は、選択される注目画素の画素値についての前記階調補正量に対し前記誤差拡散処理を行い、当該誤差拡散処理の結果により当該注目画素の画素値を変更するか否かを判定し、当該注目画素の画素値を変更すると判定されるとともに予め定められた条件を満たしたときに画素の画素値を変更し、予め定められた条件を満たさないときは判定の結果に拘わらず画素の画素値は変更しないことを特徴とする請求項1または2に記載の画像処理装置である。
請求項4に記載の発明は、前記予め定められた条件は、前記注目画素と前記網点の縁部との距離が予め定められた範囲内であること、であることを特徴とする請求項3に記載の画像処理装置である。
請求項5に記載の発明は、前記予め定められた条件は、前記網点の縁部からの距離に基づき設定された評価値により決められるもの、であることを特徴とする請求項3に記載の画像処理装置である。
請求項6に記載の発明は、前記予め定められた条件は、前記画素値に基づき設定された評価値により決められるもの、であることを特徴とする請求項3に記載の画像処理装置である。
According to a second aspect of the present invention, in the image processing according to the first aspect, the binary image generation unit sets an error generated in the error diffusion process to zero in the case of the non-halftone area. Device.
According to a third aspect of the present invention, the binary image generation unit performs the error diffusion process on the gradation correction amount for the pixel value of the selected target pixel, and the target image is determined based on a result of the error diffusion process. It is determined whether or not to change the pixel value of the pixel, it is determined that the pixel value of the target pixel is changed, and the pixel value of the pixel is changed when a predetermined condition is satisfied. 3. The image processing apparatus according to
The invention according to
The invention according to
The invention according to
請求項7に記載の発明は、二値画像の画像情報である入力二値画像情報を基に階調補正を行ない出力二値画像情報とする画像処理手段と、前記画像処理手段により階調補正された前記出力二値画像情報を基にして画像を形成する画像形成部と、を備え、前記画像処理手段は、前記入力二値画像情報を取得する画像情報取得部と、前記画像情報取得部によって取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する分離部と、前記画像情報取得部によって取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する平滑化処理部と、前記平滑化処理部により生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する階調補正量取得部と、前記階調補正量取得部により取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する二値画像生成部と、前記分離部により網点領域とされた画像領域では、前記二値画像生成部により生成された後の新たな二値画像情報を選択し、当該分離部により非網点領域とされた画像領域では、前記画像情報取得部により取得された前記入力二値画像情報を選択して前記出力二値画像情報とする選択部と、を備えることを特徴とする画像形成装置である。 According to the seventh aspect of the present invention, there is provided image processing means for performing gradation correction based on input binary image information which is image information of a binary image to obtain output binary image information, and gradation correction by the image processing means. An image forming unit that forms an image based on the output binary image information, and the image processing means includes an image information acquiring unit that acquires the input binary image information, and the image information acquiring unit. Based on the input binary image information acquired by the above method, the binary image is a halftone dot region that is an image region formed by halftone dots and a non-halftone dot region that is an image region other than a halftone dot region; Generated by the separation unit, the smoothing processing unit that generates multi-valued image information by smoothing processing based on the input binary image information acquired by the image information acquiring unit, and the smoothing processing unit. Tone correction for multi-valued image information A gradation correction amount acquisition unit for acquiring a gradation correction amount at the time, and error diffusion processing is performed on the gradation correction amount acquired by the gradation correction amount acquisition unit, and based on the result of the error diffusion processing In the binary image generation unit that generates new binary image information and the image region that is the halftone dot region by the separation unit, the new binary image information that has been generated by the binary image generation unit is selected. And a selection unit that selects the input binary image information acquired by the image information acquisition unit and sets it as the output binary image information in an image region that has been made a non-halftone dot region by the separation unit. An image forming apparatus characterized by the above.
請求項8に記載の発明は、コンピュータに、二値画像の画像情報である入力二値画像情報を取得する機能と、取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する機能と、取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する機能と、生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する機能と、取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する機能と、網点領域とされた画像領域では、生成された後の新たな二値画像情報を選択し、非網点領域とされた画像領域では、取得された前記入力二値画像情報を選択して出力二値画像情報とする機能と、を実現させるプログラムである。 According to an eighth aspect of the present invention, the binary image is stored on a computer based on the function of acquiring input binary image information that is image information of a binary image and the acquired input binary image information. A function for separating a halftone dot region, which is an image region where an image is formed by halftone dots, and a non-halftone dot region, which is an image region other than the halftone dot region, and smoothing based on the acquired input binary image information A function for generating multi-value image information by processing, a function for acquiring a tone correction amount when tone correction is performed on the generated multi-value image information, and error diffusion for the acquired tone correction amount A function to generate new binary image information based on the result of the error diffusion process, and in the image area that is the halftone dot area, select the new binary image information after being generated, In an image area that is a non-halftone area, the acquired binary input Is a program for realizing a function of the selected output binary image data of the image information.
請求項1の発明によれば、本発明を採用しない場合に比べ、網点領域では外部装置等により二値画像となる前の多値画像の階調に近い階調に基づき階調補正を行なうことができるとともに、非網点領域では、出力二値画像情報により形成される画像の画質の劣化をより少なくすることができる。
請求項2の発明によれば、本発明を採用しない場合に比べ、出力二値画像情報により形成される画像にかぶりや抜けが生じる現象を抑制することができる。
請求項3の発明によれば、本発明を採用しない場合に比べ、入力二値画像情報の網点情報をより保存しやすくなる。
請求項4の発明によれば、本発明を採用しない場合に比べ、入力二値画像情報の網点の構造をより保存しやすくなる。
請求項5の発明によれば、本発明を採用しない場合に比べ、入力二値画像情報の網点の構造をより保存しやすくなる。
請求項6の発明によれば、本発明を採用しない場合に比べ、濃度を上げる階調補正のとき、白の画素の画素値が変更され易くなるとともに黒の画素の画素値が変更されにくくなり、濃度を下げる階調補正のとき、黒の画素の画素値が変更され易くなるとともに白の画素の画素値が変更されにくくなる。
請求項7の発明によれば、本発明を採用しない場合に比べ、より良好な画像を形成することができる画像形成装置が提供できる。
請求項8の発明によれば、本発明を採用しない場合に比べ、網点領域では外部装置等により二値画像となる前の多値画像の階調に近い階調に基づき階調補正を行なうことができるとともに、非網点領域では、出力二値画像情報により形成される画像の画質の劣化をより少なくすることができる機能をコンピュータにより実現できる。
According to the first aspect of the invention, compared with the case where the present invention is not adopted, gradation correction is performed in the halftone dot region based on the gradation close to the gradation of the multi-value image before the binary image is formed by an external device or the like. In addition, in the non-halftone area, it is possible to further reduce the deterioration of the image quality of the image formed by the output binary image information.
According to the second aspect of the present invention, compared to the case where the present invention is not adopted, it is possible to suppress a phenomenon in which fogging or omission occurs in an image formed by output binary image information.
According to the third aspect of the present invention, the halftone dot information of the input binary image information can be stored more easily than when the present invention is not adopted.
According to the fourth aspect of the present invention, the halftone dot structure of the input binary image information can be more easily preserved than when the present invention is not adopted.
According to the invention of
According to the sixth aspect of the present invention, the pixel value of the white pixel is easily changed and the pixel value of the black pixel is not easily changed during the gradation correction for increasing the density, compared to the case where the present invention is not adopted. In the gradation correction for reducing the density, the pixel value of the black pixel is easily changed and the pixel value of the white pixel is hardly changed.
According to the seventh aspect of the present invention, it is possible to provide an image forming apparatus capable of forming a better image than when the present invention is not adopted.
According to the invention of
<画像形成装置の全体構成の説明>
以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
図1は、本実施の形態の画像形成装置1の概要を示す図である。
この画像形成装置1は、例えば電子写真方式にて各色成分トナー像が形成される複数(本実施の形態では4つ)の画像形成ユニット10(具体的には10Y(イエロー)、10M(マゼンタ)、10C(シアン)、10K(黒))を備える。また、この画像形成装置1は、各画像形成ユニット10で形成された各色成分トナー像を順次転写(一次転写)保持させる中間転写ベルト20を具備する。さらに、この画像形成装置1は、中間転写ベルト20に転写されたトナー像を用紙Pに一括転写(二次転写)させる二次転写装置30を備える。さらにまた、この画像形成装置1は、二次転写されたトナー像を用紙P上に定着させる定着装置50、および画像形成装置1の各機構部を制御する制御部70を有している。なお本実施の形態において画像形成ユニット10、中間転写ベルト20、二次転写装置30、および定着装置50は、画像を形成する画像形成部として機能し、詳しくは後述するが、制御部70は、画像処理手段(画像処理装置)として機能する。
<Description of Overall Configuration of Image Forming Apparatus>
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
FIG. 1 is a diagram showing an outline of an
The
各画像形成ユニット10(10Y、10M、10C、10K)は、使用されるトナーの色を除き、同じ構成を有している。そこで、イエローの画像形成ユニット10Yを例に説明を行う。イエローの画像形成ユニット10Yは、図示しない感光層を有し、矢印A方向に回転可能に配設される感光体ドラム11を具備している。この感光体ドラム11の周囲には、帯電ロール12、露光部13、現像器14、一次転写ロール15、およびドラムクリーナ16が配設される。これらのうち、帯電ロール12は、回転可能に感光体ドラム11に接触配置され、感光体ドラム11を予め定められた電位に帯電する。露光部13は、帯電ロール12によって予め定められた電位に帯電された感光体ドラム11に、レーザ光Bmによって静電潜像を書き込む。現像器14は、対応する色成分トナー(イエローの画像形成ユニット10Yではイエローのトナー)を収容し、このトナーによって感光体ドラム11上の静電潜像を現像する。一次転写ロール15は、感光体ドラム11上に形成されたトナー像を中間転写ベルト20に一次転写する。ドラムクリーナ16は、一次転写後の感光体ドラム11上の残留物(トナー等)を除去する。
Each image forming unit 10 (10Y, 10M, 10C, 10K) has the same configuration except for the color of the toner used. Therefore, the yellow
中間転写ベルト20は、複数(本実施の形態では5つ)の支持ロールに回転可能に張架支持される。これらの支持ロールのうち、駆動ロール21は、中間転写ベルト20を張架するとともに中間転写ベルト20を駆動して回転させる。また、張架ロール22および25は、中間転写ベルト20を張架するとともに駆動ロール21によって駆動される中間転写ベルト20に従がって回転する。補正ロール23は、中間転写ベルト20を張架するとともに中間転写ベルト20の搬送方向に略直交する方向の蛇行を規制するステアリングロール(軸方向一端部を支点として傾動自在に配設される)として機能する。さらに、バックアップロール24は、中間転写ベルト20を張架するとともに後述する二次転写装置30の構成部材として機能する。
また、中間転写ベルト20を挟んで駆動ロール21と対向する部位には、二次転写後の中間転写ベルト20上の残留物(トナー等)を除去するベルトクリーナ26が配設されている。そして、中間転写ベルト20には、読み取り手段の一例である濃度検出センサ27が対向配置されている。濃度検出センサ27は、黒の画像形成ユニット10Kに隣接して配置されており、中間転写ベルト20上に一次転写された各色のトナー像を読み取って、その濃度を検知する。
The
Further, a
二次転写装置30は、中間転写ベルト20のトナー像保持面側に圧接配置される二次転写ロール31と、中間転写ベルト20の裏面側に配置されて二次転写ロール31の対向電極をなすバックアップロール24とを備えている。このバックアップロール24には、トナーの帯電極性と同極性の二次転写バイアスを印加する給電ロール32が接触して配置されている。一方、二次転写ロール31は接地されている。
The
また、用紙搬送系は、用紙トレイ40、搬送ロール41、レジストレーションロール42、搬送ベルト43、および排出ロール44を備える。用紙搬送系では、用紙トレイ40に積載された用紙Pを搬送ロール41にて搬送した後、レジストレーションロール42で一旦停止させ、その後予め定められたタイミングで二次転写装置30の二次転写位置へと送り込む。また、二次転写後の用紙Pを、搬送ベルト43を介して定着装置50へと搬送し、定着装置50から排出された用紙Pを排出ロール44によって機外へと送り出す。
The paper transport system includes a
次に、この画像形成装置1の基本的な作像プロセスについて説明する。今、図示外のスタートスイッチがオン操作されると、予め定められた作像プロセスが実行される。具体的に述べると、例えばこの画像形成装置1をプリンタとして構成する場合には、PC(パーソナルコンピュータ)等、外部から入力されるデジタル画像信号をメモリに一時的に蓄積する。そして、メモリに蓄積されている4色(Y色、M色、C色、K色)のデジタル画像信号に基づいて各色のトナー像形成を行う。すなわち、各色のデジタル画像信号に応じて各画像形成ユニット10(具体的には10Y、10M、10C、10K)をそれぞれ駆動する。次に、各画像形成ユニット10では、帯電ロール12により帯電された感光体ドラム11に、露光部13によりデジタル画像信号に応じたレーザ光Bmを照射することで、静電潜像を形成する。そして、感光体ドラム11に形成された静電潜像を現像器14により現像し、各色のトナー像を形成させる。なお、この画像形成装置1を複写機として構成する場合には、図示しない原稿台にセットされる原稿をスキャナで読み取り、得られた読み取り信号を処理回路によりデジタル画像信号に変換した後、上記と同様にして各色のトナー像の形成を行うようにすればよい。
Next, a basic image forming process of the
その後、各感光体ドラム11上に形成されたトナー像は、感光体ドラム11と中間転写ベルト20とが接する一次転写位置で、一次転写ロール15によって中間転写ベルト20の表面に順次一次転写される。一方、一次転写後に感光体ドラム11上に残存するトナーは、ドラムクリーナ16によってクリーニングされる。
Thereafter, the toner images formed on the respective
このようにして中間転写ベルト20に一次転写されたトナー像は中間転写ベルト20上で重ね合わされ、中間転写ベルト20の回転に伴って二次転写位置へと搬送される。一方、用紙Pは予め定められたタイミングで二次転写位置へと搬送され、バックアップロール24に対して二次転写ロール31が用紙Pを挟持する。
The toner image primarily transferred onto the
そして、二次転写位置において、二次転写ロール31とバックアップロール24との間に形成される転写電界の作用で、中間転写ベルト20上に保持されたトナー像が用紙Pに二次転写される。トナー像が転写された用紙Pは、搬送ベルト43により定着装置50へと搬送される。定着装置50では、用紙P上のトナー像が加熱・加圧定着され、その後、機外に設けられた排紙トレイ(図示せず)に送り出される。一方、二次転写後に中間転写ベルト20に残存するトナーは、ベルトクリーナ26によってクリーニングされる。
Then, at the secondary transfer position, the toner image held on the
近年、商業印刷ではデジタル化された印刷原稿を使用し、印刷用の刷版をデジタル製版装置で直接作成するCTP(computer to plate)という方法がとられている。CTPにより印刷用の刷版を作成する場合、ページ記述言語で記述された原稿のデータをRIP(Raster Image Processor)処理により網点成分を有する二値画像データに変換し、この二値画像データから刷版を作成する。このとき原稿の校正を行なうために校正刷りを得るには、RIP処理により二値化されたデータをDDCP(Direct Digital Color Proof)と呼ばれる色校正システムに出力することで行なわれる。しかし、RIP処理により二値化された二値画像データをDDCPのような高価な機械を使用することなく、安価なカラープリンタ等で出力することにより校正刷りを得ることが求められている。 In recent years, in commercial printing, a method called CTP (computer to plate) is used in which a digitized printing original is used and a printing plate for printing is directly created by a digital plate making apparatus. When creating a printing plate for printing by CTP, document data described in a page description language is converted into binary image data having a halftone dot component by RIP (Raster Image Processor) processing, and the binary image data is converted from the binary image data. Create a printing plate. At this time, in order to obtain a proof print in order to proof the original, the data binarized by the RIP process is output to a color proofing system called DDCP (Direct Digital Color Proof). However, there is a need to obtain a proof by outputting binary image data binarized by RIP processing with an inexpensive color printer or the like without using an expensive machine such as DDCP.
ここで従来技術として、二値画像データをディスクリーニングして多値画像データを生成し、その多値画像データを色補正して色補正の前後での差分を計算し色補正量を求め、求めた色補正量を誤差拡散法により処理し、誤差拡散処理の結果により網点画素のエッジ部画素の画素値を変更することにより二値画像を色補正する技術が存在する。 Here, as a conventional technique, binary image data is descreened to generate multi-value image data, the multi-value image data is color-corrected, a difference before and after color correction is calculated, and a color correction amount is obtained and obtained. There is a technique for processing a color correction amount using an error diffusion method and changing the pixel value of an edge pixel of a halftone pixel according to the result of the error diffusion process to correct the color of a binary image.
しかしながら、この方法では、画像中の網点部分も、文字や線などの非網点部分でも同じディスクリーニング処理がおこなわれるため、文字や線がぼけてしまい、これに起因して形成される色補正後の画像の文字や線にぼけが生じたり、太りや細りが生ずることがあった。また、文字や線の周囲で誤差拡散処理により余分な二値化誤差が蓄積することにより、局所的なかぶりや抜けなどのデフェクトが生じてしまうことがあった。 However, with this method, the same descreening process is performed on halftone dots in the image as well as on non-halftone dots such as characters and lines, resulting in blurred characters and lines. In some cases, the characters or lines of the corrected image may be blurred, thickened or thinned. Further, accumulation of extra binarization errors by error diffusion processing around characters and lines may cause defects such as local fogging and omission.
そこで本実施の形態では、制御部70を以下の機能構成とすることで、この問題の抑制を図っている。
Therefore, in this embodiment, the
<制御部70の説明>
[第1の実施の形態]
まず、本実施の形態の制御部70(画像処理装置)の第1の実施の形態について説明する。
図2は、第1の実施の形態における制御部70の機能構成例を示したブロック図である。
図示するように本実施の形態の制御部70は、画像情報取得部71と、分離部72と、平滑化処理部73と、階調補正量取得部74と、階調補正量記憶部75と、二値画像生成部76と、選択部77と、画像情報出力部78とを備える。なお図2では、制御部70が有する種々の機能構成のうち、本実施の形態に関するものを選択して図示している。
<Description of
[First Embodiment]
First, a first embodiment of the control unit 70 (image processing apparatus) according to the present embodiment will be described.
FIG. 2 is a block diagram illustrating a functional configuration example of the
As shown in the figure, the
画像情報取得部71は、外部装置により作成された二値画像の画像情報である二値画像データを入力二値画像データ(入力二値画像情報)として取得する。ここで外部装置は、例えば、上述したデジタル製版装置である。二値画像データは、二値画像を構成する画素の画素値からなるデータである。この場合、画素値は、「0」か「1」の何れで表わされ、画素値が、「0」の場合は、この画素は、白の画素であることを意味し、画素値が、「1」の場合は、この画素は、黒の画素であることを意味する。画像情報取得部71で取得される入力二値画像データは、上述したように外部装置によるRIP処理により二値化されており、網点成分を有している。
The image
分離部72は、画像情報取得部71によって取得された入力二値画像データを基にして、二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する。そして分離部72は、網点領域について、網点領域である旨を示す網点分離信号を生成する。
The
図3は、分離部72が、網点領域と非網点領域とを判別する手順について説明したフローチャートである。
まず分離部72は、入力二値画像データにより形成される二値画像から、網点を構成する画素の候補である網点画素候補を抽出する(ステップ101)。より具体的には、分離部72は、入力二値画像データにより形成される二値画像の中から、網点の中心画素と推定される箇所を抽出する。
次に分離部72は、スクリーン検知を行なう(ステップ102)。より具体的には、ステップ101で抽出された網点画素候補の配列から、スクリーンの角度、大きさを表わすスクリーンベクトルを算出する。
FIG. 3 is a flowchart illustrating a procedure in which the
First, the separating
Next, the
さらに分離部72は、網点画素候補の精査を行ない、ステップ101で抽出された網点を構成する画素の候補が実際に網点を構成する画素であるか否かを判定する(ステップ103)。
そして分離部72は、ステップ103で網点画素と判定された画素を含んだ領域について、網点領域であるか否かを判別し、網点領域と判別した場合は、この領域を網点領域として抽出する(ステップ104)。これにより入力二値画像データにより形成される二値画像は、網点領域と非網点領域とに分離される。
さらに分離部72は、網点領域を構成する画素について、網点領域である旨を示す網点分離信号を付与する(ステップ105)。
Further, the separating
Then, the
Further, the
なお分離部72が網点領域と非網点領域とを判別する方法については、図3に示した方法に限られるものではなく、例えば、入力二値画像データにより形成される二値画像に対し高速フーリエ変換(FFT:Fast Fourier Transform)を行い、周波数領域に変換した結果を利用して網点領域と非網点領域とを判別してもよい。また入力二値画像データにより形成される二値画像に対しパターンマッチングや形状認識を行ない、この結果により網点領域と非網点領域とを判別してもよい。
Note that the method of discriminating the halftone dot region and the non-halftone dot region by the
平滑化処理部73は、画像情報取得部71によって取得された入力二値画像データを基に平滑化処理により多値画像データ(多値画像情報)を生成する。
このとき多値画像データが8ビットで表わされる場合は、平滑化処理した後の多値画像データの画素値は、0〜255の何れかの値で表わされる。そしてこの場合、平滑化処理部73は、画素値が、「0」であった場合は、「0」に、画素値が、「1」であった場合は、「255」とする変換をまず行なった後で、平滑化処理を行なう。これにより中間の階調が生成され、外部装置により二値画像となる前の多値画像の階調をほぼ復元した画像情報が得られる。
The smoothing
At this time, when the multi-value image data is represented by 8 bits, the pixel value of the multi-value image data after the smoothing process is represented by any value from 0 to 255. In this case, the smoothing
本実施の形態では、平滑化処理を行なうのに平滑化フィルタを用いる。平滑化フィルタとしては、例えば平均化フィルタやガウシアンフィルタ等を用いることができる。 In the present embodiment, a smoothing filter is used to perform the smoothing process. As the smoothing filter, for example, an averaging filter, a Gaussian filter, or the like can be used.
階調補正量取得部74は、平滑化処理部73により生成された多値画像データに対し階調補正を行なう際の階調補正量を取得する。階調補正量は、予め測定されており、階調補正量記憶部75に記憶されている。階調補正量取得部74は、この階調補正量を階調補正量記憶部75から取得する。
The gradation correction
階調補正量は、正の整数のみならず負の整数であることもあり、また0である場合もある。階調補正量が正の整数の場合は、階調の値が大きくなり、画素の濃度が上がることを意味する。また階調補正量が負の整数の場合は、階調の値が小さくなり、画素の濃度が下がることを意味する。さらに階調補正量が0の場合は、階調の値は変化せず、画素の濃度が維持されることを意味する。 The gradation correction amount may be a negative integer as well as a positive integer, and may be 0. When the gradation correction amount is a positive integer, it means that the gradation value increases and the pixel density increases. Further, when the gradation correction amount is a negative integer, it means that the gradation value becomes small and the density of the pixel decreases. Further, when the gradation correction amount is 0, it means that the gradation value does not change and the pixel density is maintained.
図4(a)〜(b)は、階調補正量を求める方法について説明した図である。図4(a)において横軸は、入力される画素値であり、縦軸は、出力される濃度の値である。この場合、入力される画素値および出力される濃度は、0〜255の何れかの値となる。 FIGS. 4A to 4B are diagrams illustrating a method for obtaining the gradation correction amount. In FIG. 4A, the horizontal axis is the input pixel value, and the vertical axis is the output density value. In this case, the input pixel value and the output density are any values from 0 to 255.
図4(a)は、入力される画素値(Cin)に対し、出力デバイスが出力する濃度を示している。即ち、出力デバイスの出力濃度特性を表わす。そして図4において、実線は、目標とする出力デバイスの出力濃度特性であり、破線は、実際の出力デバイスの出力濃度特性であるとする。ここで目標とする出力デバイスは、仮想的なものであり、理想的な出力濃度特性を有する。一方、実際の出力デバイスは、例えば、校正刷りを行なうカラープリンタ等であり、例えば、上述した画像形成装置1である。
FIG. 4A shows the density output by the output device for the input pixel value (Cin). That is, it represents the output density characteristic of the output device. In FIG. 4, it is assumed that the solid line is the output density characteristic of the target output device, and the broken line is the output density characteristic of the actual output device. The target output device here is virtual and has ideal output density characteristics. On the other hand, an actual output device is, for example, a color printer that performs proof printing, and is, for example, the
ここで「C1」で示す画素値が入力された場合、目標とする出力デバイスでは、「D1」の濃度が出力される。これに対し実際に使用する出力デバイスでは、「D1」の濃度を出力するためには、「C2」で示す画素値を入力する必要がある。つまりこの場合、「C2−C1」が、入力される画素値が「C1」である場合の階調補正量となる。そしてこのような関係を全ての画素値である0〜255について行う。これによりそれぞれの画素値の値によりそれぞれ決定される階調補正量を求めることができる。
When the pixel value indicated by “C1” is input here, the target output device outputs the density of “D1”. On the other hand, in the output device that is actually used, in order to output the density of “D1”, it is necessary to input the pixel value indicated by “C2”. That is, in this case, “C2-C1” is the gradation correction amount when the input pixel value is “C1”. Such a relationship is performed for all
図4(b)は、図4(a)で説明した方法により求められた階調補正曲線の一例を示している。図4(b)では、階調変換前の画素値(入力値)と階調変換後の画素値(出力値)の関係を示している。そして実線は、階調変換を行なわない場合の階調変換曲線であり、破線は、図4(a)で説明した方法により求められた階調変換を行なう場合の階調変換曲線である。
また図4(c)は、図4(a)で説明した方法により求められた階調補正量の一例を示している。図4(c)において横軸は、入力される画素値(入力値)であり、縦軸は、階調補正量である。ここで例示した出力デバイスにおける階調補正量は、入力される画素値が「0」や「255」のときは、「0」であるが、他の値の場合は、負の値となる。
FIG. 4B shows an example of a gradation correction curve obtained by the method described with reference to FIG. FIG. 4B shows a relationship between a pixel value (input value) before gradation conversion and a pixel value (output value) after gradation conversion. A solid line is a gradation conversion curve when gradation conversion is not performed, and a broken line is a gradation conversion curve when gradation conversion obtained by the method described with reference to FIG.
FIG. 4C shows an example of the gradation correction amount obtained by the method described with reference to FIG. In FIG. 4C, the horizontal axis is the input pixel value (input value), and the vertical axis is the gradation correction amount. The gradation correction amount in the output device exemplified here is “0” when the input pixel value is “0” or “255”, but becomes a negative value in other values.
なお上述した例では、濃度を例に取り、階調補正を行なう場合について説明をしたが、これに限られるものではなく、明度、色度、色差などでも同様の方法を用いることができる。 In the above-described example, the case where gradation correction is performed using density as an example has been described. However, the present invention is not limited to this, and the same method can be used for lightness, chromaticity, color difference, and the like.
二値画像生成部76は、階調補正量取得部74により取得された階調補正量に対し誤差拡散処理を行なう。そして誤差拡散処理の結果に基づいて新たな二値画像データを生成する。
図5は、第1の実施の形態における二値画像生成部76について更に詳しく説明したブロック図である。
図示するように二値画像生成部76は、注目画素選択部761と、画像補正部762と、オンオフ判定部763と、画素値更新部764と、変動算出部765と、二値化誤差算出部766と、誤差記憶部767と、補正算出部768とを備える。
The binary
FIG. 5 is a block diagram illustrating the binary
As illustrated, the binary
また図6は、二値画像生成部76における処理の手順について説明したフローチャートである。
以下、図5および図6を使用して二値画像生成部76の動作について説明を行なう。
まず注目画素選択部761は、予め定められた規則に従い、二値画像を構成する全画素中から注目画素を選択し、この注目画素の画素値を画像情報取得部71から取得する(ステップ201)。
FIG. 6 is a flowchart illustrating a processing procedure in the binary
Hereinafter, the operation of the binary
First, the pixel-of-
注目画素を選択する規則としては、例えば、二値画像の最も左上の画素をまず注目画素として選択し、次に隣接する右側の画素を順に注目画素として選択していく。そして最も右側の画素を選択した後は、最初に選択した最も左上の画素に隣接する下側の画素を選択し、次にこの画素に隣接する右側の画素を順に注目画素として選択していく。以下これを繰り返し、画素を左側から右側、また上側から下側へ走査するように注目画素を選択していく。この場合、画像の最も右下の画素が最後の注目画素として選択される。 As a rule for selecting the target pixel, for example, the upper left pixel of the binary image is first selected as the target pixel, and then the adjacent right pixel is sequentially selected as the target pixel. After selecting the rightmost pixel, the lower pixel adjacent to the first leftmost pixel selected first is selected, and then the right pixel adjacent to this pixel is sequentially selected as the target pixel. Thereafter, this is repeated, and the target pixel is selected so that the pixel is scanned from the left side to the right side and from the upper side to the lower side. In this case, the lower right pixel of the image is selected as the last pixel of interest.
そして画像補正部762が、選択された注目画素の画素値からこの注目画素に対する階調補正量を、階調補正量取得部74から取得する(ステップ202)。
Then, the
また画像補正部762は、補正算出部768から誤差信号を取得し、ステップ202で取得した階調補正量とこの誤差信号を加算して、誤差加算信号を生成する(ステップ203)。
オンオフ判定部763は、画像補正部762から誤差加算信号を受け取り、予め定められた閾値と比較し、注目画素をオン(黒)にすべきか、オフ(白)にすべきか否かを判定する(ステップ204)。
The
The on / off
そして画素値更新部764が、オンオフ判定部763からのオン/オフ判定の結果に基づき、注目画素の画素値を「0(白)」にするか「1(黒)」にするかを決定して画素値を更新する(ステップ205)。このとき画素値更新部764は、画素値を「0」から「1」へ、また「1」から「0」に変更するように更新する場合とともに、画素値を「0」から「0」へ、また「1」から「1」へ元の値を維持するように更新する場合がある。そしてこの更新は、オンオフ判定部763の判定の結果に従う場合もあるが、従わずにオンオフ判定部763の判定とは異なる更新を行なう場合もある。この場合、入力二値画像データの状態や出力二値画像データの状態、階調補正量や誤差加算信号の状態が予め定められた状態を満たすなど予め定められた条件を満たしたときに、オンオフの判定結果に従い画素値を変更し、予め定められた条件を満たさないときは、オンオフの判定結果に拘わらす画素値の変更をしないようにする。さらに注目画素に限らず、注目画素の周辺の画素について画素値の変更を行なってもよい。なおこれらの事項については、後でより詳しく説明を行なう。
Then, the pixel
次に変動算出部765が、画素値更新部764で更新後の画素値の量子化値から入力二値画像データの量子化値を減算して変動値を生成し、二値化誤差計算部へ供給する(ステップ206)。この量子化値は、本実施の形態の場合、画素値が「0」の場合は「0」、画素値が「1」の場合は「255」となる。よって変動値は、画素値更新部764で画素値が「1」から「0」に変更されたときは、「−255」、画素値が「0」から「1」に変更されたときは、「255」、画素値が「0」または「1」を維持したときは、「0」となる。
Next, the
そして二値化誤差算出部766が、誤差加算信号から変動値を減算し二値化誤差を算出して誤差記憶部へ供給する(ステップ207)。
さらに誤差記憶部767が、二値化誤差算出部766で算出された二値化誤差を記憶する(ステップ208)。
Then, the binarization
Further, the
また補正算出部768が、誤差記憶部767に記憶された二値化誤差と誤差拡散係数を積和演算して次の注目画素の処理で用いられる誤差信号を生成する(ステップ209)。
その後は、全ての画素について処理を行なったか否かを判定し(ステップ210)、全ての画素について処理を行なった場合(ステップ210でYes)は、処理を終了する。一方、全ての画素について処理を行なっていない場合(ステップ210でNo)は、ステップ201に戻り、予め定められた規則により次の注目画素を選択する。
In addition, the
Thereafter, it is determined whether or not processing has been performed for all pixels (step 210). If processing has been performed for all pixels (Yes in step 210), the processing ends. On the other hand, if all the pixels have not been processed (No in step 210), the process returns to step 201, and the next target pixel is selected according to a predetermined rule.
以上の手順により画素値更新部764で出力される更新後の新たな二値画像データは、階調補正がされ、出力デバイスの出力濃度特性に対応したものとなる。
The updated new binary image data output from the pixel
選択部77は、分離部72により網点領域とされた画像領域では、二値画像生成部76により生成された更新後の新たな二値画像データを選択し、分離部72により非網点領域とされた画像領域では、画像情報取得部71により取得された最初の入力二値画像データを選択して出力二値画像データ(出力二値画像)とする。
The
図7は、選択部77が、二値画像データを選択する手順を説明したフローチャートである。
まず分離部72より、図3のステップ105で説明した網点分離信号を取得する(ステップ301)。
次に選択部77は、画像情報取得部71で取得した入力二値画像データを取得する(ステップ302)。
FIG. 7 is a flowchart illustrating a procedure in which the
First, the halftone dot separation signal described in step 105 of FIG. 3 is acquired from the separation unit 72 (step 301).
Next, the
さらに選択部77は、二値画像生成部76から更新後の二値画像データを取得する(ステップ303)。
次に二値画像を構成する画素についてステップ301で取得した網点分離信号が付与されているか否かを判断する(ステップ304)。
Further, the
Next, it is determined whether or not the halftone dot separation signal acquired in step 301 is applied to the pixels constituting the binary image (step 304).
そして網点分離信号が付与されている画素(ステップ304でYes)は、網点領域内の画素であることを意味するため、二値画像生成部76により生成された更新後の新たな二値画像データを選択する(ステップ305)。
一方、網点分離信号が付与されていない画素(ステップ304でNo)は、非網点領域内の画素であることを意味するため、画像情報取得部71で取得された最初の入力二値画像データを選択する(ステップ306)。
Then, the pixel to which the halftone dot separation signal is given (Yes in step 304) means that the pixel is in the halftone dot region, and therefore the updated new binary value generated by the binary
On the other hand, since the pixel to which the halftone dot separation signal is not given (No in step 304) means a pixel in the non-halftone dot region, the first input binary image acquired by the image
そしてステップ305およびステップ306の結果をまとめ、制御部70から最終的に出力される出力二値画像データを作成する(ステップ307)。
Then, the results of step 305 and step 306 are collected, and output binary image data finally output from the
画像情報出力部78は、図7のステップ307で作成された出力二値画像データを画像形成装置1の画像形成部に出力する。そして画像形成部では、この出力二値画像データを基にして画像が形成され、例えば、上述した校正刷りが行なわれる。
The image
従来技術では、入力二値画像データを基に平滑化処理を行なう際に、入力二値画像データに含まれる非網点領域の文字や線の部分でも網点部分と同じ平滑化フィルタが適用される。そのため非網点領域にぼけが生じ、これが出力二値画像データに反映されて、出力二値画像データにより形成される画像の文字や線にぼけが生じたり、または文字や線に太りや細りが生じることがあった。また、ぼけが生じた部分が階調変換されることにより、文字や線の周囲で誤差拡散処理による二値化誤差の余分な蓄積や伝播が生じ、局所的な画像のかぶりや抜けが生じることがあった。 In the prior art, when the smoothing process is performed based on the input binary image data, the same smoothing filter as that of the halftone dot portion is applied to the character or line portion of the non-halftone dot region included in the input binary image data. The As a result, the non-halftone area is blurred, and this is reflected in the output binary image data, resulting in blurring of characters and lines in the image formed by the output binary image data, or the characters and lines becoming thick and thin. It sometimes occurred. In addition, by converting the gradation of the part where the blur has occurred, extra accumulation and propagation of binarization error due to error diffusion processing occurs around characters and lines, and local image fogging and omission occur. was there.
対して本実施の形態では、分離部72により網点領域と非網点領域とを分離し、選択部77において、網点領域では誤差拡散処理を行なった後の二値画像データを選択するとともに非網点領域では元の入力二値画像をそのまま選択する。これにより出力二値画像データにより形成される画像の文字や線にぼけが生じることや、太りや細りが生じることを低減することができる。
On the other hand, in the present embodiment, the
またさらに、文字や線の周囲のぼけが生じた部分が階調補正され、それが誤差拡散処理されることにより二値化誤差の蓄積と伝播が余分に生じ、局所的に画像のかぶりや抜けが生じる問題について低減することができる。 Furthermore, gradation correction is performed on the portion where the blur around the characters and lines is generated, and error diffusion processing is performed on the portion to cause extra binarization error accumulation and propagation, resulting in local image fogging and omission. Can be reduced.
まとめると網点領域では外部装置により入力二値画像となる前の多値画像の階調に近い階調に基づき、階調補正を行なうことができるとともに、非網点領域では、画質の劣化を抑制することができる。 In summary, in the halftone area, gradation correction can be performed based on the gradation close to the gradation of the multi-valued image before becoming an input binary image by an external device, and in the non-halftone area, the image quality is deteriorated. Can be suppressed.
図8(a)〜(b)は、非網点領域において局所的にかぶりや抜けが生じる現象が改善された例について説明した図である。
図8(a)〜(b)において、非網点領域は、「A」の文字の部分であり、この周囲は、全て網点領域である。
FIGS. 8A to 8B are diagrams illustrating an example in which a phenomenon in which fogging or omission occurs locally in a non-halftone area is improved.
In FIGS. 8A to 8B, the non-halftone dot region is the character portion “A”, and all the surroundings are halftone dot regions.
そして図8(a)は、従来技術の場合であって、非網点領域に対しても平滑化フィルタが適用された場合である。この場合は、「A」の文字の下部の領域N1、領域N2、および「A」の文字の中央の領域N3に画像の抜けが生じていることがわかる。
一方、図8(b)は、本実施の形態の処理を行なった場合であり、網点領域では誤差拡散処理を行なった後の二値画像データを選択し、非網点領域では元の入力二値画像をそのまま選択する処理を行なった場合である。この場合は、「A」の文字の下部の領域N1、領域N2、および領域N3に存在していた画像の抜けが消滅していることがわかる。
FIG. 8A shows the case of the prior art, in which the smoothing filter is applied to the non-halftone area. In this case, it can be seen that an image omission occurs in the area N1, the area N2, and the area N3 in the center of the character “A”.
On the other hand, FIG. 8B shows a case where the processing of the present embodiment is performed. In the halftone dot region, binary image data after error diffusion processing is selected, and in the non-halftone region, the original input is selected. This is a case where a process for selecting a binary image as it is is performed. In this case, it can be seen that the omission of the image existing in the area N1, the area N2, and the area N3 below the character “A” has disappeared.
<画素値更新部764の動作の説明>
次に画素値更新部764が、オンオフ判定部763からのオン/オフ判定の結果に基づき、注目画素の画素値を「0(白)」にするか「1(黒)」にするかを決定する手順についてさらに詳しく説明を行なう。
本実施の形態では、例えば、画素値更新部764は、注目画素が網点のエッジ部(縁部)にあるときのみオンオフ判定部763の判定に従い、画素値を変更する。
<Description of Operation of Pixel
Next, the pixel
In the present embodiment, for example, the pixel
図9(a)〜(b)は、網点のエッジ部および網点のエッジ部にある画素について説明をした図である。
図9(a)では、画素値が「0(白)」の画像領域を領域Wで表わし、画素値が1(黒)の画像領域を領域Bで表わしている。ここで領域Bは、1つの網点ドットの一部である。そして網点のエッジ部は、線Eで示す箇所となる。
また図9(b)は、網点のエッジ部にある画素について説明した図である。この場合、網点のエッジ部である線Eを挟み対向する画素がそれぞれ網点のエッジ部にある画素となる。図9(b)では、これらの画素を画素EGで示している。
FIGS. 9A and 9B are diagrams illustrating the edge portions of the halftone dots and the pixels at the edge portions of the halftone dots.
In FIG. 9A, an image region with a pixel value “0 (white)” is represented by a region W, and an image region with a pixel value 1 (black) is represented by a region B. Here, the region B is a part of one halftone dot. The edge portion of the halftone dot is a location indicated by line E.
FIG. 9B is a diagram for explaining a pixel at the edge portion of a halftone dot. In this case, the pixels facing each other across the line E that is the edge portion of the halftone dot are the pixels at the edge portion of the halftone dot. In FIG. 9B, these pixels are indicated by pixels EG.
そして本実施の形態の場合、画素値更新部764は、入力二値画像データから注目画素が図9(b)の画素EGに該当するが否かを判定し、該当した場合は、オンオフ判定部763の判定に従い、注目画素の画素値を変更する。一方、該当しない場合は、オンオフ判定部763の判定にかかわらず、注目画素の画素値を変更せずに維持する。このようにすることで、最初の二値画像における網点の構造(各網点ドットの周波数、網点角度、網点位置)をより保存しつつ入力二値画像データの階調変換をおこなうことができる。
In the case of the present embodiment, the pixel
なお上述した例では、網点のエッジ部である線Eを挟み対向する画素について、網点のエッジ部にある画素としていた。これは、網点のエッジ部からの距離が1にある画素を網点のエッジ部にある画素とすると言い換えることもできる。ただしこれに限られるものではなく、網点のエッジ部からの距離が2や3など1以外の値でもよい。つまり注目画素と網点のエッジ部との間の距離が予め定められた範囲内である画素を網点のエッジ部にある画素としてもよい。これにより、入力二値画像データを階調変換する際に階調変換可能な量を、より大きくすることができる。しかし、網点のエッジ部からの距離が大きい画素までエッジ部にある画素とすると、網点とは離れた位置にある画素の画素値が変更されるようになるため、網点の構造を維持する観点からは、網点のエッジ部からの距離はより小さい値である方が好ましい。 In the above-described example, pixels that are opposed to each other across the line E that is the edge portion of the halftone dot are pixels at the edge portion of the halftone dot. In other words, a pixel whose distance from the edge of the halftone dot is 1 is a pixel at the edge of the halftone dot. However, the present invention is not limited to this, and the distance from the edge of the halftone dot may be a value other than 1 such as 2 or 3. That is, a pixel in which the distance between the target pixel and the edge portion of the halftone dot is within a predetermined range may be set as a pixel at the edge portion of the halftone dot. As a result, the amount of gradation conversion that can be performed when gradation conversion is performed on the input binary image data can be further increased. However, if the pixel at the edge part is a pixel that is far from the edge part of the halftone dot, the pixel value of the pixel at a position away from the halftone dot is changed, so the structure of the halftone dot is maintained. From this viewpoint, the distance from the edge portion of the halftone dot is preferably a smaller value.
また、階調補正量が濃度を高くする値である場合、網点のエッジ部にある画素であり、かつ画素値が「0」である場合のみ画素値の変更をおこなうようにし、階調補正量が濃度を低くする値である場合、網点のエッジ部にある画素であり、かつ画素値が「1」の画素である場合のみ画素値の変更をおこなうようにすることもできる。これにより、例えば、誤差の蓄積状態により階調補正量が濃度を濃くする値であるのに誤差加算信号が濃度を低くする値であったような場合でも、入力二値画像データについて画素値が「1」である黒の画素を増加する処理のみおこなわれるようにすることができる。 If the gradation correction value is a value that increases the density, the pixel value is changed only when the pixel is at the edge of the halftone dot and the pixel value is “0”, thereby correcting the gradation. If the amount is a value that decreases the density, the pixel value can be changed only when the pixel is at the edge of the halftone dot and the pixel value is “1”. Thereby, for example, even when the gradation correction amount is a value that increases the density due to the error accumulation state, but the error addition signal is a value that decreases the density, the pixel value is set for the input binary image data. Only the process of increasing the number of black pixels that are “1” can be performed.
次に画素値更新部764が、オンオフ判定部763からのオン/オフ判定の結果に基づき、注目画素の画素値を「0(白)」にするか「1(黒)」にするかを決定する手順の他の例について説明を行なう。
本実施の形態では、画素値更新部764は、網点のエッジ部からの距離に基づき設定された評価値により、画素値を変更するか否かを決定する。
Next, the pixel
In the present embodiment, the pixel
図10(a)〜(b)は、網点のエッジ部からの距離に基づき評価値を設定する場合について説明した図である。
図10(a)は、図9(a)と同様の図であり、画素値が「0(白)」の画像領域である領域Wと、画素値が「1(黒)」の画像領域である領域Bの2つの領域からなり、線Eが網点のエッジ部であることを示している。
そして図10(b)は、図10(a)の点線で示した正方形の領域における評価値を示している。
FIGS. 10A to 10B are diagrams illustrating the case where the evaluation value is set based on the distance from the edge portion of the halftone dot.
FIG. 10A is a diagram similar to FIG. 9A, and includes an area W that is an image area having a pixel value “0 (white)” and an image area that has a pixel value “1 (black)”. It is composed of two areas of a certain area B, and the line E indicates that it is an edge portion of a halftone dot.
FIG. 10B shows an evaluation value in a square region indicated by a dotted line in FIG.
図10(b)に示すように、網点のエッジ部からの距離が1である画素については、評価値は0である。また網点のエッジ部からの距離が2である画素については、評価値は32、網点のエッジ部からの距離が3である画素については、評価値は64、網点のエッジ部からの距離が4である画素については、評価値は96となっている。つまり評価値は、網点のエッジ部からの距離が大きくなるに従い大きく設定されている。 As shown in FIG. 10B, the evaluation value is 0 for a pixel whose distance from the edge of the halftone dot is 1. The evaluation value is 32 for the pixel whose distance from the edge of the halftone is 2, the evaluation value is 64 for the pixel whose distance from the edge of the halftone is 3, and from the edge of the halftone dot. For a pixel with a distance of 4, the evaluation value is 96. That is, the evaluation value is set larger as the distance from the edge portion of the halftone dot increases.
本実施の形態では、オンオフ判定部763のオンオフの判定の結果に従って、画素値更新部764で注目画素の周辺で評価値が最も低い画素値が設定される画素に対し画素値の変更がおこなわれる。例えば、D8(D行8列)の画素が注目画素であったときに、オンオフの判定の結果がオンであった場合、注目画素の周辺で評価値が最も低い画素は、例えば、D9(D行9列)の画素である。そしてこの場合、D9の画素の画素値が、「0」から「1」へ変更される。これにより、網点のエッジ部の画素から離れた位置でオンオフの判定がおこなわれた場合でも、網点のエッジ部に隣接する画素の画素値が変更することができるようになり、網点の構造をより保存しやすくなる。
In the present embodiment, according to the on / off determination result of the on / off
さらに図11(a)〜(b)は、評価値の設定の他の例について説明した図である。
本実施の形態では、画素の画素値に基づき設定された評価値により、入力二値画像データを変更するか否かを決定する。
図11(a)は、階調補正量が濃度を上げる正の整数であった場合に設定される評価値を示している。この場合、濃度を上げる階調補正のとき、白の画素の評価値を低くし、白の画素の画素値が変更され易くなるとともに、黒の画素の評価値を高くし、黒の画素の画素値を変更されにくくする。
Further, FIGS. 11A to 11B are diagrams illustrating another example of setting evaluation values.
In the present embodiment, whether to change the input binary image data is determined based on the evaluation value set based on the pixel value of the pixel.
FIG. 11A shows an evaluation value set when the gradation correction amount is a positive integer that increases the density. In this case, at the time of gradation correction for increasing the density, the evaluation value of the white pixel is lowered, the pixel value of the white pixel is easily changed, and the evaluation value of the black pixel is increased to increase the black pixel value. Makes the value difficult to change.
図11(a)のように評価値を設定することで、例えばD10(D行10列)の画素が注目画素であり、オンオフ判定部763のオンオフの判定の結果がオンの場合、画素値に基づく評価値を用いてD9の画素の画素値を「0」から「1」へ変更することができる。
By setting the evaluation value as shown in FIG. 11A, for example, when the pixel of D10 (D row and 10 column) is the target pixel and the on / off determination result of the on / off
また図11(b)は、階調補正量が濃度を下げる負の整数であった場合に設定される評価値を示している。この場合は、濃度を下げる階調補正のとき、黒の画素の評価値を低くし黒の画素の画素値が変更され易くするとともに、白の画素の評価値を高くし、白の画素の画素値を変更されにくくする。 FIG. 11B shows an evaluation value set when the gradation correction amount is a negative integer that decreases the density. In this case, at the time of gradation correction for decreasing the density, the evaluation value of the black pixel is lowered to facilitate the change of the pixel value of the black pixel, and the evaluation value of the white pixel is increased to increase the white pixel value. Makes the value difficult to change.
図11(b)のように評価値を設定することで、例えばD9の画素が注目画素であり、オンオフ判定部763のオンオフの判定の結果がオフの場合、画素値に基づく評価値を用いてD10の画素の画素値を「1」から「0」へ変更することができる。
By setting the evaluation value as shown in FIG. 11B, for example, when the pixel D9 is the target pixel and the on / off determination result of the on / off
なお評価値の設定のさらに他の例として、画素値に基づく評価値を出力二値画像の画素の状態から求めてもよい。この場合、これまでに処理された注目画素の変更結果を反映して評価値を計算することができる。 As yet another example of setting the evaluation value, an evaluation value based on the pixel value may be obtained from the pixel state of the output binary image. In this case, the evaluation value can be calculated by reflecting the change result of the target pixel processed so far.
また画素値更新部764は、エッジ部の距離からに基づいて設定された評価値(例えば、図10(b)の場合)と画素値に基づいて設定された評価値(例えば、図11(a)〜(b)の場合)を加算した結果を評価値として用いてもよい。このとき、画素値による評価値は、エッジ部からの距離に基づく評価値より大きな値を採るようにすることが好ましい。これにより、濃度を上げる階調補正が行なわれる場合に、画素値を「0」から「1」に変更する処理がより行なわれやすくなるとともに、濃度を下げる階調補正が行なわれる場合に、画素値を「1」から「0」に変更する処理がより行なわれやすくなる。その結果、網点の構造もより保存しやすくなる。
The pixel
また図10(b)のように評価値を設定する場合に、評価値が予め定められた値より大きい画素については、入力二値画像データの画素値の変更を行なわないようにしてもよい。例えば、入力二値画像の評価値が96よりも大きい画素については画素値の変更をおこなわないようにする。濃度を上げる階調補正が行なわれる場合を例とすると、網点のエッジ部から距離が3以下の範囲にある白の画素のみ画素値が変更されるようになり、黒の画素や白の画素であっても距離が3より遠い画素の画素値の変更は行なわれなくなる。これにより、評価値の計算に用いる入力二値画像データを記憶しておく入力ウィンドウのサイズを小さくすることができ、メモリコストの削減を行なうことができる。 Further, when the evaluation value is set as shown in FIG. 10B, the pixel value of the input binary image data may not be changed for a pixel whose evaluation value is larger than a predetermined value. For example, the pixel value is not changed for pixels whose evaluation value of the input binary image is larger than 96. In the case where gradation correction for increasing density is performed as an example, the pixel value is changed only for white pixels whose distance from the edge portion of the halftone dot is 3 or less, so that black pixels or white pixels are changed. Even in this case, the pixel value of the pixel whose distance is longer than 3 is not changed. Thereby, the size of the input window for storing the input binary image data used for the evaluation value calculation can be reduced, and the memory cost can be reduced.
さらに網点のエッジ部から予め定められた距離にある画素の場合のみオンオフ判定部763のオンオフ結果を参照し、評価値がより小さい画素の画素値の変更を行なうようにしてもよい。これにより、評価値の計算に用いる入力二値画像データをストアしておく入力ウィンドウのサイズを小さくすることができ、メモリコストの削減を行なうことができる。
Furthermore, the pixel value of a pixel having a smaller evaluation value may be changed by referring to the on / off result of the on / off
[第2の実施の形態]
次に、本実施の形態の制御部70(画像処理装置)の第2の実施の形態について説明する。
図12は、第2の実施の形態における制御部70の機能構成例を示したブロック図である。
図示するように本実施の形態の制御部70は、画像情報取得部71と、分離部72と、平滑化処理部73と、階調補正量取得部74と、階調補正量記憶部75と、二値画像生成部76と、選択部77と、画像情報出力部78とを備える。
[Second Embodiment]
Next, a second embodiment of the control unit 70 (image processing apparatus) according to the present embodiment will be described.
FIG. 12 is a block diagram illustrating a functional configuration example of the
As shown in the figure, the
図12に示した制御部70は、図2で示した制御部70とほぼ同様の構成を採る。ただし分離部72で生成された網点分離信号が、二値画像生成部76にも入力される点が異なる。この場合、図2で示した制御部70と図12で示した制御部70とは、二値画像生成部76の機能が異なる。
The
図13は、第2の実施の形態における二値画像生成部76について説明したブロック図である。
図示するように二値画像生成部76は、注目画素選択部761と、画像補正部762と、オンオフ判定部763と、画素値更新部764と、変動算出部765と、二値化誤差算出部766と、誤差記憶部767と、補正算出部768とを備え、この点で、図5に示した二値画像生成部76と同様の構成を採る。ただし二値化誤差算出部766と誤差記憶部767との間にさらに二値化誤差修正部769を備える点で異なる。
FIG. 13 is a block diagram illustrating the binary
As illustrated, the binary
また図14は、二値画像生成部76における処理の手順について説明したフローチャートである。
以下、図13および図14を使用して二値画像生成部76の動作について説明を行なう。
ここでステップ401〜ステップ407は、図6のステップ201〜ステップ207とそれぞれ同様の処理を行なう。またステップ411〜ステップ413は、図6のステップ208〜ステップ210とそれぞれ同様の処理を行なう。そのためここで行なう処理については説明を省略する。よって以下、ステップ408〜ステップ410について説明を行なう。
FIG. 14 is a flowchart illustrating a processing procedure in the binary
Hereinafter, the operation of the binary
Here, steps 401 to 407 perform the same processes as steps 201 to 207 in FIG. Steps 411 to 413 perform the same processes as steps 208 to 210 in FIG. Therefore, description of the processing performed here is omitted. Therefore, step 408 to step 410 will be described below.
二値化誤差修正部769は、分離部12で生成された網点分離信号を取得する(ステップ408)。
次に二値化誤差修正部769は、網点分離信号により注目画素が、非網点領域内であるか否かを判断する(ステップ409)。そして注目画素が、非網点領域内であった場合(ステップ409でYes)は、二値化誤差(誤差)を0にリセットする(ステップ410)。一方、注目画素が、非網点領域内でなく網点領域内にある場合(ステップ409でNo)は、二値化誤差はそのまま維持され、ステップ411に進む。
The binarization
Next, the binarization
以上のように注目画素が、非網点領域内であったときに二値化誤差を0にリセットすることで、非網点領域での二値化誤差の蓄積や伝搬を低減し、画像のかぶりや抜けをより低減することができる。 As described above, by resetting the binarization error to 0 when the target pixel is in the non-halftone area, accumulation and propagation of the binarization error in the non-halftone area is reduced, and the image Fog and omission can be further reduced.
ここで以上説明を行った本実施の形態における制御部70が行なう処理は、ソフトウェアとハードウェア資源とが協働することにより実現される。即ち、制御部70に設けられた制御用コンピュータ内部の図示しないCPUが、制御部70の各機能を実現するプログラムを実行し、これらの各機能を実現させる。
The processing performed by the
よって制御部70が行なう処理は、コンピュータに、二値画像の画像データである入力二値画像データを取得する機能と、取得された入力二値画像データを基にして、二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する機能と、取得された入力二値画像データを基に平滑化処理により多値画像データを生成する機能と、生成された多値画像データに対し階調補正を行なう際の階調補正量を取得する機能と、取得された階調補正量に対し誤差拡散処理を行ない、誤差拡散処理の結果に基づいて新たな二値画像データを生成する機能と、網点領域とされた画像領域では、生成された後の新たな二値画像データを選択し、非網点領域とされた画像領域では、取得された入力二値画像データを選択して出力二値画像データとする機能と、を実現させるプログラムとして捉えることもできる。
Therefore, the process performed by the
なお本実施の形態では、電子写真方式の画像形成装置1について説明を行ったが、これに限られるものではない。例えば、インクジェット方式の画像形成装置についても適用できる。
また本実施の形態では、4色のトナーによりカラー画像を形成する画像形成装置1について説明を行ったが、これに限られるものではなく、単色(例えば黒)の画像を形成する画像形成装置にも適用できる。
In this embodiment, the electrophotographic
In this embodiment, the
また本実施の形態では、制御部70により画像処理装置の機能を実現していたが、これに限られるものではない。例えば、画像形成装置1内に制御部70とは、別に画像処理部を設け、この画像処理部により上述した画像処理装置の機能構成を具備させてもよい。さらに画像形成装置1内に設ける必要はなく、外部装置としてもよく、さらにパーソナルコンピュータ等で上述した画像処理装置の機能を実現するプログラムを実行してもよい。
In the present embodiment, the function of the image processing apparatus is realized by the
1…画像形成装置、70…制御部、71…画像情報取得部、72…分離部、73…平滑化処理部、74…階調補正量取得部、76…二値画像生成部、77…選択部
DESCRIPTION OF
Claims (8)
前記画像情報取得部によって取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する分離部と、
前記画像情報取得部によって取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する平滑化処理部と、
前記平滑化処理部により生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する階調補正量取得部と、
前記階調補正量取得部により取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する二値画像生成部と、
前記分離部により網点領域とされた画像領域では、前記二値画像生成部により生成された後の新たな二値画像情報を選択し、当該分離部により非網点領域とされた画像領域では、前記画像情報取得部により取得された前記入力二値画像情報を選択して出力二値画像情報とする選択部と、
を備えることを特徴とする画像処理装置。 An image information acquisition unit that acquires input binary image information that is image information of a binary image;
Based on the input binary image information acquired by the image information acquisition unit, the binary image is an image area in which an image is formed by a halftone dot and an image area other than the halftone dot area. A separation part that separates into a non-halftone area;
A smoothing processing unit that generates multi-value image information by a smoothing process based on the input binary image information acquired by the image information acquisition unit;
A gradation correction amount acquisition unit for acquiring a gradation correction amount when performing gradation correction on the multi-value image information generated by the smoothing processing unit;
A binary image generation unit that performs error diffusion processing on the gradation correction amount acquired by the gradation correction amount acquisition unit and generates new binary image information based on a result of the error diffusion processing;
In the image area that has been converted into a halftone dot area by the separation unit, new binary image information that has been generated by the binary image generation unit is selected, and in the image area that has been converted into a non-halftone dot area by the separation unit. A selection unit that selects the input binary image information acquired by the image information acquisition unit and sets it as output binary image information;
An image processing apparatus comprising:
前記画像処理手段により階調補正された前記出力二値画像情報を基にして画像を形成する画像形成部と、
を備え、
前記画像処理手段は、
前記入力二値画像情報を取得する画像情報取得部と、
前記画像情報取得部によって取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する分離部と、
前記画像情報取得部によって取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する平滑化処理部と、
前記平滑化処理部により生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する階調補正量取得部と、
前記階調補正量取得部により取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する二値画像生成部と、
前記分離部により網点領域とされた画像領域では、前記二値画像生成部により生成された後の新たな二値画像情報を選択し、当該分離部により非網点領域とされた画像領域では、前記画像情報取得部により取得された前記入力二値画像情報を選択して前記出力二値画像情報とする選択部と、
を備えることを特徴とする画像形成装置。 Image processing means that performs gradation correction based on input binary image information that is image information of a binary image and sets it as output binary image information;
An image forming unit that forms an image based on the output binary image information subjected to gradation correction by the image processing unit;
With
The image processing means includes
An image information acquisition unit for acquiring the input binary image information;
Based on the input binary image information acquired by the image information acquisition unit, the binary image is an image area in which an image is formed by a halftone dot and an image area other than the halftone dot area. A separation part that separates into a non-halftone area;
A smoothing processing unit that generates multi-value image information by a smoothing process based on the input binary image information acquired by the image information acquisition unit;
A gradation correction amount acquisition unit for acquiring a gradation correction amount when performing gradation correction on the multi-value image information generated by the smoothing processing unit;
A binary image generation unit that performs error diffusion processing on the gradation correction amount acquired by the gradation correction amount acquisition unit and generates new binary image information based on a result of the error diffusion processing;
In the image area that has been converted into a halftone dot area by the separation unit, new binary image information that has been generated by the binary image generation unit is selected, and in the image area that has been converted into a non-halftone dot area by the separation unit. A selection unit that selects the input binary image information acquired by the image information acquisition unit to be the output binary image information;
An image forming apparatus comprising:
二値画像の画像情報である入力二値画像情報を取得する機能と、
取得された前記入力二値画像情報を基にして、前記二値画像を網点により画像が形成される画像領域である網点領域と網点領域以外の画像領域である非網点領域とに分離する機能と、
取得された前記入力二値画像情報を基に平滑化処理により多値画像情報を生成する機能と、
生成された多値画像情報に対し階調補正を行なう際の階調補正量を取得する機能と、
取得された前記階調補正量に対し誤差拡散処理を行ない、当該誤差拡散処理の結果に基づいて新たな二値画像情報を生成する機能と、
網点領域とされた画像領域では、生成された後の新たな二値画像情報を選択し、非網点領域とされた画像領域では、取得された前記入力二値画像情報を選択して出力二値画像情報とする機能と、
を実現させるプログラム。 On the computer,
A function of acquiring input binary image information which is image information of a binary image;
Based on the acquired input binary image information, the binary image is divided into a halftone dot region which is an image region where an image is formed by a halftone dot and a non-halftone dot region which is an image region other than the halftone dot region. The ability to separate,
A function of generating multi-valued image information by a smoothing process based on the acquired input binary image information;
A function of acquiring a gradation correction amount when performing gradation correction on the generated multi-value image information;
A function of performing error diffusion processing on the acquired gradation correction amount and generating new binary image information based on a result of the error diffusion processing;
In the image area set as a halftone dot area, new binary image information after generation is selected, and in the image area set as a non-halftone dot area, the acquired input binary image information is selected and output. A function of binary image information;
A program that realizes
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012265084A JP2014110588A (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image forming apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012265084A JP2014110588A (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image forming apparatus and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014110588A true JP2014110588A (en) | 2014-06-12 |
Family
ID=51030963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012265084A Pending JP2014110588A (en) | 2012-12-04 | 2012-12-04 | Image processing apparatus, image forming apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014110588A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114945060A (en) * | 2021-02-08 | 2022-08-26 | 京瓷办公信息***株式会社 | Image processing apparatus and image forming apparatus |
-
2012
- 2012-12-04 JP JP2012265084A patent/JP2014110588A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114945060A (en) * | 2021-02-08 | 2022-08-26 | 京瓷办公信息***株式会社 | Image processing apparatus and image forming apparatus |
CN114945060B (en) * | 2021-02-08 | 2023-10-20 | 京瓷办公信息***株式会社 | Image processing apparatus and image forming apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4033226B1 (en) | Image processing apparatus, image forming apparatus, and program | |
JP5979963B2 (en) | Image processing apparatus, image processing method, and program | |
US20130044342A1 (en) | Apparatus, system, and method of inspecting image, and recording medium storing image inspection control program | |
JP5288824B2 (en) | Color image forming apparatus, image forming apparatus, color image processing method, image processing method, and program | |
JP2012121165A (en) | Image processing apparatus and image processing method | |
JP2009034866A (en) | Image forming apparatus and image forming method | |
JP2009055377A (en) | Color image forming apparatus and color image correcting method | |
JP5014203B2 (en) | Image processing apparatus and method | |
JP4673192B2 (en) | Image processing apparatus and image processing apparatus control method | |
US8699083B2 (en) | Image processing device, image forming device, and computer-readable medium | |
JP4485430B2 (en) | Image processing apparatus, image processing method, and program causing computer to execute the method | |
US8174551B2 (en) | Image forming apparatus and image forming method which utilizes a trapping process | |
JP5404340B2 (en) | Image forming apparatus, image forming method, and program | |
JP2020184030A (en) | Image forming apparatus | |
JP2012186770A (en) | Image processing apparatus, image forming apparatus, and program | |
JP2014110588A (en) | Image processing apparatus, image forming apparatus and program | |
JP2014110587A (en) | Image processing apparatus, image forming apparatus and program | |
JP5812960B2 (en) | Image forming apparatus | |
JP2017060015A (en) | Image forming apparatus, image processing apparatus, and program | |
JP2006013769A (en) | Image output system, image output method, program for implementing the method, and computer-readable information recording medium recorded with the program | |
US10477067B2 (en) | Image forming apparatus, image forming method, and storage medium | |
JP2014112805A (en) | Image forming apparatus and control method of the same | |
JP2012028952A (en) | Image processing device and image processing method | |
JP6565463B2 (en) | Image processing apparatus, image forming apparatus, and image processing program | |
JP6136635B2 (en) | Image processing apparatus, image forming apparatus, and program |