JP5486700B2 - Image display device, image region detection method, and computer program - Google Patents
Image display device, image region detection method, and computer program Download PDFInfo
- Publication number
- JP5486700B2 JP5486700B2 JP2013010360A JP2013010360A JP5486700B2 JP 5486700 B2 JP5486700 B2 JP 5486700B2 JP 2013010360 A JP2013010360 A JP 2013010360A JP 2013010360 A JP2013010360 A JP 2013010360A JP 5486700 B2 JP5486700 B2 JP 5486700B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- line
- effective
- monochrome
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 title claims description 84
- 238000004590 computer program Methods 0.000 title claims description 10
- 238000000034 method Methods 0.000 claims description 73
- 239000004973 liquid crystal related substance Substances 0.000 description 36
- 238000010586 diagram Methods 0.000 description 21
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 239000011521 glass Substances 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 230000012447 hatching Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000002834 transmittance Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 239000010408 film Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Description
本発明は、入力画像中に含まれる特定条件の画像領域を検出し、画像領域に適した表示特性で表示することができる画像表示装置、画像領域検出方法及びコンピュータプログラムに関する。 The present invention relates to an image display device, an image region detection method, and a computer program that can detect an image region of a specific condition included in an input image and display the image region with display characteristics suitable for the image region.
近年、液晶パネル又はPDP(Plasma Display Panel)等を用いたカラーの画像表示装置が広く普及している。例えば医療向けの画像表示装置は、X線撮影による画像の表示及び内視鏡などで撮影した画像の表示等に利用されている。 In recent years, color image display apparatuses using a liquid crystal panel or a PDP (Plasma Display Panel) have been widely used. For example, an image display device for medical use is used for displaying an image by X-ray photography, displaying an image taken by an endoscope, and the like.
画像表示装置は、PC(Personal Computer)などからの入力画像の画素値を、画像表示装置の表示特性に適した画素値に変換する補正処理(いわゆるガンマ補正処理)を行っている。医療向けの画像表示装置では、X線撮影によるモノクローム(以下、単にモノクロという)画像と、内視鏡などの撮影によるカラー画像とでは適した表示特性が異なるため、表示画像に最適な補正処理を行うことが望まれる。 The image display device performs correction processing (so-called gamma correction processing) for converting pixel values of an input image from a PC (Personal Computer) or the like into pixel values suitable for display characteristics of the image display device. In an image display device for medical use, since a suitable display characteristic is different between a monochrome (hereinafter simply referred to as monochrome) image obtained by X-ray photography and a color image obtained by photography using an endoscope or the like, an optimal correction process is performed on the display image. It is desirable to do so.
しかし近年では、PCに搭載されるOS(Operating System)がマルチウインドウシステムを備え、画像表示装置に複数のウインドウを表示することができる。このため、医療向けの画像表示装置においては、X線撮影のモノクロ画像と、内視鏡などのカラー画像とが一画面中に同時的に表示される場合があり、このような場合には上記の補正処理を適切に行うことが難しいという問題があった。 However, in recent years, an OS (Operating System) installed in a PC has a multi-window system, and can display a plurality of windows on an image display device. For this reason, in an image display device for medical use, a monochrome image obtained by X-ray photography and a color image such as an endoscope may be displayed simultaneously on one screen. There is a problem that it is difficult to properly perform the correction process.
特許文献1においては、画面中にカラーピクチャーを含むか否か、及び、モノクロピクチャーを含むか否かを判別し、カラーピクチャーを含むと判別された場合、カラーピクチャーを含まずにモノクロピクチャーを含むと判別された場合、及び両ピクチャーを含まないと判別された場合で、輝度、色温度、ガンマ特性を変えて表示画質を変える表示装置が提案されている。この表示装置は、画面に応じて表示装置側の処理だけで表示画質を変更することができ、例えば花のような自然物をカラー撮影した画像を含む画面を表示するのに適したカラーピクチャー表示画質と、X線画像を表示するのに適したモノクロピクチャー表示画質と、エディタで作成されたテキスト画面を表示するのに適したテキスト表示画質とを自動的に切り替えることができる。
In
また特許文献2においては、表示画面を所定数で分割した領域における階調が全画面に亘って略均一の階調となるように、補正する領域毎の階調補正ルックアップテーブルを備え、画像信号を取り込んで表示位置を検出し、検出した位置情報に対応する領域の階調補正ルックアップテーブルに基づいて階調補正を施す構成の画像表示装置が提案されている。
In
しかし特許文献1の表示装置は、判別結果に応じて画面全体の表示画質を変える構成であり、カラーピクチャーとモノクロピクチャーとを同時的に表示する場合に、各ピクチャーの表示領域毎に表示画質を変えることはできないという問題がある。
However, the display device of
特許文献2に記載の画像表示装置は、バックライト光の強度又はパネルの透過率等が表示位置によって異なり、画像の表示特性に位置依存性が生じるという問題を解決すべく、表示位置に応じた複数の階調補正ルックアップテーブルを用いる構成としたものである。このため特許文献2に記載の画像表示装置は、カラーピクチャー及びモノクロピクチャー等のように画像の種別に応じた適切な補正を行い得るものではない。特許文献2の画像表示装置は、予め決定された領域に対してそれぞれ異なる階調補正ルックアップテーブルによる補正を行う構成であり、表示する画像中におけるカラーピクチャー及びモノクロピクチャー等の表示領域を検出して補正を行うことはできない。
In the image display device described in
特許文献3においては、画像読み取り時に各ページについてカラー画素率からカラーか白黒かを判別して、ページ情報として記憶すると共に、送信時にページ情報を参照して、カラーの場合にはカラー用の符号化方式で圧縮符号化して送信し、白黒の場合に白黒用の符号化方式で圧縮符号化して送信する画像送信装置が提案されている。また特許文献3には、読み取った原稿画像を各ページの中でカラー領域と白黒領域とに区分し、カラー領域の画像情報と白黒領域の画像情報とをそれぞれ別々の形態で記憶することが記載されている。 In Patent Document 3, when reading an image, each page determines whether it is color or black and white from the color pixel ratio, and stores it as page information, and refers to the page information at the time of transmission. There has been proposed an image transmission apparatus that performs compression-coding with a coding method and transmits the data, and in the case of black and white, performs compression-coding with a black-and-white coding method. Further, Patent Document 3 describes that a read original image is divided into a color area and a monochrome area in each page, and the image information of the color area and the image information of the monochrome area are stored in different forms. Has been.
特許文献3に記載の画像送信装置のように、画像表示装置においても表示画像中のカラー領域とモノクロ領域とを区分することが考えられる。これにより画像表示装置は、区分した領域毎に補正処理を行うことができ、各領域に適した特性での画像表示を行うことが可能となる。 As in the image transmission apparatus described in Patent Document 3, it is conceivable to separate a color area and a monochrome area in a display image even in an image display apparatus. Thus, the image display apparatus can perform correction processing for each divided area, and can display an image with characteristics suitable for each area.
特許文献3に記載の画像送信装置は、画像データの画素単位でカラー又はモノクロの判定を行い、画像中に矩形領域として含まれるカラー領域を区分する構成である。しかしながら画像表示装置が表示する画像は、X線撮影などのモノクロ画像又は内視鏡などのカラー画像のみでなく、モノクロ画像中にカラーの文字が記入された画像又はカラー画像にモノクロの文字が記入された画像等のように、モノクロとカラーとが複雑に混在する場合が多い。このようなモノクロとカラーとが混在した画像をマルチウインドウなどで複数表示する場合に、特許文献3に記載の画像送信装置のように画素単位でカラー領域とモノクロ領域との判定を行うと、カラー領域中のモノクロ文字又はモノクロ領域中のカラー文字等の存在により領域の誤判定が発生するという問題がある。また領域の判定を表示画像のライン毎又は画像全体等で行う場合であっても同様に、カラー領域中のモノクロ文字又はモノクロ領域中のカラー文字等の存在により領域の誤判定が発生する虞がある。また、マルチウインドウシステムにおいては、複数のウインドウの一部を重ねて表示することが可能であり、カラー領域とモノクロ領域との一部が重なって表示される場合に領域の誤判定が発生する虞がある。 The image transmission device described in Patent Document 3 has a configuration in which color or monochrome determination is performed for each pixel of image data, and a color area included as a rectangular area in an image is classified. However, the image displayed by the image display device is not only a monochrome image such as X-ray photography or a color image such as an endoscope, but also an image in which color characters are entered in a monochrome image or monochrome characters are entered in a color image. In many cases, monochrome and color are mixed in a complicated manner as in the case of a printed image. When a plurality of images in which monochrome and color are mixed are displayed in a multi-window or the like, if the color area and the monochrome area are determined on a pixel-by-pixel basis as in the image transmission apparatus described in Patent Document 3, color There is a problem that erroneous determination of a region occurs due to the presence of monochrome characters in the region or color characters in the monochrome region. Similarly, even when the region is determined for each line of the display image or the entire image, there is a possibility that erroneous determination of the region may occur due to the presence of monochrome characters in the color region or color characters in the monochrome region. is there. Further, in the multi-window system, it is possible to display a part of a plurality of windows in an overlapping manner, and an erroneous determination of the area may occur when a part of a color area and a monochrome area are displayed overlapping each other. There is.
本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、表示画像中に存在する特定条件の画像領域(例えばカラー画像領域又はモノクロ画像領域等)を精度よく検出することができ、画像領域に適した表示特性での表示を実現することができる画像表示装置、画像領域検出方法及びコンピュータプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to accurately detect an image area (for example, a color image area or a monochrome image area) of a specific condition existing in a display image. Another object of the present invention is to provide an image display device, an image area detection method, and a computer program capable of realizing display with display characteristics suitable for an image area.
本発明に係る画像表示装置は、それぞれが所定数の画素を含む複数のラインで構成される入力画像を表示する画像表示装置において、入力画像中の各画素が特定条件を満たす有効画素であるか否かを判定する有効画素判定手段と、前記入力画像中の各ラインから、複数の有効画素で構成される有効ライン領域を検出する有効ライン領域検出手段と、前記入力画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出する有効画像領域検出手段とを備え、入力画像中の各画素が前記有効画像領域検出手段により検出された有効画像領域に含まれる場合、前記有効画像領域に対応付けられた表示特性で表示するようにしてあり、前記有効ライン領域検出手段は、前記入力画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出するようにしてあることを特徴とする。 The image display device according to the present invention is an image display device that displays an input image composed of a plurality of lines each including a predetermined number of pixels, and whether each pixel in the input image is an effective pixel that satisfies a specific condition. Effective pixel determining means for determining whether or not, effective line area detecting means for detecting an effective line area composed of a plurality of effective pixels from each line in the input image, and orthogonal to the line from the input image an effective image area detecting means for detecting an effective image area composed of a plurality of valid line regions adjacent in the direction, the effective image region detected each pixel in the input image by the effective image region detection unit when included, the effective image Ri Citea to be displayed in display characteristics associated with regions, the effective line area detecting means, the head of the line or the effective line of the input image The effective line area included in the line following the line not including the area is set as the start line area, and for the lines after the line including the start line area, the coordinate difference in the line direction with respect to the end point of the start line area is within a predetermined value. The area is detected as an effective line area .
また、本発明に係る画像表示装置は、前記有効ライン領域検出手段が、有効画素が所定数以上連続するライン上の領域を有効ライン領域として検出するようにしてあることを特徴とする。 Also, the image display device according to the present invention is characterized in that the effective line area detecting means detects an area on a line where a predetermined number or more of effective pixels are continuous as an effective line area.
また、本発明に係る画像表示装置は、有効画素が連続するライン上の領域に、所定数以下の有効画素以外の画素が連続する領域が含まれる場合であっても、前記領域を有効ライン領域として検出するようにしてあることを特徴とする。 In addition, the image display device according to the present invention includes the effective line region even if the region on the line where the effective pixels are continuous includes a region where pixels other than the predetermined number or less of the effective pixels are continuous. It is characterized by being detected as.
また、本発明に係る画像表示装置は、前記有効画像領域検出手段が、有効ライン領域を所定数以上含む領域を前記有効画像領域として検出するようにしてあることを特徴とする。 Further, the image display device according to the present invention is characterized in that the effective image area detecting means detects an area including a predetermined number or more of effective line areas as the effective image area.
また、本発明に係る画像表示装置は、前記有効画素判定手段が、各画素がモノクロームの画素であるか又はカラーの画素であるかに応じて、有効画素を判定するようにしてあることを特徴とする。 In the image display device according to the present invention, the effective pixel determination means determines an effective pixel depending on whether each pixel is a monochrome pixel or a color pixel. And
また、本発明に係る画像領域検出方法は、それぞれが所定数の画素を含む複数のラインで構成される画像から特定条件を満たす画素で構成される画像領域を検出する画像領域検出方法において、前記画像中の各画素が特定条件を満たす有効画素であるか否かの判定を行い、前記画像中の各ラインから、複数の有効画素で構成される有効ライン領域の検出を行い、前記画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域の検出を行い、有効ライン領域を検出する際に、前記画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出することを特徴とする。 The image region detection method according to the present invention is an image region detection method for detecting an image region composed of pixels satisfying a specific condition from an image composed of a plurality of lines each including a predetermined number of pixels. It is determined whether each pixel in the image is an effective pixel satisfying a specific condition, and from each line in the image, an effective line area composed of a plurality of effective pixels is detected, and from the image, When an effective image area composed of a plurality of effective line areas adjacent to each other in a direction orthogonal to the line is detected, and the effective line area is detected , the next of the first line of the image or the line not including the effective line area The effective line area included in the line is defined as the start line area, and the lines following the line including the start line area are aligned in the line direction with respect to the end points of the start line area. Difference a region within a predetermined value, and detecting as an effective line area.
また、本発明に係るコンピュータプログラムは、コンピュータに、それぞれが所定数の画素を含む複数のラインで構成される画像から特定条件を満たす画素で構成される画像領域を検出させるコンピュータプログラムにおいて、コンピュータに、前記画像中の各画素が特定条件を満たす有効画素であるか否かを判定させる有効画素判定ステップと、コンピュータに、前記画像中の各ラインから、複数の有効画素で構成される有効ライン領域を検出させる有効ライン領域検出ステップと、コンピュータに、前記画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出させる有効画像領域検出ステップとを含み、前記有効ライン領域検出ステップでは、前記画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出させることを特徴とする。 A computer program according to the present invention is a computer program for causing a computer to detect an image area composed of pixels satisfying a specific condition from an image composed of a plurality of lines each including a predetermined number of pixels. An effective pixel determining step for determining whether each pixel in the image is an effective pixel satisfying a specific condition; and an effective line region configured by a plurality of effective pixels from each line in the image. An effective line area detecting step for detecting the effective image area, and an effective image area detecting step for detecting an effective image area composed of a plurality of effective line areas adjacent to each other in a direction orthogonal to the line from the image, the effective line area detecting step, including the head of the line or the effective line region of the image An effective line area included in a line next to a non-line is a start line area, and for a line after the line including the start line area, an area in which a coordinate difference in a line direction with respect to an end point of the start line area is within a predetermined value, It is detected as an effective line area .
本発明においては、PCなどからの入力画像について特定条件(カラーであるか又はモノクロであるか等)を満たす有効画素であるか否かを判定し、入力画像を構成する各ラインから複数の有効画素で構成される有効ライン領域を検出し、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出する。これにより特定条件を満たす有効画素で構成された有効画像領域を入力画像から検出することができる。さらに、表示装置は、検出した有効画像領域と他の画像領域(無効画像領域)とをそれぞれ異なる表示特性で表示する。これにより、例えばモノクロの画像領域とカラーの画像領域とをそれぞれ最適な表示特性で表示することが可能となる。 In the present invention, it is determined whether an input image from a PC or the like is an effective pixel satisfying a specific condition (color or monochrome), and a plurality of effective pixels are formed from each line constituting the input image. An effective line area constituted by pixels is detected, and an effective image area constituted by a plurality of effective line areas adjacent in a direction orthogonal to the line is detected. Thereby, an effective image area composed of effective pixels satisfying the specific condition can be detected from the input image. Further, the display device displays the detected effective image area and another image area (invalid image area) with different display characteristics. Thereby, for example, a monochrome image area and a color image area can be displayed with optimum display characteristics.
また、本発明においては、有効画素が連続する領域に、所定数以下の無効画素が連続する領域が含まれる場合であっても、この領域を有効ライン領域として検出する。例えば有効画素領域中に無効画素による文字などが記入されている場合、有効画素の連続が途切れるが、これが所定数以下の短いものであれば有効ライン領域が無効と判定されることを防止できる。 Further, in the present invention, even when a region where valid pixels are continuous includes a region where a predetermined number or less of invalid pixels are continuous, this region is detected as an effective line region. For example, when characters or the like due to invalid pixels are written in the effective pixel area, the continuation of the effective pixels is interrupted. However, if this is shorter than a predetermined number, it is possible to prevent the effective line area from being determined to be invalid.
また、本発明においては、入力画像を構成する各ラインから有効ライン領域を検出する場合、有効画素が所定数以上連続する領域を有効ライン領域として検出する。所定数に満たない有効画素が連続する場合は、例えば無効画素領域中に記入された有効画素による文字などである可能性が高いため、これらを誤って有効ライン領域として検出することを防止できる。 In the present invention, when an effective line area is detected from each line constituting the input image, an area where a predetermined number or more of effective pixels continue is detected as an effective line area. If there are consecutive effective pixels less than the predetermined number, for example, there is a high possibility that the characters are valid pixels written in the invalid pixel area, and therefore it is possible to prevent these from being erroneously detected as the effective line area.
また、本発明においては、入力画像から有効ライン領域を検出する際に、入力画像の先頭ライン又は無効と判定されたラインの次のラインに有効ライン領域を検出した場合、この有効ライン領域を開始ライン領域とする。マルチウインドウシステムなどの画像表示においては、一つの画像領域は矩形領域である場合が多く、同一の有効画像領域に含まれる複数の有効ライン領域の開始点又は終了点は略一致する場合が多い。そこで、開始ライン領域を含むライン以降のラインについては、有効画素が所定数以上連続し、且つ、開始ライン領域の開始点及び終了点に対するズレ量が所定値以内の領域を、有効ライン領域として検出する。これにより、略矩形領域として表示される画像領域を精度よく検出することができる。 In the present invention, when detecting an effective line area from the input image, if an effective line area is detected in the first line of the input image or the line next to the line determined to be invalid, the effective line area is started. Line area. In an image display such as a multi-window system, one image region is often a rectangular region, and the start points or end points of a plurality of effective line regions included in the same effective image region often coincide substantially. Therefore, for the lines after the line including the start line area, the effective line area is detected as an effective line area if the number of valid pixels continues for a predetermined number or more and the amount of deviation from the start point and end point of the start line area is within a predetermined value. To do. Thereby, the image area displayed as a substantially rectangular area can be detected with high accuracy.
また、本発明においては、有効画像領域を検出する場合、隣り合う有効ライン領域を所定数以上含む領域を有効画像領域として検出する。有効ライン領域が隣接していても、有効ライン領域の数が所定数に満たない場合には、誤判定により有効ライン領域が検出されている可能性がある。よって、有効ライン領域の数が所定数以上であるか否かを判定して有効画像領域の検出を行うことによって、有効画像領域の誤検出を防止することができる。 In the present invention, when detecting an effective image area, an area including a predetermined number or more of adjacent effective line areas is detected as an effective image area. Even if the effective line areas are adjacent to each other, if the number of the effective line areas is less than the predetermined number, there is a possibility that the effective line area is detected due to an erroneous determination. Therefore, it is possible to prevent erroneous detection of effective image areas by determining whether or not the number of effective line areas is equal to or greater than a predetermined number and detecting the effective image areas.
また、本発明においては、入力画像中の各画素がモノクロの画素であるか又はカラーの画素であるかに応じて、有効画素であるか否かの判定を行う。例えば各画素がRGBの値を有する場合、特定条件としてR=G=B(又はR≒G≒Bでもよい)が成立するモノクロの画素を有効画素と判定し、これ以外のカラーの画素を無効画素と判定することができる。
これにより、モノクロの画素で構成されるモノクロの画像領域と、カラーの画素で構成されるカラーの画像領域とを区別し、各画像領域を最適な表示特性で表示することができる。
In the present invention, whether each pixel in the input image is a monochrome pixel or a color pixel is determined as to whether it is an effective pixel. For example, when each pixel has an RGB value, a monochrome pixel that satisfies R = G = B (or R≈G≈B) as a specific condition is determined as a valid pixel, and other color pixels are invalidated It can be determined as a pixel.
This makes it possible to distinguish between a monochrome image area composed of monochrome pixels and a color image area composed of color pixels, and display each image area with optimal display characteristics.
また、上記の処理を入力画像の全ラインについて行った後に、有効画像領域の再検出を行うことによって、上記の処理では検出できなかった画像領域を有効画像領域として再検出してもよい。例えば、カラーの画像領域中にモノクロ文字がある場合やモノクロの画像領域中にカラー文字がある場合等、有効画像領域中に無効画素(有効画素以外の画素)がある場合は、無効画素の影響によって、上記の処理を行った場合でも有効画像領域の誤検出が生じる虞がある。また、マルチウインドウシステムにおいては、複数のウインドウの一部を重ねて表示することが可能であるが、カラー領域とモノクロ領域との一部が重なって表示される場合があることにより、同様に有効画像領域の誤検出が生じる虞がある。
有効画像領域の再検出は、上記の処理で検出された2つの有効画像領域の間に存在し、且つ、有効ライン領域を含まない一又は複数のラインについて行う。有効画像領域中の無効画素の影響で無効と誤判定されたラインは、正しく判定された2つの有効画像領域の間に存在している可能性が高いため、2つの有効画像領域間のラインを再検出の対象とすることで、効率よく確実に有効画像領域を検出することができる。
また有効画像領域の再検出は、2つの有効画像領域の端点(開始点又は終了点)の位置に応じて行う。マルチウインドウシステムなどの画像表示においては、一つの画像領域は矩形領域である場合が多く、同一の有効画像領域に含まれる複数の有効ライン領域の開始点又は終了点は略一致する場合が多い。このため2つの有効画像領域の開始点又は終了点に応じて、2つの有効画像領域間のラインから再検出処理を行うことにより、有効画像領域中の無効画素の影響により検出されなかった有効ライン領域を効率よく確実に再検出することができる。
In addition, after performing the above process for all lines of the input image, the image area that could not be detected by the above process may be redetected as an effective image area by performing redetection of the effective image area. For example, if there are invalid pixels (pixels other than valid pixels) in the effective image area, such as when there are monochrome characters in the color image area or color characters in the monochrome image area, the influence of invalid pixels Therefore, even when the above processing is performed, there is a possibility that an erroneous detection of the effective image area may occur. In the multi-window system, it is possible to display a part of a plurality of windows in a superimposed manner, but this is also effective because a part of the color area and the monochrome area may be displayed in an overlapping manner. There is a risk of erroneous detection of the image area.
The re-detection of the effective image area is performed for one or a plurality of lines that exist between the two effective image areas detected by the above processing and do not include the effective line area. A line erroneously determined to be invalid due to an invalid pixel in the effective image area is likely to exist between two correctly determined effective image areas. By making it a target of re-detection, an effective image area can be detected efficiently and reliably.
The re-detection of the effective image area is performed according to the position of the end point (start point or end point) of the two effective image areas. In an image display such as a multi-window system, one image region is often a rectangular region, and the start points or end points of a plurality of effective line regions included in the same effective image region often coincide substantially. Therefore, an effective line that has not been detected due to the influence of invalid pixels in the effective image area is obtained by performing re-detection processing from the line between the two effective image areas in accordance with the start point or end point of the two effective image areas. The area can be detected again efficiently and reliably.
また、2つの有効画像領域の開始点又は終了点がライン方向について同じ位置の場合に、この2つの有効画像領域間のラインを対象として再検出の処理を行ってもよい。例えばマルチウインドウシステムなどの画像表示においては、1つの画像領域は矩形領域である場合が多く、1つの有効画像領域中の数ラインが誤判定によって有効ライン領域を含まないラインとされ、1つの有効画像領域が2つに分断された場合、この2つの有効画像領域の開始点又は終了点は略一致する可能性が高い。よって、開始点又は終了点が略一致する2つの有効画像領域間のラインを再検出の対象とすることによって、誤判定されたラインを救済することができる。 Further, when the start point or the end point of the two effective image areas are at the same position in the line direction, the re-detection process may be performed on the line between the two effective image areas. For example, in an image display such as a multi-window system, one image area is often a rectangular area, and several lines in one effective image area are erroneously determined to be lines that do not include an effective line area. When the image area is divided into two, there is a high possibility that the start points or end points of the two effective image areas substantially coincide. Therefore, the erroneously determined line can be relieved by setting a line between two effective image areas whose start points or end points substantially coincide with each other as a target of re-detection.
また、2つの有効画像領域間のライン数が所定数以下の場合に、このラインについて再検出の処理を行ってもよい。2つの有効画像領域間に所定数を超える多数のラインが存在する場合、この2つの有効画像領域はそれぞれ独立したものである可能性が高いため、この2つの有効画像領域間のラインは再検出の対象外とする。 In addition, when the number of lines between two effective image areas is equal to or less than a predetermined number, re-detection processing may be performed for these lines. If there are more than a certain number of lines between two effective image areas, it is likely that the two effective image areas are independent of each other, so the line between the two effective image areas is re-detected. Not subject to
また、2つの有効画像領域のサイズが異なる場合、ライン方向についてのサイズが小さい一方の有効画像領域に、2つの有効画像領域間のラインの一部分を加えた画像領域を、新たな有効画像領域として検出することにより、有効画像領域の再検出の処理を行ってもよい。ライン方向についてサイズが大きい他方の有効画像領域にラインの一部分を加えると、無効な画素が加えられる可能性があるため、これを防止することができる。 When the two effective image areas have different sizes, an image area obtained by adding a part of the line between the two effective image areas to one effective image area having a small size in the line direction is set as a new effective image area. By detecting, re-detection processing of the effective image area may be performed. If a part of the line is added to the other effective image area having a large size in the line direction, an invalid pixel may be added, which can be prevented.
本発明による場合は、各画素が特定条件を満たす有効画素であるか否かを判定し、複数の有効画素で構成される有効ライン領域を検出し、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出する処理を入力画像の全ラインについて行うことにより、特定条件を満たす有効画素で構成された有効画像領域を入力画像から検出することができる。 In the case of the present invention, it is determined whether or not each pixel is an effective pixel satisfying a specific condition, an effective line region composed of a plurality of effective pixels is detected, and a plurality of effective pixels adjacent to each other in a direction orthogonal to the line are detected. By performing the process of detecting the effective image area constituted by the line areas for all the lines of the input image, the effective image area constituted by the effective pixels satisfying the specific condition can be detected from the input image.
以下、本発明をその実施の形態を示す図面に基づき具体的に説明する。図1は、本発明に係る画像表示装置の構成を示すブロック図である。図において1は、表示用のデバイスとして液晶パネル19を備えるカラーの画像表示装置であり、PC9から入力される画像の表示を行うものである。画像表示装置1は、例えば医療用として用いることができ、X線撮影によるモノクロ画像、内視鏡などの撮影によるカラー画像及びその他の画像(テキスト、グラフ、表など)の表示を行うことができる。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. FIG. 1 is a block diagram showing a configuration of an image display apparatus according to the present invention. In the figure,
画像表示装置1は、制御部11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、バックライト駆動部14、液晶駆動部15、操作部16、画像入力部17、バックライト18、液晶パネル19及び画像処理部40等を備えて構成されている。制御部11は、具体的にはCPU(Central Processing Unit)又はMPU(Micro Processing Unit)等の演算処理装置にて構成することができ、画像表示装置1内の各部と情報の授受を行ってこれら各部の動作を制御することにより、液晶パネル19に画像を表示するための種々の処理を実行する。
The
ROM12は、例えばEEPROM(Electrically Erasable Programmable ROM)又はフラッシュメモリ等の不揮発性のメモリ素子により構成され、制御部11の動作に必要な制御プログラム21と、その他の種々のデータ(図示は省略する)とが予め記憶されている。
The
RAM13は、例えばSRAM(Static RAM)又はDRAM(Dynamic RAM)等のデータ書き換え可能なメモリ素子により構成されており、画像領域情報31(詳細は後述する)などの一時的なデータを記憶することができる。例えば制御部11は、ROM12に記憶された制御プログラム21を読み出して実行することにより種々の処理を行い、この処理の演算過程などで発生したデータをRAM13に一時的に記憶することができる。
The
操作部16は、ユーザが画像表示装置1を走査するための各種のファンクションキーなどを有している。例えば、液晶パネル19の画像表示の明るさ(ブライトネス)を変更するためのキー、又は画像表示のカラーバランスを変更するためのキー等のように、画像表示装置1の表示特性を設定するための設定キーが操作部16に設けられている。操作部16は、これらのファンクションキーに対するユーザの操作を受け付けて制御部11へ通知し、制御部11は操作部16からの通知に応じて各部の動作を制御することができる。
The
画像入力部17は、PC9などの外部機器に信号ケーブルを介して接続される接続端子を有しており、PC9から入力される画像信号を取得する。画像信号は、RGB又はCMY等のように複数色で構成され、色毎に入力される。この画像信号は、画像処理部40により明るさ調整又はカラーバランス調整等の種々の画像処理が施された後に液晶駆動部15へ与えられ、与えられた画像信号に応じて液晶駆動部15が液晶パネル19を駆動することにより、画像表示装置1はPC9からの画像信号に基づく画像表示を行うことができる。なお、PC9から画像入力部17へ入力される画像信号は、アナログ信号又はデジタル信号のいずれであってもよい。
The
画像処理部40は、図示は省略するが画像処理に係る演算処理を行うための演算処理部と不揮発性の記憶部とを内蔵しており、不揮発性の記憶部にはカラー用LUT(ルックアップテーブル)41及びモノクロ用LUT42等の画像処理に必要なデータが予め記憶されている。画像処理部40は、制御部11の制御に応じて、画像入力部17から与えられた画像信号に対して種々の画像処理を施し、画像処理後の画像信号を液晶駆動部15へ与える。特に本実施の形態において画像処理部40は、画像入力部17からの画像信号の階調値を、カラー用LUT41及びモノクロ用LUT42に応じて補正する画像処理(いわゆるガンマ補正)を行う。
Although not shown, the
液晶パネル19は、一対のガラス基板が対向配置され、その間隙内に液晶物質である液晶層が形成された構造をなしている。一方のガラス基板には、複数の画素電極と、画素電極のそれぞれにドレインを接続したTFT(Thin Film Transistor)とが設けられ、他方のガラス基板には共通電極が設けられている。各TFTのゲート及びソースは、液晶駆動部15のゲートドライバ及びソースドライバ(図示は省略する)に接続され、液晶駆動部15から駆動信号がそれぞれ入力されている。
The
液晶駆動部15は、与えられた画像信号に応じて液晶パネル19を駆動するための駆動信号を出力する。詳しくは、液晶駆動部15のゲートドライバは、液晶パネル19が有する多数のTFTのゲートに、与えられた画像信号に応じて選択的に電圧を印加し、また同様に、液晶駆動部15のソースドライバは、TFTのソースに、入力された映像信号に応じた電圧値で電圧を印加する。これにより液晶パネル19は、液晶駆動部15のゲートドライバから印加される電圧によって各画素のTFTのオン/オフが制御され、液晶駆動部15のソースドライバから入力される出力電圧(液晶パネル19への入力レベル)が各画素のTFTに印加されることにより、液晶物質の電気光学特性によって決定される光透過率が制御されて、バックライト18からの光の透過が調整され、所望の画像を階調表示することができる。液晶パネル19の各画素は、RGBのように複数色分の副画素で更に構成され、光の透過方向にカラーフィルムを配することで、カラー表示を可能としている。
The liquid
バックライト18は、画像表示装置1内にて液晶パネル19の背面側に配設されており、バックライト駆動部14から与えられる出力電圧により駆動される。バックライト駆動部14は、制御部11の制御に応じて、バックライト18への出力電圧を調整する。これにより、例えばユーザが操作部16を操作して設定したブライトネス設定に応じて、バックライト駆動部14に出力電圧を調整させて、バックライト18の輝度を調整することができる。例えばバックライト駆動部14からバックライト18へパルス状の電圧が与えられる場合、バックライト駆動部14による出力電圧の調整は、パルスの振幅を変更すること(いわゆる振幅変調)で行ってもよく、パルス幅を変更すること(いわゆるパルス幅変調)で行ってもよい。
The
このように画像表示装置1は、PC9から入力された画像信号に応じて、バックライト18及び液晶パネル19を駆動することによって、画像信号に応じた画像表示を行うことができる。このとき画像表示装置1の制御部11は、PC9から画像入力部17へ入力された画像信号(入力画像)の階調値を、液晶パネル19の表示特性に適した階調値に補正して液晶駆動部15へ与える処理を画像処理部40に行わせており、この補正処理のために予め画像処理部40の記憶部に記憶されたカラー用LUT41及びモノクロ用LUT42を用いている。カラー用LUT41及びモノクロ用LUT42は、入力画像の階調値と、液晶駆動部15へ与える出力画像の階調値とが対応づけられたテーブルであり、画像表示装置1の設計段階又は製造工程等にて理想的な表示特性となるように最適な値が記憶される。
As described above, the
図2は、カラー用LUT41及びモノクロ用LUT42を説明するための模式図であり、画像表示装置1の表示特性をグラフとして示してある。図2に示すグラフは、横軸を入力階調(PC9からの入力画像の階調値)とし、縦軸を表示階調(液晶パネル19にて実際に表示される画像の階調値)として画像表示装置1の表示特性を図示したものである。グラフ中に実線で示す表示特性は、カラー画像を表示した場合の特性であり、ガンマ値が2.2の場合の特性である。またグラフ中に一点鎖線で示す表示特性は、X線撮影画像などの医療用画像で用いられるDICOM(Digital Imaging and Communications in Medicine)フォーマットのモノクロ画像を表示した場合の特性である。
FIG. 2 is a schematic diagram for explaining the
画像表示装置1は、図2に示した表示特性が略線形となるように、カラー用LUT41及びモノクロ用LUT42を用いてPC9からの入力画像の階調値を補正する。カラー用LUT41及びモノクロ用LUT42は、入力画像の入力階調に対する出力階調が対応付けて記憶されており、出力階調は図2に示した表示特性の逆関数で与えられる。即ち、カラー用LUT41には図2の実線で示す表示特性の逆関数に対応する値が記憶され、モノクロ用LUT42には図2の一点鎖線で示す表示特性の逆関数に対応する値が記憶されている。
The
よって画像表示装置1は、PC9から与えられた入力画像の階調値を、カラー用LUT41又はモノクロ用LUT42に記憶された出力階調値に変換することで階調値の補正処理を行い、補正後の出力階調にて液晶パネル19の画像表示を行うことによって、PC9からの入力階調に対して略線形の表示特性で画像表示を行うことができる。
Therefore, the
ただし、上述のように画像表示装置1の表示特性はカラー画像を表示する場合とモノクロ画像を表示する場合とで異なっている。またPC9に搭載されたOS(Operating System)はマルチウインドウシステムを備えており、PC9から画像表示装置1への入力画像は、複数のウインドウが並べられた又は重ねられた画像となり、各ウインドウ内の画像はカラー画像又はモノクロ画像のいずれであってもよい。このため、本実施の形態に係る画像表示装置1は、入力画像に含まれるモノクロの画像領域を検出し、検出したモノクロ画像領域に対してモノクロ用LUT42を用いた補正処理を行うと共に、モノクロ画像領域以外の画像領域をカラー画像領域としてカラー用LUT41を用いた補正処理を行う。
However, as described above, the display characteristics of the
次に、画像表示装置1が行う入力画像からのモノクロ画像領域の検出処理について説明する。まず前提として、PC9から画像表示装置1へ入力される入力画像の構成を説明する。図3は、入力画像の一構成例を示す模式図である。また図3には、入力画像の先頭の一部分(3ライン分)のみを図示し、入力画像を構成する画素を四角形で示すと共に、カラーの画素にハッチングを付して示してある。なお各画素はRGBのように複数の副画素で構成されるが、図3においてこれらの副画素外しを省略する。PC9から画像信号として与えられる1つの入力画像は、予め定められた数の画素を有しており、これら複数の画素を縦横に所定数並べることにより構成される。また入力画像における画素の横一行の並びをライン(図3においては1ラインが41個の画素で構成されている)といい、入力画像は所定数のラインを縦方向に並べて構成される。入力画像における画像の縦一列の並びはカラムという。入力画像におけるライン方向(横方向)の画素数を幅といい、縦方向の画素数を長さという。また、1ライン中にモノクロ画素が連続する領域をモノクロライン領域(図3の破線で囲んだ部分参照)といい、複数のモノクロライン領域が縦方向(ラインに直交する方向)に隣り合う領域をモノクロ画像領域(図3の一点鎖線で囲んだ部分参照)という。
Next, a monochrome image region detection process from an input image performed by the
入力画像からモノクロ画像領域を検出する処理は、画像表示装置1の画像処理部40にて行われる。図4は、モノクロ画像領域検出処理に係る画像処理部40の構成を示す機能ブロック図である。画像表示装置1の画像処理部40は、まず境界伸張手段(図4においては単に境界伸張と記載する。以下同様である。)51にて入力画像の境界を伸長する処理を行い、モノクロライン領域検出手段52にて入力画像からモノクロライン領域を検出する処理を行い、モノクロ画像領域検出手段56にてモノクロ画像領域を検出する処理を行う。更に画像処理部40は、モノクロ画像領域検出手段56による検出結果に対して、画像領域調整手段57による画像領域の調整処理を行うことにより、モノクロ画像領域の再検出を行う。また、各処理の処理結果は、画像表示装置1のRAM13内に画像領域情報31として記憶され、各手段はRAM13の画像領域情報31を介して処理結果の授受を行うことができる。
Processing for detecting a monochrome image region from the input image is performed by the
図5は、境界伸張手段51の処理を説明するための模式図である。境界伸張の処理は、後述のモノクロライン領域検出処理において、モノクロライン領域の端点(開始点及び終了点)が入力画像の境界に存在する場合であっても、これを検出可能とするために行う処理である。境界伸張処理手段51は、入力画像に対してライン方向(横方向)の両側(入力画像の左右)に、2カラム分のカラー画素を追加する(図5のハッチングを付した部分参照)ことによって、入力画像をライン方向に伸張する処理を行う。
FIG. 5 is a schematic diagram for explaining the processing of the boundary extension means 51. The boundary extension processing is performed in order to make it possible to detect even when the end points (start point and end point) of the monochrome line region are present at the boundary of the input image in the monochrome line region detection processing described later. It is processing. The boundary
図6は、モノクロライン領域検出手段52の処理を説明するための模式図である。モノクロライン領域検出手段52には、境界伸張手段51にて境界伸張された入力画像が1画素毎に入力されており、入力された画素はまずモノクロライン候補検出手段53へ与えられる。モノクロライン候補検出手段は、連続するモノクロ画素で構成されるモノクロライン領域の候補を検出する処理を行うものであり、まず、入力された画素の画素値からこの画素がカラー画素であるか又はモノクロ画素であるかを判定する。例えば各画素がRGBの3つの値を有している場合、R=G=Bが成立する画素をモノクロ画素であると判定し、それ以外の画素をカラー画素であると判定することができる。
FIG. 6 is a schematic diagram for explaining the processing of the monochrome line
次いでモノクロライン候補検出手段53は、モノクロライン領域の候補の開始点及び終了点(端点)の検出を行う。開始点及び終了点を検出するために、モノクロライン候補検出手段53は、順に入力された連続する2つの画素(例えば現時点に入力された画素及び1つ前の時点に入力された画素の2つの画素、以下単に先の画素及び後の画素という)をチェックする。なお境界伸張手段51による入力画像の伸張は、モノクロライン候補検出手段53が行う連続する2つの画素のチェックを容易化するために行うものである。
Next, the monochrome line candidate detection means 53 detects the start point and end point (end point) of the candidate for the monochrome line area. In order to detect the start point and the end point, the monochrome line
モノクロライン候補検出手段53は、もし、先の画素がカラー画素であり、後の画素がモノクロ画素であれば、後の画素を開始点として検出する。またモノクロライン候補検出手段53は、もし、先の画素がモノクロ画素であり、後の画素がカラー画素であれば、先の画素を終了点として検出する。更にモノクロライン候補検出手段53は、もし、モノクロ画素が入力画像の境界に存在する場合、このモノクロ画素を開始点又は終了点として検出することができる。モノクロライン候補検出手段53は、検出した開始点から終了点までのモノクロ画素が連続する領域を、モノクロライン領域の候補として検出し、開始終了点チェック手段54及びカラーチェック手段55へ与える。
The monochrome line candidate detection means 53 detects the subsequent pixel as a starting point if the previous pixel is a color pixel and the subsequent pixel is a monochrome pixel. The monochrome line candidate detection means 53 detects the previous pixel as an end point if the previous pixel is a monochrome pixel and the subsequent pixel is a color pixel. Furthermore, the monochrome line candidate detection means 53 can detect the monochrome pixel as a start point or an end point if the monochrome pixel exists at the boundary of the input image. The monochrome line
なお後述するが、モノクロライン候補検出手段53により検出されたモノクロライン領域の候補は、開始点から終了点までに連続するモノクロ画素の数(即ち領域の幅)が、予め定められた閾値(以下、第1閾値という)より大きい場合、開始終了点チェック手段54によってモノクロライン領域として確定される。更に確定したモノクロライン領域は、入力画像の先頭ラインに存在する場合、又は、モノクロライン領域を含まないラインの次のラインに存在する場合、モノクロ画像領域の開始ライン領域として、画像領域情報31に登録される。
As will be described later, the monochrome line area candidate detected by the monochrome line candidate detection means 53 is determined by a predetermined threshold (hereinafter referred to as the area width) from the start point to the end point. Is larger than the first threshold value), it is determined as a monochrome line area by the start / end point check means 54. Further, when the determined monochrome line area exists in the first line of the input image, or exists in the next line of the line not including the monochrome line area, the
図7は、画像領域情報31の一構成例を示す模式図である。RAM13内の画像領域情報31には、1ビットの”有効フラグ”、1ビットの”処理フラグ”、13ビットの”開始点のX座標”、13ビットの”開始点のY座標”、13ビットの”終了点のX座標”、及び、13ビットの”領域の長さ”等のモノクロ画像領域に係る情報が記憶されている。有効フラグは、モノクロ画像領域検出処理の結果として有効なモノクロ画像領域と判定された画像領域について”1”の値が設定される。処理フラグは、検出処理中のモノクロ画像領域であるか否かを示すフラグであり、処理中のモノクロ画像領域について有効フラグが”1”に設定される。
FIG. 7 is a schematic diagram illustrating a configuration example of the
また開始点のX座標及びY座標は、上述のようにモノクロ画像領域の開始ライン領域と判定されたモノクロライン領域の開始点のX座標(入力画像の横方向(ライン方向)の位置)及びY座標(入力画像の縦方向(カラム方向)の位置)が設定される。終了点のX座標は、モノクロ画像領域の最後のモノクロライン領域の終了点のX座標が設定される。領域の長さは、モノクロ画像領域の縦方向の長さ(モノクロ画像領域に含まれるモノクロライン領域の数に相当する)が設定される。モノクロ画像領域の開始ライン領域が検出された場合、画像領域情報31の処理フラグ、開始点のX座標、開始点のY座標、及び終了点のX座標の値が設定される(また有効フラグは初期値として0が設定され、領域の長さは初期値として1が設定される)。
The X and Y coordinates of the start point are the X coordinate (the position in the horizontal direction (line direction) of the input image) and the Y coordinate of the start point of the monochrome line area determined as the start line area of the monochrome image area as described above. Coordinates (positions in the vertical direction (column direction) of the input image) are set. As the X coordinate of the end point, the X coordinate of the end point of the last monochrome line area of the monochrome image area is set. The length of the area is set to the length in the vertical direction of the monochrome image area (corresponding to the number of monochrome line areas included in the monochrome image area). When the start line region of the monochrome image region is detected, the processing flag of the
図8は、開始終了点チェック手段54の処理を説明するための模式図である。モノクロライン領域検出手段52の開始終了点チェック手段54は、モノクロライン候補検出手段53に検出されたモノクロライン領域の候補が、モノクロ画像領域の開始ライン領域に続くモノクロライン領域であるか、新たなモノクロ画像領域の開始ライン領域に相当するモノクロライン領域であるか、又は、モノクロライン領域でないかを判定する処理を行う。 FIG. 8 is a schematic diagram for explaining the processing of the start / end point check means 54. The start / end point check means 54 of the monochrome line area detection means 52 determines whether the monochrome line area candidate detected by the monochrome line candidate detection means 53 is a monochrome line area following the start line area of the monochrome image area, or a new one. Processing is performed to determine whether the area is a monochrome line area corresponding to the start line area of the monochrome image area or not.
開始終了点チェック手段54は、モノクロライン領域の候補の開始点と、画像領域情報31に設定されたモノクロ画像領域(処理フラグが1のもの)の開始点のX座標とを比較し、その差分(ライン方向の座標差)が閾値(以下、第2閾値という)以内であるか否かを判定する。同様に開始終了点チェック手段54は、モノクロライン領域の候補の終了点と、画像領域情報31に設定されたモノクロ画像領域の終了点のX座標とを比較し、その差分が閾値(以下、第3閾値という)以内であるか否かを判定する。
The start / end point check means 54 compares the start point of the candidate for the monochrome line area with the X coordinate of the start point of the monochrome image area (having the processing flag of 1) set in the
モノクロライン領域の候補の開始点及び終了点と、画像領域情報31に設定されたモノクロ画像領域の開始点及び終了点のX座標との差分がそれぞれ第2閾値及び第3閾値以内である場合、開始終了点チェック手段54は、このモノクロライン領域の候補を、比較したモノクロ画像領域に含まれるモノクロライン領域であると判定し、このモノクロ画像領域に係る画像領域情報31を更新する。このとき開始終了点チェック手段54は、画像領域情報31の領域の長さの値を1増加させる。
When the difference between the start point and end point of the candidate for the monochrome line area and the X coordinate of the start point and end point of the monochrome image area set in the
またモノクロライン領域の候補の開始点又は終了点と、画像領域情報31に設定されたモノクロ画像領域の開始点又は終了点のX座標との差分が第2閾値又は第3閾値以内でない場合、開始終了点チェック手段54は、このモノクロライン領域の候補の幅が第1閾値以上であれば、新たなモノクロ画像領域の開始ライン領域であると判定し、画像領域情報31への登録を行う。更に、画像領域情報31に比較すべきモノクロ画像領域が存在しない場合も同様に、開始終了点チェック手段54は、このモノクロライン領域の候補の幅が第1閾値以上であれば、新たなモノクロ画像領域の開始ライン領域であると判定し、画像領域情報31への登録を行う。
If the difference between the start point or end point of the candidate for the monochrome line area and the X coordinate of the start point or end point of the monochrome image area set in the
図9は、カラーチェック手段55の処理を説明するための模式図である。モノクロライン領域検出手段52のカラーチェック手段55は、1つのライン上にモノクロ画素が連続する領域中に、少数のカラー画素が含まれている場合であっても、この領域をモノクロライン領域の候補として扱うことを可能とするものである。カラーチェック手段55は、モノクロ画素が連続する領域中に存在するカラー画素の幅(連続するカラー画素の数)が閾値(以下、第4閾値という)以下である場合に、この領域をモノクロライン領域の候補とする。
FIG. 9 is a schematic diagram for explaining the processing of the color check means 55. The color check means 55 of the monochrome line area detection means 52 uses this area as a candidate for a monochrome line area even when a small number of color pixels are included in an area where monochrome pixels are continuous on one line. It is possible to treat as. When the width of the color pixel existing in the area where the monochrome pixels are continuous (the number of the continuous color pixels) is equal to or less than a threshold value (hereinafter referred to as the fourth threshold value), the
カラーチェック手段55は、まず、モノクロ画素が連続する領域の開始点と、画像領域情報31に設定されたモノクロ画像領域の開始点のX座標とを比較し、その差分が第2閾値以内であるか否かを判定する(この処理は開始終了点チェック手段54の処理と同様である)。またカラーチェック手段55は、モノクロ画素が連続する領域の幅が、画像領域情報31に設定されたモノクロ画像領域の開始ライン領域の幅より小さいか否かを判定する。差分が第2閾値以内であり、且つ、領域の幅が開始ライン領域の幅より小さい場合、カラーチェック手段55は、下記のカラーチェック処理を行う。
The color check means 55 first compares the start point of the region where the monochrome pixels are continuous with the X coordinate of the start point of the monochrome image region set in the
カラーチェック処理において、カラーチェック手段55は、モノクロ画素が連続する領域の終了点の次の点をカラー画素の領域の開始点とし、この開始点から連続するカラー画素の領域の終了点を検出することで、カラー画素の領域の幅を得る。次いでカラーチェック手段55は、カラー画素の領域の幅が第4閾値以下であれば、このカラー画素の領域を無視してモノクロ画素の次の終了点を検出し、同様の処理を繰り返す。カラー画素の領域の幅が第4閾値を超える場合、カラーチェック手段55は、モノクロ画素が連続する領域が終了したと判定し、カラー画素を含むこの領域の開始点から終了点までをモノクロライン領域の候補とする。カラーチェック手段55によるモノクロライン領域の候補は、開始終了点チェック手段54の処理対象となる。 In the color check process, the color check means 55 uses the next point after the end point of the continuous area of monochrome pixels as the start point of the color pixel area, and detects the end point of the continuous color pixel area from this start point. Thus, the width of the color pixel region is obtained. Next, if the width of the color pixel area is equal to or smaller than the fourth threshold, the color check means 55 ignores the color pixel area, detects the next end point of the monochrome pixel, and repeats the same processing. When the width of the color pixel area exceeds the fourth threshold value, the color check means 55 determines that the area where the monochrome pixels are continuous has ended, and the monochrome line area extends from the start point to the end point of this area including the color pixels. Candidate for The candidate for the monochrome line area by the color check means 55 becomes the processing target of the start / end point check means 54.
このように、モノクロライン領域検出手段52にて検出されたモノクロライン領域に係る情報は、RAM13の画像領域情報31に順次的に記憶される。入力画像の各ラインについてモノクロライン領域検出手段52による処理が終了する都度、モノクロ画像領域検出手段56によるモノクロ画像領域の検出処理が行われる。
In this way, information related to the monochrome line area detected by the monochrome line
まずモノクロ画像領域検出手段56は、画像領域情報31を参照して、モノクロライン領域検出手段52の処理中(処理フラグが1)のモノクロ画像領域について、処理が終了したか否かを判定する。処理が終了したか否かは、画像領域情報31の領域の幅の値が変化したか否かにより判断することができるため、モノクロ画像領域検出手段56は、画像領域情報31の各モノクロ画像領域について領域の幅の値を予めコピーし、領域の幅の最新の値とコピーした値とを比較することで判定を行っている。領域の幅の最新値とコピー値とが変化していない場合、モノクロ画像領域検出手段56は、このモノクロ画像領域について処理を終了したと判断し、処理終了と判定したモノクロ画像領域については画像領域情報31の処理フラグを0に設定する。
First, the monochrome image
次いでモノクロ画像領域検出手段56は、画像領域情報31を参照して、処理が終了したと判断したモノクロ画像領域について領域の長さが閾値(以下、第5閾値という)以上である場合(即ち第5閾値以上のモノクロライン領域が隣り合う場合)、このモノクロ画像領域が有効であると判定して有効フラグを1に設定する。有効フラグが1に設定された有効なモノクロ画像領域が、モノクロ画像領域検出手段56による検出結果となる。
Next, the monochrome image area detecting means 56 refers to the
入力画像の全てのラインについてモノクロライン領域検出手段52による検出が終了し、モノクロ画像領域検出手段56による検出が終了した後、画像領域調整手段57によりモノクロ画像領域の調整(再検出)が行われる。図10及び図11は、画像領域調整手段57の処理を説明するための模式図である。例えばモノクロ画像領域検出手段56による検出の結果、図10に示すように2つのモノクロ画像領域A、Bが検出された場合において、2つのモノクロ画像領域A、B間の一又は複数のライン(ハッチングを付した部分)にはモノクロ画像領域として検出されるべき領域が含まれる可能性がある。これは例えば、このライン中にモノクロライン領域が検出されたにもかかわらず、領域の幅が第5閾値未満であったために有効と判定されなかった場合などである。画像領域調整手段57は、このような場合にモノクロ画像領域A又はBの調整を行うことによって、2つのモノクロ画像領域A、B間のラインの一部分をモノクロ画像領域A又はBに加える処理を行う。
After all the lines of the input image are detected by the monochrome line area detecting means 52 and the detection by the monochrome image area detecting means 56 is finished, the image area adjusting means 57 adjusts (redetects) the monochrome image area. . 10 and 11 are schematic diagrams for explaining the processing of the image
画像領域調整手段57は、まず、RAM13の画像領域情報31を参照して、有効と判定されたすべてのモノクロ画像領域の開始点のX座標及び終了点のX座標を比較し、いずれかのX座標が一致(ただし、数画素程度のズレは許容してもよい)するモノクロ画像領域が存在するか否かを調べる。開始点又は終了点(端点)のX座標が一致する2つのモノクロ画像領域が存在する場合、画像領域調整手段57は、一方のモノクロ画像領域の終了ラインのY座標と、他方のモノクロ画像領域の開始ラインのY座標から、2つのモノクロ画像領域の間隔を調べ、この間隔が閾値(以下、第6閾値という)以下であるか否かを判定する。
First, the image
2つのモノクロ画像領域の間隔が第6閾値以下の場合、画像領域調整手段57は、2つのモノクロ画像領域の横方向(ライン方向)の幅を比較し、幅が小さい方のモノクロ画像領域の画像領域情報31を、2つのモノクロ画像領域間のラインの一部分を含むように更新する。このとき画像領域調整手段57は、画像領域情報31の開始点のY座標又は領域の長さの値を更新すればよい。例えば図11に示すように、モノクロ画像領域Bの開始点のY座標を、2つのモノクロ画像領域間のラインの一部分を含むように、上方へ移動させることができる。
When the interval between the two monochrome image areas is equal to or smaller than the sixth threshold, the image
画像表示装置1の画像処理部40は、PC9からの入力画像に対して上述のモノクロ画像領域の検出処理を終えた後、検出結果である画像領域情報31を参照しながら、カラー用LUT41又はモノクロ用LUT42を用いて入力画像の各画素の画素値を補正する処理を行う。この補正処理において画像処理部40は、検出されたモノクロ画像領域に含まれる画素に対してはモノクロ用LUT42を用いた補正を行い、モノクロ画像領域に含まれない画素に対してはカラー用LUT41を用いた補正を行えばよい。画像処理部40は、補正処理の終了後に、補正した画像の表示を行う。
The
次にフローチャートを用いて、画像表示装置1が行う処理を説明する。図12及び図13は、画像表示装置1が行うモノクロ画像領域検出処理の手順を示すフローチャートであり、画像表示装置1の画像処理部40によって行われる処理である。画像表示装置1の画像処理部40は、まず、境界伸張手段51により入力画像のライン方向の両側に、2カラム分のカラー画素を追加することで入力画像の境界を伸長する処理を行う(ステップS1)。
Next, processing performed by the
次いで画像処理部40は、モノクロライン領域検出手段52のモノクロライン候補検出手段53にて、入力画像の各画素がモノクロ画素であるかカラー画素であるかを判定し、ライン上にモノクロ画素が連続する領域の開始点及び終了点を検出することでモノクロライン領域の候補を検出する処理を行う(ステップS2)。また画像処理部40は、カラーチェック手段55にて、モノクロ画素が連続する領域中に存在するカラー画素の幅が第4閾値以下であるか否かを判定することにより、少数のカラー画素が含まれたモノクロライン領域の候補を検出するカラーチェック処理を行う(ステップS3)。
Next, the
次いで画像処理部40は、開始終了点チェック手段54にて、検出されたモノクロライン領域の候補の開始点及び終了点と、画像領域情報31に設定されたモノクロ画像領域の開始点及び終了点とを比較し、それぞれの差分が第2閾値及び第3閾値以内であるか否かを判定することにより、モノクロライン領域の候補が有効なモノクロライン領域であるか否か、更にはモノクロ画像領域の開始ライン領域であるか否かを判定する開始終了点チェック処理を行う(ステップS4)。
Next, the
この開始終了点チェック処理の結果から、画像処理部40は、モノクロライン領域の候補が開始ライン領域であるか否かを判定し(ステップS5)、モノクロライン領域の候補が開始ライン領域であれば(S5:YES)、画像領域情報31に新たなモノクロ画像領域の開始ラインとして開始点及び終了点の座標などの情報を登録し(ステップS7)、ステップS9へ処理を進める。
From the result of the start / end point check process, the
またモノクロライン領域の候補が開始ライン領域でない場合(S5:NO)、画像処理部40は、モノクロライン領域の候補が有効なモノクロライン領域であるか否かを判定する(ステップS6)。画像処理部40は、モノクロライン領域の候補が有効なモノクロライン領域である場合には(S6:YES)、該当するモノクロ画像領域に係る画像領域情報31の領域の長さを更新し(ステップS8)、ステップS9へ処理を進め、モノクロライン領域の候補が有効なモノクロライン領域でない場合には(S6:NO)、画像領域情報31を更新することなくステップS9へ処理を進める。
If the monochrome line area candidate is not the start line area (S5: NO), the
次いで画像処理部40は、入力画像の1ラインについてステップS2〜S8の処理を終了したか否かを判定し(ステップS9)、1ラインの処理を終了していない場合には(S9:NO)、ステップS2へ処理を戻し、1ラインの処理を終了するまで上記の処理を繰り返し行う。
Next, the
入力画像の1ラインの処理を終了した場合(S9:YES)、画像処理部40は、モノクロ画像領域検出手段56にて、画像領域情報31を基に、第5閾値以上の数の有効ライン領域がラインに直交する方向に隣り合った領域をモノクロ画像領域として検出するモノクロ画像領域検出処理を行う(ステップS10)。モノクロ画像領域検出処理の結果として、有効なモノクロ画像領域に係る画像領域情報31の有効フラグが1に設定される。
When the processing of one line of the input image is completed (S9: YES), the
次いで、画像処理部40は、入力画像の全ラインについてステップS2〜S10の処理を終了したか否かを判定し(ステップS11)、全ラインの処理を終了していない場合には(S11:NO)、ステップS2へ処理を戻し、全ラインの処理を終了するまで上述の処理を繰り返し行う。
Next, the
入力画像の全ラインの処理を終了した場合(S11:YES)、画像処理部40は、画像領域調整手段57にて、2つのモノクロ画像領域間に存在する第6閾値以下の数のラインについて、このラインの一部分をいずれかのモノクロ画像領域に加える画像領域調整処理を行い(ステップS12)、処理を終了する。
When the processing of all the lines of the input image is completed (S11: YES), the
図14は、画像表示装置1が行う画像表示処理の手順を示すフローチャートであり、画像表示装置1の画像処理部40によって行われる処理である。画像表示装置1の画像処理部40は、まず、RAM13から画像領域情報31を読み出して(ステップS21)、モノクロ画像領域の検出結果を取得する。
FIG. 14 is a flowchart illustrating a procedure of image display processing performed by the
次いで、画像処理部40は、PC9から与えられた入力画像の一画素を取得し(ステップS22)、この画素が画像領域情報31のモノクロ画像領域に含まれる画素であるか否かを判定することにより、この画素がモノクロ画素であるか否かを判定する(ステップS23)。この画素がモノクロ画像領域内の画素である場合(S23:YES)、画像処理部40は、モノクロ用LUT42による画素値の補正処理を行って(ステップS24)、ステップS26へ処理を進める。またこの画素がモノクロ画像領域内の画素でない場合(S23:NO)、画像処理部40は、カラー用LUT41による画素値の補正処理を行って(ステップS25)、ステップS26へ処理を進める。
Next, the
次いで、画像処理部40は、入力画像の全画素について画素値の補正処理を終了したか否かを判定し(ステップS26)、全画素の補正処理を終了していない場合には(S26:NO)、ステップS22へ処理を戻し、上述のステップS22〜S26の処理を繰り返し行う。入力画像の全画素の補正処理を終了した場合(S26:YES)、画像処理部40は、入力画像を液晶パネル19に表示する処理を行って(ステップS27)、処理を終了する。
Next, the
以上の構成の画像表示装置1は、PC9からの入力画像の各画素がモノクロ画素であるか否かを判定し、モノクロライン領域検出手段52が入力画像の各ラインからモノクロ画素で構成されるモノクロライン領域を検出し、モノクロ画像領域検出手段56が複数のモノクロライン領域で構成されるモノクロ画像領域を検出する。これによりモノクロ画素で構成されたモノクロ画像領域を入力画像から検出することができる。またモノクロ画像領域検出手段56により検出された2つのモノクロ画像領域の間に存在する一又は複数のラインについて、モノクロ画像領域の再検出(画像領域調整手段57によるモノクロ画像領域の調整)を行う構成とすることにより、モノクロ画像領域中のカラー画素による文字などの影響で検出されなかったモノクロ画像領域を再検出することができる。検出したモノクロ画像領域に対してはモノクロ用LUT42にて補正を行い、他の領域に対してはカラー用LUT41にて補正を行うことにより、画像表示装置1は、入力画像に含まれるモノクロの画像領域とカラーの画像領域とをそれぞれ最適な表示特性で表示することができる。
The
また、モノクロライン候補検出手段53は、ライン中においてモノクロ画素が第1閾値以上連続する領域をモノクロライン領域の候補として検出することにより、例えばカラー画像領域に記入されたモノクロ画素の文字など、少数のモノクロ画素による領域をモノクロライン領域と誤判定することを防止できる。 Further, the monochrome line candidate detection means 53 detects a region in which a monochrome pixel continues in the line for the first threshold or more as a candidate for a monochrome line region, so that, for example, a small number of characters such as monochrome pixels written in the color image region. Thus, it is possible to prevent erroneous determination of an area formed by monochrome pixels as a monochrome line area.
また、カラーチェック手段55は、モノクロ画素が連続する領域中に第4閾値以下のカラー画素が連続する領域が含まれている場合であっても、この領域をモノクロライン領域の候補として検出することにより、例えばモノクロ画像領域中にカラー画素の文字などが記入された場合であっても、モノクロ画像領域の検出を確実に行うことができる。 Further, the color check means 55 detects this area as a candidate for the monochrome line area even when the area where the monochrome pixels are continuous includes an area where the color pixels equal to or smaller than the fourth threshold value are included. Thus, for example, even when a color pixel character or the like is entered in the monochrome image area, the monochrome image area can be reliably detected.
また、開始終了点チェック手段54は、開始ライン領域の開始点及び終了点に対して、モノクロライン領域の候補の開始点及び終了点のズレ量がそれぞれ第2閾値及び第3閾値以内である場合に、このモノクロライン領域の候補を有効なモノクロライン領域とすることにより、矩形のモノクロ画像領域を精度よく検出することができる。 Further, the start / end point check means 54 is configured such that the deviation amount of the start point and end point of the monochrome line area candidate is within the second threshold value and the third threshold value with respect to the start point and end point of the start line area, respectively. In addition, a rectangular monochrome image region can be detected with high accuracy by using the monochrome line region candidate as an effective monochrome line region.
また、モノクロ画像領域検出手段56は、第5閾値以上の数の有効ライン領域がラインに直交する方向に隣り合う領域を有効なモノクロ画像領域として検出することにより、誤検出されたモノクロライン領域による画像領域を有効なモノクロ画像領域と判定することを防止できる。 Further, the monochrome image area detecting means 56 detects an area where the number of effective line areas equal to or greater than the fifth threshold is adjacent in the direction orthogonal to the line as an effective monochrome image area, thereby detecting an erroneously detected monochrome line area. It is possible to prevent the image area from being determined as an effective monochrome image area.
また、画像領域調整手段57は、2つのモノクロ画像領域の開始点又は終了点が一致し、この2つのモノクロ画像領域間のライン数が第6閾値以下の場合に、この2つのモノクロ画像領域間の一又は複数のラインについて、モノクロ画像領域の調整(再検出)を行うことにより、誤判定によりモノクロ画像領域に含まれなかったラインを救済することができる。また画像領域調整手段57は、2つのモノクロ画像領域のうちライン方向の大きさが小さい方のモノクロ画像領域に、2つの有効画像領域間のラインの一部分を加えて新たなモノクロ画像領域とすることにより、ライン方向の大きさが大きい方のモノクロ画像領域にラインの一部分を加える場合と比較して、不適切な画素(カラーの画素)がモノクロ画像領域に加えられる可能性を低減できる。
Further, the image area adjusting means 57, when the start points or end points of the two monochrome image areas match and the number of lines between the two monochrome image areas is less than or equal to the sixth threshold value, By adjusting (redetecting) the monochrome image area for one or a plurality of lines, it is possible to relieve lines that were not included in the monochrome image area due to erroneous determination. The image
また、入力画像からモノクロ画像領域を検出する処理を、PC9ではなく画像表示装置1にて行う構成とすることにより、PC9にモノクロ画像領域検出用のアプリケーションソフトなどをインストールする必要がなく、画像表示装置1のみで適切な画像表示を行うことが可能となる。ただし、モノクロ画像領域の検出処理をPC9にて行い、処理結果をPC9から画像表示装置1へ与える構成としてもよく、更にはPC9にてカラー用LUT41及びモノクロ用LUT42による補正を行った画像を画像表示装置1へ入力する構成としてもよい。
In addition, since the processing for detecting the monochrome image area from the input image is performed by the
なお、本実施の形態においては、画像表示装置1が入力画像からモノクロの画像領域を検出する処理を行う構成としたが、これに限るものではなく、入力画像からカラーの画像領域を検出する構成としてもよい。また検出対象はモノクロの画像領域又はカラーの画像領域に限らず、例えば赤色単色の画像領域、輝度又は色度等が所定範囲内の画素で構成された画像領域など、その他の特定条件で区別される画像領域であってもよい。
In the present embodiment, the
また、モノクロの画像領域の検出及び画素値の補正処理等を画像表示装置1の画像処理部40が行う構成としたが、これに限るものではなく、画像表示装置1の制御部11が行う構成としてもよい。この構成の場合、モノクロ画像領域の検出及び画素値の補正処理等の処理は制御プログラム21(コンピュータプログラム)の一処理として実現され、制御部11が制御プログラム21を実行することによって、図4に示した境界伸張手段51〜画像領域調整手段57がソフトウェア的な機能ブロックとして実現される。更には、これらの処理をPC9にて行い、画像表示装置1はPC9から入力された画像信号を直接的に表示する構成としてもよい。この構成の場合、PC9にはこれらの処理を行うためのコンピュータプログラム(例えばデバイスドライバなどとして)予めインストールされ、PC9がコンピュータプログラムを実行することによって、図4に示した境界伸張手段51〜画像領域調整手段57がPC9にてソフトウェア的な機能ブロックとして実現される。
In addition, although the
1 画像表示装置
9 PC
11 制御部
12 ROM
13 RAM
14 バックライト駆動部
15 液晶駆動部
16 操作部
17 画像入力部
18 バックライト
19 液晶パネル
21 制御プログラム
31 画像領域情報
40 画像処理部(有効画素判定手段、有効ライン領域検出手段、有効画像領域検出手段、再検出手段)
41 カラー用LUT
42 モノクロ用LUT
51 境界伸張手段
52 モノクロライン領域検出手段(有効画素判定手段、有効ライン領域検出手段)
53 モノクロライン候補検出手段
54 開始終了点チェック手段
55 カラーチェック手段
56 モノクロ画像領域検出手段(有効画像領域検出手段)
57 画像領域調整手段(再検出手段)
1 Image display device 9 PC
11
13 RAM
DESCRIPTION OF
41 color LUT
42 Monochrome LUT
51 Boundary extension means 52 Monochrome line area detection means (effective pixel determination means, effective line area detection means)
53 Monochrome line candidate detection means 54 Start / end point check means 55 Color check means 56 Monochrome image area detection means (effective image area detection means)
57 Image area adjustment means (re-detection means)
Claims (7)
入力画像中の各画素が特定条件を満たす有効画素であるか否かを判定する有効画素判定手段と、
前記入力画像中の各ラインから、複数の有効画素で構成される有効ライン領域を検出する有効ライン領域検出手段と、
前記入力画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出する有効画像領域検出手段と
を備え、
入力画像中の各画素が前記有効画像領域検出手段により検出された有効画像領域に含まれる場合、前記有効画像領域に対応付けられた表示特性で表示するようにしてあり、
前記有効ライン領域検出手段は、
前記入力画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、
該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出するようにしてあること
を特徴とする画像表示装置。 In an image display device that displays an input image composed of a plurality of lines each including a predetermined number of pixels,
Effective pixel determining means for determining whether each pixel in the input image is an effective pixel that satisfies a specific condition;
Effective line area detecting means for detecting an effective line area composed of a plurality of effective pixels from each line in the input image;
Effective image area detecting means for detecting an effective image area composed of a plurality of effective line areas adjacent in a direction orthogonal to the line from the input image , and
If each pixel in the input image is included in the effective image region detected by the effective image area detecting means, Ri Citea to be displayed in display characteristics associated with the effective image area,
The effective line area detecting means includes
The effective line area included in the next line of the line that does not include the first line or the effective line area of the input image as a start line area,
An image display device characterized by detecting, as an effective line area, an area in which a coordinate difference in a line direction with respect to an end point of the start line area is within a predetermined value for lines after the line including the start line area .
有効画素が所定数以上連続するライン上の領域を有効ライン領域として検出するようにしてあること
を特徴とする請求項1に記載の画像表示装置。 The effective line area detecting means includes
The image display device according to claim 1, wherein an area on a line in which a predetermined number or more of effective pixels are continuous is detected as an effective line area.
を特徴とする請求項1又は請求項2に記載の画像表示装置。The image display device according to claim 1, wherein:
を特徴とする請求項1乃至請求項3のいずれか1つに記載の画像表示装置。 The image according to any one of claims 1 to 3, wherein the effective image area detecting means detects an area including a predetermined number or more of effective line areas as the effective image area. Display device.
を特徴とする請求項1乃至請求項4のいずれか1つに記載の画像表示装置。 The effective pixel determination means determines an effective pixel according to whether each pixel is a monochrome pixel or a color pixel. The image display apparatus as described in any one.
前記画像中の各画素が特定条件を満たす有効画素であるか否かの判定を行い、
前記画像中の各ラインから、複数の有効画素で構成される有効ライン領域の検出を行い、
前記画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域の検出を行い、
有効ライン領域を検出する際に、前記画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出すること
を特徴とする画像領域検出方法。 In an image region detection method for detecting an image region composed of pixels satisfying a specific condition from an image composed of a plurality of lines each including a predetermined number of pixels,
It is determined whether each pixel in the image is an effective pixel that satisfies a specific condition,
From each line in the image, to detect an effective line area composed of a plurality of effective pixels,
From the image, the detection of an effective image area composed of a plurality of effective line areas adjacent in the direction orthogonal to the line,
When detecting the effective line area, the effective line area included in the next line of the first line of the image or the line not including the effective line area is set as the start line area, and the lines after the line including the start line area A method for detecting an image area , wherein an area where a coordinate difference in a line direction with respect to an end point of the start line area is within a predetermined value is detected as an effective line area .
コンピュータに、前記画像中の各画素が特定条件を満たす有効画素であるか否かを判定させる有効画素判定ステップと、
コンピュータに、前記画像中の各ラインから、複数の有効画素で構成される有効ライン領域を検出させる有効ライン領域検出ステップと、
コンピュータに、前記画像から、ラインに直交する方向に隣り合う複数の有効ライン領域で構成される有効画像領域を検出させる有効画像領域検出ステップと
を含み、
前記有効ライン領域検出ステップでは、前記画像の先頭のライン又は有効ライン領域を含まないラインの次のラインに含まれる有効ライン領域を開始ライン領域とし、該開始ライン領域を含むライン以降のラインについて、前記開始ライン領域の端点に対するライン方向の座標差が所定値以内の領域を、有効ライン領域として検出させること
を特徴とするコンピュータプログラム。 In a computer program for causing a computer to detect an image region composed of pixels satisfying a specific condition from an image composed of a plurality of lines each including a predetermined number of pixels,
An effective pixel determination step for causing a computer to determine whether each pixel in the image is an effective pixel that satisfies a specific condition;
An effective line area detecting step for causing a computer to detect an effective line area composed of a plurality of effective pixels from each line in the image;
An effective image area detecting step for causing the computer to detect an effective image area composed of a plurality of effective line areas adjacent in a direction orthogonal to the line from the image, and
In the effective line area detecting step, the effective line area included in the next line of the first line of the image or the line not including the effective line area is set as a start line area, and the lines after the line including the start line area, A computer program for causing an area in which a coordinate difference in a line direction with respect to an end point of the start line area is within a predetermined value to be detected as an effective line area .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013010360A JP5486700B2 (en) | 2013-01-23 | 2013-01-23 | Image display device, image region detection method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013010360A JP5486700B2 (en) | 2013-01-23 | 2013-01-23 | Image display device, image region detection method, and computer program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010099839A Division JP5210348B2 (en) | 2010-04-23 | 2010-04-23 | Image display device, image region detection method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2013127630A JP2013127630A (en) | 2013-06-27 |
| JP5486700B2 true JP5486700B2 (en) | 2014-05-07 |
Family
ID=48778157
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013010360A Expired - Fee Related JP5486700B2 (en) | 2013-01-23 | 2013-01-23 | Image display device, image region detection method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5486700B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3264017B2 (en) * | 1993-02-24 | 2002-03-11 | キヤノン株式会社 | Image transmission apparatus and method |
| JP3255085B2 (en) * | 1997-06-11 | 2002-02-12 | 富士ゼロックス株式会社 | Image area determination method and apparatus, image processing apparatus |
| JP3526019B2 (en) * | 1999-11-30 | 2004-05-10 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Image display system, image display device, and image display method |
| JP2006126528A (en) * | 2004-10-29 | 2006-05-18 | Totoku Electric Co Ltd | Display image quality control method and display device |
| JP4526577B2 (en) * | 2008-04-11 | 2010-08-18 | 株式会社リコー | Image processing apparatus, image processing system, and image processing method |
-
2013
- 2013-01-23 JP JP2013010360A patent/JP5486700B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2013127630A (en) | 2013-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8188956B2 (en) | Display device with tone correction circuit | |
| KR100457484B1 (en) | Display and driving method of the same | |
| JP5210348B2 (en) | Image display device, image region detection method, and computer program | |
| JP4617076B2 (en) | Display correction circuit and display device | |
| US10789872B2 (en) | Display apparatus with enhanced aperture ratio | |
| KR102350818B1 (en) | Method and apparatus for detecting high-frequency components in an image | |
| KR102117033B1 (en) | Display apparatus and method of driving the same | |
| WO2019223330A1 (en) | Drive chip, display panel drive method, drive device, and display apparatus | |
| US11170738B2 (en) | Display device | |
| JP6201358B2 (en) | Image processing apparatus, projector, and image processing method | |
| WO2012132050A1 (en) | Display device, image processing device, image area detection method, and computer program | |
| US10783841B2 (en) | Liquid crystal display device and method for displaying image of the same | |
| JP2006030600A (en) | Multi-screen display system, multi-screen display method, brightness correction method, and program | |
| JP2017187536A (en) | Light source device and image projection device | |
| US20200258459A1 (en) | Liquid crystal display device | |
| US20160335966A1 (en) | Liquid crystal display device | |
| JP5486700B2 (en) | Image display device, image region detection method, and computer program | |
| US11423820B2 (en) | Display device and rendering method thereof | |
| JP6742880B2 (en) | Display device | |
| JP2013061446A (en) | Image display apparatus | |
| JP5510858B2 (en) | Driving device and driving method for liquid crystal display panel, and liquid crystal display device | |
| KR102604729B1 (en) | Foldable display device and image quality compensation method | |
| JP2012216184A (en) | Display device, image processing device, image area detecting method, and computer program | |
| CN106782401B (en) | Control method of display | |
| JPWO2006088118A1 (en) | Display control device and display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131023 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131203 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140117 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140221 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5486700 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |