JP2015154201A - Image processing system, control method for the same, and program - Google Patents

Image processing system, control method for the same, and program Download PDF

Info

Publication number
JP2015154201A
JP2015154201A JP2014025697A JP2014025697A JP2015154201A JP 2015154201 A JP2015154201 A JP 2015154201A JP 2014025697 A JP2014025697 A JP 2014025697A JP 2014025697 A JP2014025697 A JP 2014025697A JP 2015154201 A JP2015154201 A JP 2015154201A
Authority
JP
Japan
Prior art keywords
attribute
area
pattern
monochrome
division
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
JP2014025697A
Other languages
Japanese (ja)
Inventor
光勢 杉本
Kosei Sugimoto
光勢 杉本
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 JP2014025697A priority Critical patent/JP2015154201A/en
Publication of JP2015154201A publication Critical patent/JP2015154201A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a technology that enables an input image area to be accurately divided into a monochromatic area and a color area.SOLUTION: An image processing system of the present invention, which divides an input image area into a monochromatic area and a color area, includes storage means in which a plurality of division patterns different from one another are pre-recorded, and acquisition means for acquiring a determined pattern in which a monochromatic attribute or a color attribute is allocated to a divided area having the area divided according to one division pattern selected from among the plurality of division patterns, on the basis of the input image.

Description

本発明は、画像処理装置、画像処理装置の制御方法、及び、プログラムに関する。   The present invention relates to an image processing apparatus, a control method for the image processing apparatus, and a program.

従来、入力画像の領域をモノクロ領域(モノクロ画像の領域)とカラー領域(カラー画像の領域)に区分し、入力画像のモノクロ領域とカラー領域に個別にγ補正を施す画像処理装置が提案されている。例えば、モノクロ領域にDICOM(Digital Imaging and COmmunication in Medicine)Part14で規定されたγ補正(以下、「DICOMγ補正」と記載する)を施し、カラー領域にγ=2.2のγ補正(以下、「2.2γ補正」と記載する)を施す画像処理装置が提案されている。このような画像処理装置は、例えば、医療用画像表示装置などに実装されることが考えられる。このような画像処理装置を用いれば、レントゲン画像などのモノクロ画像と、内視鏡画像などのカラー画像とを表示する場合に、モノクロ画像にDICOMγ補正を施すことができ、カラー画像に2.2γ補正を施すことができる。その結果、各画像を適切な階調で表示することができる。   Conventionally, there has been proposed an image processing apparatus that divides an input image area into a monochrome area (monochrome image area) and a color area (color image area), and separately applies gamma correction to the monochrome area and the color area of the input image. Yes. For example, γ correction (hereinafter referred to as “DICOM γ correction”) defined by DICOM (Digital Imaging and Communication in Medicine) Part 14 is applied to a monochrome area, and γ correction of γ = 2.2 (hereinafter referred to as “DICOM γ correction”). 2. Description of the Related Art An image processing apparatus that performs “2.2γ correction” has been proposed. Such an image processing apparatus may be mounted on, for example, a medical image display apparatus. By using such an image processing apparatus, when displaying a monochrome image such as an X-ray image and a color image such as an endoscopic image, DICOMγ correction can be performed on the monochrome image, and 2.2γ is applied to the color image. Corrections can be made. As a result, each image can be displayed with an appropriate gradation.

入力画像の領域をモノクロ領域とカラー領域に区分する技術は、例えば、特許文献1,2に開示されている。
特許文献1に開示の技術では、入力画像の画素毎に、その画素の領域がモノクロ領域であるかカラー領域であるかが判断される。
特許文献2に開示の技術では、入力画像の領域が複数の矩形領域に分割される。そして、矩形領域毎に、その矩形領域がモノクロ領域であるかカラー領域であるかが判断される。
Techniques for dividing an input image area into a monochrome area and a color area are disclosed in Patent Documents 1 and 2, for example.
In the technique disclosed in Patent Document 1, it is determined for each pixel of the input image whether the area of the pixel is a monochrome area or a color area.
In the technique disclosed in Patent Document 2, the area of the input image is divided into a plurality of rectangular areas. Then, for each rectangular area, it is determined whether the rectangular area is a monochrome area or a color area.

また、別の技術分野では、帳票における写真領域の複数の候補を予め登録し、登録された候補毎にその候補が写真領域か否かを判断する技術が提案されている(特許文献3)。   In another technical field, a technique has been proposed in which a plurality of candidates for a photographic area in a form are registered in advance, and for each registered candidate, it is determined whether or not the candidate is a photographic area (Patent Document 3).

特開2001−169101号公報JP 2001-169101 A 特開2003−244469号公報JP 2003-244469 A 特開平5−314312号公報JP-A-5-314312

しかしながら、特許文献1,2に開示の技術では、入力画像をモノクロ領域とカラー領域に精度良く区分することができないことがある。   However, with the techniques disclosed in Patent Documents 1 and 2, the input image may not be accurately divided into a monochrome area and a color area.

具体的には、カラー画像に多少のモノクロ画素が含まれていたり、モノクロ画像に多少のカラー画素が含まれていたりすることがあるが、カラー画像の領域はカラー領域として判断すべきであり、モノクロ画像の領域はモノクロ領域として判断すべきである。しかしながら、特許文献1に開示の技術では、画素毎に判断が行われるため、カラー画像のモノクロ画素の領域がモノクロ領域として誤判断されたり、モノクロ画像のカラー画素の領域がカラー領域として誤判断されたりすることがある。
また、特許文献1に開示の技術では、画素毎に判断が行われるため、判断に長い処理時間を要してしまい、γ補正に対する判断結果の反映が遅延してしまうことがある。
Specifically, the color image may contain some monochrome pixels, or the monochrome image may contain some color pixels, but the color image area should be determined as a color area. The area of the monochrome image should be determined as a monochrome area. However, in the technique disclosed in Patent Document 1, since the determination is performed for each pixel, the monochrome pixel area of the color image is erroneously determined as the monochrome area, or the color pixel area of the monochrome image is erroneously determined as the color area. Sometimes.
In the technique disclosed in Patent Document 1, since the determination is performed for each pixel, a long processing time is required for the determination, and reflection of the determination result for the γ correction may be delayed.

特許文献2に開示の技術では、複数画素分の矩形領域毎に判断が行われるため、画素毎に判断を行う場合に比べて上述した誤判断が生じる頻度を低減することができる。しかしながら、特許文献2に開示の技術を用いたとしても、上述した誤判断の発生を完全に抑制することはできない。
また、特許文献2に開示の技術では、カラー画像の領域とモノクロ画像の領域との境界が矩形領域内に位置する場合に、当該境界を含む矩形領域内において誤判断が生じてしまう。具体的には、上記境界を含む矩形領域にはカラー画像の領域とモノクロ画像の領域との両方が含まれているにも拘らず、当該矩形領域全体がモノクロ領域またはカラー領域として誤判断されてしまう。即ち、カラー画像の領域の一部がモノクロ領域として誤判断されたり、モノクロ画像の領域の一部がカラー領域として誤判断されたりしてしまう。
In the technique disclosed in Patent Document 2, since the determination is performed for each rectangular area for a plurality of pixels, the frequency of the above-described erroneous determination can be reduced as compared with the case where the determination is performed for each pixel. However, even if the technique disclosed in Patent Document 2 is used, the above-described erroneous determination cannot be completely suppressed.
In the technique disclosed in Patent Document 2, when the boundary between the color image region and the monochrome image region is located in the rectangular region, an erroneous determination occurs in the rectangular region including the boundary. Specifically, the rectangular area including the boundary includes both a color image area and a monochrome image area, but the entire rectangular area is erroneously determined as a monochrome area or a color area. End up. That is, a part of the color image area is erroneously determined as a monochrome area, or a part of the monochrome image area is erroneously determined as a color area.

特許文献3に開示の技術を用いれば、モノクロ領域の複数の候補を予め登録し、登録された候補毎にその候補がモノクロ領域か否かを入力画像に基づいて判断する技術を得ることができる。しかしながら、特許文献3に開示の技術に基づいて得られた上記技術においても、入力画像をモノクロ領域とカラー領域に精度良く区分することができないことがある。具体的には、特許文献3に開示の技術では、所定の条件を満たす全ての候補が写真領域として判断される。そのため、候補が所定を満たす場合には、当該候補がカラー画像の領域を含む領域であっても、当該領域がモノクロ領域として誤判断されてしまう。   By using the technique disclosed in Patent Document 3, it is possible to obtain a technique for registering a plurality of candidates for a monochrome area in advance and determining whether the candidate is a monochrome area for each registered candidate based on an input image. . However, even in the above technique obtained based on the technique disclosed in Patent Document 3, there are cases where the input image cannot be accurately divided into a monochrome area and a color area. Specifically, in the technique disclosed in Patent Document 3, all candidates that satisfy a predetermined condition are determined as photographic regions. Therefore, when a candidate satisfies a predetermined condition, even if the candidate is an area including a color image area, the area is erroneously determined as a monochrome area.

本発明は、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる技術を提供することを目的とする。   An object of the present invention is to provide a technique capable of accurately classifying an input image area into a monochrome area and a color area.

本発明の第1の態様は、
入力画像の領域をモノクロ領域とカラー領域に区分する画像処理装置であって、
互いに異なる複数の分割パターンが予め記録された記憶手段と、
入力画像に基づいて、前記複数の分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンを取得する取得手段と、
を有することを特徴とする画像処理装置である。
The first aspect of the present invention is:
An image processing apparatus that divides an input image area into a monochrome area and a color area,
Storage means in which a plurality of different division patterns are recorded in advance;
Obtaining means for obtaining a fixed pattern in which a monochrome attribute or a color attribute is assigned to a divided region obtained by dividing the region according to one divided pattern selected from the plurality of divided patterns based on an input image;
An image processing apparatus comprising:

本発明の第2の態様は、
入力画像の領域をモノクロ領域とカラー領域に区分する画像処理装置の制御方法であって、
前記画像処理装置は、互いに異なる複数の分割パターンが予め記録された記憶手段を有し、
前記画像処理装置の制御方法は、
入力画像を取得するステップと、
前記入力画像に基づいて、前記複数の分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンを取得するステップと、
を有することを特徴とする画像処理装置の制御方法である。
The second aspect of the present invention is:
A control method of an image processing apparatus for dividing an input image area into a monochrome area and a color area,
The image processing apparatus has storage means in which a plurality of different division patterns are recorded in advance,
The control method of the image processing apparatus is:
Obtaining an input image;
Obtaining a fixed pattern in which a monochrome attribute or a color attribute is assigned to a divided region obtained by dividing the region according to one divided pattern selected from the plurality of divided patterns based on the input image;
A control method for an image processing apparatus, comprising:

本発明の第3の態様は、上述した画像処理装置の制御方法の各ステップをコンピュータに実行させることを特徴とするプログラムである。   According to a third aspect of the present invention, there is provided a program characterized by causing a computer to execute each step of the above-described image processing apparatus control method.

本発明によれば、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。   According to the present invention, an input image area can be accurately divided into a monochrome area and a color area.

実施例1に係る画像処理装置の機能構成の一例を示すブロック図1 is a block diagram illustrating an example of a functional configuration of an image processing apparatus according to a first embodiment. 分割パターンの一例を示す図Diagram showing an example of a division pattern 入力画像の一例を示す図Diagram showing an example of an input image ブロック属性情報の一例を示す図The figure which shows an example of block attribute information 属性パターンの一例を示す図Diagram showing an example of attribute pattern ブロック属性情報と属性パターン情報の比較結果の一例を示す図The figure which shows an example of the comparison result of block attribute information and attribute pattern information 実施例2に係る画像処理装置の機能構成の一例を示すブロック図FIG. 9 is a block diagram illustrating an example of a functional configuration of an image processing apparatus according to a second embodiment. 実施例3に係る画像処理装置の機能構成の一例を示すブロック図FIG. 9 is a block diagram illustrating an example of a functional configuration of an image processing apparatus according to a third embodiment. 入力画像の一例を示す図Diagram showing an example of an input image 分割パターンとパターン境界情報の一例を示す図The figure which shows an example of a division | segmentation pattern and pattern boundary information 実施例4に係る画像処理装置の機能構成の一例を示すブロック図FIG. 9 is a block diagram illustrating an example of a functional configuration of an image processing apparatus according to a fourth embodiment. 実施例5に係る画像処理装置の機能構成の一例を示すブロック図FIG. 10 is a block diagram illustrating an example of a functional configuration of an image processing apparatus according to a fifth embodiment. 属性パターンの一例を示す図Diagram showing an example of attribute pattern

<実施例1>
以下、本発明の実施例1に係る画像処理装置及びその制御方法について説明する。
<Example 1>
Hereinafter, an image processing apparatus and a control method thereof according to Embodiment 1 of the present invention will be described.

図1は、本実施例に係る画像処理装置10の機能構成の一例を示すブロック図である。図1に示すように、画像処理装置10は、モノクロカウント部101、単色判断部102、ブロック属性割当部103、分割パターン記憶部104、属性パターン生成部105、評価値算出部106、確定パターン選択部107、γ補正部108、等を有する。画像処理装置10は、入力画像(入力画像データ)S1を取得し、入力画像S1の領域をモノクロ領域とカラー領域に区分し、入力画像S1のモノクロ領域とカラー領域に個別に画像処理を施し、画像処理後の画像(画像データ)S2を出力する。画像S2は、例えば、表示装置などの外部装置に入力される。本実施例では、画像S1,S2は、水平方向1920画素×垂直方向1200画素のサイズを有するものとする。また、画像S1,S2の画素値はRGB値(R値、G値、及び、B値の組み合わせ)であり、R値、G値、及び、B値は8ビットの値であるものとする。   FIG. 1 is a block diagram illustrating an example of a functional configuration of the image processing apparatus 10 according to the present embodiment. As shown in FIG. 1, the image processing apparatus 10 includes a monochrome count unit 101, a single color determination unit 102, a block attribute assignment unit 103, a divided pattern storage unit 104, an attribute pattern generation unit 105, an evaluation value calculation unit 106, and a confirmed pattern selection. Unit 107, γ correction unit 108, and the like. The image processing apparatus 10 acquires an input image (input image data) S1, divides the area of the input image S1 into a monochrome area and a color area, and individually performs image processing on the monochrome area and the color area of the input image S1, An image (image data) S2 after image processing is output. The image S2 is input to an external device such as a display device, for example. In the present embodiment, the images S1 and S2 have a size of 1920 pixels in the horizontal direction × 1200 pixels in the vertical direction. The pixel values of the images S1 and S2 are RGB values (combinations of R value, G value, and B value), and the R value, G value, and B value are 8-bit values.

本実施例では、モノクロ領域とカラー領域の区分結果として、領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンを取得する。モノクロ属性が割り当てられた領域がモノクロ領域であり、カラー属性が割り当てられた領域がカラー領域である。   In this embodiment, as a result of dividing the monochrome area and the color area, a fixed pattern in which the monochrome attribute or the color attribute is assigned to the divided area obtained by dividing the area is acquired. An area to which the monochrome attribute is assigned is a monochrome area, and an area to which the color attribute is assigned is a color area.

なお、本実施例では、画像処理装置10が画像S2を外部に出力する例を説明するが、これに限らない。例えば、画像処理装置10は、モノクロ領域とカラー領域の区分結果を外部に出力してもよい。そして、画像処理装置10とは別体の装置において、区分結果に基づく画像処理が実行されてもよい。また、画像処理装置10が表示パネルを有していてもよい。そして、画像処理装置10は、画像S2を外部に出力するのではなく、画像S2を表示してもよい。即ち、画像処理装置10が表示装置であってもよい。表示パネルは、例えば、液晶ディスプレイパネル、プラズマディスプレイパネル、有機ELディスプレイパネル、等である。
なお、本実施例では、画像処理がγ補正である場合の例を説明するが、画像処理はγ補正に限らない。例えば、画像処理は、モノクロ領域用の明るさ調整処理とカラー領域用の明るさ調整処理であってもよい。画像処理は、モノクロ領域用の色温度調整処理とカラー領域用の色温度調整処理であってもよい。
なお、画像のサイズは1920画素×1200画素より大きくても小さくてもよい。例えば、画像のサイズは、1680画素×1050画素、2560画素×1600画素、2
880画素×1800画素、3840画素×2400画素、等であってもよい。画素値はRGB値でなくてもよい。例えば、画素値はYCbCr値(Y値、Cb値、及び、Cr値の組み合わせ)であってもよい。ビット数は8より多くても少なくてもよい。例えば、ビット数は、4、16、等であってもよい。
In this embodiment, an example in which the image processing apparatus 10 outputs the image S2 to the outside will be described, but the present invention is not limited to this. For example, the image processing apparatus 10 may output the result of dividing the monochrome area and the color area to the outside. Then, image processing based on the classification result may be executed in a device separate from the image processing device 10. Further, the image processing apparatus 10 may have a display panel. Then, the image processing apparatus 10 may display the image S2 instead of outputting the image S2 to the outside. That is, the image processing apparatus 10 may be a display device. The display panel is, for example, a liquid crystal display panel, a plasma display panel, an organic EL display panel, or the like.
In this embodiment, an example in which the image processing is γ correction will be described, but the image processing is not limited to γ correction. For example, the image processing may be a brightness adjustment process for a monochrome area and a brightness adjustment process for a color area. The image processing may be a color temperature adjustment process for a monochrome area and a color temperature adjustment process for a color area.
Note that the image size may be larger or smaller than 1920 pixels × 1200 pixels. For example, the image size is 1680 pixels × 1050 pixels, 2560 pixels × 1600 pixels, 2
It may be 880 pixels × 1800 pixels, 3840 pixels × 2400 pixels, and the like. The pixel value may not be an RGB value. For example, the pixel value may be a YCbCr value (a combination of a Y value, a Cb value, and a Cr value). The number of bits may be more or less than eight. For example, the number of bits may be 4, 16, etc.

モノクロカウント部101は、入力画像S1の領域を構成する複数のブロック領域のそれぞれについて、そのブロック領域における入力画像S1のモノクロ画素の数をカウントする。そして、モノクロカウント部101は、ブロック領域毎にモノクロ画素の総数(モノクロ画素数)を示すモノクロ情報cntを出力する。
本実施例では、入力画像S1の領域を構成する水平方向10個×垂直方向6個の計60個のブロック領域が設定されている。そして、ブロック領域のサイズは、水平方向192(=1920÷10)画素×垂直方向200(=1200÷6)画素である。モノクロカウント部101は、上記60個のブロック領域のそれぞれについてモノクロ画素数をカウントする。そして、モノクロカウント部101は、上記60個のブロック領域に対応する60個のモノクロ画素数を示すモノクロ情報cntを出力する。
The monochrome count unit 101 counts the number of monochrome pixels of the input image S1 in each block area for each of a plurality of block areas constituting the area of the input image S1. Then, the monochrome count unit 101 outputs monochrome information cnt indicating the total number of monochrome pixels (number of monochrome pixels) for each block area.
In the present embodiment, a total of 60 block areas, which are 10 in the horizontal direction and 6 in the vertical direction, constituting the area of the input image S1 are set. The size of the block area is 192 (= 1920 ÷ 10) pixels in the horizontal direction × 200 (= 1200/6) pixels in the vertical direction. The monochrome count unit 101 counts the number of monochrome pixels for each of the 60 block areas. Then, the monochrome count unit 101 outputs monochrome information cnt indicating the number of 60 monochrome pixels corresponding to the 60 block areas.

なお、本実施例では、ブロック領域が矩形領域である場合の例を説明するが、ブロック領域はどのような形状を有していてもよい。例えば、ブロック領域はn角形(nは3以上の整数)の領域、円形の領域、直線と曲線とをつないだ線で囲まれた領域、等であってもよい。
なお、本実施例では、R値=G値=B値である画素がモノクロ画素として検出されるものとするが、モノクロ画素の検出方法はこれに限らない。例えば、RGB値をCbCr値のような色差値に変換し、色差値が0である画素がモノクロ画素として検出されてもよい。
なお、ブロック領域の数は60個より多くても少なくてもよい。また、ブロック領域のサイズは、192画素×200画素より大きくても小さくてもよい。
In the present embodiment, an example in which the block area is a rectangular area will be described, but the block area may have any shape. For example, the block area may be an n-gon (n is an integer of 3 or more) area, a circular area, an area surrounded by a line connecting a straight line and a curve, and the like.
In this embodiment, pixels with R value = G value = B value are detected as monochrome pixels, but the detection method of monochrome pixels is not limited to this. For example, RGB values may be converted into color difference values such as CbCr values, and pixels with a color difference value of 0 may be detected as monochrome pixels.
The number of block areas may be more or less than 60. Further, the size of the block area may be larger or smaller than 192 pixels × 200 pixels.

単色判断部102は、ブロック領域毎に、そのブロック領域が、当該ブロック領域における入力画像S1が単色画像(単色の画像)である単色領域であるか否かを判断する(単色判断処理)。そして、単色判断部102は、単色判断処理の結果を示す単色情報fltを出力する。本実施例では、ブロック領域内の38400画素全ての画素値が互いに等しいブロック領域が単色領域であると判断され、それ以外のブロック領域が単色領域でないと判断される。   The monochrome determination unit 102 determines, for each block area, whether or not the block area is a monochrome area in which the input image S1 in the block area is a monochrome image (monochromatic image) (monochrome determination process). Then, the single color determination unit 102 outputs single color information flt indicating the result of the single color determination process. In this embodiment, it is determined that a block area in which all 38400 pixels in the block area have the same pixel value is a monochrome area, and other block areas are not a monochrome area.

ブロック属性割当部103は、入力画像S1に基づいて、各ブロック領域にモノクロ属性とカラー属性を含む複数の属性のうちの1つを割り当てる。具体的には、ブロック属性割当部103は、モノクロ情報cntと単色情報fltを用いて、各ブロック領域に属性を割り当てる。そして、ブロック属性割当部103は、ブロック領域毎に属性を示すブロック属性情報mcを出力する。本実施例では、単色領域であると判断されたブロック領域に、単色属性が割り当てられる。単色領域でないと判断され、且つ、モノクロ率が閾値以上であるブロック領域に、モノクロ属性が割り当てられる。そして、単色領域でないと判断され、且つ、モノクロ率が閾値未満であるブロック領域に、カラー属性が割り当てられる。本実施例では、モノクロ率は、ブロック領域内の画素の総数に対する当該ブロック領域内のモノクロ画素の総数の割合である。本実施例では、閾値として100%よりも低い95%が使用される。これにより、モノクロ画像の領域であるブロック領域内に多少のカラー画素(例えば、カラーの注釈文字などを構成するカラー画素)が存在する場合に、当該ブロック領域にモノクロ属性を割り当てることができる。本実施例では、ブロック領域のサイズが192画素×200画素であるため、単色領域でないと判断され、且つ、モノクロ画素数が3648(=192×200×0.95)以上であるブロック領域にモノクロ属性が割り当てられる。そして、単色領域でないと判断され、且つ、モノクロ画素数が
3648未満であるブロック領域にカラー属性が割り当てられる。
Based on the input image S1, the block attribute assignment unit 103 assigns one of a plurality of attributes including a monochrome attribute and a color attribute to each block area. Specifically, the block attribute assignment unit 103 assigns an attribute to each block area using the monochrome information cnt and the single color information flt. Then, the block attribute assignment unit 103 outputs block attribute information mc indicating an attribute for each block area. In this embodiment, a monochrome attribute is assigned to a block area that is determined to be a monochrome area. A monochrome attribute is assigned to a block area that is determined not to be a monochrome area and has a monochrome ratio equal to or greater than a threshold value. Then, a color attribute is assigned to a block area that is determined not to be a monochrome area and that has a monochrome ratio that is less than the threshold value. In this embodiment, the monochrome ratio is the ratio of the total number of monochrome pixels in the block area to the total number of pixels in the block area. In this embodiment, 95% lower than 100% is used as the threshold value. Thereby, when there are some color pixels (for example, color pixels constituting a color annotation character) in a block area which is a monochrome image area, a monochrome attribute can be assigned to the block area. In this embodiment, since the size of the block area is 192 pixels × 200 pixels, it is determined that the block area is not a monochrome area, and monochrome is added to the block area having 3648 (= 192 × 200 × 0.95) or more monochrome pixels. Attributes are assigned. Then, it is determined that the area is not a monochrome area, and a color attribute is assigned to a block area where the number of monochrome pixels is less than 3648.

なお、単色情報fltを用いずに、モノクロ情報cntを用いて各ブロック領域にモノクロ属性またはカラー属性が割り当てられてもよい。
なお、モノクロ率ではなくカラー率が使用されてもよい。カラー率は、ブロック領域内の画素の総数に対する当該ブロック領域内のカラー画素(モノクロ画素以外の画素)の総数の割合である。
なお、モノクロ率の閾値は、メーカー等によって予め定められた固定値であってもよいし、そうでなくてもよい。例えば、モノクロ率の閾値は、ユーザによって変更可能な値であってもよいし、画像の種類などに応じて決定される値であってもよい。
Note that the monochrome attribute or the color attribute may be assigned to each block area using the monochrome information cnt without using the monochrome information flt.
Note that a color rate may be used instead of the monochrome rate. The color rate is a ratio of the total number of color pixels (pixels other than monochrome pixels) in the block area to the total number of pixels in the block area.
Note that the monochrome ratio threshold value may or may not be a fixed value determined in advance by the manufacturer or the like. For example, the threshold of the monochrome ratio may be a value that can be changed by the user, or may be a value determined according to the type of image.

分割パターン記憶部104には、互いに異なる複数の分割パターンが予め記録されている。本実施例では、分割パターン記憶部104には、分割パターンとして、当該分割パターンに従って領域を分割した複数の分割領域を示す領域情報が記録されている。具体的には、領域情報として、分割領域の始点座標と終点座標が記録されている。分割領域は、カラー領域及びモノクロ領域の候補である。また、本実施例では、入力画像S1のサイズが画面サイズと等しく、分割パターンが入力画像S1の領域を分割した複数の分割領域を示すものとする。具体的には、分割パターンが1つ以上のブロック領域から構成された分割領域を示すものとする。また、本実施例では、分割パターンは属性を示さないものとする。即ち、本実施例では、分割パターンは、分割領域として、属性が割り当てられていない無属性領域を示すものとする。
分割パターン記憶部104は、記録されている全ての分割パターンを示す分割パターン情報ptnを出力する。
In the division pattern storage unit 104, a plurality of different division patterns are recorded in advance. In the present embodiment, the division pattern storage unit 104 records area information indicating a plurality of divided areas obtained by dividing an area according to the divided pattern as a divided pattern. Specifically, the start point coordinates and end point coordinates of the divided area are recorded as the area information. The divided areas are color area and monochrome area candidates. In the present embodiment, the size of the input image S1 is equal to the screen size, and the division pattern indicates a plurality of divided areas obtained by dividing the area of the input image S1. Specifically, the division pattern indicates a division area composed of one or more block areas. In this embodiment, the division pattern does not indicate an attribute. That is, in the present embodiment, the division pattern indicates a non-attribute area to which no attribute is assigned as a division area.
The division pattern storage unit 104 outputs division pattern information ptn indicating all recorded division patterns.

分割パターンの一例を図2に示す。本実施例では、分割パターン記憶部104に、図2に示す分割パターン1〜4が予め記録されているものとする。分割パターン2は、分割領域1,2を示す。そのため、分割パターン2については、分割領域1の始点座標(水平位置,垂直位置)=(xs1,ys1)と終点座標(xe1,ye1)、及び、分割領域2の始点座標(xs2,ys2)と終点座標(xe2,ye2)が記録されている。分割パターン1,3,4についても、同様に、分割領域の始点座標と終点座標が記録されている。
図2に示すように、本実施例では、分割パターン1として、領域を分割しない非分割パターンも記録されている。
An example of the division pattern is shown in FIG. In this embodiment, it is assumed that the division patterns 1 to 4 shown in FIG. Divided pattern 2 shows divided areas 1 and 2. Therefore, for the divided pattern 2, the start point coordinates (horizontal position, vertical position) of the divided area 1 (xs1, ys1) and the end point coordinates (xe1, ye1), and the start point coordinates (xs2, ys2) of the divided area 2 and End point coordinates (xe2, ye2) are recorded. Similarly, for the divided patterns 1, 3, and 4, the start point coordinates and end point coordinates of the divided areas are recorded.
As shown in FIG. 2, in this embodiment, a non-divided pattern that does not divide the area is also recorded as the divided pattern 1.

