JP2015149545A - Image processing apparatus, control method of the same, and program - Google Patents

Image processing apparatus, control method of the same, and program Download PDF

Info

Publication number
JP2015149545A
JP2015149545A JP2014020374A JP2014020374A JP2015149545A JP 2015149545 A JP2015149545 A JP 2015149545A JP 2014020374 A JP2014020374 A JP 2014020374A JP 2014020374 A JP2014020374 A JP 2014020374A JP 2015149545 A JP2015149545 A JP 2015149545A
Authority
JP
Japan
Prior art keywords
color
pixel
determined
pixels
achromatic
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
Application number
JP2014020374A
Other languages
Japanese (ja)
Inventor
公盛 江口
Kimimori Eguchi
公盛 江口
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2014020374A priority Critical patent/JP2015149545A/en
Publication of JP2015149545A publication Critical patent/JP2015149545A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent a light grey character from being surrounded by black.SOLUTION: When the number of black pixels darker than a threshold in a reference region is counted and when it is larger than a predetermined value, it is determined that a target pixel is to be converted to a K monochrome.

Description

本発明は、エッジ部の色判定に関する。   The present invention relates to edge color determination.

黒いオブジェクトをカラースキャンすると、黒いオブジェクトのエッジ画素に、「RGB値の最大値−最小値」≠0の関係を満たす画素が発生する。こうした現象を色ずれと呼ぶ。この色ずれが起きるのは、カラースキャナにおけるRのセンサ、Gのセンサ、Bのセンサの位置は互いに微妙にずれているためである。   When a black object is color-scanned, pixels satisfying the relationship “maximum RGB value−minimum value” ≠ 0 are generated at the edge pixels of the black object. Such a phenomenon is called color shift. This color shift occurs because the positions of the R sensor, the G sensor, and the B sensor in the color scanner are slightly shifted from each other.

そこで、カラースキャナでは、閾値を設け、「RGB値の最大値−最小値」<閾値である場合に、そのエッジ画素を無彩色だと判定している。そして、無彩色だと判定されたエッジ画素をCMYK(K≠0、C=M=Y=0、以下こうしたCMYKをK単色と呼ぶ。)に変換し、有彩色でだと判定されたエッジ画素をCMYK(C≠0、M≠0、Y≠0、Kは0でも0でなくても良い。以下、こうしたCMYKを四色と呼ぶ。)に変換する。こうした処理を行うことで、黒いオブジェクトのエッジ画素をK単色で印刷している(特許文献1)。   Therefore, in the color scanner, a threshold value is provided, and when “the maximum value of RGB values−the minimum value” <the threshold value, the edge pixel is determined to be an achromatic color. Then, the edge pixel determined to be an achromatic color is converted into CMYK (K ≠ 0, C = M = Y = 0, hereinafter such CMYK is referred to as K single color), and the edge pixel determined to be a chromatic color. Is converted to CMYK (C ≠ 0, M ≠ 0, Y ≠ 0, K may be 0 or not 0. Such CMYK is hereinafter referred to as four colors). By performing such processing, the edge pixel of the black object is printed in K single color (Patent Document 1).

特許第3944032Japanese Patent No. 3944032

しかしながら、この手法をグレイ(薄い黒)のオブジェクト(図9の901)に適用すると、そのオブジェクトの内側は、四色で印刷されるのに、エッジ画素はK単色で印刷されるという現象が発生する(図9の902)。いわば、グレイのオブジェクトを黒で取り囲んだような絵が生じる。   However, when this method is applied to a gray (light black) object (901 in FIG. 9), the inside of the object is printed in four colors, but the edge pixel is printed in K single color. (902 in FIG. 9). In other words, a picture appears that surrounds a gray object in black.

上記課題を解決する画像処理装置は、入力画像に含まれる各画素の色が有彩色であるか、無彩色であるか判定する手段と、前記入力画像に含まれる各画素の色が第1の閾値より濃いか判定する手段と、前記入力画像における注目画素を囲む参照領域内の中に存在する、無彩色であると判定され、かつ、前記第1の閾値より濃いと判定された色を持つ画素の数を判定する手段と、前記注目画素の色が無彩色であると判定され、かつ、前記判定された画素の数が第2の閾値より多いと判定された場合に、前記注目画素の色をK単色に変換する変換手段を有することを特徴とする。   An image processing apparatus that solves the above-described problem includes means for determining whether the color of each pixel included in the input image is a chromatic color or an achromatic color, and the color of each pixel included in the input image is a first color. Means for determining whether it is darker than a threshold, and having a color determined to be achromatic and present in a reference region surrounding the pixel of interest in the input image and to be darker than the first threshold Means for determining the number of pixels, and when it is determined that the color of the target pixel is an achromatic color and the determined number of pixels is greater than a second threshold value, It has the conversion means which converts a color into K single color, It is characterized by the above-mentioned.

グレイのオブジェクトを黒で取り囲んだような絵の発生回数が減少する。   The number of occurrences of a picture surrounding a gray object in black is reduced.

画像形成装置101のソフトウェア構成を示す図である。2 is a diagram illustrating a software configuration of the image forming apparatus 101. FIG. 画像処理部102内の構成を示すブロック図である。2 is a block diagram showing a configuration within an image processing unit 102. FIG. 黒い文字を示した図である。It is the figure which showed the black character. グレーの文字を示した図である。It is the figure which showed the gray character. 実施形態1における無彩色判定処理部203の処理のフローチャートである。6 is a flowchart of processing of an achromatic color determination processing unit 203 according to the first embodiment. 実施形態2における無彩色判定処理部203の処理のフローチャートである。10 is a flowchart of processing of an achromatic color determination processing unit 203 according to Embodiment 2. 色変換処理部204のフローチャートである。5 is a flowchart of a color conversion processing unit 204. 実施形態3における無彩色判定処理部203の処理のフローチャートである。10 is a flowchart of processing of an achromatic color determination processing unit 203 according to Embodiment 3. 課題を説明する図Illustration explaining the problem 実施形態1の考え方を説明する図The figure explaining the view of Embodiment 1

実施形態1の考え方について図10を用いて最初に説明する。図10では、中央のハッチングされた画素が注目画素である。1001の場合も、1002の場合も、1003の場合も、注目画素は、無彩色判定されたエッジ画素となっている
まず従来技術であるが、従来技術は、無彩色判定されたエッジ画素をK単色に変換する。これに対し、実施形態1では、無彩色判定されたエッジ画素が1001や1002の場合にはK単色に変換する。一方で、1003の場合には四色に変換する。この考え方は以下の通りである。
The concept of Embodiment 1 will be described first with reference to FIG. In FIG. 10, the center hatched pixel is the target pixel. In the case of 1001, the case of 1002, and the case of 1003, the pixel of interest is an edge pixel that has been determined to be achromatic. First, in the conventional technique, the edge pixel that has been determined to be achromatic is K. Convert to a single color. On the other hand, in the first embodiment, when the edge pixel determined to be achromatic is 1001 or 1002, it is converted to K single color. On the other hand, in the case of 1003, it is converted into four colors. This idea is as follows.

通常、黒い文字のエッジ画素の周りには、濃い無彩色の画素が閾値(例えば、閾値は2)より多く存在する。例えば、1001のように6画素、1002のように3画素存在する。こうした場合、注目画素は、K単色に変換されるべきである。   Usually, there are more dark achromatic pixels than the threshold (for example, the threshold is 2) around the edge pixels of black characters. For example, there are 6 pixels as 1001 and 3 pixels as 1002. In such a case, the pixel of interest should be converted to K monochrome.

一方、薄い黒の文字のエッジ画素の周りには、濃い無彩色の画素が閾値以下となる。例えば、1003の場合、濃い無彩色の画素は0である。こうした場合、注目画素は、四色に変換されるべきである。これは、図9のように、薄い黒の文字の枠が黒で取り囲まれてしまうのを避けるためである。   On the other hand, dark achromatic pixels are below the threshold value around the edge pixels of light black characters. For example, in the case of 1003, the dark achromatic pixel is zero. In such a case, the pixel of interest should be converted to four colors. This is for avoiding that the frame of the thin black character is surrounded by black as shown in FIG.

(実施形態1)
まず、ソフトウェアの構成例などを説明する。
(Embodiment 1)
First, a configuration example of software will be described.

《ソフトウェア構成例−画像形成装置》
図1は画像形成装置100の構成を説明するための図である。画像形成装置100は、画像入力部101、画像処理部102、画像出力部103を有する。以下、各部の説明を行う。
<< Example of Software Configuration-Image Forming Apparatus >>
FIG. 1 is a diagram for explaining the configuration of the image forming apparatus 100. The image forming apparatus 100 includes an image input unit 101, an image processing unit 102, and an image output unit 103. Hereinafter, each part will be described.

初めに画像入力部101は例えばスキャナである。この画像入力部101は、RGB画像を画像処理部102に入力する。次に画像処理部102は、入力されたRGB画像(入力画像)に対してさまざまな画像処理を行う。画像処理部102の詳細は後述する。画像出力部103は、例えば、CMYKプリンタエンジンであり、画像処理部102から受取った画像を印刷する。   First, the image input unit 101 is a scanner, for example. The image input unit 101 inputs RGB images to the image processing unit 102. Next, the image processing unit 102 performs various image processes on the input RGB image (input image). Details of the image processing unit 102 will be described later. The image output unit 103 is, for example, a CMYK printer engine, and prints an image received from the image processing unit 102.

次に、画像処理部102内の構成について図2を用いて説明する。   Next, the configuration in the image processing unit 102 will be described with reference to FIG.

まず、MTF処理部201は、入力画像に対してMTF処理を行うことで、主走査、副走査のMTFを補正する。補正後の画像は、像域判定部202と無彩色判定処理部203に入力される。   First, the MTF processing unit 201 corrects the MTF for main scanning and sub-scanning by performing MTF processing on the input image. The corrected image is input to the image area determination unit 202 and the achromatic color determination processing unit 203.

像域判定部202は、一画素ずつに注目し、注目画素が文字のエッジ画素か、それ以外かを判定する。像域判定技術は公知の技術であるため詳細は省略するが、例えば、入力画像を二値化し、二値化結果における黒画素の連続性を見て、連続性が第1の閾値以上、第2の閾値以下である場合に、その連続している黒画素を文字であると判定する。そして、判定された文字の輪郭を文字のエッジ部であると判定する技術が知られている。   The image area determination unit 202 pays attention to each pixel and determines whether the pixel of interest is an edge pixel of a character or the other. Since the image area determination technique is a known technique, the details thereof are omitted. If the threshold is less than or equal to 2, the continuous black pixels are determined to be characters. A technique for determining the outline of the determined character as an edge portion of the character is known.

その後、無彩色判定処理部203は、文字のエッジ部と判定された画素がK単色に変換されるべきか、四色に変換されるべきか判定する。この無彩色判定処理部203の詳細は後で述べる。   Thereafter, the achromatic color determination processing unit 203 determines whether the pixel determined to be the edge portion of the character should be converted to K single color or four colors. Details of the achromatic color determination processing unit 203 will be described later.

その後、色変換処理部204は、文字のエッジ部と判定され、かつ、K単色に変換されるべきと判定された画素をRGBからK単色に変換し、それ以外の画素をRGBから四色に変換する。   Thereafter, the color conversion processing unit 204 converts the pixel determined to be the edge portion of the character and to be converted to K single color from RGB to K single color, and the other pixels from RGB to four colors. Convert.

次に、フィルタ処理部205は、文字のエッジ部にはエッジ強調を行い、それ以外の部分にはスムージング(スムージング=ぼかし処理)を行う。これにより、文字のエッジ部をくっきりさせることが出来る一方で、それ以外の部分を滑らかにすることが出来る。   Next, the filter processing unit 205 performs edge enhancement on the edge portion of the character and performs smoothing (smoothing = blurring processing) on the other portions. Thereby, while the edge part of a character can be clarified, the other part can be smoothed.

そして、ガンマ処理部206は、画像形成装置100の出力時の濃度特性に合わせて階調を変換し(即ち、ガンマ補正し)、最後にディザ処理部207がディザ処理を行い、画像出力部103へ送信する。   Then, the gamma processing unit 206 converts the gradation according to the density characteristic at the time of output of the image forming apparatus 100 (that is, performs gamma correction), and finally the dither processing unit 207 performs dither processing, and the image output unit 103 Send to.

次に無彩色判定処理部203について説明を行う。この無彩色判定処理部203は、黒い文字のエッジ部を、K単色に変換されるべきであると判定する。一方でグレーの文字のエッジ部を四食に変換されるべきであると判定する。黒い文字については図3を用いて説明を行い、グレーの文字については図4を用いて説明を行う。   Next, the achromatic color determination processing unit 203 will be described. The achromatic color determination processing unit 203 determines that the edge portion of a black character should be converted to K single color. On the other hand, it is determined that the edge portion of the gray character should be converted into four meals. Black characters will be described with reference to FIG. 3, and gray characters will be described with reference to FIG.

図3(B)は、黒い文字を表した図3(A)の一部301を拡大したものである。処理の対象となる注目画素302と、その周りを参照する参照領域303を示している。この参照領域303は、注目画素を中心とする3×3画素の領域でもよいし5×5画素以上の領域でもよいが、本実施例では3×3画素の領域であるものとして以下説明する。なお、この参照領域303には、注目画素が含まれても、含まれなくても良いが、以下では、含まれないものとして説明する。即ち、参照領域は、3×3画素の領域における注目画素を除く8画素である。   FIG. 3B is an enlarged view of a part 301 of FIG. 3A showing black characters. A target pixel 302 to be processed and a reference area 303 that refers to the periphery of the target pixel 302 are shown. The reference area 303 may be a 3 × 3 pixel area centered on the target pixel, or may be an area of 5 × 5 pixels or more. In this embodiment, the reference area 303 will be described below as an area of 3 × 3 pixels. The reference area 303 may or may not include the pixel of interest, but will be described below as not being included. That is, the reference area is 8 pixels excluding the target pixel in the 3 × 3 pixel area.

また、グレー部305は、黒い文字をスキャナが読み取る際にエッジがぼけて薄くなった箇所を示している。304は、黒い文字の内側に対応する画素となっており、薄くなっていない。また、像域判定部202によって文字のエッジと判定された箇所が306である。そして、注目画素302の位置の違いによって図3(B)、図3(C)、図3(D)の場合が考えられる。   A gray portion 305 indicates a portion where the edge is blurred and thinned when the scanner reads black characters. Reference numeral 304 denotes a pixel corresponding to the inside of a black character, and is not thinned. Further, the number 306 is determined as the edge of the character by the image area determination unit 202. 3B, 3C, and 3D can be considered depending on the position of the pixel of interest 302.

すなわち、図3(B)では、注目画素302も参照領域303内の全ての画素も、黒い文字部304に属する画素となっている。また、図3(C)では、注目画素302は黒い文字部304に属するが、その参照領域303内の中には、グレー部305に属する画素もある。最後に、図3(D)では、注目画素302がグレー部305に属するが、参照領域303内には、黒い文字部304に属する画素もある。   That is, in FIG. 3B, the target pixel 302 and all the pixels in the reference area 303 are pixels belonging to the black character portion 304. In FIG. 3C, the target pixel 302 belongs to the black character portion 304, but some pixels in the reference area 303 belong to the gray portion 305. Finally, in FIG. 3D, the target pixel 302 belongs to the gray portion 305, but there are pixels belonging to the black character portion 304 in the reference area 303.

本実施例によれば黒い文字に対して、無彩色判定処理部203は、図3(B)、図3(C)、図3(D)のいずれの場合も注目画素302をK単色に変換すべきと判定する。   According to the present embodiment, for a black character, the achromatic color determination processing unit 203 converts the pixel of interest 302 into K single color in any of the cases of FIG. 3B, FIG. 3C, and FIG. Judge that it should be.

一方、図4(B)はグレーの文字を表した図4(A)の一部401を拡大したもので、処理の対象となる注目画素402と、その周りを参照する参照領域403を示している。そして、薄いグレー部405は、グレーの文字をスキャナが読み取る際にエッジがぼけて薄くなった箇所を示している。また、像域判定部202によって文字のエッジと判定された箇所が406である。そして、注目画素402の位置の違いによって図4(B)、図4(C)、図4(D)の場合が考えられる。   On the other hand, FIG. 4B is an enlarged view of a part 401 of FIG. 4A showing gray characters, and shows a target pixel 402 to be processed and a reference region 403 that refers to the surrounding area. Yes. A light gray portion 405 indicates a portion where the edge is blurred and thinned when the scanner reads gray characters. Further, the number 406 is determined as the edge of the character by the image area determination unit 202. 4B, 4C, and 4D can be considered depending on the position of the pixel of interest 402.

すなわち、図4(B)では注目画素402も参照領域403内の全ての画素もグレーの文字部404に属している。また、図4(C)では、注目画素402はグレーの文字部404に属するが、その参照領域403内には薄いグレー部405に属する画素もある。最後に、図4(D)では、注目画素が薄いグレー部405に属し、参照領域403内にはグレー部404に属する画素も存在する。   That is, in FIG. 4B, the target pixel 402 and all the pixels in the reference area 403 belong to the gray character portion 404. In FIG. 4C, the target pixel 402 belongs to the gray character portion 404, but there are pixels belonging to the light gray portion 405 in the reference area 403. Finally, in FIG. 4D, the pixel of interest belongs to the light gray portion 405, and there are also pixels belonging to the gray portion 404 in the reference region 403.

本実施例によればグレーの文字に対して、無彩色判定処理部203は、図4(B)、図4(C)、図4(D)のいずれの場合も注目画素402を四色に変換すべきと判定する。   According to the present embodiment, the achromatic color determination processing unit 203 sets the target pixel 402 to four colors in any of FIGS. 4B, 4C, and 4D for gray characters. Judge that it should be converted.

以下、図5のフローチャートを用いて無彩色判定処理部203が、図3(B)、図3(C)、図3(D)の場合には無彩色と判定し、図4(B)、図4(C)、図4(D)の場合には有彩色と判定する方法について説明を行う。   Hereinafter, the achromatic color determination processing unit 203 determines the achromatic color in the case of FIGS. 3B, 3 </ b> C, and 3 </ b> D using the flowchart of FIG. 5, and FIG. In the case of FIGS. 4C and 4D, a method for determining a chromatic color will be described.

初めに、Step1aにて注目画素が無彩色か否かを判定する。ここでは、RGBの色空間からLabへ色空間変換を行い、Lab空間上のどの領域に位置するかによって無彩色か否かを判定する。例えば、閾値より色差の値が小さい(aの値もbの値も小さい)画素を無彩色であると判定する。その結果、有彩色であればNoとなりStep10aへ進み、無彩色であればYesとなりStep2aへ進む。   First, in Step 1a, it is determined whether or not the target pixel is an achromatic color. Here, color space conversion from RGB color space to Lab is performed, and whether or not the color is achromatic is determined depending on which region in the Lab space is located. For example, it is determined that a pixel having a color difference value smaller than the threshold value (a value and b value is small) is an achromatic color. As a result, if it is a chromatic color, it will become No and will progress to Step10a, and if it is an achromatic color, it will become Yes and will progress to Step2a.

次に、Step2aでは、参照領域内に存在する画素の一つ一つを取り上げ、その画素が無彩色であるか否かを判定する。ここで有彩色であればStep5aへ進み、無彩色であればStep3aへ進む。そしてStep3aでは、参照領域内の画素が濃い画素であるか否かを判定する。ここでは、Lの値を見て、その値が閾値より濃い画素であるか否かを判定する。薄い画素(閾値以上のLの値を持つ画素)と判定されればStep5aへ進み、濃い画素と判定されれば、Step4aへ進む。そしてStep4aでは、無彩色かつ濃いと判定された画素の数をカウントする。その後、Step5aでは、参照領域内の画素を全て判定したか否かを判定する。参照領域内の画素を全て判定し終えたら、YesとなりStep7aへ進み、NoならStep6aへ進む。そしてStep6aでは、次の参照領域内の次の画素へ進みStep2aへ進む。以上の処理により、参照領域内に存在する無彩色の閾値より濃い画素の数がカウントされる。   Next, in Step 2a, each pixel present in the reference area is picked up, and it is determined whether or not the pixel is an achromatic color. If it is a chromatic color, it will progress to Step 5a, and if it is an achromatic color, it will progress to Step 3a. In Step 3a, it is determined whether or not the pixels in the reference area are dark pixels. Here, it is determined whether or not the value of L is a pixel whose value is darker than the threshold value. If it is determined that the pixel is a thin pixel (a pixel having an L value equal to or greater than the threshold value), the process proceeds to Step 5a. If it is determined that the pixel is a dark pixel, the process proceeds to Step 4a. In Step 4a, the number of pixels determined to be achromatic and dark is counted. Thereafter, in Step 5a, it is determined whether or not all the pixels in the reference area have been determined. When all the pixels in the reference area have been determined, the determination becomes Yes, and the process proceeds to Step 7a. If No, the process proceeds to Step 6a. In Step 6a, the process proceeds to the next pixel in the next reference area and proceeds to Step 2a. With the above processing, the number of pixels darker than the achromatic threshold existing in the reference area is counted.

その後、Step7aでは、参照領域における無彩色の閾値より濃い画素の数があらかじめ定められた数(閾値)よりも多いか否かを判定する。多い場合、Step8aへ進む一方で少なければStep9aへ進む。そしてStep8aでは、K単色に変換されるべきと判定され終了し、一方でStep9aでは四色に変換されるべきと判定され終了する。   Thereafter, in Step 7a, it is determined whether or not the number of pixels darker than the achromatic threshold value in the reference area is greater than a predetermined number (threshold value). When there are many, it progresses to Step8a, but when there are few, it progresses to Step9a. In Step 8a, it is determined that the color is to be converted to K single color, and the process is ended. On the other hand, in Step 9a, it is determined that the color is to be converted to four colors, and the process is ended.

そして、Step1aにて有彩色と判定された場合、Step10aへ進みStep10aにて参照領域内の画素が無彩色であるか否かを判定する。有彩色と判定されるとStep12aへ進み、無彩色と判定されるとStep11aへ進む。Step11aでは、無彩色の画素をカウントし、Step12aでは参照領域内の画素が全て判定されたか判定する。ここで参照領域内の画素が全て判定されていなければNoとなりStep13aへ進む。Step13aにて参照領域内の次の画素へ進み、Step10aへ進む。一方、Step12aにおいて参照領域内の画素が全て判定されればYesとなりStep14aへ進み、Step14aにて無彩色と判定された画素数があらかじめ定められた閾値Bより多いか否かを判定する。多いと判定されればStep15aへ進みK単色に変換されるべきと判定され終了し、少ないと判定されればStep16aへ進み四色に変換されるべきと判定される。   If it is determined that the color is chromatic in Step 1a, the process proceeds to Step 10a, and it is determined whether or not the pixels in the reference area are achromatic in Step 10a. If it is determined that the color is chromatic, the process proceeds to Step 12a. If it is determined that the color is achromatic, the process proceeds to Step 11a. In Step 11a, achromatic pixels are counted, and in Step 12a, it is determined whether all the pixels in the reference area have been determined. Here, if all the pixels in the reference area have not been determined, the result is No and the process proceeds to Step 13a. In Step 13a, the process proceeds to the next pixel in the reference area, and then proceeds to Step 10a. On the other hand, if all the pixels in the reference area are determined in Step 12a, the process proceeds to Step 14a, where it is determined whether or not the number of pixels determined to be achromatic in Step 14a is greater than a predetermined threshold B. If it is determined that the number is large, the process proceeds to Step 15a, where it is determined that the color should be converted to K single color, and the process ends.

ここでStep1aにて注目画素が有彩色の場合のStep10aからStep16aまでの判定方法では、参照領域内の無彩色画素の多さで注目画素が有彩色か無彩色かを決定した。しかし、注目画素と参照領域内の画素全てのLabの平均をとって、その平均のLabがLab空間内の無彩色領域に位置しているか有彩色領域に位置しているかを判定してもよい。なお、Step1aにて注目画素が無彩色であるか有彩色であるかによって処理が変わる理由は、注目画素が有彩色である場合は参照領域内の画素の濃い画素の数は関係ないためである。例えば、黒い文字の背景が赤背景であった場合で注目画素が赤背景上にあり参照領域内に黒い文字の黒い画素があったとしても有彩色と判定されるべきである。ただし、注目画素が間違って有彩色であると判定されているケースも考えられるため、そうしたケースを救う必要がある。そこで本実施例では、注目画素以外に無彩色である画素が非常に多い場合には、注目画素も実は本来は無彩色であったのではなかろうかと考え、K単色に変換されるべきと判定している。   Here, in Step 1a, in the determination method from Step 10a to Step 16a when the target pixel is a chromatic color, whether the target pixel is a chromatic color or an achromatic color is determined based on the number of achromatic pixels in the reference region. However, the Lab of all the pixels in the target pixel and the reference region may be averaged to determine whether the average Lab is located in the achromatic region or the chromatic region in the Lab space. . Note that the reason why the processing changes depending on whether the target pixel is achromatic or chromatic in Step 1a is that when the target pixel is chromatic, the number of dark pixels in the reference area is not relevant. . For example, if the background of a black character is a red background and the pixel of interest is on the red background and there is a black pixel of a black character in the reference area, it should be determined as a chromatic color. However, there may be a case where the target pixel is erroneously determined to be a chromatic color, and it is necessary to save such a case. Therefore, in this embodiment, when there are a large number of pixels that are achromatic colors other than the target pixel, it is considered that the target pixel was actually originally an achromatic color, and it is determined that it should be converted to K single color. ing.

以上により無彩色判定処理部203の詳細説明を終える。なお、無彩色判定処理部203は、像域判定部202で文字のエッジ部と判定された画素に対してのみ無彩色判定処理(図7の処理)を行う。それ以外の画素に対しては、無彩色判定処理(図7の処理)は行わない。   The detailed description of the achromatic color determination processing unit 203 ends here. The achromatic color determination processing unit 203 performs the achromatic color determination process (the process of FIG. 7) only on the pixels determined by the image area determination unit 202 as the edge portion of the character. The achromatic color determination process (the process of FIG. 7) is not performed for the other pixels.