なお、非分割パターンは記録されていなくてもよい。
なお、分割パターン記憶部104に記録されている分割パターンはメーカー等によって予め記録された固定パターンであってもよいし、ユーザによって追加や変更が可能なパターンであってもよい。例えば、図1に示すように、ユーザ操作に応じて分割パターンを示す登録パターン情報in_ptnが分割パターン記憶部104に入力されてもよい。そして、分割パターン記憶部104に記録されている分割パターンに、登録パターン情報in_ptnが示す分割パターンが追加されてもよい。また、分割パターン記憶部104に記録されている1つの分割パターンが、登録パターン情報in_ptnが示す分割パターンに置き換えられてもよい。
なお、本実施例では、分割領域が1つ以上のブロック領域から構成された領域である場合の例を説明するが、分割領域はブロック領域単位の領域でなくてもよい。例えば、分割領域間の境界がブロック領域内に位置するように複数の分割領域が設定されていてもよい。
なお、本実施例では、分割パターンが示す複数の分割領域からなる領域のサイズと入力画像S1の領域のサイズとが同じである場合の例を説明するが、これらのサイズは異なっていてもよい。分割パターンが示す複数の分割領域からなる領域のサイズは、入力画像S
1の領域のサイズより大きくても小さくてもよい。
なお、領域情報は、分割領域を示す情報であれば、どのような情報であってもよい。例えば、領域情報として、分割領域の位置(始点座標、終点座標、中心座標、等)とサイズが記録されていてもよい。
なお、図2は、分割領域が矩形領域である場合の例を示しているが、分割領域はどのような形状を有していてもよい。例えば、分割領域はn角形(nは3以上の整数)の領域、円形の領域、直線と曲線とをつないだ線で囲まれた領域、等であってもよい。
The non-divided pattern may not be recorded.
The divided pattern recorded in the divided pattern storage unit 104 may be a fixed pattern recorded in advance by a manufacturer or the like, or may be a pattern that can be added or changed by the user. For example, as illustrated in FIG. 1, registered pattern information in_ptn indicating a division pattern may be input to the division pattern storage unit 104 in accordance with a user operation. Then, the division pattern indicated by the registered pattern information in_ptn may be added to the division pattern recorded in the division pattern storage unit 104. Further, one division pattern recorded in the division pattern storage unit 104 may be replaced with a division pattern indicated by the registered pattern information in_ptn.
In the present embodiment, an example in which the divided area is an area composed of one or more block areas will be described. However, the divided area may not be a block area unit area. For example, a plurality of divided regions may be set so that the boundary between the divided regions is located in the block region.
In the present embodiment, an example is described in which the size of a region composed of a plurality of divided regions indicated by the divided pattern is the same as the size of the region of the input image S1, but these sizes may be different. . The size of the region composed of a plurality of divided regions indicated by the divided pattern is the input image S
It may be larger or smaller than the size of one region.
The area information may be any information as long as it is information indicating a divided area. For example, as the area information, the position (start point coordinates, end point coordinates, center coordinates, etc.) and size of the divided area may be recorded.
FIG. 2 shows an example in which the divided area is a rectangular area, but the divided area may have any shape. For example, the divided region may be an n-gon (n is an integer of 3 or more) region, a circular region, a region surrounded by a line connecting a straight line and a curve, and the like.

属性パターン生成部105、評価値算出部106、及び、確定パターン選択部107により、入力画像S1に基づいて確定パターンが取得される。本実施例では、確定パターンとして、複数の分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられたパターンが取得される。即ち、確定パターンとして、複数の分割パターンから選ばれた1つの分割パターンが示す分割領域にモノクロ属性またはカラー属性が割り当てられたパターンが取得される。   The attribute pattern generation unit 105, the evaluation value calculation unit 106, and the confirmation pattern selection unit 107 acquire a confirmed pattern based on the input image S1. In this embodiment, a pattern in which a monochrome attribute or a color attribute is assigned to a divided area obtained by dividing an area according to one divided pattern selected from a plurality of divided patterns is acquired as a deterministic pattern. That is, a pattern in which a monochrome attribute or a color attribute is assigned to a divided area indicated by one divided pattern selected from a plurality of divided patterns is acquired as a definite pattern.

属性パターン生成部105は、分割パターンが示す無属性領域(分割領域)に属性を割り当てることにより属性パターンを生成する処理を、分割パターン記憶部104に記録されている複数の分割パターンのそれぞれについて行う。そして、属性パターン生成部105は、生成した複数の属性パターンを示す属性パターン情報dptnを出力する。本実施例では、4つの分割パターンが予め記録されているため、4つの属性パターンが生成され、4つの属性パターンを示す属性パターン情報dptnが出力される。属性パターン生成部105では、無属性領域にモノクロ属性またはカラー属性が割り当てられる。属性パターンは、モノクロ属性またはカラー属性が割り当てられた属性領域を示すパターンである。本実施例では、属性パターン生成部105は、分割パターン記憶部104に記録されている複数の分割パターンを分割パターン情報ptnから判断する。そして、属性パターン生成部105は、ブロック属性情報mcを用いて、各無属性領域に属性を割り当てる。具体的には、カラー属性が割り当てられたブロック領域を含む無属性領域にカラー属性が割り当てられ、カラー属性が割り当てられたブロック領域を含まない無属性領域にモノクロ属性を割り当てる。即ち、本実施例では、カラー属性が割り当てられたブロック領域のみを考慮して、無属性領域に属性が割り当てられる。   The attribute pattern generation unit 105 performs processing for generating an attribute pattern by assigning an attribute to a non-attribute area (divided area) indicated by the division pattern for each of the plurality of division patterns recorded in the division pattern storage unit 104. . Then, the attribute pattern generation unit 105 outputs attribute pattern information dptn indicating the plurality of generated attribute patterns. In this embodiment, since four division patterns are recorded in advance, four attribute patterns are generated, and attribute pattern information dptn indicating the four attribute patterns is output. In the attribute pattern generation unit 105, a monochrome attribute or a color attribute is assigned to the non-attribute area. The attribute pattern is a pattern indicating an attribute area to which a monochrome attribute or a color attribute is assigned. In the present embodiment, the attribute pattern generation unit 105 determines a plurality of division patterns recorded in the division pattern storage unit 104 from the division pattern information ptn. Then, the attribute pattern generation unit 105 assigns an attribute to each non-attribute area using the block attribute information mc. Specifically, the color attribute is assigned to the non-attribute area including the block area to which the color attribute is assigned, and the monochrome attribute is assigned to the non-attribute area not including the block area to which the color attribute is assigned. That is, in the present embodiment, attributes are assigned to non-attribute areas in consideration of only block areas to which color attributes are assigned.

なお、分割パターンが示す複数の分割領域からなる領域のサイズと入力画像S1の領域のサイズとが異なる場合には、それらのサイズを一致させるスケーリング処理を行った後、無属性領域に含まれたブロック領域が判断される。
なお、“無属性領域に含まれたブロック領域”は、無属性領域に全体が含まれたブロック領域であってもよいし、無属性領域に少なくとも一部が含まれたブロック領域であってもよい。
なお、無属性領域への属性の割り当て方法は、上記方法に限らない。例えば、モノクロ属性が割り当てられたブロック領域を含む無属性領域にモノクロ属性が割り当てられ、モノクロ属性が割り当てられたブロック領域を含まない無属性領域にカラー属性が割り当てられてもよい。無属性領域に含まれたカラーブロック領域の総数よりも当該無属性領域に含まれたモノクロブロック領域の総数が多い無属性領域にモノクロ属性が割り当てられてもよい。そして、無属性領域に含まれたモノクロブロック領域の総数よりも当該無属性領域に含まれたカラーブロック領域の総数が多い無属性領域にカラー属性が割り当てられてもよい。カラーブロック領域はカラー属性が割り当てられたブロック領域であり、モノクロブロック領域はモノクロ属性が割り当てられたブロック領域である。また、入力画像S1を用いて無属性領域のモノクロ率が算出されてもよい。そして、無属性領域にモノクロ率に基づく属性が割り当てられてもよい。
In addition, when the size of the area composed of a plurality of divided areas indicated by the divided pattern is different from the size of the area of the input image S1, it is included in the attribute-free area after performing a scaling process for matching the sizes. A block area is determined.
The “block area included in the attribute-free area” may be a block area that is entirely included in the attribute-free area, or a block area that is at least partially included in the attribute-free area. Good.
Note that the method of assigning attributes to the no-attribute area is not limited to the above method. For example, the monochrome attribute may be assigned to the non-attribute area including the block area to which the monochrome attribute is assigned, and the color attribute may be assigned to the non-attribute area not including the block area to which the monochrome attribute is assigned. A monochrome attribute may be assigned to an attributeless area where the total number of monochrome block areas included in the attributeless area is larger than the total number of color block areas included in the attributeless area. A color attribute may be assigned to an attribute-free area where the total number of color block areas included in the attribute-free area is larger than the total number of monochrome block areas included in the attribute-free area. The color block area is a block area to which a color attribute is assigned, and the monochrome block area is a block area to which a monochrome attribute is assigned. Further, the monochrome ratio of the attribute-free area may be calculated using the input image S1. An attribute based on the monochrome ratio may be assigned to the attribute-free area.

評価値算出部106は、属性パターン生成部105で生成された複数の属性パターンの
それぞれについて評価値を算出し、属性パターン毎に評価値を示す評価情報dptn_vlを出力する。本実施例では、4つの属性パターンが生成されるため、4つの属性パターンに対応する4つの評価値が算出され、4つの評価値を示す評価情報dptn_vlが出力される。評価値は、ブロック領域に割り当てられた属性と属性領域に割り当てられた属性との一致度合いを表す。本実施例では、評価値算出部106は、属性パターンを属性パターン情報dptnから判断する。そして、評価値算出部106は、ブロック属性情報mcを用いて、属性パターン毎の評価値を算出する。具体的には、以下の式1を用いて、評価値が算出される。式1において、「一致ブロック数」は、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の総数である。「全ブロック数」は、ブロック領域の総数である。

評価値=一致ブロック数/全ブロック数×100(%) ・・・(式1)
The evaluation value calculation unit 106 calculates an evaluation value for each of the plurality of attribute patterns generated by the attribute pattern generation unit 105, and outputs evaluation information dptn_vl indicating the evaluation value for each attribute pattern. In this embodiment, since four attribute patterns are generated, four evaluation values corresponding to the four attribute patterns are calculated, and evaluation information dptn_vl indicating the four evaluation values is output. The evaluation value represents the degree of coincidence between the attribute assigned to the block area and the attribute assigned to the attribute area. In this embodiment, the evaluation value calculation unit 106 determines an attribute pattern from the attribute pattern information dptn. Then, the evaluation value calculation unit 106 calculates an evaluation value for each attribute pattern using the block attribute information mc. Specifically, the evaluation value is calculated using the following formula 1. In Equation 1, “number of matching blocks” is the total number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area. “Total number of blocks” is the total number of block areas.

Evaluation value = number of matching blocks / total number of blocks × 100 (%) (Formula 1)

確定パターン選択部107は、属性パターン生成部105で生成された複数の属性パターンのうちの1つを確定パターンとして選択する。そして、確定パターン選択部107は、確定パターンを示す確定パターン情報dptn_sを出力する。本実施例では、確定パターン選択部107は、属性パターンを属性パターン情報dptnから判断し、属性パターンの評価値を評価情報dptn_vlから判断する。そして、確定パターン選択部107は、属性パターン生成部105で生成された複数の属性パターンの中で評価値が最も高い属性パターンを、確定パターンとして選択する。即ち、本実施例では、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の数が最も多い属性パターンが、確定パターンとして選択される。評価値が最も高い属性パターンが複数存在する場合には、評価値が最も高い複数の属性パターンのうちの1つが確定パターンとして選択される。例えば、評価値が最も高い複数の属性パターンのうちの1つがランダムに選択される。   The confirmed pattern selection unit 107 selects one of the plurality of attribute patterns generated by the attribute pattern generation unit 105 as a confirmed pattern. Then, the confirmed pattern selection unit 107 outputs confirmed pattern information dptn_s indicating the confirmed pattern. In this embodiment, the confirmed pattern selection unit 107 determines an attribute pattern from the attribute pattern information dptn, and determines an evaluation value of the attribute pattern from the evaluation information dptn_vl. Then, the confirmed pattern selection unit 107 selects the attribute pattern having the highest evaluation value among the plurality of attribute patterns generated by the attribute pattern generation unit 105 as the confirmed pattern. In other words, in the present embodiment, the attribute pattern having the largest number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area is selected as the confirmed pattern. When there are a plurality of attribute patterns having the highest evaluation value, one of the plurality of attribute patterns having the highest evaluation value is selected as the confirmed pattern. For example, one of a plurality of attribute patterns having the highest evaluation value is selected at random.

なお、分割パターン記憶部104に記録されている複数の分割パターンに優先度が付加されていてもよい。そして、評価値が最も高い属性パターンが複数存在する場合には、評価値が最も高い複数の属性パターンのうち優先度が最も高い分割パターンから生成された属性パターンが、確定パターンとして選択されてもよい。   Note that priority may be added to a plurality of division patterns recorded in the division pattern storage unit 104. If there are a plurality of attribute patterns with the highest evaluation value, the attribute pattern generated from the division pattern with the highest priority among the plurality of attribute patterns with the highest evaluation value is selected as the confirmed pattern. Good.

γ補正部108は、確定パターン情報dptn_sで示された確定パターンに従って、入力画像S1にγ補正を施す。そして、γ補正部108は、γ補正後の画像S2を出力する。例えば、γ補正部108は、入力画像S1のカラー領域(カラー属性が割り当てられた属性領域)に対して2.2γ補正を施し、入力画像S1のモノクロ領域(モノクロ属性が割り当てられた属性領域)に対してDICOMγ補正を施す。2.2γ補正は、γ=2.2のγ補正である。DICOMγ補正は、DICOM(Digital Imaging and COmmunication in Medicine)Part14で規定されたγ補正である。   The γ correction unit 108 performs γ correction on the input image S1 in accordance with the confirmed pattern indicated by the confirmed pattern information dptn_s. Then, the γ correction unit 108 outputs the image S2 after γ correction. For example, the γ correction unit 108 performs 2.2 γ correction on the color area (attribute area to which the color attribute is assigned) of the input image S1, and the monochrome area (attribute area to which the monochrome attribute is assigned) of the input image S1. DICOMγ correction is applied to The 2.2γ correction is a γ correction of γ = 2.2. The DICOM γ correction is a γ correction defined by DICOM (Digital Imaging and Communication in Medicine) Part14.

画像処理装置10の動作の具体例について説明する。   A specific example of the operation of the image processing apparatus 10 will be described.

入力画像S1の一例を図3に示す。図3に示す入力画像S1は、左側にレントゲン写真301、右に内視鏡画像302が配置された画像である。レントゲン写真301はモノクロ画像であり、レントゲン写真301の全ての画素がモノクロ画素(R値=G値=B値)である。内視鏡画像302は、カラー画像であるが、モノクロ画素を含む。具体的には、内視鏡画像302の領域は、内視鏡で撮影された画像を示す撮像領域303と、黒単色(R値=G値=B値=0)の背景領域304,305と、から成る。撮像領域303のうち、上側の領域は無彩色領域306であり、下側の領域は彩色領域307である。無彩色領
域306はモノクロ画素を多く含む領域であり、彩色領域は色味のある画像を示す領域である。無彩色領域306は、例えば、撮影の際に光があまり照射されなかった領域、光が照射されすぎた領域、等である。無彩色領域306と彩色領域307には同じ画像処理を施すべきであるため、無彩色領域306と彩色領域307には同じ属性を割り当てるべきである。
An example of the input image S1 is shown in FIG. The input image S1 shown in FIG. 3 is an image in which an X-ray picture 301 is arranged on the left side and an endoscopic image 302 is arranged on the right side. The X-ray picture 301 is a monochrome image, and all the pixels of the X-ray picture 301 are monochrome pixels (R value = G value = B value). The endoscopic image 302 is a color image, but includes monochrome pixels. Specifically, the region of the endoscopic image 302 includes an imaging region 303 indicating an image photographed by the endoscope, and background regions 304 and 305 of black single color (R value = G value = B value = 0). , Consisting of. Of the imaging area 303, the upper area is an achromatic area 306, and the lower area is a colored area 307. The achromatic region 306 is a region that includes many monochrome pixels, and the chromatic region is a region that shows a colored image. The achromatic region 306 is, for example, a region where light is not so much irradiated at the time of photographing, a region where light is excessively irradiated, or the like. Since the same image processing should be applied to the achromatic region 306 and the chromatic region 307, the same attribute should be assigned to the achromatic region 306 and the chromatic region 307.

入力画像S1が図3に示す画像である場合、図4に示すブロック属性情報mcが取得される。即ち、レントゲン写真301の領域に含まれたブロック領域と、無彩色領域306に含まれたブロック領域と、にモノクロ属性が割り当てられる。そして、彩色領域307に含まれたブロック領域にカラー属性が割り当てられ、背景領域304,305に単色属性が割り当てられる。   When the input image S1 is the image shown in FIG. 3, the block attribute information mc shown in FIG. 4 is acquired. That is, the monochrome attribute is assigned to the block area included in the X-ray photograph 301 area and the block area included in the achromatic area 306. A color attribute is assigned to the block area included in the chromatic area 307, and a single color attribute is assigned to the background areas 304 and 305.

図4に示すブロック属性情報mcが取得され、分割パターン情報ptnが図2の分割パターン1〜4を示す場合、図5の属性パターン1〜4を示す属性パターン情報dptnが取得される。分割パターン1の分割領域1はカラー属性が割り当てられたブロック領域を含むため、分割パターン1の分割領域1にカラー属性が割り当てられた属性パターン1が生成される。分割パターン2の分割領域1はカラー属性が割り当てられたブロック領域を含まず、分割パターン2の分割領域2はカラー属性が割り当てられたブロック領域を含む。そのため、分割パターン2の分割領域1にモノクロ属性が割り当てられ、分割パターン2の分割領域2にカラー属性が割り当てられた属性パターン2が生成される、同様に、分割パターン3,4から属性パターン3,4が生成される。   When the block attribute information mc shown in FIG. 4 is acquired and the division pattern information ptn indicates the division patterns 1 to 4 in FIG. 2, the attribute pattern information dptn indicating the attribute patterns 1 to 4 in FIG. 5 is acquired. Since the divided area 1 of the divided pattern 1 includes the block area to which the color attribute is assigned, the attribute pattern 1 to which the color attribute is assigned to the divided area 1 of the divided pattern 1 is generated. The divided area 1 of the divided pattern 2 does not include the block area to which the color attribute is assigned, and the divided area 2 of the divided pattern 2 includes the block area to which the color attribute is assigned. Therefore, a monochrome attribute is assigned to the divided area 1 of the divided pattern 2, and an attribute pattern 2 is generated in which the color attribute is assigned to the divided area 2 of the divided pattern 2. Similarly, the attribute pattern 3 is divided from the divided patterns 3 and 4. , 4 are generated.

評価値算出部106は、ブロック属性情報mcと属性パターン情報dptnを比較し、属性パターン情報dptnが示す属性パターンの評価値を比較結果に基づいて算出する。図4に示すブロック属性情報mcと図5の属性パターン1〜4を示す属性パターン情報dptnとが取得された場合、図6に示す比較結果が得られる。図6において、丸印が記載されたブロック領域は、当該ブロック領域を含む属性領域と同じ属性が割り当てられたブロック領域(以下、一致ブロック領域と記載する)である。バツ印が記載されたブロック領域は、当該ブロック領域を含む属性領域と異なる属性が割り当てられたブロック領域(以下、不一致ブロック領域と記載する)である。そして、図6の比較結果と式1を用いて、属性パターン1〜4の評価値として以下の値が算出される。評価値算出部106は、属性パターン1〜4の評価値を示す評価情報dptn_vlを出力する。

属性パターン1の評価値=15/60×100=25%
属性パターン2の評価値=45/60×100=75%
属性パターン3の評価値=27/60×100=45%
属性パターン4の評価値=45/60×100=75%

なお、図6の例では、単色属性が割り当てられたブロック領域は比較に用いられていないため、当該ブロック領域には印が記載されていない。しかし、単色属性が割り当てられたブロック領域も比較に用い、当該ブロック領域が不一致ブロック領域として判断されてもよい。
The evaluation value calculation unit 106 compares the block attribute information mc and the attribute pattern information dptn, and calculates an evaluation value of the attribute pattern indicated by the attribute pattern information dptn based on the comparison result. When the block attribute information mc shown in FIG. 4 and the attribute pattern information dptn showing the attribute patterns 1 to 4 in FIG. 5 are acquired, the comparison result shown in FIG. 6 is obtained. In FIG. 6, a block area indicated by a circle is a block area (hereinafter, referred to as a matching block area) to which the same attribute as the attribute area including the block area is assigned. The block area in which the cross mark is described is a block area to which an attribute different from the attribute area including the block area is assigned (hereinafter referred to as a mismatched block area). Then, using the comparison result of FIG. 6 and Expression 1, the following values are calculated as the evaluation values of the attribute patterns 1 to 4. The evaluation value calculation unit 106 outputs evaluation information dptn_vl indicating the evaluation values of the attribute patterns 1 to 4.

Evaluation value of attribute pattern 1 = 15/60 × 100 = 25%
Evaluation value of attribute pattern 2 = 45/60 × 100 = 75%
Evaluation value of attribute pattern 3 = 27/60 × 100 = 45%
Evaluation value of attribute pattern 4 = 45/60 × 100 = 75%

In the example of FIG. 6, since the block area to which the single color attribute is assigned is not used for comparison, no mark is described in the block area. However, a block area to which a single color attribute is assigned may be used for comparison, and the block area may be determined as a mismatched block area.

評価値について詳しく説明する。
図3に示すように、一般的に、同じカラー画像の領域である無彩色領域306と彩色領域307は近い位置に存在する。そのため、入力画像S1に対応する分割パターンでは、同じカラー画像の領域である無彩色領域306と彩色領域307は、同じ分割領域に含まれる。本実施例では、無彩色領域306と彩色領域307は、分割パターン2の分割領域2に含まれる。属性パターン生成部105では、カラー属性が割り当てられたブロック領域を1つ以上含む分割領域にカラー属性が割り当てられる。そのため、分割パターン2の
分割領域2にはカラー属性が割り当てられる。即ち、内視鏡画像302の領域が無彩色領域306を含んでいても、内視鏡画像302の領域に相当する分割領域2(分割パターン2の分割領域2)に対して、カラー属性が割り当てられる。また、分割パターン2の分割領域1には、カラー属性が割り当てられたブロック領域が1つも存在しないため、モノクロ属性が割り当てられる。分割パターン2の評価値は、カラー画像の無彩色領域306に含まれたブロック領域だけが不一致ブロック領域として判断されるため、75%になっている。
一方、属性パターン1,3では、レントゲン写真301の領域を含む属性領域にカラー属性が割り当てられている。そのため、属性パターン2よりも多くのブロック領域が不一致ブロック領域として判断され、属性パターン2の評価値より低い値が評価値として算出される。属性パターン4は属性パターン2と同じ属性領域の分布(左半分の領域にモノクロ属性が、右半分の領域にカラー属性が割り当てられた分布)を有する。そのため、属性パターン2の評価値と同じ値が評価値として算出される。
The evaluation value will be described in detail.
As shown in FIG. 3, generally, the achromatic region 306 and the chromatic region 307, which are regions of the same color image, are present at close positions. Therefore, in the division pattern corresponding to the input image S1, the achromatic region 306 and the chromatic region 307, which are the same color image region, are included in the same division region. In the present embodiment, the achromatic region 306 and the chromatic region 307 are included in the divided region 2 of the divided pattern 2. The attribute pattern generation unit 105 assigns a color attribute to a divided area including one or more block areas to which a color attribute is assigned. Therefore, a color attribute is assigned to the divided area 2 of the divided pattern 2. That is, even if the region of the endoscopic image 302 includes the achromatic region 306, the color attribute is assigned to the divided region 2 (the divided region 2 of the divided pattern 2) corresponding to the region of the endoscopic image 302. It is done. Further, since there is no block area to which the color attribute is assigned in the divided area 1 of the divided pattern 2, the monochrome attribute is assigned. The evaluation value of the division pattern 2 is 75% because only the block area included in the achromatic color area 306 of the color image is determined as the mismatched block area.
On the other hand, in the attribute patterns 1 and 3, the color attribute is assigned to the attribute region including the region of the radiograph 301. Therefore, more block areas than the attribute pattern 2 are determined as mismatched block areas, and a value lower than the evaluation value of the attribute pattern 2 is calculated as an evaluation value. The attribute pattern 4 has the same attribute area distribution as the attribute pattern 2 (a distribution in which a monochrome attribute is assigned to the left half area and a color attribute is assigned to the right half area). Therefore, the same value as the evaluation value of attribute pattern 2 is calculated as the evaluation value.

確定パターン選択部107は、評価情報dptn_vlが示す評価値が最も高い属性パターンを、確定パターンとして選択する。そして、確定パターン選択部107は、選択した確定パターンを示す確定パターン情報dptn_sを出力する。図4に示すブロック属性情報mcと図5の属性パターン1〜4を示す属性パターン情報dptnとが取得された場合、属性パターン2(登録番号が2であるパターン)の評価値と属性パターン4(登録番号が4であるパターン)の評価値が最も高い。そのため、登録番号が小さい属性パターン2が確定パターンとして選択される。登録番号は、優先度に対応する番号であり、優先度が高いほど小さい。
なお、優先度を考慮せずに、属性パターン4が確定パターンとして選択されてもよい。
The confirmed pattern selection unit 107 selects the attribute pattern having the highest evaluation value indicated by the evaluation information dptn_vl as the confirmed pattern. Then, the confirmed pattern selection unit 107 outputs confirmed pattern information dptn_s indicating the selected confirmed pattern. When the block attribute information mc shown in FIG. 4 and the attribute pattern information dptn indicating the attribute patterns 1 to 4 in FIG. 5 are acquired, the evaluation value of the attribute pattern 2 (pattern having a registration number of 2) and the attribute pattern 4 ( The evaluation value of the pattern whose registration number is 4) is the highest. Therefore, the attribute pattern 2 having a small registration number is selected as the confirmed pattern. The registration number is a number corresponding to the priority, and is smaller as the priority is higher.
Note that the attribute pattern 4 may be selected as the final pattern without considering the priority.

以上述べたように、本実施例によれば、モノクロ画像やカラー画像の配置の候補を示す分割パターンが予め用意される。そして、入力画像に基づいて、予め用意された分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンが取得される。それにより、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。具体的には、カラー画像の領域がモノクロ領域として誤判断されたり、モノクロ画像の領域がカラー領域として誤判断されたりすることを抑制することができる。特に、医療分野は、医療画像が決まった位置に配置されることが多く、モノクロ画像やカラー画像の配置の候補を想定しやすいため、本実施例に係る画像処理装置の使用に適している。   As described above, according to the present embodiment, a division pattern indicating a candidate for arrangement of a monochrome image or a color image is prepared in advance. Then, based on the input image, a fixed pattern in which a monochrome attribute or a color attribute is assigned to the divided area obtained by dividing the area according to one divided pattern selected from the divided patterns prepared in advance is acquired. Thereby, the area of the input image can be accurately divided into a monochrome area and a color area. Specifically, it is possible to prevent a color image area from being erroneously determined as a monochrome area or a monochrome image area from being erroneously determined as a color area. In particular, in the medical field, medical images are often arranged at fixed positions, and it is easy to assume candidates for arrangement of monochrome images or color images, so that it is suitable for use with the image processing apparatus according to the present embodiment.

また、本実施例によれば、画素毎の判断(モノクロ領域か否かの判断)は行われないため、画素毎の判断を行う場合に比べて短時間で入力画像の領域をモノクロ領域とカラー領域に区分することができる。
また、本実施例によれば、分割パターンとして、無属性領域を示すパターンが予め用意される。このような構成によれば、属性のみが異なるパターンを用意する必要が無いため、用意すべき分割パターンの数を減らすことができ、分割パターン記憶部104の記憶容量を低減することができる。
Further, according to the present embodiment, since determination for each pixel (determination of whether or not it is a monochrome area) is not performed, the area of the input image can be changed to a monochrome area and a color in a shorter time than when determination is performed for each pixel. It can be divided into areas.
Further, according to the present embodiment, a pattern indicating an attribute-free area is prepared in advance as a division pattern. According to such a configuration, since it is not necessary to prepare patterns having only different attributes, the number of division patterns to be prepared can be reduced, and the storage capacity of the division pattern storage unit 104 can be reduced.

また、本実施例によれば、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の数が最も多い属性パターンが、確定パターンとして選択される。それにより、カラー画像のモノクロ画素の領域やモノクロ画像のカラー画素の領域に対して適切な属性が割り当てられた確定パターンをより確実に得ることができる。具体的には、カラー画像のモノクロ画素の領域に対してカラー属性が割り当てられ、モノクロ画像のカラー画素の領域に対してモノクロ属性が割り当てられた確定パターンをより確実に得ることができる。   Further, according to the present embodiment, the attribute pattern having the largest number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area is selected as the confirmed pattern. Thereby, a definite pattern in which appropriate attributes are assigned to the monochrome pixel area of the color image and the color pixel area of the monochrome image can be obtained more reliably. Specifically, a definite pattern in which a color attribute is assigned to a monochrome pixel area of a color image and a monochrome attribute is assigned to a color pixel area of a monochrome image can be obtained more reliably.

また、本実施例によれば、予め用意された分割パターンが使用されるため、カラー画像とモノクロ画像の境界が誤検出されることを抑制することができる。具体的には、ブロック領域毎の判断のみを行う構成では、カラー画像とモノクロ画像の境界がブロック領域内に存在する場合に、カラー画像とモノクロ画像の境界が誤検出されてしまう。本実施例によれば、ブロック領域単位の領域でない分割領域を示す分割パターンを予め用意することができる。例えば、分割領域間の境界がブロック領域内に位置するような複数の分割領域を示す分割パターンを予め用意することができる。そのため、ブロック領域毎の判断のみを行う構成よりも高精度にカラー画像とモノクロ画像の境界を検出することができ、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。
なお、無属性領域に属性を割り当てる際に、無属性領域に少なくとも一部が含まれたブロック領域の属性を考慮せずに、無属性領域に全体が含まれたブロック領域のみの属性を考慮すれば、上記境界の誤検出をより抑制することができる。
Further, according to the present embodiment, since a division pattern prepared in advance is used, it is possible to suppress erroneous detection of the boundary between the color image and the monochrome image. Specifically, in the configuration in which only the determination for each block area is performed, the boundary between the color image and the monochrome image is erroneously detected when the boundary between the color image and the monochrome image exists in the block area. According to the present embodiment, it is possible to prepare in advance a division pattern indicating a division area that is not a block area unit area. For example, it is possible to prepare in advance a division pattern indicating a plurality of divided regions such that the boundary between the divided regions is located in the block region. For this reason, the boundary between the color image and the monochrome image can be detected with higher accuracy than the configuration in which only the determination for each block region is performed, and the input image region can be accurately divided into the monochrome region and the color region.
When assigning attributes to attribute-free areas, consider attributes of only block areas that are entirely included in the attribute-free area without considering attributes of block areas that are at least partially included in the attribute-free area. Thus, the erroneous detection of the boundary can be further suppressed.