上記説明によれば、無彩色判定処理部203は、注目画素が無彩色でかつ参照領域に濃い画素が閾値Aより多ければ無彩色と判定するが、注目画素が無彩色と判定されていても参照領域に濃い画素が閾値A以下であれば有彩色と判定されることを意味する。   According to the above description, the achromatic color determination processing unit 203 determines an achromatic color if the pixel of interest is an achromatic color and the number of dark pixels in the reference area is greater than the threshold A, but the pixel of interest is determined to be an achromatic color. If the dark pixel in the reference area is equal to or less than the threshold A, it means that the pixel is determined as a chromatic color.

したがって、黒い文字は図3(B)、図3(C)、図3(D)のいずれの場合も参照領域303に濃い画素が閾値A(=2の時)より多いのでK単色に変換されるべきと判定される。一方、グレーの文字は図4(B)、図4(C)、図4(D)のいずれの場合も参照領域403に濃い画素が閾値Aより少ないので四色に変換されるべきと判定される。   Accordingly, the black character is converted to K monochrome because there are more dark pixels in the reference area 303 than the threshold A (= 2) in any of the cases of FIGS. 3B, 3C, and 3D. It is determined that it should be. On the other hand, the gray characters are determined to be converted into four colors because dark pixels in the reference area 403 are less than the threshold value A in any of the cases of FIGS. 4B, 4C, and 4D. The

以上によって、黒い文字のエッジ部は無彩色と判定しK単色で出力され、一方でグレーの文字のエッジ部は有彩色と判定し四色で出力される。これによってグレーの文字のエッジをK単色で囲むような画像劣化を防ぐことができる一方で、黒い文字のエッジにはK単色で出力することで可読性の良い出力物を提供することができる。   As described above, the edge portion of the black character is determined as an achromatic color and is output in K single color, while the edge portion of the gray character is determined as a chromatic color and is output in four colors. As a result, it is possible to prevent image deterioration in which the edge of a gray character is surrounded by a single K color, while an output with good readability can be provided by outputting the black character edge in a single K color.

(実施形態2)
実施形態1では、無彩色判定処理部203のStep7aにて参照領域内の黒い画素数があらかじめ定められた一つの閾値より多いか少ないかで無彩色であるか否かを判定した。その結果、あらかじめ定めた数よりも多いか少ないかでK単色で出力される画素と四色で出力される画素とが切り替わる可能性がある。
(Embodiment 2)
In the first embodiment, in Step 7a of the achromatic color determination processing unit 203, it is determined whether or not the color is an achromatic color depending on whether the number of black pixels in the reference area is larger or smaller than a predetermined threshold value. As a result, there is a possibility that the pixel output in the K single color and the pixel output in the four colors are switched depending on whether the number is larger or smaller than the predetermined number.

そこで実施形態2では、参照領域内に黒い画素をカウントする際にあらかじめ複数の閾値を用意し、参照領域内の黒画素数に応じて四色で出力する際のKの量を調節する。以下、図6のフローチャートを用いて述べる。なお、実施形態1で説明した内容については説明を省略する。   Therefore, in the second embodiment, a plurality of threshold values are prepared in advance when counting black pixels in the reference area, and the amount of K when outputting in four colors is adjusted according to the number of black pixels in the reference area. Hereinafter, this will be described with reference to the flowchart of FIG. Note that the description of the contents described in the first embodiment is omitted.

Step1aからStep6aまでは実施形態1と同じなので説明を省略する。Step7aでは、Step4aでカウントした濃い画素の数とあらかじめ定めた閾値Aとを比較して少なければNoとなりStep9aへすすみ、四色に変換されるべきと判定される。一方で、閾値Aよりも多ければYesとなりStep1bへ進む。Step1bでは、Step4aでカウントした無彩色の濃い画素の数があらかじめ定めた閾値Cと比較して少なければNoとなりStep2bへ進みグレーと判定される。また多ければYesとなりStep8aへ進み、K単色に変換されるべきと判定される。ここで閾値A<閾値Cの関係にある。   Since Step 1a to Step 6a are the same as those in the first embodiment, description thereof is omitted. In Step 7a, if the number of dark pixels counted in Step 4a is compared with the predetermined threshold A, the result is No, and the process proceeds to Step 9a, where it is determined that the four colors should be converted. On the other hand, if it is larger than the threshold A, it becomes Yes and proceeds to Step 1b. In Step 1b, if the number of dark achromatic pixels counted in Step 4a is smaller than the predetermined threshold C, the result is No and the process proceeds to Step 2b and is determined to be gray. If there are more, the result is Yes, and the process proceeds to Step 8a, where it is determined that the color should be converted to K single color. Here, the relationship of threshold A <threshold C is established.

Step9aからStep16aは実施形態1と同じなので説明を省略する。以上により、図6のフローチャートの説明を終える。上記処理も実施形態1と同じく文字やオブジェクトのエッジ部のみ行われる。   Since Step 9a to Step 16a are the same as those in the first embodiment, description thereof is omitted. This is the end of the description of the flowchart of FIG. Similar to the first embodiment, the above processing is also performed only on the edges of characters and objects.

次に、色変換処理部204について図7のフローチャートを用いて説明を行う。
Step1cでは、注目する画素が四色に変換されるべきと判定されているか、判定する。四色と判定された画素であればYesとなりStep2cへ進みRGBから四色に変換して終了する。そして四色と判定された画素でなければNoとなりStep3cへ進む。Step3cではグレー画素と判定されたか否かを判定する。グレー画素と判定された画素であればYesとなりStep4cへ進みRGBからC’M’Y’K’へ変換する。ここで、C’M’Y’K’はStep2cのCMYKと比較してC’<C、M’<M、Y’<Y、K’>Kの関係にある。そしてグレー画素と判定された画素でなければNoとなりStep5cへ進みRGBからK単色へ変換される。以上によって色変換処理部204の説明を終える。
Next, the color conversion processing unit 204 will be described with reference to the flowchart of FIG.
In Step 1c, it is determined whether it is determined that the pixel of interest should be converted into four colors. If the pixel is determined to be four colors, the result is Yes, the process proceeds to Step 2c, and RGB is converted to four colors, and the process ends. If the pixel is not determined to be four colors, the result is No and the process proceeds to Step 3c. In Step 3c, it is determined whether or not it is determined as a gray pixel. If the pixel is determined to be a gray pixel, the result is Yes, and the process proceeds to Step 4c to convert RGB to C′M′Y′K ′. Here, C′M′Y′K ′ has a relationship of C ′ <C, M ′ <M, Y ′ <Y, K ′> K as compared with CMYK in Step 2c. If the pixel is not determined to be a gray pixel, the result is No and the process proceeds to Step 5c, where RGB is converted to K single color. This is the end of the description of the color conversion processing unit 204.