<実施例2>
以下、本発明の実施例2に係る画像処理装置及びその制御方法について説明する。実施例1では、カラー画像のモノクロ画素を含むブロック領域にモノクロ属性が誤って割り当てられたり、モノクロ画像のカラー画素を含むブロック領域にカラー属性が誤って割り当てられたりする例を説明した。本実施例では、そのような誤った割り当てが行われなかった場合において、カラー画像とモノクロ画像の境界を高精度に検出することができ、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる構成について説明する。
<Example 2>
Hereinafter, an image processing apparatus and a control method thereof according to Embodiment 2 of the present invention will be described. In the first embodiment, an example has been described in which a monochrome attribute is erroneously assigned to a block area including monochrome pixels of a color image, or a color attribute is erroneously assigned to a block area including color pixels of a monochrome image. In this embodiment, when such an erroneous assignment is not performed, the boundary between the color image and the monochrome image can be detected with high accuracy, and the area of the input image is accurately divided into the monochrome area and the color area. A configuration that can be performed will be described.

図7は、本実施例に係る画像処理装置70の機能構成の一例を示すブロック図である。なお、実施例1(図1)と同じ機能部には同じ符号を付し、その説明は省略する。   FIG. 7 is a block diagram illustrating an example of a functional configuration of the image processing apparatus 70 according to the present embodiment. In addition, the same code | symbol is attached | subjected to the same function part as Example 1 (FIG. 1), and the description is abbreviate | omitted.

分割パターン選択部701は、分割パターン情報ptnが示す複数の分割パターンのうちの1つを選択する。そして、分割パターン選択部701は、選択した分割パターンを示す選択パターン情報ptn_sを出力する。
本実施例では、分割パターン情報ptnとブロック属性情報mcに基づいて、分割パターンが選択される。具体的には、無属性領域(分割領域)に全体が含まれた全てのブロック領域の属性が互いに等しい分割パターンが選択される。そして、カラーブロック領域全体とモノクロブロック領域全体が含まれた無属性領域を1つでも示す分割パターンは選択されない。“無属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい”という条件を満たす分割パターンが複数存在する場合には、当該条件を満たす複数の分割パターンのうちの1つが選択される。例えば、上記条件を満たす複数の分割パターンのうち最も優先度の高い分割パターンが選択される。また、上記条件を満たす分割パターンが存在しない場合には、非分割パターンが選択される。
The division pattern selection unit 701 selects one of a plurality of division patterns indicated by the division pattern information ptn. Then, the division pattern selection unit 701 outputs selection pattern information ptn_s indicating the selected division pattern.
In this embodiment, the division pattern is selected based on the division pattern information ptn and the block attribute information mc. Specifically, a division pattern is selected in which the attributes of all the block areas that are entirely included in the non-attribute area (division area) are the same. Then, a division pattern indicating at least one attributeless area including the entire color block area and the entire monochrome block area is not selected. When there are a plurality of division patterns that satisfy the condition that “the attributes of all block areas that are entirely included in the non-attribute area are equal to each other”, one of the plurality of division patterns that satisfy the condition is selected. . For example, a division pattern with the highest priority is selected from among a plurality of division patterns that satisfy the above conditions. Further, when there is no division pattern that satisfies the above conditions, a non-division pattern is selected.

確定パターン生成部702は、分割パターン選択部701で選択された分割パターンを、選択パターン情報ptn_sから判断する。そして、確定パターン生成部702は、分割パターン選択部701で選択された分割パターンが示す無属性領域にモノクロ属性またはカラー属性を入力画像S1に基づいて割り当てることにより、確定パターンを生成する。その後、確定パターン生成部702は、生成した確定パターンを示す確定パターン情報dptn_sを出力する。本実施例では、実施例1の属性パターン生成部105と同様に、ブロック属性情報mcを用いて無属性領域に属性が割り当てられる。   The confirmed pattern generation unit 702 determines the division pattern selected by the division pattern selection unit 701 from the selection pattern information ptn_s. Then, the fixed pattern generation unit 702 generates a fixed pattern by assigning a monochrome attribute or a color attribute to the no-attribute area indicated by the division pattern selected by the division pattern selection unit 701 based on the input image S1. Thereafter, the confirmed pattern generation unit 702 outputs confirmed pattern information dptn_s indicating the generated confirmed pattern. In the present embodiment, similarly to the attribute pattern generation unit 105 of the first embodiment, attributes are assigned to non-attribute areas using the block attribute information mc.

以上述べたように、本実施例によれば、“無属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい”という条件を満たす分割パターンが示す無属性領域に属性を割り当てることによりに、確定パターンが生成される。それにより、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。具体的には、カラー画像とモ
ノクロ画像の境界を高精度に検出することができ、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。
また、本実施例によれば、上記条件を満たす分割パターンが存在しない場合に、非分割パターンが選択される。それにより、入力画像の領域全体に対してモノクロ属性とカラー属性の一方が割り当てられ、カラー画像やモノクロ画像の画質の劣化を抑制することができる。具体的には、カラー画像の領域にモノクロ属性とカラー属性の両方が割り当てられることによる画質の劣化、及び、モノクロ画像の領域にモノクロ属性とカラー属性の両方が割り当てられることによる画質の劣化を抑制することができる。
As described above, according to the present embodiment, by assigning attributes to the attribute-free area indicated by the division pattern that satisfies the condition that “the attributes of all block areas that are entirely included in the attribute-free area are equal to each other” In addition, a definite pattern is generated. Thereby, the area of the input image can be accurately divided into a monochrome area and a color area. Specifically, the boundary between the color image and the monochrome image can be detected with high accuracy, and the area of the input image can be accurately divided into the monochrome area and the color area.
According to the present embodiment, the non-divided pattern is selected when there is no divided pattern that satisfies the above conditions. Thereby, one of the monochrome attribute and the color attribute is assigned to the entire area of the input image, and deterioration of the image quality of the color image or the monochrome image can be suppressed. Specifically, image quality degradation due to the assignment of both monochrome and color attributes to a color image area and image quality degradation due to the assignment of both monochrome and color attributes to a monochrome image area are suppressed. can do.

なお、本実施例におけるパターンの選択方法を実施例1に適用してもよい。具体的には、実施例1の確定パターン選択部107において、属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい属性パターンが、確定パターンとして選択されてもよい。そして、属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい属性パターンが存在しない場合に、非分割パターンから生成された属性パターンが、確定パターンとして選択されてもよい。   Note that the pattern selection method in this embodiment may be applied to the first embodiment. Specifically, in the confirmed pattern selection unit 107 according to the first embodiment, attribute patterns having the same attributes in all block regions that are entirely included in the attribute region may be selected as the confirmed pattern. Then, when there is no attribute pattern in which all the block areas that are entirely included in the attribute area have the same attributes, the attribute pattern generated from the non-divided pattern may be selected as the confirmed pattern.

<実施例3>
以下、本発明の実施例3に係る画像処理装置及びその制御方法について説明する。本実施例では、分割パターンの選択方法が実施例2と異なる。また、本実施例では、無属性領域(分割領域)に対する属性の割当方法が実施例1,2と異なる。
<Example 3>
Hereinafter, an image processing apparatus and a control method thereof according to Embodiment 3 of the present invention will be described. In the present embodiment, the division pattern selection method is different from that in the second embodiment. In this embodiment, the attribute assignment method for the non-attribute area (divided area) is different from those in the first and second embodiments.

図8は、本実施例に係る画像処理装置80の機能構成の一例を示すブロック図である。なお、実施例1,2(図1,7)と同じ機能部には同じ符号を付し、その説明は省略する。   FIG. 8 is a block diagram illustrating an example of a functional configuration of the image processing apparatus 80 according to the present embodiment. In addition, the same code | symbol is attached | subjected to the same function part as Example 1, 2 (FIG. 1, 7), and the description is abbreviate | omitted.

境界検出部801は、入力画像S1に複数の画像が配置されている場合に、複数の画像の境界を検出する。例えば、複数の医療用画像が配置された画像には、医療用画像間に配置された境界画像を含むことがある。具体的には、図9に示すように、入力画像は、レントゲン写真301と内視鏡画像302の間に境界画像901を含むことがある。境界検出部801では、例えば、上記境界画像が検出される。境界検出部801は、境界の検出結果を示す検出境界情報frmを出力する。本実施例では、検出境界情報frmとして、画素値が1ビットのビットマップ画像(ビットマップ画像データ)が出力される。具体的には、検出境界情報frmとして、境界画像と他の画像との境界部分の画素値が1であり、それ以外の部分の画素値が0である画像が出力される。検出境界情報frmは、例えば、入力画像S1の各画素の輝度値を算出し、各画素の輝度値を画素単位で微分することで生成される。具体的には、垂直方向の微分結果の絶対値と水平方向の微分結果の絶対値の少なくとも一方が閾値以上である画素に対して画素値1が割り当てられ、上記2つの絶対値の両方が閾値未満である画素に対して画素値0が割り当てられる。それにより、検出境界情報frmが生成される。   The boundary detection unit 801 detects a boundary between a plurality of images when a plurality of images are arranged in the input image S1. For example, an image in which a plurality of medical images are arranged may include a boundary image arranged between the medical images. Specifically, as shown in FIG. 9, the input image may include a boundary image 901 between the X-ray photograph 301 and the endoscopic image 302. For example, the boundary detection unit 801 detects the boundary image. The boundary detection unit 801 outputs detection boundary information frm indicating the detection result of the boundary. In this embodiment, a bitmap image (bitmap image data) having a 1-bit pixel value is output as the detection boundary information frm. Specifically, as the detection boundary information frm, an image in which the pixel value of the boundary portion between the boundary image and another image is 1 and the pixel value of the other portion is 0 is output. The detection boundary information frm is generated, for example, by calculating the luminance value of each pixel of the input image S1 and differentiating the luminance value of each pixel in units of pixels. Specifically, a pixel value 1 is assigned to a pixel in which at least one of the absolute value of the vertical differential result and the absolute value of the horizontal differential result is greater than or equal to a threshold value, and both of the two absolute values are threshold values. A pixel value of 0 is assigned to pixels that are less than. Thereby, the detection boundary information frm is generated.

分割パターン・境界記憶部802には、実施例1,2の分割パターン記憶部104と同様に複数の分割パターンが予め記録されている。さらに、分割パターン・境界記憶部802には、複数の分割パターンに対応する複数のパターン境界情報が予め記録されている。パターン境界情報は、分割パターンが示す分割領域間の境界を示す情報である。例えば、パターン境界情報は、境界の位置を示す位置情報と方向を示す方向情報とを含む。位置情報は、例えば、境界を含む矩形領域の始点座標と終点座標である。方向情報は、境界がどの方向に沿った境界であるかを示す情報である。本実施例では、方向情報は、「水平」または「垂直」である。
分割パターン・境界記憶部802は、記録されている全ての分割パターンを示す分割パターン情報ptnと、記録されている全てのパターン境界情報を示すパターン境界情報群
ptn_frmと、を出力する。
In the divided pattern / boundary storage unit 802, a plurality of divided patterns are recorded in advance as in the divided pattern storage unit 104 of the first and second embodiments. Furthermore, a plurality of pattern boundary information corresponding to a plurality of divided patterns is recorded in advance in the divided pattern / boundary storage unit 802. The pattern boundary information is information indicating a boundary between divided regions indicated by the divided pattern. For example, the pattern boundary information includes position information indicating the position of the boundary and direction information indicating the direction. The position information is, for example, start point coordinates and end point coordinates of a rectangular area including a boundary. The direction information is information indicating which direction the boundary is along. In this embodiment, the direction information is “horizontal” or “vertical”.
The division pattern / boundary storage unit 802 outputs division pattern information ptn indicating all recorded division patterns and a pattern boundary information group ptn_frm indicating all recorded pattern boundary information.

本実施例に係る分割パターンの一例を図10に示す。本実施例では、図10に示す4つの分割パターン1〜4に対応する4つのパターン境界情報が予め記録されている。
分割パターン1については、境界が存在しないため、パターン境界情報として「境界無し」が記録されている。
分割パターン2については、垂直方向に沿った1つの境界が存在するため、当該境界を示すパターン境界情報が予め記録されている。具体的には、上記境界を含む矩形領域の始点座標(fxs1,fys1)と終点座標(fxe1,fye1)が位置情報として記録されており、「垂直」が方向情報として記録されている。
分割パターン3については、垂直方向に沿った2つの境界が存在するため、当該2つの境界を示すパターン境界情報が予め記録されている。具体的には、1つ目の境界については、始点座標(fxs1,fys1)と終点座標(fxe1,fye1)が位置情報として記録されており、「垂直方向」が方向情報として記録されている。2つ目の境界については、始点座標(fxs2,fys2)と終点座標(fxe2,fye2)が位置情報として記録されており、「垂直方向」が方向情報として記録されている。
分割パターン4については、水平方向に沿った境界と垂直方向に沿った境界との2つの境界が存在するため、当該2つの境界を示すパターン境界情報が予め記録されている。水平方向に沿った境界については、始点座標(fxs1,fys1)と終点座標(fxe1,fye1)が位置情報として記録されており、「水平方向」が方向情報として記録されている。垂直方向に沿った境界については、始点座標(fxs2,fys2)と終点座標(fxe2,fye2)が位置情報として記録されており、「垂直方向」が方向情報として記録されている。
An example of the division pattern according to the present embodiment is shown in FIG. In the present embodiment, four pattern boundary information corresponding to the four divided patterns 1 to 4 shown in FIG. 10 are recorded in advance.
Since there is no boundary for the divided pattern 1, “no boundary” is recorded as the pattern boundary information.
As for the divided pattern 2, since there is one boundary along the vertical direction, pattern boundary information indicating the boundary is recorded in advance. Specifically, the start point coordinates (fxs1, fys1) and end point coordinates (fxe1, fy1) of the rectangular area including the boundary are recorded as position information, and “vertical” is recorded as direction information.
For the divided pattern 3, since there are two boundaries along the vertical direction, pattern boundary information indicating the two boundaries is recorded in advance. Specifically, for the first boundary, start point coordinates (fxs1, fys1) and end point coordinates (fxe1, fy1) are recorded as position information, and “vertical direction” is recorded as direction information. For the second boundary, start point coordinates (fxs2, fys2) and end point coordinates (fxe2, fy2) are recorded as position information, and “vertical direction” is recorded as direction information.
As for the divided pattern 4, since there are two boundaries, a boundary along the horizontal direction and a boundary along the vertical direction, pattern boundary information indicating the two boundaries is recorded in advance. Regarding the boundary along the horizontal direction, the start point coordinates (fxs1, fys1) and the end point coordinates (fxe1, fye1) are recorded as position information, and the “horizontal direction” is recorded as direction information. For the boundary along the vertical direction, start point coordinates (fxs2, fys2) and end point coordinates (fxe2, fye2) are recorded as position information, and “vertical direction” is recorded as direction information.

なお、パターン境界情報は上記情報に限らない。例えば、位置情報として領域を示す情報ではなく、点や線を示す情報が使用されてもよい。
なお、記録されている分割パターンの更新に合わせて、記録されているパターン境界情報も更新されることが好ましい。例えば、図8に示すように、ユーザ操作に応じて登録パターン情報in_ptnに対応するパターン境界情報である登録パターン境界情報in_ptn_frmが、分割パターン・境界記憶部802に入力されてもよい。そして、登録パターン情報in_ptnと登録パターン境界情報in_ptn_frmを用いて、記録されている分割パターンとパターン境界情報が更新されてもよい。
The pattern boundary information is not limited to the above information. For example, information indicating a point or a line may be used as position information instead of information indicating a region.
It is preferable that the recorded pattern boundary information is also updated in accordance with the update of the recorded divided pattern. For example, as illustrated in FIG. 8, registered pattern boundary information in_ptn_frm, which is pattern boundary information corresponding to the registered pattern information in_ptn, may be input to the divided pattern / boundary storage unit 802 in accordance with a user operation. Then, the recorded division pattern and pattern boundary information may be updated using the registered pattern information in_ptn and the registered pattern boundary information in_ptn_frm.

分割パターン選択部803は、分割パターン情報ptnが示す複数の分割パターンのうちの1つを選択する。そして、分割パターン選択部803は、選択した分割パターンを示す選択パターン情報ptn_sを出力する。
本実施例では、分割パターンptnから複数の境界パターンが判断される。そして、検出境界情報frmとパターン境界情報群ptn_frmとに基づいて、分割パターンが選択される。具体的には、入力画像に複数の画像が配置されている場合には、複数の分割領域を示し且つ当該複数の分割領域の境界が複数の画像の境界に一致する分割パターンが選択される。
The division pattern selection unit 803 selects one of a plurality of division patterns indicated by the division pattern information ptn. Then, the division pattern selection unit 803 outputs selection pattern information ptn_s indicating the selected division pattern.
In this embodiment, a plurality of boundary patterns are determined from the division pattern ptn. Then, a division pattern is selected based on the detection boundary information frm and the pattern boundary information group ptn_frm. Specifically, when a plurality of images are arranged in the input image, a division pattern that indicates a plurality of divided areas and whose boundaries coincide with the boundaries of the plurality of images is selected.

分割パターン選択部803の処理の具体例を説明する。以下では、図10の分割パターン2に対する処理について説明する。
まず、図10の分割パターン2の位置情報は始点座標(fxs1,fys1)と終点座標(fxe1,fye1)であり、方向情報は「垂直方向」である。そのため、座標(fxs1,fys1)から座標(fxe1,fys1)の水平ライン領域に、検出境界情報frmの画素値が1である画素(境界画素)が1つ以上存在するか否かが判断される。水平ライン領域は、垂直方向の位置が互いに等しい複数の画素からなる領域である。
次に、判断対象の水平ライン領域が垂直方向に1画素分だけずらされる。即ち、座標(
fxs1,fys1)から座標(fxe1,fys1)の水平ライン領域から、座標(fxs1,fys1+1)から座標(fxe1,fys1+1)の水平ライン領域へ、判断対象が切り替えられる。そして、座標(fxs1,fys1+1)から座標(fxe1,fys1+1)の水平ライン領域に、境界画素が1つ以上存在するか否かが判断される。
そして、座標(fxs1,fye1)から座標(fxe1,fye1)の水平ライン領域まで、判断対象の水平ライン領域が垂直方向に1画素分ずつずらされ、判断が繰り返し行われる。そして、全ての水平ライン領域に境界画素が含まれている場合に、“複数の分割領域の境界が複数の画像の境界に一致する”と判断される。境界画素が含まれていない水平ラインが存在する場合には、“複数の分割領域の境界が複数の画像の境界に一致しない”と判断される。
A specific example of the processing of the division pattern selection unit 803 will be described. Below, the process with respect to the division | segmentation pattern 2 of FIG. 10 is demonstrated.
First, the position information of the division pattern 2 in FIG. 10 is the start point coordinates (fxs1, fys1) and the end point coordinates (fxe1, fy1), and the direction information is “vertical direction”. Therefore, it is determined whether or not one or more pixels (boundary pixels) having a pixel value of the detection boundary information frm of 1 exist in the horizontal line region from the coordinates (fxs1, fys1) to the coordinates (fxe1, fys1). . The horizontal line region is a region made up of a plurality of pixels having the same vertical position.
Next, the horizontal line area to be determined is shifted by one pixel in the vertical direction. That is, coordinates (
The determination target is switched from the horizontal line area of coordinates (fxs1, fys1) to the horizontal line area of coordinates (fxe1, fys1 + 1) from fxs1, fys1). Then, it is determined whether or not one or more boundary pixels exist in the horizontal line area from the coordinates (fxs1, fys1 + 1) to the coordinates (fxe1, fys1 + 1).
Then, the horizontal line area to be determined is shifted by one pixel in the vertical direction from the coordinates (fxs1, fye1) to the horizontal line area of the coordinates (fxe1, fye1), and the determination is repeated. Then, when boundary pixels are included in all horizontal line regions, it is determined that “the boundaries of the plurality of divided regions match the boundaries of the plurality of images”. If there is a horizontal line that does not include the boundary pixel, it is determined that “the boundaries of the plurality of divided regions do not coincide with the boundaries of the plurality of images”.

方向情報が「水平方向」である場合には、位置情報が示す領域の垂直ライン領域毎に境界画素が存在するか否かが判断される。具体的には、最も左側の垂直ライン領域から最も右側の垂直ライン領域まで判断対象の垂直ライン領域が水平方向に1画素分ずつずらされ、判断が繰り返し行われる。そして、全ての垂直ライン領域に境界画素が含まれている場合に、“複数の分割領域の境界が複数の画像の境界に一致する”と判断される。境界画素が含まれてない垂直ラインが存在する場合には、“複数の分割領域の境界が複数の画像の境界に一致しない”と判断される。垂直ライン領域は、水平方向の位置が互いに等しい複数の画素からなる領域である。
図10の分割パターン3,4のようにパターン境界情報が複数の境界を示す場合には、以下のように“複数の分割領域の境界が複数の画像の境界に一致する”か否かが判断される。
即ち、パターン境界情報が示す全ての境界について“全てのライン領域(水平ライン領域または垂直ライン領域)に境界画素が含まれる”と判断された場合にのみ、“複数の分割領域の境界が複数の画像の境界に一致する”と判断される。そして、“境界画素が含まれていないライン領域が存在する”と判断されたた場合には、“複数の分割領域の境界が複数の画像の境界に一致しない”と判断される。
非分割パターンは、境界画素が存在するか否かの判断は行われずに、“複数の分割領域の境界が複数の画像の境界に一致しない”と判断される。
When the direction information is “horizontal direction”, it is determined whether or not a boundary pixel exists for each vertical line area of the area indicated by the position information. Specifically, the vertical line area to be determined is shifted by one pixel in the horizontal direction from the leftmost vertical line area to the rightmost vertical line area, and the determination is repeated. Then, when boundary pixels are included in all the vertical line regions, it is determined that “the boundaries of the plurality of divided regions match the boundaries of the plurality of images”. If there is a vertical line that does not include the boundary pixel, it is determined that “the boundaries of the plurality of divided regions do not coincide with the boundaries of the plurality of images”. The vertical line region is a region made up of a plurality of pixels having the same horizontal position.
When the pattern boundary information indicates a plurality of boundaries as in the divided patterns 3 and 4 in FIG. 10, it is determined whether or not “the boundaries of the plurality of divided areas match the boundaries of the plurality of images” as follows. Is done.
That is, only when it is determined that “all boundary regions are included in all line regions (horizontal line region or vertical line region)” for all the boundaries indicated by the pattern boundary information, It is determined that it matches the boundary of the image. When it is determined that “a line region that does not include a boundary pixel exists”, it is determined that “the boundaries of the plurality of divided regions do not coincide with the boundaries of the plurality of images”.
In the non-divided pattern, it is determined that “the boundaries of the plurality of divided regions do not coincide with the boundaries of the plurality of images” without determining whether or not the boundary pixel exists.

“複数の分割領域の境界が複数の画像の境界に一致する”と判断された分割パターンが複数存在する場合には、“複数の分割領域の境界が複数の画像の境界に一致する”と判断された複数の分割パターンのうちの1つが選択される。例えば、“複数の分割領域の境界が複数の画像の境界に一致する”と判断された複数の分割パターンのうち最も優先度の高い分割パターンが選択される。また、“複数の分割領域の境界が複数の画像の境界に一致する”と判断された分割パターンが存在しない場合には、非分割パターンが選択される。   When there are a plurality of division patterns determined that “the boundaries of the plurality of divided areas match the boundaries of the plurality of images”, it is determined that “the boundaries of the plurality of divided areas match the boundaries of the plurality of images”. One of the plurality of divided patterns is selected. For example, the division pattern with the highest priority is selected from among the plurality of division patterns determined that “the boundaries of the plurality of divided regions match the boundaries of the plurality of images”. In addition, when there is no divided pattern determined that “the boundaries of the plurality of divided regions match the boundaries of the plurality of images”, the non-divided pattern is selected.

モノクロカウント部804は、分割パターン選択部803で選択された分割パターンが示す分割領域における入力画像S1のモノクロ画素の数をカウントする。分割パターン選択部803で選択された分割パターンが複数の分割領域を示す場合には、複数の分割パターンのそれぞれについてモノクロ画素の数がカウントされる。そして、モノクロカウント部804は、分割領域のモノクロ画素数を示すモノクロ情報cnt_ptnを出力する。分割パターン選択部803で選択された分割パターンが示す分割領域は、選択パターン情報ptn_sから判断される。
なお、分割パターンが示す複数の分割領域からなる領域のサイズと入力画像S1の領域のサイズとが異なる場合には、それらのサイズを一致させるスケーリング処理を行った後、分割領域に含まれた画素が判断される。
The monochrome count unit 804 counts the number of monochrome pixels of the input image S1 in the divided area indicated by the divided pattern selected by the divided pattern selection unit 803. When the division pattern selected by the division pattern selection unit 803 indicates a plurality of division regions, the number of monochrome pixels is counted for each of the plurality of division patterns. Then, the monochrome count unit 804 outputs monochrome information cnt_ptn indicating the number of monochrome pixels in the divided area. The division area indicated by the division pattern selected by the division pattern selection unit 803 is determined from the selection pattern information ptn_s.
In addition, when the size of the area composed of a plurality of divided areas indicated by the divided pattern is different from the size of the area of the input image S1, the pixels included in the divided areas are subjected to scaling processing for matching the sizes. Is judged.

パターン属性割当部805は、分割パターン選択部803で選択された分割パターンが示す分割領域にモノクロ属性またはカラー属性を割り当てる。分割パターン選択部803
で選択された分割パターンが複数の分割領域を示す場合には、複数の分割パターンのそれぞれにモノクロ属性またはカラー属性が割り当てられる。そして、パターン属性割当部805は、分割領域の属性を示すパターン属性情報mc_ptnを出力する。
本実施例では、選択パターン情報ptn_sとモノクロ情報cnt_ptnに基づいて属性が割り当てられる。具体的には、モノクロ率が閾値未満である無属性領域(分割領域)にカラー属性が割り当てられ、モノクロ率が閾値以上である無属性領域にモノクロ属性が割り当てられる。本実施例では、モノクロ率は、無属性領域内の画素の総数(第1総数)に対する当該無属性領域内のモノクロ画素の総数(第2総数)の割合である。分割パターン選択部803で選択された分割パターンが示す分割領域と第1総数とは、選択パターン情報ptn_sから判断される。そして、第2総数は、モノクロ情報cnt_ptnから判断される。本実施例では、実施例1と同様に、モノクロ率の閾値として95%が使用される。
The pattern attribute assignment unit 805 assigns a monochrome attribute or a color attribute to the divided area indicated by the division pattern selected by the division pattern selection unit 803. Division pattern selection unit 803
When the division pattern selected in (1) indicates a plurality of division areas, a monochrome attribute or a color attribute is assigned to each of the plurality of division patterns. Then, the pattern attribute assignment unit 805 outputs pattern attribute information mc_ptn indicating the attribute of the divided area.
In this embodiment, attributes are assigned based on the selection pattern information ptn_s and the monochrome information cnt_ptn. Specifically, a color attribute is assigned to an attribute-free area (divided area) where the monochrome ratio is less than a threshold, and a monochrome attribute is assigned to an attribute-free area where the monochrome ratio is greater than or equal to the threshold. In the present embodiment, the monochrome ratio is a ratio of the total number of monochrome pixels in the attribute-free area (second total number) to the total number of pixels in the attribute-free area (first total number). The division area and the first total number indicated by the division pattern selected by the division pattern selection unit 803 are determined from the selection pattern information ptn_s. The second total number is determined from the monochrome information cnt_ptn. In the present embodiment, as in the first embodiment, 95% is used as the monochrome ratio threshold.

確定パターン生成部806は、選択パターン情報ptn_sとパターン属性情報mc_ptnに基づいて、確定パターンを生成する。そして、確定パターン生成部806は、生成した確定パターンを示す確定パターン情報dptn_sを出力する。
本実施例では、選択パターン情報ptn_sが示す分割領域にパターン属性情報mc_ptnが示す属性が割り当てられた属性領域を示す属性パターンが、確定パターンとして生成される。
The confirmed pattern generation unit 806 generates a confirmed pattern based on the selection pattern information ptn_s and the pattern attribute information mc_ptn. Then, the confirmed pattern generation unit 806 outputs confirmed pattern information dptn_s indicating the generated confirmed pattern.
In the present embodiment, an attribute pattern indicating an attribute area in which the attribute indicated by the pattern attribute information mc_ptn is assigned to the divided area indicated by the selection pattern information ptn_s is generated as a confirmed pattern.

以上述べたように、本実施例によれば、分割領域の境界が画像の境界と一致する分割パターンが選択される。そして、選択された分割パターンが示す無属性領域に属性を割り当てることにより、確定パターンが生成される。入力画像に複数の画像が配置されている場合には、通常、複数の画像間に境界が存在する。そのため、このような方法により、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。
また、本実施例では、ブロック領域毎の属性の判断や複数の属性パターンの生成は行われないため、実施例1,2に比べ処理負荷の低減が期待される。
As described above, according to the present embodiment, a division pattern in which the boundary of the divided area coincides with the boundary of the image is selected. And a fixed pattern is produced | generated by assigning an attribute to the no-attribute area | region which the selected division | segmentation pattern shows. When a plurality of images are arranged in the input image, a boundary usually exists between the plurality of images. Therefore, by such a method, the area of the input image can be accurately divided into a monochrome area and a color area.
In the present embodiment, attribute determination for each block area and generation of a plurality of attribute patterns are not performed, so that a reduction in processing load is expected compared to the first and second embodiments.