上記処理により参照領域内の黒画素数に応じてK単色、グレー画素、四色に判定することでKの量をコントロールすることができる。これにより、黒画素と判定された画素数が閾値付近であったとしてもKの量が極端に変動することがないため画質の劣化を防ぐことができる。なお、本実施形態では参照領域内の黒画素数に応じてK単色、グレー、四色の3つに判定した。しかし、K単色、グレー1、グレー2・・・四色とより細かく判定することで色変換処理部204がRGBからCMYKに変換する際のCMYKの量をより細かく変化させてもよい。   The amount of K can be controlled by determining the color to be K single color, gray pixel, or four colors according to the number of black pixels in the reference area by the above processing. As a result, even if the number of pixels determined to be black pixels is near the threshold value, the amount of K does not fluctuate drastically, so that deterioration in image quality can be prevented. In the present embodiment, the determination is made to be K single color, gray, or four colors according to the number of black pixels in the reference area. However, the amount of CMYK when the color conversion processing unit 204 converts from RGB to CMYK may be changed more finely by determining more finely as K single color, gray 1, gray 2... Four colors.

(実施形態3)
実施形態2では参照領域の黒い画素をカウントする際の閾値を複数持つことでK単色で出力される画素と四色で出力される画素との切り替わりを目立たなくさせた。実施形態3では参照領域内の黒画素の濃さによる閾値を複数持つことによりK単色で出力させる画素と四色で出力する画素との切り替わりを目立たなくさせる。以下、図8のフローチャートを用いて説明する。本実施例も他の実施例で説明した内容については説明を省略する。Step1aからStep2aまでは実施形態1と同じなので説明を省略する。
(Embodiment 3)
In the second embodiment, a plurality of thresholds for counting black pixels in the reference area are provided, thereby making the switching between pixels output in K single color and pixels output in four colors inconspicuous. In the third embodiment, by having a plurality of threshold values based on the darkness of the black pixels in the reference area, switching between pixels that are output in K single color and pixels that are output in four colors is made inconspicuous. Hereinafter, a description will be given with reference to the flowchart of FIG. In this embodiment, the description of the contents described in the other embodiments is omitted. Since Step 1a to Step 2a are the same as those in the first embodiment, description thereof will be omitted.

Step1dでは、参照領域内の画素があらかじめ定めた閾値Dより濃いか否かを判定する。ここでは画素のL値が低ければ濃いと判定しその結果、薄ければNoとなりStep3dへ進み、濃ければYesとなりStep2dへ進む。そしてStep2dでは、画素数をカウントしStep5aへ進む。   In Step 1d, it is determined whether or not the pixels in the reference area are darker than a predetermined threshold value D. Here, if the L value of the pixel is low, it is determined that the pixel is dark. As a result, if the pixel is thin, the result is No and the process proceeds to Step 3d. If the pixel is dark, the process proceeds to Yes. In Step 2d, the number of pixels is counted and the process proceeds to Step 5a.

一方、Step3dでは、参照領域内の画素があらかじめ定めた閾値Eより濃いか否かを判定する。ここで薄ければNoとなりStep5aへ進み、濃ければYesとなりStep4dへ進む。そしてStep4dでは、画素数をカウントしStep5aへ進む。Step6aは実施形態1と同じなので省略する。   On the other hand, in Step 3d, it is determined whether or not the pixels in the reference area are darker than a predetermined threshold value E. If it is light here, it becomes No and proceeds to Step 5a, and if it is dark, it becomes Yes and proceeds to Step 4d. In Step 4d, the number of pixels is counted and the process proceeds to Step 5a. Since Step 6a is the same as that of the first embodiment, it is omitted.

Step5dでは、閾値Dより濃い画素があらかじめ定められた閾値Fより多いか否かを判定する。ここで多ければYesとなりStep8aへ進み、K単色に変換されるべきと判定され、少なければNoとなりStep6dへ進む。Step6dでは、閾値Eより濃いと判定された画素と閾値Dより濃いと判定された画素の合計の画素数があらかじめ定められた閾値Gより多いか否かを判定する。ここで多ければYesとなりStep2bへ進みグレーと判定され、少なければNoとなりStep9aへ進み、四色に変換されるべきと判定される。Step10aからStep16aは実施形態1と同じなので省略する。   In Step 5d, it is determined whether or not there are more pixels darker than the threshold value D than a predetermined threshold value F. If there is more, it will become Yes and will progress to Step8a, and it will determine that it should convert into K single color, and if it is less, it will become No and will progress to Step6d. In Step 6d, it is determined whether or not the total number of pixels determined to be darker than the threshold E and pixels determined to be darker than the threshold D is greater than a predetermined threshold G. If there is more, it becomes Yes and proceeds to Step 2b and is determined to be gray, and if it is less, it becomes No and proceeds to Step 9a to determine that it should be converted into four colors. Step 10a to Step 16a are the same as those in the first embodiment, and are omitted.

以上により図8のフローチャートの説明を終える。ここで閾値Eは閾値Dよりも薄い画素を判定する。そうすることで実施形態1ではStep3aの判定一つで無彩色か有彩色か判定が変わることがあったが、本実施例ではStep1dでNoとなった判定をStep3dでYesと判定することができる。   This is the end of the description of the flowchart of FIG. Here, the threshold E is determined to be a pixel thinner than the threshold D. By doing so, in the first embodiment, the determination of whether it is an achromatic color or a chromatic color may change in one determination of Step 3a. However, in this embodiment, the determination of No in Step 1d can be determined as Yes in Step 3d. .

色変換処理部204については実施形態2の方法と同じなので説明を省略する。上記処理によって、参照画素の濃い画素をカウントする際、閾値によってK単色か四色か判定が大きく変わらないようにすることができる。その結果、参照領域内の黒画素の濃さによる閾値を複数持つことによりK単色で出力させる画素と四色で出力する画素との切り替わりを目立たなくさせることができる。   Since the color conversion processing unit 204 is the same as the method of the second embodiment, the description thereof is omitted. With the above processing, when counting pixels with dark reference pixels, it is possible to prevent the determination of whether the color is K single color or four colors depending on the threshold value. As a result, by having a plurality of threshold values based on the darkness of the black pixels in the reference area, it is possible to make the switching between pixels that are output in K single color and pixels that are output in four colors inconspicuous.