なお、本実施例におけるパターンの選択方法を実施例1,2に適用してもよい。例えば、実施例1の確定パターン選択部107において、入力画像に複数の画像が配置されている場合に、複数の属性領域を示し且つ当該複数の属性領域の境界が前記複数の画像の境界に一致する属性パターンが、確定パターンとして選択されてもよい。複数の属性領域を示し且つ当該複数の属性領域の境界が前記複数の画像の境界に一致した属性パターンが存在しない場合に、非分割パターンから生成された属性パターンが、確定パターンとして選択されてもよい。そして、入力画像に1つの画像が配置されている場合に、非分割パターンから生成された属性パターンが、確定パターンとして選択されてもよい。
なお、本実施例における属性の割当方法を実施例1,2に適用してもよい。例えば、実施例1の属性パターン生成部105や実施例2の確定パターン生成部702において、分割領域のモノクロ率に基づいて、分割領域に属性が割り当てられてもよい。
Note that the pattern selection method in the present embodiment may be applied to the first and second embodiments. For example, in the fixed pattern selection unit 107 according to the first embodiment, when a plurality of images are arranged in the input image, the plurality of attribute areas are indicated and the boundaries of the plurality of attribute areas coincide with the boundaries of the plurality of images. The attribute pattern to be selected may be selected as the confirmed pattern. An attribute pattern generated from an undivided pattern is selected as a definite pattern when there is no attribute pattern that indicates a plurality of attribute areas and the boundaries of the plurality of attribute areas match the boundaries of the plurality of images. Good. And when one image is arrange | positioned at an input image, the attribute pattern produced | generated from the non-division pattern may be selected as a definite pattern.
Note that the attribute assignment method in the present embodiment may be applied to the first and second embodiments. For example, in the attribute pattern generation unit 105 of the first embodiment and the confirmed pattern generation unit 702 of the second embodiment, attributes may be assigned to the divided areas based on the monochrome ratio of the divided areas.

<実施例4>
以下、本発明の実施例4に係る画像処理装置及びその制御方法について説明する。本実施例では、分割パターンの選択方法が実施例3と異なる。
<Example 4>
Hereinafter, an image processing apparatus and a control method thereof according to Embodiment 4 of the present invention will be described. In the present embodiment, the division pattern selection method is different from that in the third embodiment.

図11は、本実施例に係る画像処理装置110の機能構成の一例を示すブロック図である。なお、実施例1〜3(図1,7,8)と同じ機能部には同じ符号を付し、その説明は省略する。   FIG. 11 is a block diagram illustrating an example of a functional configuration of the image processing apparatus 110 according to the present embodiment. In addition, the same code | symbol is attached | subjected to the same function part as Examples 1-3 (FIG. 1, 7, 8), and the description is abbreviate | omitted.

分割パターン選択部1101は、ユーザ操作に応じて、分割パターン情報ptnが示す複数の分割パターンのうちの1つを選択する。そして、分割パターン選択部1101は、
選択した分割パターンを示す選択パターン情報ptn_sを出力する。
例えば、分割パターン情報ptnが示す複数の分割パターンには番号(パターン番号)が付されている。分割パターン選択部1101には、画像処理装置のスイッチや表示装置に表示されたメニュー画像に対するユーザ操作に応じたパターン番号(ユーザ選択番号)ptn_noが入力される。そして、ユーザ選択番号ptn_noが付された分割パターンが選択される。
The division pattern selection unit 1101 selects one of a plurality of division patterns indicated by the division pattern information ptn according to a user operation. Then, the division pattern selection unit 1101
Selection pattern information ptn_s indicating the selected division pattern is output.
For example, numbers (pattern numbers) are assigned to the plurality of division patterns indicated by the division pattern information ptn. A pattern number (user selection number) ptn_no corresponding to a user operation on the menu image displayed on the switch or display device of the image processing apparatus is input to the division pattern selection unit 1101. Then, the division pattern assigned the user selection number ptn_no is selected.

以上述べたように、本実施例によれば、ユーザ操作に応じて分割パターンが選択される。ユーザは、属性を考慮せずに、入力画像における画像(モノクロ画像またはカラー画像)の配置のみを考慮して分割パターンを選択することができる。そのため、ユーザは入力画像に適した分割パターンを容易に選択することができる。その結果、画像処理装置110では、入力画像に適した分割パターンを実施例3よりも高精度に選択することができる。   As described above, according to the present embodiment, a division pattern is selected according to a user operation. The user can select the division pattern in consideration of only the arrangement of the image (monochrome image or color image) in the input image without considering the attribute. Therefore, the user can easily select a division pattern suitable for the input image. As a result, the image processing apparatus 110 can select a division pattern suitable for the input image with higher accuracy than in the third embodiment.

なお、本実施例におけるパターンの選択方法を実施例1,2に適用してもよい。例えば、実施例1の確定パターン選択部107において、ユーザ操作に応じて、複数の属性パターンの1つが確定パターンとして選択されてもよい。その場合にも、ユーザは入力画像における画像(モノクロ画像またはカラー画像)の配置のみを考慮すればよいため、ユーザは入力画像に適した属性パターンを容易に選択することができる。   Note that the pattern selection method in the present embodiment may be applied to the first and second embodiments. For example, in the confirmed pattern selection unit 107 according to the first embodiment, one of a plurality of attribute patterns may be selected as a confirmed pattern in accordance with a user operation. Even in this case, since the user only needs to consider the arrangement of the image (monochrome image or color image) in the input image, the user can easily select an attribute pattern suitable for the input image.

<実施例5>
以下、本発明の実施例5に係る画像処理装置及びその制御方法について説明する。本実施例では、複数の分割パターンとして、複数の属性パターンが予め用意されている例を説明する。
<Example 5>
Hereinafter, an image processing apparatus and a control method thereof according to Embodiment 5 of the present invention will be described. In the present embodiment, an example in which a plurality of attribute patterns are prepared in advance as a plurality of division patterns will be described.

図12は、本実施例に係る画像処理装置120の機能構成の一例を示すブロック図である。なお、実施例1〜4(図1,7,8,11)と同じ機能部には同じ符号を付し、その説明は省略する。   FIG. 12 is a block diagram illustrating an example of a functional configuration of the image processing apparatus 120 according to the present embodiment. In addition, the same code | symbol is attached | subjected to the same function part as Examples 1-4 (FIGS. 1, 7, 8, 11), and the description is abbreviate | omitted.

属性パターン記憶部1201には、複数の属性パターンが予め記録されている。属性パターン記憶部1201は、記録されている複数の属性パターンを示す属性パターン情報dptnを出力する。
図13に、属性パターン記憶部1201に記録されている属性パターンの一例を示す。図13の8つの属性パターン1〜8は、それぞれ、1つ以上の属性領域を示す。各属性領域には、カラー属性またはモノクロ属性が割り当てられている。
A plurality of attribute patterns are recorded in the attribute pattern storage unit 1201 in advance. The attribute pattern storage unit 1201 outputs attribute pattern information dptn indicating a plurality of recorded attribute patterns.
FIG. 13 shows an example of an attribute pattern recorded in the attribute pattern storage unit 1201. Each of the eight attribute patterns 1 to 8 in FIG. 13 indicates one or more attribute areas. Each attribute area is assigned a color attribute or a monochrome attribute.

属性パターン選択部1202は、属性パターン情報dptnが示す複数の属性パターンの中から、“モノクロ属性が割り当てられた属性領域内に存在する全てのブロック領域がモノクロブロック領域である”という第1条件を満たす属性パターンを選択する。第1条件は、換言すれば、“モノクロ属性が割り当てられた属性領域内にカラーブロック領域が存在しない”という条件である。モノクロブロック領域はモノクロ属性が割り当てられたブロック領域であり、カラーブロック領域はカラー属性が割り当てられたブロック領域である。ブロック領域の属性は、ブロック属性情報mcから判断される。そして、属性パターン選択部1202は、選択した属性パターンを示す選択属性パターン情報dptn_pckを出力する。第1条件を満たす属性パターンが複数存在する場合には、第1条件を満たす全ての属性パターンが選択される。入力画像S1として図3に示す画像が入力された場合には、図10の属性パターン4,5が選択される。   The attribute pattern selection unit 1202 sets the first condition that “all the block areas existing in the attribute area to which the monochrome attribute is assigned are monochrome block areas” from among the plurality of attribute patterns indicated by the attribute pattern information dptn. Select an attribute pattern that meets the requirements. In other words, the first condition is a condition that “the color block area does not exist in the attribute area to which the monochrome attribute is assigned”. The monochrome block area is a block area to which a monochrome attribute is assigned, and the color block area is a block area to which a color attribute is assigned. The attribute of the block area is determined from the block attribute information mc. Then, the attribute pattern selection unit 1202 outputs selection attribute pattern information dptn_pck indicating the selected attribute pattern. If there are a plurality of attribute patterns that satisfy the first condition, all attribute patterns that satisfy the first condition are selected. When the image shown in FIG. 3 is input as the input image S1, the attribute patterns 4 and 5 in FIG. 10 are selected.

このような属性パターンの絞り込みを行うことにより、カラー画像の無彩色領域内にモノクロブロック領域が存在することにより高い評価値が誤算出されてしまうことを抑制す
ることができる。実施例1で述べたように、カラー画像の無彩色領域と彩色領域は近い位置に存在する。そのため、モノクロ属性が割り当てられた属性領域にカラーブロック領域が1つでも含まれる属性パターンを選択しないことにより、高い評価値が誤算出される可能性の高い属性パターンを、評価値の算出対象から除外することができる。具体的には、カラー画像の無彩色領域内にモノクロブロック領域が存在することにより高い評価値が誤算出されてしまう可能性が高い属性パターンを、評価値の算出対象から除外することができる。
By narrowing down such attribute patterns, it is possible to suppress erroneous calculation of a high evaluation value due to the presence of a monochrome block region in the achromatic region of the color image. As described in the first embodiment, the achromatic region and the chromatic region of the color image are present at close positions. Therefore, by selecting an attribute pattern that includes at least one color block area in an attribute area to which a monochrome attribute is assigned, attribute patterns that are likely to be miscalculated with high evaluation values are excluded from evaluation value calculation targets. can do. Specifically, it is possible to exclude an attribute pattern from which an evaluation value is highly likely to be erroneously calculated due to the presence of a monochrome block region in an achromatic region of a color image.

なお、第1条件を満たす属性パターンが1つも存在しない場合には、1つの属性領域を示す属性パターンが選択される。その場合、図13の属性パターン1,2の両方が選択されてもよいし、図13の属性パターン1,2の一方が選択されてもよい。
なお、“カラー属性が割り当てられた属性領域内に存在する全てのブロック領域がカラーブロック領域である”という第2条件を満たす属性パターンが選択されてもよい。第1条件を満たす属性パターンのみが選択されてもよいし、第2条件を満たす属性パターンのみが選択されてもよいし、第1条件と第2条件の少なくとも一方を満たす属性パターンが選択されてもよい。
If no attribute pattern that satisfies the first condition exists, an attribute pattern indicating one attribute area is selected. In that case, both of the attribute patterns 1 and 2 in FIG. 13 may be selected, or one of the attribute patterns 1 and 2 in FIG. 13 may be selected.
Note that an attribute pattern that satisfies the second condition that “all block areas existing in an attribute area to which a color attribute is assigned is a color block area” may be selected. Only an attribute pattern that satisfies the first condition may be selected, only an attribute pattern that satisfies the second condition may be selected, or an attribute pattern that satisfies at least one of the first condition and the second condition is selected. Also good.

評価値算出部106と確定パターン選択部107は、実施例1と同様の処理を行う。但し、評価値算出部106では、選択属性パターン情報dptn_pckが複数の属性パターンを示す場合に、選択属性パターン情報dptn_pckが示す各属性パターンの評価値が算出される。そして、確定パターン選択部107では、選択属性パターン情報dptn_pckが複数の属性パターンを示す場合に、選択属性パターン情報dptn_pckが示す複数の属性パターンのうち評価値が最も高い属性パターンが、確定パターンとして選択される。選択属性パターン情報dptn_pckが1つ属性パターンを示す場合には、選択属性パターン情報dptn_pckが示す属性パターンが、確定パターンとして選択される(評価値は算出されてもされなくてもよい)。   The evaluation value calculation unit 106 and the confirmed pattern selection unit 107 perform the same processing as in the first embodiment. However, the evaluation value calculation unit 106 calculates the evaluation value of each attribute pattern indicated by the selection attribute pattern information dptn_pck when the selection attribute pattern information dptn_pck indicates a plurality of attribute patterns. Then, when the selected attribute pattern information dptn_pck indicates a plurality of attribute patterns, the determined pattern selection unit 107 selects the attribute pattern having the highest evaluation value from among the plurality of attribute patterns indicated by the selected attribute pattern information dptn_pck as the determined pattern. Is done. When the selection attribute pattern information dptn_pck indicates one attribute pattern, the attribute pattern indicated by the selection attribute pattern information dptn_pck is selected as a confirmed pattern (the evaluation value may or may not be calculated).

以上述べたように、本実施例によれば、複数の属性パターンが予め用意されている構成において、実施例1と同様に、入力画像の領域をモノクロ領域とカラー領域に精度良く区分することができる。
なお、属性パターン選択部1202の処理は省略され、属性パターン情報dptnが評価値算出部106と確定パターン選択部107に入力されてもよい。
As described above, according to the present embodiment, in a configuration in which a plurality of attribute patterns are prepared in advance, as in the first embodiment, an input image area can be accurately divided into a monochrome area and a color area. it can.
Note that the processing of the attribute pattern selection unit 1202 may be omitted, and the attribute pattern information dptn may be input to the evaluation value calculation unit 106 and the confirmed pattern selection unit 107.

<その他の実施例>
記憶装置に記録されたプログラムを読み込み実行することで前述した実施例の機能を実現するシステムや装置のコンピュータ(又はCPU、MPU等のデバイス)によっても、本発明を実施することができる。また、例えば、記憶装置に記録されたプログラムを読み込み実行することで前述した実施例の機能を実現するシステムや装置のコンピュータによって実行されるステップからなる方法によっても、本発明を実施することができる。この目的のために、上記プログラムは、例えば、ネットワークを通じて、又は、上記記憶装置となり得る様々なタイプの記録媒体(つまり、非一時的にデータを保持するコンピュータ読取可能な記録媒体)から、上記コンピュータに提供される。したがって、上記コンピュータ(CPU、MPU等のデバイスを含む)、上記方法、上記プログラム(プログラムコード、プログラムプロダクトを含む)、上記プログラムを非一時的に保持するコンピュータ読取可能な記録媒体は、いずれも本発明の範疇に含まれる。
<Other examples>
The present invention can also be implemented by a system (or a device such as a CPU or MPU) of a system or apparatus that implements the functions of the above-described embodiments by reading and executing a program recorded in a storage device. The present invention can also be implemented by a method comprising steps executed by a computer of a system or apparatus that implements the functions of the above-described embodiments by reading and executing a program recorded in a storage device, for example. . For this purpose, the program is stored in the computer from, for example, various types of recording media that can serve as the storage device (ie, computer-readable recording media that holds data non-temporarily). Provided to. Therefore, the computer (including devices such as CPU and MPU), the method, the program (including program code and program product), and the computer-readable recording medium that holds the program non-temporarily are all present. It is included in the category of the invention.

10,70,80,110,120 画像処理装置
103 ブロック属性割当部
104 分割パターン記憶部
105 属性パターン生成部
106 評価値算出部
107 確定パターン選択部
701,803,1101 分割パターン選択部
702,806 確定パターン生成部
801 境界検出部
802 分割パターン・境界記憶部
805 パターン属性割当部
806 確定パターン生成部
1201 属性パターン記憶部
1202 属性パターン選択部
10, 70, 80, 110, 120 Image processing device 103 Block attribute assignment unit 104 Division pattern storage unit 105 Attribute pattern generation unit 106 Evaluation value calculation unit 107 Determination pattern selection unit 701, 803, 1101 Division pattern selection unit 702, 806 Determination Pattern generation unit 801 Boundary detection unit 802 Division pattern / boundary storage unit 805 Pattern attribute allocation unit 806 Deterministic pattern generation unit 1201 Attribute pattern storage unit 1202 Attribute pattern selection unit

Claims (23)

入力画像の領域をモノクロ領域とカラー領域に区分する画像処理装置であって、
互いに異なる複数の分割パターンが予め記録された記憶手段と、
入力画像に基づいて、前記複数の分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンを取得する取得手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus that divides an input image area into a monochrome area and a color area,
Storage means in which a plurality of different division patterns are recorded in advance;
Obtaining means for obtaining a fixed pattern in which a monochrome attribute or a color attribute is assigned to a divided region obtained by dividing the region according to one divided pattern selected from the plurality of divided patterns based on an input image;
An image processing apparatus comprising:
前記分割パターンは、分割領域として、属性が割り当てられていない無属性領域を示し、
前記取得手段は、
前記分割パターンが示す無属性領域にモノクロ属性またはカラー属性を前記入力画像に基づいて割り当てることにより、モノクロ属性またはカラー属性が割り当てられた属性領域を示す属性パターンを生成する処理を、前記複数の分割パターンのそれぞれについて行い、
複数の属性パターンのうちの1つを前記確定パターンとして選択する
ことを特徴とする請求項1に記載の画像処理装置。
The division pattern indicates a non-attribute area to which no attribute is assigned as a division area,
The acquisition means includes
A process of generating an attribute pattern indicating an attribute area to which a monochrome attribute or a color attribute is assigned by assigning a monochrome attribute or a color attribute to an attribute-free area indicated by the division pattern based on the input image. For each of the patterns,
The image processing apparatus according to claim 1, wherein one of a plurality of attribute patterns is selected as the confirmed pattern.
前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記取得手段は、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の数が最も多い属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項2に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The acquisition unit selects an attribute pattern having the largest number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area as the fixed pattern. The image processing apparatus according to claim 2.
前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記取得手段は、属性領域に全体が含まれたブロック領域の属性が互いに等しい属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項2に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The image processing apparatus according to claim 2, wherein the acquisition unit selects an attribute pattern having the same attributes in a block area whose entire attribute area is included as the definite pattern.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい属性パターンが存在しない場合に、前記非分割パターンから生成された属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項4に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
The acquisition means selects an attribute pattern generated from the non-divided pattern as the definite pattern when there is no attribute pattern in which all the block areas that are entirely included in the attribute area have the same attributes. The image processing apparatus according to claim 4.
前記取得手段は、前記入力画像に複数の画像が配置されている場合に、複数の属性領域を示し且つ当該複数の属性領域の境界が前記複数の画像の境界に一致する属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項2に記載の画像処理装置。
The acquisition means determines an attribute pattern that indicates a plurality of attribute areas and a boundary of the plurality of attribute areas coincides with a boundary of the plurality of images when a plurality of images are arranged in the input image. The image processing apparatus according to claim 2, wherein the image processing apparatus is selected as a pattern.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、複数の属性領域を示し且つ当該複数の属性領域の境界が前記複数の画像の境界に一致した属性パターンが存在しない場合に、前記非分割パターンから生成された属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項6に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
The acquisition means indicates an attribute pattern generated from the non-divided pattern when there is no attribute pattern that indicates a plurality of attribute areas and a boundary of the plurality of attribute areas matches a boundary of the plurality of images. The image processing apparatus according to claim 6, wherein the image processing apparatus is selected as a confirmed pattern.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、前記入力画像に1つの画像が配置されている場合に、前記非分割パターンから生成された属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項6または7に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
The said acquisition means selects the attribute pattern produced | generated from the said non-division pattern as the said definite pattern, when one image is arrange | positioned at the said input image. Image processing apparatus.
前記取得手段は、ユーザ操作に応じて前記複数の属性パターンのうちの1つを前記確定パターンとして選択する
ことを特徴とする請求項2に記載の画像処理装置。
The image processing apparatus according to claim 2, wherein the acquisition unit selects one of the plurality of attribute patterns as the confirmed pattern in response to a user operation.
前記分割パターンは、分割領域として、属性が割り当てられていない無属性領域を示し、
前記取得手段は、
前記複数の分割パターンのうちの1つを選択し、
選択した分割パターンが示す無属性領域にモノクロ属性またはカラー属性を前記入力画像に基づいて割り当てることにより、前記確定パターンを生成する
ことを特徴とする請求項1に記載の画像処理装置。
The division pattern indicates a non-attribute area to which no attribute is assigned as a division area,
The acquisition means includes
Selecting one of the plurality of division patterns;
The image processing apparatus according to claim 1, wherein the fixed pattern is generated by assigning a monochrome attribute or a color attribute to an attribute-free area indicated by the selected divided pattern based on the input image.
前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記取得手段は、無属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい分割パターンを選択する
ことを特徴とする請求項10に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The image processing apparatus according to claim 10, wherein the acquisition unit selects a division pattern in which attributes of all block areas that are entirely included in the non-attribute area are equal to each other.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、無属性領域に全体が含まれた全てのブロック領域の属性が互いに等しい分割パターンが存在しない場合に、前記非分割パターンを選択する
ことを特徴とする請求項11に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
12. The image according to claim 11, wherein the acquisition unit selects the non-divided pattern when there is no divided pattern having the same attributes of all the block areas that are entirely included in the non-attribute area. Processing equipment.
前記取得手段は、前記入力画像に複数の画像が配置されている場合に、複数の無属性領域を示し且つ当該複数の無属性領域の境界が前記複数の画像の境界に一致する分割パターンを選択する
ことを特徴とする請求項10に記載の画像処理装置。
The acquisition unit selects a division pattern that indicates a plurality of attributeless areas and a boundary of the attributeless areas matches a boundary of the plurality of images when a plurality of images are arranged in the input image. The image processing apparatus according to claim 10.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、複数の無属性領域を示し且つ当該複数の無属性領域の境界が前記複数の画像の境界に一致する分割パターンが存在しない場合に、前記非分割パターンを選択する
ことを特徴とする請求項13に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
The obtaining means selects the non-divided pattern when there is no divided pattern that indicates a plurality of non-attribute areas and the boundaries of the plurality of non-attribute areas match the boundaries of the plurality of images. The image processing apparatus according to claim 13.
前記複数の分割パターンは、領域を分割しない非分割パターンを含み、
前記取得手段は、前記入力画像に1つの画像が配置されている場合に、前記非分割パターンを選択する
ことを特徴とする請求項13または14に記載の画像処理装置。
The plurality of division patterns include a non-division pattern that does not divide a region,
The image processing apparatus according to claim 13 or 14, wherein the acquisition unit selects the non-divided pattern when one image is arranged in the input image.
前記取得手段は、ユーザ操作に応じて前記複数の分割パターンのうちの1つを選択することを特徴とする請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein the acquisition unit selects one of the plurality of division patterns according to a user operation. 前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー
属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記取得手段は、カラー属性が割り当てられたブロック領域を含む無属性領域にカラー属性を割り当て、カラー属性が割り当てられたブロック領域を含まない無属性領域にモノクロ属性を割り当てる
ことを特徴とする請求項2〜16のいずれか1項に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The acquisition means assigns a color attribute to an attribute-free area including a block area to which a color attribute is assigned, and assigns a monochrome attribute to an attribute-free area not including the block area to which the color attribute is assigned. The image processing apparatus according to any one of 2 to 16.
前記取得手段は、無属性領域内の画素の総数に対する当該無属性領域内のモノクロ画素の総数の割合が閾値未満である無属性領域にカラー属性を割り当て、前記割合が前記閾値以上である無属性領域にモノクロ属性を割り当てる
ことを特徴とする請求項2〜16のいずれか1項に記載の画像処理装置。
The acquisition unit assigns a color attribute to an attributeless area in which a ratio of a total number of monochrome pixels in the attributeless area to a total number of pixels in the attributeless area is less than a threshold, and the attribute is equal to or greater than the threshold The image processing apparatus according to claim 2, wherein a monochrome attribute is assigned to the area.
前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記分割パターンは、分割領域として、属性が割り当てられた属性領域を示し、
前記取得手段は、前記複数の分割パターンの中から、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の数が最も多い分割パターンを、前記確定パターンとして選択する
ことを特徴とする請求項1に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The division pattern indicates an attribute area to which an attribute is assigned as a division area,
The acquisition means determines the division pattern having the largest number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area from the plurality of division patterns. The image processing apparatus according to claim 1, wherein the image processing apparatus is selected as a pattern.
前記入力画像の領域を構成する複数のブロック領域のそれぞれにモノクロ属性とカラー属性を含む複数の属性のうちの1つを前記入力画像に基づいて割り当てる割当手段をさらに有し、
前記分割パターンは、分割領域として、属性が割り当てられた属性領域を示し、
前記取得手段は、前記複数の分割パターンの中から、モノクロ属性が割り当てられた属性領域にカラー属性が割り当てられたブロック領域が含まれていない属性パターンを、前記確定パターンとして選択する
ことを特徴とする請求項1に記載の画像処理装置。
An allocation unit that allocates one of a plurality of attributes including a monochrome attribute and a color attribute to each of a plurality of block areas constituting the area of the input image based on the input image;
The division pattern indicates an attribute area to which an attribute is assigned as a division area,
The acquisition means selects, as the definite pattern, an attribute pattern that does not include a block area to which a color attribute is assigned to an attribute area to which a monochrome attribute is assigned from the plurality of division patterns. The image processing apparatus according to claim 1.
モノクロ属性が割り当てられた属性領域にカラー属性が割り当てられたブロック領域が含まれていない分割パターンが複数存在する場合に、前記取得手段は、モノクロ属性が割り当てられた属性領域にカラー属性が割り当てられたブロック領域が含まれていない複数の分割パターンの中から、ブロック領域に割り当てられた属性が当該ブロック領域を含む属性領域に割り当てられた属性と一致するブロック領域の数が最も多い分割パターンを、前記確定パターンとして選択する
ことを特徴とする請求項20に記載の画像処理装置。
When there are a plurality of division patterns that do not include the block area to which the color attribute is assigned in the attribute area to which the monochrome attribute is assigned, the acquisition unit assigns the color attribute to the attribute area to which the monochrome attribute is assigned. Among the plurality of division patterns not including the block area, the division pattern having the largest number of block areas in which the attribute assigned to the block area matches the attribute assigned to the attribute area including the block area, The image processing apparatus according to claim 20, wherein the image processing apparatus selects the fixed pattern.
入力画像の領域をモノクロ領域とカラー領域に区分する画像処理装置の制御方法であって、
前記画像処理装置は、互いに異なる複数の分割パターンが予め記録された記憶手段を有し、
前記画像処理装置の制御方法は、
入力画像を取得するステップと、
前記入力画像に基づいて、前記複数の分割パターンから選ばれた1つの分割パターンに従って領域を分割した分割領域にモノクロ属性またはカラー属性が割り当てられた確定パターンを取得するステップと、
を有することを特徴とする画像処理装置の制御方法。
A control method of an image processing apparatus for dividing an input image area into a monochrome area and a color area,
The image processing apparatus has storage means in which a plurality of different division patterns are recorded in advance,
The control method of the image processing apparatus is:
Obtaining an input image;
Obtaining a fixed pattern in which a monochrome attribute or a color attribute is assigned to a divided region obtained by dividing the region according to one divided pattern selected from the plurality of divided patterns based on the input image;
A control method for an image processing apparatus, comprising:
請求項22に記載の画像処理装置の制御方法の各ステップをコンピュータに実行させる
ことを特徴とするプログラム。
23. A program for causing a computer to execute each step of the control method for an image processing apparatus according to claim 22.
JP2014025697A 2014-02-13 2014-02-13 Image processing system, control method for the same, and program Pending JP2015154201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014025697A JP2015154201A (en) 2014-02-13 2014-02-13 Image processing system, control method for the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014025697A JP2015154201A (en) 2014-02-13 2014-02-13 Image processing system, control method for the same, and program

Publications (1)

Publication Number Publication Date
JP2015154201A true JP2015154201A (en) 2015-08-24

Family

ID=53896064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014025697A Pending JP2015154201A (en) 2014-02-13 2014-02-13 Image processing system, control method for the same, and program

Country Status (1)

Country Link
JP (1) JP2015154201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI704043B (en) * 2017-04-26 2020-09-11 日商東和股份有限公司 Resin molding device and manufacturing method of resin molded product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI704043B (en) * 2017-04-26 2020-09-11 日商東和股份有限公司 Resin molding device and manufacturing method of resin molded product

Similar Documents

Publication Publication Date Title
JP6157138B2 (en) Image processing device
US8599270B2 (en) Computing device, storage medium and method for identifying differences between two images
US9189715B2 (en) Image forming apparatus that prints out multi-gradation monochrome image maintaining gradation reproducibility, and image forming method
EP2068569A1 (en) Method of and apparatus for detecting and adjusting colour values of skin tone pixels
WO2017024787A1 (en) Image correction method and device
US10671006B2 (en) Image processing apparatus, image processing method, and storage medium, that determine a type of edge pixel
JP2017050683A (en) Image processor, imaging apparatus, and image processing method and program
JP2019139121A (en) Circuit device, electronic apparatus, and error detection method
US10049610B2 (en) Display apparatus and method for controlling same
JP2016110092A (en) Display device and control method therefor
JP2017085570A (en) Image correction method and image correction device
JP2015154201A (en) Image processing system, control method for the same, and program
JP5911352B2 (en) Image processing apparatus and control method thereof
US9437162B2 (en) Image output apparatus, control method therefor, image display apparatus, control method therefor, and storage medium
JP2016046701A (en) Image processing apparatus, image processing method and program
CN108476310B (en) Projection apparatus, projection system, and non-transitory computer-readable recording medium
JP6354497B2 (en) Display area specifying device, display area specifying method, and program
US20170178337A1 (en) Edge detection apparatus and edge detection method
JP2015200695A (en) Image processor and control method thereof
KR101664185B1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
KR102526113B1 (en) Apparatus and method for visualizing congestion degree
JP6031936B2 (en) Image processing apparatus and image processing program
JP2015118611A (en) Image processor, image processing method, and program
US20230148243A1 (en) Data generation apparatus, data generation method, and program
JP6091128B2 (en) Image processing apparatus and control method thereof