(他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、上記各実施形態では、step1a、step2a、step3a、step10a、step1d、そしてstep3dで、各画素の色が無彩色であるか有彩色であるかの判定1や、各画素の色が閾値より濃いか否かの判定2を行うようにした。しかしながら、各ステップにおいてそれらの判定を行うのではなく、事前に1ページ内の全ての画素に対する判定1および判定2を行っておき、各ステップでは、判定1又は判定2の判定結果を参照するようにしても良い。その場合、判定1及び判定2は、無彩色判定処理部203が、図5、図6又は図8のフローチャートに示される処理が行われる前に、行うことになる。   In each of the above embodiments, in step 1a, step 2a, step 3a, step 10a, step 1d, and step 3d, the determination 1 of whether the color of each pixel is an achromatic color or a chromatic color, and the color of each pixel is darker than the threshold value Whether or not to determine 2 is made. However, instead of performing these determinations in each step, determination 1 and determination 2 are performed for all pixels in one page in advance, and in each step, the determination result of determination 1 or determination 2 is referred to. Anyway. In that case, the determination 1 and the determination 2 are performed before the achromatic color determination processing unit 203 performs the processing shown in the flowchart of FIG. 5, FIG. 6, or FIG.

また、上記各実施形態では、注目画素の色が有彩色であると判定されたとしても、参照領域内の画素に無彩色の画素が閾値以上存在すると判定された場合に、注目画素の色をK単色に変換すべきと判定している(step14a)。しかしながら、参照領域内の画素に無彩色の画素が閾値以上存在するかどうかの判定(以下、判定Aと称する)は行わなくてもよい。つまり、この判定Aを行わず、注目画素の色が有彩色であると判定された場合には、必ず、その注目画素の色は、四色に変換されるべきと判定してもよい。   In each of the above embodiments, even if it is determined that the color of the pixel of interest is a chromatic color, if it is determined that there are achromatic pixels or more in the reference region, the color of the pixel of interest is changed. It is determined that it should be converted to K monochrome (step 14a). However, it is not necessary to determine whether or not an achromatic color pixel is present in the reference region at or above the threshold (hereinafter referred to as determination A). That is, without performing this determination A, when it is determined that the color of the pixel of interest is a chromatic color, it may be determined that the color of the pixel of interest should be converted into four colors.

なお、上記各実施形でこの判定Aを行っているのは、たとえ注目画素の色が有彩色であったとしても、それは間違いであるかもしれないためである。例えば、注目画素の色が有彩色であり、参照領域内の他の画素(例えば、8つの画素)の全ての色が無彩色であると判定された場合、注目画素の色は、本当は無彩色である可能性がある(色ずれによって有彩色と判定されてしまっただけで)。そうした場合を救うために、各実施形態では、判定Aを行っている。   Note that the reason why the determination A is performed in each of the above embodiments is that even if the pixel of interest has a chromatic color, it may be wrong. For example, when it is determined that the color of the target pixel is a chromatic color and all the colors of other pixels (for example, eight pixels) in the reference region are achromatic colors, the color of the target pixel is actually an achromatic color. (Just because it was determined to be chromatic due to color shift). In order to save such a case, the determination A is performed in each embodiment.

ただし、この判定Aをたとえ行う場合でも、その判定基準(閾値)は大きいものでなくてはいけない。注目画素の色が有彩色であると判定された場合には、注目画素の色が無彩色であると判定された場合よりも、簡単にK単色に変換されるべきだと判定されてはいけない。そこで、step14aで用いられる閾値(閾値B)は、step7aで用いられる閾値(閾値A)よりも1以上(好ましくは2以上)大きい値であるべきである。また、step14aで用いられる閾値(閾値2)は、step5dで用いられる閾値(閾値F)よりも1以上(好ましくは2以上)大きい値であるべきである。   However, even when this determination A is performed, the determination criterion (threshold value) must be large. When it is determined that the color of the target pixel is a chromatic color, it should not be determined that it should be easily converted to K single color, compared to when it is determined that the color of the target pixel is an achromatic color. . Therefore, the threshold value (threshold value B) used in step 14a should be 1 or more (preferably 2 or more) larger than the threshold value (threshold value A) used in step 7a. Further, the threshold value (threshold value 2) used in step 14a should be 1 or more (preferably 2 or more) larger than the threshold value (threshold value F) used in step 5d.

101 画像入力部
102 画像処理部
103 画像出力部
101 Image input unit 102 Image processing unit 103 Image output unit

Claims (17)

入力画像に含まれる各画素の色が有彩色であるか、無彩色であるか判定する手段と、
前記入力画像に含まれる各画素の色が第1の閾値より濃いか判定する手段と、
前記入力画像における注目画素を囲む参照領域内の中に存在する、無彩色であると判定され、かつ、前記第1の閾値より濃いと判定された色を持つ画素の数を判定する手段と、
前記注目画素の色が無彩色であると判定され、かつ、前記判定された画素の数が第2の閾値より多いと判定された場合に、前記注目画素の色をK単色に変換する変換手段を有することを特徴とする画像処理装置。
Means for determining whether the color of each pixel included in the input image is a chromatic color or an achromatic color;
Means for determining whether the color of each pixel included in the input image is darker than a first threshold;
Means for determining the number of pixels that exist in a reference region surrounding the target pixel in the input image, are determined to be achromatic, and have a color determined to be darker than the first threshold;
Conversion means for converting the color of the pixel of interest into a K single color when it is determined that the color of the pixel of interest is an achromatic color and the number of determined pixels is greater than a second threshold value An image processing apparatus comprising:
前記変換手段は、
前記注目画素の色が無彩色であると判定され、かつ、前記判定された画素の数が第2の閾値より少ないと判定された場合に、前記注目画素の色をCMYKの四色に変換することを特徴とする請求項1に記載の画像処理装置。
The converting means includes
When it is determined that the color of the pixel of interest is an achromatic color and the number of determined pixels is less than a second threshold, the color of the pixel of interest is converted into four colors of CMYK. The image processing apparatus according to claim 1.
前記参照領域は、前記注目画素を中心とした3×3画素の領域であることを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the reference area is a 3 × 3 pixel area centered on the target pixel. 前記参照領域には、前記注目画素は含まれないことを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the target pixel is not included in the reference area. 前記注目画素の色は、変換される前は、RGBで表されており、
K単色は、CMYK(K≠0、C=M=Y=0)であり、
四色は、CMYK(C≠0、M≠0、Y≠0、Kは0でも0でなくても良い)であることを特徴とする請求項2に記載の画像処理装置。
The color of the pixel of interest is represented in RGB before conversion,
K single color is CMYK (K ≠ 0, C = M = Y = 0),
The image processing apparatus according to claim 2, wherein the four colors are CMYK (C ≠ 0, M ≠ 0, Y ≠ 0, K may be 0 or not 0).
入力画像に含まれる各画素の色が有彩色であるか、無彩色であるかの判定は、
当該各画素の色の色差と第3の閾値との比較によってなされることを特徴とする請求項1乃至5の何れか1項に記載の画像処理装置。
To determine whether the color of each pixel included in the input image is chromatic or achromatic,
The image processing apparatus according to claim 1, wherein the image processing apparatus performs the comparison by comparing a color difference between the colors of the pixels and a third threshold value.
前記注目画素は、エッジ画素であることを特徴とする請求項1乃至6の何れか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the target pixel is an edge pixel. 前記注目画素は、文字のエッジ画素であることを特徴とする請求項1乃至7の何れか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the target pixel is an edge pixel of a character. 入力画像に含まれる各画素の色が有彩色であるか、無彩色であるか判定する工程と、
前記入力画像に含まれる各画素の色が第1の閾値より濃いか判定する工程と、
前記入力画像における注目画素を囲む参照領域内の中に存在する、無彩色であると判定され、かつ、前記第1の閾値より濃いと判定された色を持つ画素の数を判定する工程と、
前記注目画素の色が無彩色であると判定され、かつ、前記判定された画素の数が第2の閾値より多いと判定された場合に、前記注目画素の色をK単色に変換する変換工程を有することを特徴とする画像処理装置の制御方法。
Determining whether the color of each pixel included in the input image is a chromatic color or an achromatic color;
Determining whether the color of each pixel included in the input image is darker than a first threshold;
Determining the number of pixels present in a reference region surrounding the target pixel in the input image, determined to be achromatic, and having a color determined to be darker than the first threshold;
A conversion step of converting the color of the pixel of interest into a K single color when it is determined that the color of the pixel of interest is an achromatic color and the number of determined pixels is greater than a second threshold value. A control method for an image processing apparatus, comprising:
前記変換工程は、
前記注目画素の色が無彩色であると判定され、かつ、前記判定された画素の数が第2の閾値より少ないと判定された場合に、前記注目画素の色をCMYKの四色に変換することを特徴とする請求項9に記載の画像処理装置の制御方法。
The conversion step includes
When it is determined that the color of the pixel of interest is an achromatic color and the number of determined pixels is less than a second threshold, the color of the pixel of interest is converted into four colors of CMYK. The method of controlling an image processing apparatus according to claim 9.
前記参照領域は、前記注目画素を中心とした3×3画素の領域であることを特徴とする請求項9又は10に記載の画像処理装置の制御方法。   11. The method according to claim 9, wherein the reference area is a 3 × 3 pixel area centered on the target pixel. 前記参照領域には、前記注目画素は含まれないことを特徴とする請求項11に記載の画像処理装置の制御方法。   The method according to claim 11, wherein the target pixel is not included in the reference region. 前記注目画素の色は、変換される前は、RGBで表されており、
K単色は、CMYK(K≠0、C=M=Y=0)であり、
四色は、CMYK(C≠0、M≠0、Y≠0、Kは0でも0でなくても良い)であることを特徴とする請求項10に記載の画像処理装置の制御方法。
The color of the pixel of interest is represented in RGB before conversion,
K single color is CMYK (K ≠ 0, C = M = Y = 0),
11. The method of controlling an image processing apparatus according to claim 10, wherein the four colors are CMYK (C ≠ 0, M ≠ 0, Y ≠ 0, K may be 0 or not 0).
入力画像に含まれる各画素の色が有彩色であるか、無彩色であるかの判定は、
当該各画素の色の色差と第3の閾値との比較によってなされることを特徴とする請求項9乃至13の何れか1項に記載の画像処理装置の制御方法。
To determine whether the color of each pixel included in the input image is chromatic or achromatic,
The method of controlling an image processing apparatus according to any one of claims 9 to 13, wherein the control is performed by comparing a color difference between the colors of the pixels and a third threshold value.
前記注目画素は、エッジ画素であることを特徴とする請求項9乃至14の何れか1項に記載の画像処理装置の制御方法。   The method according to claim 9, wherein the target pixel is an edge pixel. 前記注目画素は、文字のエッジ画素であることを特徴とする請求項9乃至15の何れか1項に記載の画像処理装置の制御方法。   The method of controlling an image processing apparatus according to claim 9, wherein the target pixel is an edge pixel of a character. 請求項9乃至16の何れか1項に記載の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method according to any one of claims 9 to 16.
JP2014020374A 2014-02-05 2014-02-05 Image processing apparatus, control method of the same, and program Pending JP2015149545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014020374A JP2015149545A (en) 2014-02-05 2014-02-05 Image processing apparatus, control method of the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014020374A JP2015149545A (en) 2014-02-05 2014-02-05 Image processing apparatus, control method of the same, and program

Publications (1)

Publication Number Publication Date
JP2015149545A true JP2015149545A (en) 2015-08-20

Family

ID=53892619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014020374A Pending JP2015149545A (en) 2014-02-05 2014-02-05 Image processing apparatus, control method of the same, and program

Country Status (1)

Country Link
JP (1) JP2015149545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108107541A (en) * 2017-11-23 2018-06-01 北京环境特性研究所 It is a kind of based on the infrared optical system of image procossing without thermalization compensation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108107541A (en) * 2017-11-23 2018-06-01 北京环境特性研究所 It is a kind of based on the infrared optical system of image procossing without thermalization compensation method and device

Similar Documents

Publication Publication Date Title
JP6031286B2 (en) Image processing apparatus and image processing method
US9025870B2 (en) Image processing device correcting color of border region between object and background in image
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP4700721B2 (en) Image processing device
KR102072887B1 (en) Image processing apparatus, image processing method, and storage medium
CN106303150B (en) Image processing apparatus, control method for image processing apparatus, and storage medium
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
JP6489761B2 (en) Image processing apparatus, image processing method, and program
CN110012193B (en) Image processing apparatus and control method thereof
JP2012119758A (en) Image processing device, image formation device, image processing method, computer program, and recording medium
US9646367B2 (en) Image processing apparatus and image processing method each with a function of applying edge enhancement to input image data
JP2022145776A (en) Image processing apparatus and image processing method
US9582790B2 (en) Image processing apparatus and image processing method
JP2006148292A (en) Image processing apparatus
JP2015149545A (en) Image processing apparatus, control method of the same, and program
JP2002077647A (en) Image processor
JP2018174420A (en) Image processing apparatus and computer program
JP6834701B2 (en) Image processing equipment and computer programs
JP6794901B2 (en) Image processing equipment and computer programs
JP2010041349A (en) Image processor and image forming apparatus provided with same
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program
JP6418055B2 (en) Image processing apparatus and computer program
JP2005167959A (en) Image processor, image forming apparatus, image processing method, image processing program, and recording media
JP2016063369A (en) Image processing device, image processing method, image formation device, image processing program, and recording medium thereof
JP2008219500A (en) Image processor, image processing method, and digital multi-functional machine