Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5486700B2 - Image display device, image region detection method, and computer program - Google Patents
[go: Go Back, main page]

JP5486700B2 - Image display device, image region detection method, and computer program - Google Patents

Image display device, image region detection method, and computer program Download PDF

Info

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
Application number
JP2013010360A
Other languages
Japanese (ja)
Other versions
JP2013127630A (en
Inventor
孝洋 河野
正樹 北
裕介 伴場
暁 朱
磊 朱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eizo Corp
Original Assignee
Eizo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eizo Corp filed Critical Eizo Corp
Priority to JP2013010360A priority Critical patent/JP5486700B2/en
Publication of JP2013127630A publication Critical patent/JP2013127630A/en
Application granted granted Critical
Publication of JP5486700B2 publication Critical patent/JP5486700B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Patent Document 1, it is determined whether or not a color picture is included in a screen and whether or not a monochrome picture is included. When it is determined that a color picture is included, a monochrome picture is included without including a color picture. A display device has been proposed that changes the display image quality by changing the luminance, color temperature, and gamma characteristics when it is determined that both pictures are not included. This display device can change the display image quality only by processing on the display device side according to the screen, for example, a color picture display image quality suitable for displaying a screen including an image obtained by color-taking a natural object such as a flower. And a monochrome picture display quality suitable for displaying an X-ray image and a text display quality suitable for displaying a text screen created by an editor can be automatically switched.

また特許文献2においては、表示画面を所定数で分割した領域における階調が全画面に亘って略均一の階調となるように、補正する領域毎の階調補正ルックアップテーブルを備え、画像信号を取り込んで表示位置を検出し、検出した位置情報に対応する領域の階調補正ルックアップテーブルに基づいて階調補正を施す構成の画像表示装置が提案されている。   In Patent Document 2, a gradation correction lookup table for each area to be corrected is provided so that gradations in an area obtained by dividing a display screen by a predetermined number become substantially uniform gradations over the entire screen. There has been proposed an image display device configured to detect a display position by taking in a signal and perform gradation correction based on a gradation correction lookup table of an area corresponding to the detected position information.

しかし特許文献1の表示装置は、判別結果に応じて画面全体の表示画質を変える構成であり、カラーピクチャーとモノクロピクチャーとを同時的に表示する場合に、各ピクチャーの表示領域毎に表示画質を変えることはできないという問題がある。   However, the display device of Patent Document 1 is configured to change the display image quality of the entire screen according to the determination result. When displaying a color picture and a monochrome picture at the same time, the display image quality for each display area of each picture is improved. There is a problem that it cannot be changed.

特許文献2に記載の画像表示装置は、バックライト光の強度又はパネルの透過率等が表示位置によって異なり、画像の表示特性に位置依存性が生じるという問題を解決すべく、表示位置に応じた複数の階調補正ルックアップテーブルを用いる構成としたものである。このため特許文献2に記載の画像表示装置は、カラーピクチャー及びモノクロピクチャー等のように画像の種別に応じた適切な補正を行い得るものではない。特許文献2の画像表示装置は、予め決定された領域に対してそれぞれ異なる階調補正ルックアップテーブルによる補正を行う構成であり、表示する画像中におけるカラーピクチャー及びモノクロピクチャー等の表示領域を検出して補正を行うことはできない。   In the image display device described in Patent Document 2, in order to solve the problem that the intensity of the backlight light or the transmittance of the panel differs depending on the display position and the position dependency of the display characteristics of the image occurs, In this configuration, a plurality of gradation correction lookup tables are used. For this reason, the image display device described in Patent Document 2 cannot perform appropriate correction according to the type of image, such as a color picture and a monochrome picture. The image display device disclosed in Patent Document 2 is configured to perform correction using a different gradation correction lookup table for each predetermined region, and detect a display region such as a color picture and a monochrome picture in a displayed image. Cannot be corrected.

特許文献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.

特開2006−126528号公報JP 2006-126528 A 特開平11−98438号公報Japanese Patent Laid-Open No. 11-98438 特開平6−253155号公報JP-A-6-253155

特許文献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.

本発明に係る画像表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image display apparatus which concerns on this invention. カラー用LUT及びモノクロ用LUTを説明するための模式図である。It is a schematic diagram for demonstrating a color LUT and a monochrome LUT. 入力画像の一構成例を示す模式図である。It is a schematic diagram which shows one structural example of an input image. モノクロ画像領域検出処理に係る画像処理部の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the image process part which concerns on a monochrome image area | region detection process. 境界伸張手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of a boundary expansion | extension means. モノクロライン領域検出手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of a monochrome line area | region detection means. 画像領域情報の一構成例を示す模式図である。It is a schematic diagram which shows one structural example of image area information. 開始終了点チェック手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of a start / end point check means. カラーチェック手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of a color check means. 画像領域調整手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of an image area adjustment means. 画像領域調整手段の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of an image area adjustment means. 画像表示装置が行うモノクロ画像領域検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the monochrome image area detection process which an image display apparatus performs. 画像表示装置が行うモノクロ画像領域検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the monochrome image area detection process which an image display apparatus performs. 画像表示装置が行う画像表示処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the image display process which an image display apparatus performs.

以下、本発明をその実施の形態を示す図面に基づき具体的に説明する。図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, reference numeral 1 denotes a color image display device including a liquid crystal panel 19 as a display device, and displays an image input from the PC 9. The image display device 1 can be used, for example, for medical purposes, and can display a monochrome image by X-ray photography, a color image by photography such as an endoscope, and other images (text, graph, table, etc.). .

画像表示装置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 image display apparatus 1 includes a control unit 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a backlight driving unit 14, a liquid crystal driving unit 15, an operation unit 16, an image input unit 17, a backlight 18, The liquid crystal panel 19 and the image processing unit 40 are provided. Specifically, the control unit 11 can be configured by an arithmetic processing device such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), and exchanges information with each unit in the image display device 1 to exchange these information. By controlling the operation of each unit, various processes for displaying an image on the liquid crystal panel 19 are executed.

ROM12は、例えばEEPROM(Electrically Erasable Programmable ROM)又はフラッシュメモリ等の不揮発性のメモリ素子により構成され、制御部11の動作に必要な制御プログラム21と、その他の種々のデータ(図示は省略する)とが予め記憶されている。   The ROM 12 is configured by a nonvolatile memory element such as an EEPROM (Electrically Erasable Programmable ROM) or a flash memory, for example, and a control program 21 necessary for the operation of the control unit 11 and other various data (not shown). Is stored in advance.

RAM13は、例えばSRAM(Static RAM)又はDRAM(Dynamic RAM)等のデータ書き換え可能なメモリ素子により構成されており、画像領域情報31(詳細は後述する)などの一時的なデータを記憶することができる。例えば制御部11は、ROM12に記憶された制御プログラム21を読み出して実行することにより種々の処理を行い、この処理の演算過程などで発生したデータをRAM13に一時的に記憶することができる。   The RAM 13 is configured by a data rewritable memory element such as SRAM (Static RAM) or DRAM (Dynamic RAM), for example, and can store temporary data such as image area information 31 (details will be described later). it can. For example, the control unit 11 can perform various processes by reading out and executing the control program 21 stored in the ROM 12, and can temporarily store data generated in the calculation process of the process in the RAM 13.

操作部16は、ユーザが画像表示装置1を走査するための各種のファンクションキーなどを有している。例えば、液晶パネル19の画像表示の明るさ(ブライトネス)を変更するためのキー、又は画像表示のカラーバランスを変更するためのキー等のように、画像表示装置1の表示特性を設定するための設定キーが操作部16に設けられている。操作部16は、これらのファンクションキーに対するユーザの操作を受け付けて制御部11へ通知し、制御部11は操作部16からの通知に応じて各部の動作を制御することができる。   The operation unit 16 includes various function keys for the user to scan the image display device 1. For example, for setting the display characteristics of the image display device 1 such as a key for changing the brightness (brightness) of the image display of the liquid crystal panel 19 or a key for changing the color balance of the image display. A setting key is provided on the operation unit 16. The operation unit 16 accepts user operations on these function keys and notifies the control unit 11, and the control unit 11 can control the operation of each unit in response to the notification from the operation unit 16.

画像入力部17は、PC9などの外部機器に信号ケーブルを介して接続される接続端子を有しており、PC9から入力される画像信号を取得する。画像信号は、RGB又はCMY等のように複数色で構成され、色毎に入力される。この画像信号は、画像処理部40により明るさ調整又はカラーバランス調整等の種々の画像処理が施された後に液晶駆動部15へ与えられ、与えられた画像信号に応じて液晶駆動部15が液晶パネル19を駆動することにより、画像表示装置1はPC9からの画像信号に基づく画像表示を行うことができる。なお、PC9から画像入力部17へ入力される画像信号は、アナログ信号又はデジタル信号のいずれであってもよい。   The image input unit 17 has a connection terminal connected to an external device such as the PC 9 via a signal cable, and acquires an image signal input from the PC 9. The image signal is composed of a plurality of colors such as RGB or CMY, and is input for each color. The image signal is subjected to various image processing such as brightness adjustment or color balance adjustment by the image processing unit 40 and then applied to the liquid crystal driving unit 15, and the liquid crystal driving unit 15 performs liquid crystal display according to the applied image signal. By driving the panel 19, the image display device 1 can perform image display based on the image signal from the PC 9. The image signal input from the PC 9 to the image input unit 17 may be either an analog signal or a digital signal.

画像処理部40は、図示は省略するが画像処理に係る演算処理を行うための演算処理部と不揮発性の記憶部とを内蔵しており、不揮発性の記憶部にはカラー用LUT(ルックアップテーブル)41及びモノクロ用LUT42等の画像処理に必要なデータが予め記憶されている。画像処理部40は、制御部11の制御に応じて、画像入力部17から与えられた画像信号に対して種々の画像処理を施し、画像処理後の画像信号を液晶駆動部15へ与える。特に本実施の形態において画像処理部40は、画像入力部17からの画像信号の階調値を、カラー用LUT41及びモノクロ用LUT42に応じて補正する画像処理(いわゆるガンマ補正)を行う。   Although not shown, the image processing unit 40 includes an arithmetic processing unit for performing arithmetic processing related to image processing and a non-volatile storage unit. The non-volatile storage unit includes a color LUT (lookup). Data necessary for image processing such as a table 41 and a monochrome LUT 42 are stored in advance. The image processing unit 40 performs various image processing on the image signal given from the image input unit 17 under the control of the control unit 11, and gives the image signal after the image processing to the liquid crystal driving unit 15. In particular, in the present embodiment, the image processing unit 40 performs image processing (so-called gamma correction) for correcting the gradation value of the image signal from the image input unit 17 in accordance with the color LUT 41 and the monochrome LUT 42.

液晶パネル19は、一対のガラス基板が対向配置され、その間隙内に液晶物質である液晶層が形成された構造をなしている。一方のガラス基板には、複数の画素電極と、画素電極のそれぞれにドレインを接続したTFT(Thin Film Transistor)とが設けられ、他方のガラス基板には共通電極が設けられている。各TFTのゲート及びソースは、液晶駆動部15のゲートドライバ及びソースドライバ(図示は省略する)に接続され、液晶駆動部15から駆動信号がそれぞれ入力されている。   The liquid crystal panel 19 has a structure in which a pair of glass substrates are opposed to each other and a liquid crystal layer, which is a liquid crystal substance, is formed in the gap. One glass substrate is provided with a plurality of pixel electrodes and TFTs (Thin Film Transistors) each having a drain connected to the pixel electrode, and the other glass substrate is provided with a common electrode. The gate and source of each TFT are connected to a gate driver and a source driver (not shown) of the liquid crystal drive unit 15, and drive signals are input from the liquid crystal drive unit 15, respectively.

液晶駆動部15は、与えられた画像信号に応じて液晶パネル19を駆動するための駆動信号を出力する。詳しくは、液晶駆動部15のゲートドライバは、液晶パネル19が有する多数のTFTのゲートに、与えられた画像信号に応じて選択的に電圧を印加し、また同様に、液晶駆動部15のソースドライバは、TFTのソースに、入力された映像信号に応じた電圧値で電圧を印加する。これにより液晶パネル19は、液晶駆動部15のゲートドライバから印加される電圧によって各画素のTFTのオン/オフが制御され、液晶駆動部15のソースドライバから入力される出力電圧(液晶パネル19への入力レベル)が各画素のTFTに印加されることにより、液晶物質の電気光学特性によって決定される光透過率が制御されて、バックライト18からの光の透過が調整され、所望の画像を階調表示することができる。液晶パネル19の各画素は、RGBのように複数色分の副画素で更に構成され、光の透過方向にカラーフィルムを配することで、カラー表示を可能としている。   The liquid crystal drive unit 15 outputs a drive signal for driving the liquid crystal panel 19 in accordance with the supplied image signal. Specifically, the gate driver of the liquid crystal driving unit 15 applies a voltage selectively to the gates of a large number of TFTs of the liquid crystal panel 19 in accordance with a given image signal, and similarly, the source of the liquid crystal driving unit 15 The driver applies a voltage to the source of the TFT with a voltage value corresponding to the input video signal. As a result, the liquid crystal panel 19 controls the on / off of the TFT of each pixel by the voltage applied from the gate driver of the liquid crystal driving unit 15, and outputs the output voltage (to the liquid crystal panel 19) input from the source driver of the liquid crystal driving unit 15. Is applied to the TFT of each pixel, the light transmittance determined by the electro-optical characteristics of the liquid crystal substance is controlled, and the transmission of light from the backlight 18 is adjusted, so that a desired image can be obtained. Gradation can be displayed. Each pixel of the liquid crystal panel 19 is further composed of sub-pixels for a plurality of colors such as RGB, and color display is possible by arranging a color film in the light transmission direction.

バックライト18は、画像表示装置1内にて液晶パネル19の背面側に配設されており、バックライト駆動部14から与えられる出力電圧により駆動される。バックライト駆動部14は、制御部11の制御に応じて、バックライト18への出力電圧を調整する。これにより、例えばユーザが操作部16を操作して設定したブライトネス設定に応じて、バックライト駆動部14に出力電圧を調整させて、バックライト18の輝度を調整することができる。例えばバックライト駆動部14からバックライト18へパルス状の電圧が与えられる場合、バックライト駆動部14による出力電圧の調整は、パルスの振幅を変更すること(いわゆる振幅変調)で行ってもよく、パルス幅を変更すること(いわゆるパルス幅変調)で行ってもよい。   The backlight 18 is disposed on the back side of the liquid crystal panel 19 in the image display device 1 and is driven by an output voltage supplied from the backlight driving unit 14. The backlight drive unit 14 adjusts the output voltage to the backlight 18 under the control of the control unit 11. Accordingly, for example, the brightness of the backlight 18 can be adjusted by causing the backlight drive unit 14 to adjust the output voltage in accordance with the brightness setting set by the user operating the operation unit 16. For example, when a pulsed voltage is applied from the backlight driving unit 14 to the backlight 18, the adjustment of the output voltage by the backlight driving unit 14 may be performed by changing the amplitude of the pulse (so-called amplitude modulation) The pulse width may be changed (so-called pulse width modulation).

このように画像表示装置1は、PC9から入力された画像信号に応じて、バックライト18及び液晶パネル19を駆動することによって、画像信号に応じた画像表示を行うことができる。このとき画像表示装置1の制御部11は、PC9から画像入力部17へ入力された画像信号(入力画像)の階調値を、液晶パネル19の表示特性に適した階調値に補正して液晶駆動部15へ与える処理を画像処理部40に行わせており、この補正処理のために予め画像処理部40の記憶部に記憶されたカラー用LUT41及びモノクロ用LUT42を用いている。カラー用LUT41及びモノクロ用LUT42は、入力画像の階調値と、液晶駆動部15へ与える出力画像の階調値とが対応づけられたテーブルであり、画像表示装置1の設計段階又は製造工程等にて理想的な表示特性となるように最適な値が記憶される。   As described above, the image display device 1 can perform image display according to the image signal by driving the backlight 18 and the liquid crystal panel 19 in accordance with the image signal input from the PC 9. At this time, the control unit 11 of the image display device 1 corrects the gradation value of the image signal (input image) input from the PC 9 to the image input unit 17 to a gradation value suitable for the display characteristics of the liquid crystal panel 19. The processing given to the liquid crystal drive unit 15 is performed by the image processing unit 40, and the color LUT 41 and the monochrome LUT 42 stored in advance in the storage unit of the image processing unit 40 are used for the correction processing. The color LUT 41 and the monochrome LUT 42 are tables in which the gradation value of the input image is associated with the gradation value of the output image to be supplied to the liquid crystal driving unit 15. The optimum value is stored so as to obtain an ideal display characteristic.

図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 color LUT 41 and the monochrome LUT 42, and shows the display characteristics of the image display apparatus 1 as a graph. In the graph shown in FIG. 2, the horizontal axis represents the input gradation (gradation value of the input image from the PC 9), and the vertical axis represents the display gradation (gradation value of the image actually displayed on the liquid crystal panel 19). The display characteristic of the image display apparatus 1 is illustrated. The display characteristic indicated by the solid line in the graph is a characteristic when a color image is displayed, and is a characteristic when the gamma value is 2.2. The display characteristics indicated by the alternate long and short dash line in the graph are characteristics when a monochrome image in DICOM (Digital Imaging and Communications in Medicine) format used for medical images such as an X-ray image is displayed.

画像表示装置1は、図2に示した表示特性が略線形となるように、カラー用LUT41及びモノクロ用LUT42を用いてPC9からの入力画像の階調値を補正する。カラー用LUT41及びモノクロ用LUT42は、入力画像の入力階調に対する出力階調が対応付けて記憶されており、出力階調は図2に示した表示特性の逆関数で与えられる。即ち、カラー用LUT41には図2の実線で示す表示特性の逆関数に対応する値が記憶され、モノクロ用LUT42には図2の一点鎖線で示す表示特性の逆関数に対応する値が記憶されている。   The image display device 1 corrects the gradation value of the input image from the PC 9 using the color LUT 41 and the monochrome LUT 42 so that the display characteristics shown in FIG. The color LUT 41 and the monochrome LUT 42 store the output gradation corresponding to the input gradation of the input image, and the output gradation is given by an inverse function of the display characteristics shown in FIG. That is, the color LUT 41 stores a value corresponding to the inverse function of the display characteristic indicated by the solid line in FIG. 2, and the monochrome LUT 42 stores a value corresponding to the inverse function of the display characteristic indicated by the dashed line in FIG. ing.

よって画像表示装置1は、PC9から与えられた入力画像の階調値を、カラー用LUT41又はモノクロ用LUT42に記憶された出力階調値に変換することで階調値の補正処理を行い、補正後の出力階調にて液晶パネル19の画像表示を行うことによって、PC9からの入力階調に対して略線形の表示特性で画像表示を行うことができる。   Therefore, the image display apparatus 1 performs gradation value correction processing by converting the gradation value of the input image given from the PC 9 into the output gradation value stored in the color LUT 41 or the monochrome LUT 42, thereby correcting the gradation value. By displaying the image on the liquid crystal panel 19 at a later output gradation, the image can be displayed with display characteristics substantially linear with respect to the input gradation from the PC 9.

ただし、上述のように画像表示装置1の表示特性はカラー画像を表示する場合とモノクロ画像を表示する場合とで異なっている。またPC9に搭載されたOS(Operating System)はマルチウインドウシステムを備えており、PC9から画像表示装置1への入力画像は、複数のウインドウが並べられた又は重ねられた画像となり、各ウインドウ内の画像はカラー画像又はモノクロ画像のいずれであってもよい。このため、本実施の形態に係る画像表示装置1は、入力画像に含まれるモノクロの画像領域を検出し、検出したモノクロ画像領域に対してモノクロ用LUT42を用いた補正処理を行うと共に、モノクロ画像領域以外の画像領域をカラー画像領域としてカラー用LUT41を用いた補正処理を行う。   However, as described above, the display characteristics of the image display apparatus 1 are different between when a color image is displayed and when a monochrome image is displayed. The OS (Operating System) installed in the PC 9 includes a multi-window system, and an input image from the PC 9 to the image display device 1 is an image in which a plurality of windows are arranged or overlapped. The image may be either a color image or a monochrome image. For this reason, the image display apparatus 1 according to the present embodiment detects a monochrome image area included in the input image, performs correction processing using the monochrome LUT 42 on the detected monochrome image area, and also performs a monochrome image. Correction processing using the color LUT 41 is performed using an image area other than the area as a color image area.

次に、画像表示装置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 image display device 1 will be described. First, as a premise, the configuration of an input image input from the PC 9 to the image display device 1 will be described. FIG. 3 is a schematic diagram illustrating a configuration example of an input image. In FIG. 3, only a part of the head of the input image (for three lines) is illustrated, pixels constituting the input image are indicated by squares, and color pixels are indicated by hatching. Each pixel is composed of a plurality of subpixels such as RGB, but the removal of these subpixels is omitted in FIG. One input image given as an image signal from the PC 9 has a predetermined number of pixels, and is configured by arranging a predetermined number of these pixels vertically and horizontally. An arrangement of one horizontal line of pixels in the input image is called a line (in FIG. 3, one line is composed of 41 pixels), and the input image is constituted by arranging a predetermined number of lines in the vertical direction. A vertical line of images in an input image is called a column. The number of pixels in the line direction (horizontal direction) in the input image is called width, and the number of pixels in the vertical direction is called length. An area where monochrome pixels are continuous in one line is called a monochrome line area (see a portion surrounded by a broken line in FIG. 3), and an area where a plurality of monochrome line areas are adjacent in the vertical direction (direction perpendicular to the line). This is referred to as a monochrome image region (see the portion surrounded by the one-dot chain line in FIG. 3).

入力画像からモノクロ画像領域を検出する処理は、画像表示装置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 image processing unit 40 of the image display device 1. FIG. 4 is a functional block diagram showing the configuration of the image processing unit 40 related to the monochrome image region detection process. The image processing unit 40 of the image display device 1 first performs a process of extending the boundary of the input image by a boundary extending means 51 (denoted simply as boundary expansion in FIG. The detection means 52 performs processing for detecting a monochrome line area from the input image, and the monochrome image area detection means 56 performs processing for detecting a monochrome image area. Further, the image processing unit 40 performs re-detection of the monochrome image region by performing image region adjustment processing by the image region adjustment unit 57 on the detection result by the monochrome image region detection unit 56. The processing results of each process are stored as image area information 31 in the RAM 13 of the image display device 1, and each means can exchange the processing results via the image area information 31 of the RAM 13.

図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 expansion processing unit 51 adds two columns of color pixels on both sides of the input image in the line direction (lateral direction) (left and right of the input image) (see the hatched portion in FIG. 5). Then, a process of expanding the input image in the line direction is performed.

図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 area detecting means 52. The monochrome line area detection unit 52 receives the input image expanded by the boundary expansion unit 51 for each pixel, and the input pixel is first given to the monochrome line candidate detection unit 53. The monochrome line candidate detection means performs processing for detecting a candidate for a monochrome line area composed of continuous monochrome pixels. First, from the pixel value of the input pixel, this pixel is a color pixel or a monochrome pixel. It is determined whether it is a pixel. For example, when each pixel has three values of RGB, a pixel in which R = G = B is determined to be a monochrome pixel, and the other pixels can be determined to be color pixels.

次いでモノクロライン候補検出手段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 candidate detection unit 53 detects two consecutive pixels that are sequentially input (for example, two pixels of a pixel input at the present time and a pixel input at the previous time point). Pixel, hereinafter simply referred to as the previous pixel and the subsequent pixel). Note that the expansion of the input image by the boundary expansion unit 51 is performed in order to facilitate the check of two consecutive pixels performed by the monochrome line candidate detection unit 53.

モノクロライン候補検出手段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 candidate detection unit 53 detects a region in which monochrome pixels from the detected start point to the end point are continuous as a candidate for the monochrome line region, and supplies the detected region to the start / end point check unit 54 and the color check unit 55.

なお後述するが、モノクロライン候補検出手段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 image area information 31 is set as the start line area of the monochrome image area. be registered.

図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 image area information 31. The image area information 31 in the RAM 13 includes a 1-bit “valid flag”, a 1-bit “processing flag”, a 13-bit “X coordinate of the start point”, a 13-bit “Y coordinate of the start point”, and 13 bits. Information relating to the monochrome image area such as “X coordinate of end point” and “length of area” of 13 bits is stored. As the valid flag, a value of “1” is set for an image area determined as a valid monochrome image area as a result of the monochrome image area detection process. The processing flag is a flag indicating whether or not the monochrome image region is being detected, and the valid flag is set to “1” for the monochrome image region being processed.

また開始点の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 image region information 31, the X coordinate of the start point, the Y coordinate of the start point, and the X coordinate value of the end point are set (and the valid flag is The initial value is set to 0, and the length of the area is set to 1 as the initial value).

図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 image area information 31, and the difference It is determined whether or not (the coordinate difference in the line direction) is within a threshold (hereinafter referred to as a second threshold). Similarly, the start / end point check means 54 compares the end point of the candidate for the monochrome line area with the X coordinate of the end point of the monochrome image area set in the image area information 31, and the difference is a threshold value (hereinafter referred to as “first”). It is determined whether it is within 3 thresholds).

モノクロライン領域の候補の開始点及び終了点と、画像領域情報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 image area information 31 are within the second threshold and the third threshold, respectively, The start / end point check means 54 determines that the candidate for the monochrome line area is a monochrome line area included in the compared monochrome image area, and updates the image area information 31 related to the monochrome image area. At this time, the start / end point check means 54 increases the value of the length of the area of the image area information 31 by one.

またモノクロライン領域の候補の開始点又は終了点と、画像領域情報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 image area information 31 is not within the second threshold value or the third threshold value, start If the width of the candidate for the monochrome line area is equal to or greater than the first threshold, the end point check unit 54 determines that the line is a start line area for a new monochrome image area, and registers it in the image area information 31. Further, similarly, when there is no monochrome image area to be compared with the image area information 31, the start / end point check means 54 determines that a new monochrome image is obtained if the width of the candidate for the monochrome line area is equal to or larger than the first threshold value. It is determined that this is the start line area of the area, and registration in the image area information 31 is performed.

図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 color check unit 55 Candidate for

カラーチェック手段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 image region information 31, and the difference is within the second threshold. (This process is the same as the process of the start / end point check means 54). The color check means 55 determines whether the width of the area where the monochrome pixels are continuous is smaller than the width of the start line area of the monochrome image area set in the image area information 31. When the difference is within the second threshold and the width of the area is smaller than the width of the start line area, the color check means 55 performs the following color check process.

カラーチェック処理において、カラーチェック手段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 area detection unit 52 is sequentially stored in the image area information 31 of the RAM 13. A monochrome image region detection process by the monochrome image region detection unit 56 is performed each time the processing by the monochrome line region detection unit 52 is completed for each line of the input image.

まずモノクロ画像領域検出手段56は、画像領域情報31を参照して、モノクロライン領域検出手段52の処理中(処理フラグが1)のモノクロ画像領域について、処理が終了したか否かを判定する。処理が終了したか否かは、画像領域情報31の領域の幅の値が変化したか否かにより判断することができるため、モノクロ画像領域検出手段56は、画像領域情報31の各モノクロ画像領域について領域の幅の値を予めコピーし、領域の幅の最新の値とコピーした値とを比較することで判定を行っている。領域の幅の最新値とコピー値とが変化していない場合、モノクロ画像領域検出手段56は、このモノクロ画像領域について処理を終了したと判断し、処理終了と判定したモノクロ画像領域については画像領域情報31の処理フラグを0に設定する。   First, the monochrome image region detection unit 56 refers to the image region information 31 and determines whether or not the processing has been completed for the monochrome image region being processed by the monochrome line region detection unit 52 (processing flag is 1). Whether or not the processing has been completed can be determined based on whether or not the value of the width of the area of the image area information 31 has changed. Therefore, the monochrome image area detecting means 56 can detect each monochrome image area of the image area information 31. The value of the area width is copied in advance, and the latest value of the area width is compared with the copied value. When the latest value of the area width and the copy value have not changed, the monochrome image area detecting unit 56 determines that the process has been completed for the monochrome image area, and the image area is determined for the monochrome image area that has been determined to have ended. The processing flag of information 31 is set to 0.

次いでモノクロ画像領域検出手段56は、画像領域情報31を参照して、処理が終了したと判断したモノクロ画像領域について領域の長さが閾値(以下、第5閾値という)以上である場合(即ち第5閾値以上のモノクロライン領域が隣り合う場合)、このモノクロ画像領域が有効であると判定して有効フラグを1に設定する。有効フラグが1に設定された有効なモノクロ画像領域が、モノクロ画像領域検出手段56による検出結果となる。   Next, the monochrome image area detecting means 56 refers to the image area information 31 and the area length of the monochrome image area determined to have been processed is equal to or greater than a threshold (hereinafter referred to as the fifth threshold) (that is, the first threshold). When monochrome line areas of 5 thresholds or more are adjacent to each other), it is determined that this monochrome image area is valid, and the valid flag is set to 1. A valid monochrome image area with the valid flag set to 1 is a detection result by the monochrome image area detection means 56.

入力画像の全てのラインについてモノクロライン領域検出手段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 area adjustment unit 57. FIG. For example, when two monochrome image areas A and B are detected as shown in FIG. 10 as a result of detection by the monochrome image area detection unit 56, one or more lines (hatching) between the two monochrome image areas A and B are detected. There is a possibility that a region to be detected as a monochrome image region may be included in the portion marked with. This is the case, for example, when a monochrome line area is detected in this line, but it is not determined to be valid because the width of the area is less than the fifth threshold. In such a case, the image area adjustment unit 57 performs a process of adding a part of the line between the two monochrome image areas A and B to the monochrome image area A or B by adjusting the monochrome image area A or B. .

画像領域調整手段57は、まず、RAM13の画像領域情報31を参照して、有効と判定されたすべてのモノクロ画像領域の開始点のX座標及び終了点のX座標を比較し、いずれかのX座標が一致(ただし、数画素程度のズレは許容してもよい)するモノクロ画像領域が存在するか否かを調べる。開始点又は終了点(端点)のX座標が一致する2つのモノクロ画像領域が存在する場合、画像領域調整手段57は、一方のモノクロ画像領域の終了ラインのY座標と、他方のモノクロ画像領域の開始ラインのY座標から、2つのモノクロ画像領域の間隔を調べ、この間隔が閾値(以下、第6閾値という)以下であるか否かを判定する。   First, the image area adjustment unit 57 refers to the image area information 31 in the RAM 13 and compares the X coordinates of the start points and the X coordinates of the end points of all the monochrome image areas determined to be valid. It is checked whether or not there is a monochrome image area where the coordinates match (however, a shift of about several pixels may be allowed). When there are two monochrome image areas in which the X coordinates of the start point or the end point (end point) coincide with each other, the image area adjustment unit 57 uses the Y coordinate of the end line of one monochrome image area and the other monochrome image area. The interval between the two monochrome image regions is checked from the Y coordinate of the start line, and it is determined whether or not this interval is equal to or less than a threshold value (hereinafter referred to as a sixth threshold value).

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 area adjustment unit 57 compares the widths of the two monochrome image areas in the horizontal direction (line direction), and the image of the monochrome image area having the smaller width is compared. The area information 31 is updated to include a part of the line between the two monochrome image areas. At this time, the image area adjustment unit 57 may update the Y coordinate of the start point of the image area information 31 or the value of the area length. For example, as shown in FIG. 11, the Y coordinate of the start point of the monochrome image region B can be moved upward so as to include a part of the line between the two monochrome image regions.

画像表示装置1の画像処理部40は、PC9からの入力画像に対して上述のモノクロ画像領域の検出処理を終えた後、検出結果である画像領域情報31を参照しながら、カラー用LUT41又はモノクロ用LUT42を用いて入力画像の各画素の画素値を補正する処理を行う。この補正処理において画像処理部40は、検出されたモノクロ画像領域に含まれる画素に対してはモノクロ用LUT42を用いた補正を行い、モノクロ画像領域に含まれない画素に対してはカラー用LUT41を用いた補正を行えばよい。画像処理部40は、補正処理の終了後に、補正した画像の表示を行う。   The image processing unit 40 of the image display device 1 finishes the above-described monochrome image region detection processing on the input image from the PC 9 and then refers to the color region LUT 41 or monochrome image with reference to the image region information 31 that is the detection result. Processing for correcting the pixel value of each pixel of the input image is performed using the LUT 42 for use. In this correction processing, the image processing unit 40 performs correction using the monochrome LUT 42 for pixels included in the detected monochrome image area, and sets the color LUT 41 for pixels not included in the monochrome image area. The correction used may be performed. The image processing unit 40 displays the corrected image after completion of the correction processing.

次にフローチャートを用いて、画像表示装置1が行う処理を説明する。図12及び図13は、画像表示装置1が行うモノクロ画像領域検出処理の手順を示すフローチャートであり、画像表示装置1の画像処理部40によって行われる処理である。画像表示装置1の画像処理部40は、まず、境界伸張手段51により入力画像のライン方向の両側に、2カラム分のカラー画素を追加することで入力画像の境界を伸長する処理を行う(ステップS1)。   Next, processing performed by the image display apparatus 1 will be described using a flowchart. FIGS. 12 and 13 are flowcharts illustrating the procedure of the monochrome image region detection process performed by the image display apparatus 1, and are processes performed by the image processing unit 40 of the image display apparatus 1. First, the image processing unit 40 of the image display device 1 performs a process of extending the boundary of the input image by adding two columns of color pixels to both sides in the line direction of the input image by the boundary extending means 51 (step S1). S1).

次いで画像処理部40は、モノクロライン領域検出手段52のモノクロライン候補検出手段53にて、入力画像の各画素がモノクロ画素であるかカラー画素であるかを判定し、ライン上にモノクロ画素が連続する領域の開始点及び終了点を検出することでモノクロライン領域の候補を検出する処理を行う(ステップS2)。また画像処理部40は、カラーチェック手段55にて、モノクロ画素が連続する領域中に存在するカラー画素の幅が第4閾値以下であるか否かを判定することにより、少数のカラー画素が含まれたモノクロライン領域の候補を検出するカラーチェック処理を行う(ステップS3)。   Next, the image processing unit 40 determines whether each pixel of the input image is a monochrome pixel or a color pixel by the monochrome line candidate detection unit 53 of the monochrome line area detection unit 52, and the monochrome pixels are continuously on the line. A process for detecting a candidate for a monochrome line region is performed by detecting the start point and end point of the region to be performed (step S2). Further, the image processing unit 40 includes a small number of color pixels by determining whether or not the width of the color pixels existing in the region where the monochrome pixels are continuous is equal to or smaller than the fourth threshold by the color check unit 55. A color check process for detecting a candidate for the monochrome line area is performed (step S3).

次いで画像処理部40は、開始終了点チェック手段54にて、検出されたモノクロライン領域の候補の開始点及び終了点と、画像領域情報31に設定されたモノクロ画像領域の開始点及び終了点とを比較し、それぞれの差分が第2閾値及び第3閾値以内であるか否かを判定することにより、モノクロライン領域の候補が有効なモノクロライン領域であるか否か、更にはモノクロ画像領域の開始ライン領域であるか否かを判定する開始終了点チェック処理を行う(ステップS4)。   Next, the image processing unit 40 uses the start / end point check means 54 to detect the start and end points of the detected monochrome line area candidate, and the start and end points of the monochrome image area set in the image area information 31. And whether or not each difference is within the second threshold value and the third threshold value, it is determined whether or not the candidate for the monochrome line region is an effective monochrome line region. A start / end point check process is performed to determine whether or not it is the start line area (step S4).

この開始終了点チェック処理の結果から、画像処理部40は、モノクロライン領域の候補が開始ライン領域であるか否かを判定し(ステップS5)、モノクロライン領域の候補が開始ライン領域であれば(S5:YES)、画像領域情報31に新たなモノクロ画像領域の開始ラインとして開始点及び終了点の座標などの情報を登録し(ステップS7)、ステップS9へ処理を進める。   From the result of the start / end point check process, the image processing unit 40 determines whether or not the monochrome line area candidate is the start line area (step S5), and if the monochrome line area candidate is the start line area. (S5: YES), information such as the coordinates of the start and end points is registered in the image area information 31 as the start line of a new monochrome image area (step S7), and the process proceeds to step S9.

またモノクロライン領域の候補が開始ライン領域でない場合(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 image processing unit 40 determines whether the monochrome line area candidate is a valid monochrome line area (step S6). If the monochrome line area candidate is a valid monochrome line area (S6: YES), the image processing unit 40 updates the length of the area of the image area information 31 related to the corresponding monochrome image area (step S8). ), The process proceeds to step S9, and if the monochrome line area candidate is not a valid monochrome line area (S6: NO), the process proceeds to step S9 without updating the image area information 31.

次いで画像処理部40は、入力画像の1ラインについてステップS2〜S8の処理を終了したか否かを判定し(ステップS9)、1ラインの処理を終了していない場合には(S9:NO)、ステップS2へ処理を戻し、1ラインの処理を終了するまで上記の処理を繰り返し行う。   Next, the image processing unit 40 determines whether or not the processing of steps S2 to S8 has been completed for one line of the input image (step S9), and when the processing of one line has not been completed (S9: NO). The process is returned to step S2, and the above process is repeated until the process for one line is completed.

入力画像の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 image processing unit 40 causes the monochrome image area detecting unit 56 to have a number of effective line areas equal to or greater than the fifth threshold value based on the image area information 31. A monochrome image region detection process is performed in which a region adjacent to the line in the direction orthogonal to the line is detected as a monochrome image region (step S10). As a result of the monochrome image region detection process, the valid flag of the image region information 31 related to the valid monochrome image region is set to 1.

次いで、画像処理部40は、入力画像の全ラインについてステップS2〜S10の処理を終了したか否かを判定し(ステップS11)、全ラインの処理を終了していない場合には(S11:NO)、ステップS2へ処理を戻し、全ラインの処理を終了するまで上述の処理を繰り返し行う。   Next, the image processing unit 40 determines whether or not the processing in steps S2 to S10 has been completed for all lines of the input image (step S11), and if the processing for all lines has not been completed (S11: NO) ), The process is returned to step S2, and the above-described process is repeated until the process for all lines is completed.

入力画像の全ラインの処理を終了した場合(S11:YES)、画像処理部40は、画像領域調整手段57にて、2つのモノクロ画像領域間に存在する第6閾値以下の数のラインについて、このラインの一部分をいずれかのモノクロ画像領域に加える画像領域調整処理を行い(ステップS12)、処理を終了する。   When the processing of all the lines of the input image is completed (S11: YES), the image processing unit 40 uses the image area adjustment unit 57 for the number of lines equal to or less than the sixth threshold existing between the two monochrome image areas. An image area adjustment process for adding a part of the line to any monochrome image area is performed (step S12), and the process ends.

図14は、画像表示装置1が行う画像表示処理の手順を示すフローチャートであり、画像表示装置1の画像処理部40によって行われる処理である。画像表示装置1の画像処理部40は、まず、RAM13から画像領域情報31を読み出して(ステップS21)、モノクロ画像領域の検出結果を取得する。   FIG. 14 is a flowchart illustrating a procedure of image display processing performed by the image display device 1, and is processing performed by the image processing unit 40 of the image display device 1. The image processing unit 40 of the image display device 1 first reads the image area information 31 from the RAM 13 (step S21), and acquires the detection result of the monochrome image area.

次いで、画像処理部40は、PC9から与えられた入力画像の一画素を取得し(ステップS22)、この画素が画像領域情報31のモノクロ画像領域に含まれる画素であるか否かを判定することにより、この画素がモノクロ画素であるか否かを判定する(ステップS23)。この画素がモノクロ画像領域内の画素である場合(S23:YES)、画像処理部40は、モノクロ用LUT42による画素値の補正処理を行って(ステップS24)、ステップS26へ処理を進める。またこの画素がモノクロ画像領域内の画素でない場合(S23:NO)、画像処理部40は、カラー用LUT41による画素値の補正処理を行って(ステップS25)、ステップS26へ処理を進める。   Next, the image processing unit 40 acquires one pixel of the input image given from the PC 9 (step S22), and determines whether or not this pixel is a pixel included in the monochrome image area of the image area information 31. Thus, it is determined whether or not this pixel is a monochrome pixel (step S23). When this pixel is a pixel in the monochrome image area (S23: YES), the image processing unit 40 performs a pixel value correction process using the monochrome LUT 42 (step S24), and proceeds to step S26. If this pixel is not a pixel in the monochrome image area (S23: NO), the image processing unit 40 performs a pixel value correction process using the color LUT 41 (step S25), and proceeds to step S26.

次いで、画像処理部40は、入力画像の全画素について画素値の補正処理を終了したか否かを判定し(ステップS26)、全画素の補正処理を終了していない場合には(S26:NO)、ステップS22へ処理を戻し、上述のステップS22〜S26の処理を繰り返し行う。入力画像の全画素の補正処理を終了した場合(S26:YES)、画像処理部40は、入力画像を液晶パネル19に表示する処理を行って(ステップS27)、処理を終了する。   Next, the image processing unit 40 determines whether or not the pixel value correction processing has been completed for all the pixels of the input image (step S26). If the pixel correction processing has not been completed (S26: NO) ), The process is returned to step S22, and the processes of steps S22 to S26 described above are repeated. When the correction process for all the pixels of the input image is completed (S26: YES), the image processing unit 40 performs a process of displaying the input image on the liquid crystal panel 19 (step S27), and ends the process.

以上の構成の画像表示装置1は、PC9からの入力画像の各画素がモノクロ画素であるか否かを判定し、モノクロライン領域検出手段52が入力画像の各ラインからモノクロ画素で構成されるモノクロライン領域を検出し、モノクロ画像領域検出手段56が複数のモノクロライン領域で構成されるモノクロ画像領域を検出する。これによりモノクロ画素で構成されたモノクロ画像領域を入力画像から検出することができる。またモノクロ画像領域検出手段56により検出された2つのモノクロ画像領域の間に存在する一又は複数のラインについて、モノクロ画像領域の再検出(画像領域調整手段57によるモノクロ画像領域の調整)を行う構成とすることにより、モノクロ画像領域中のカラー画素による文字などの影響で検出されなかったモノクロ画像領域を再検出することができる。検出したモノクロ画像領域に対してはモノクロ用LUT42にて補正を行い、他の領域に対してはカラー用LUT41にて補正を行うことにより、画像表示装置1は、入力画像に含まれるモノクロの画像領域とカラーの画像領域とをそれぞれ最適な表示特性で表示することができる。   The image display device 1 having the above configuration determines whether each pixel of the input image from the PC 9 is a monochrome pixel, and the monochrome line area detection unit 52 is a monochrome pixel configured by monochrome pixels from each line of the input image. The line area is detected, and the monochrome image area detecting means 56 detects a monochrome image area composed of a plurality of monochrome line areas. Thereby, a monochrome image area composed of monochrome pixels can be detected from the input image. Also, a configuration for performing re-detection of the monochrome image area (adjustment of the monochrome image area by the image area adjustment means 57) for one or a plurality of lines existing between the two monochrome image areas detected by the monochrome image area detection means 56 By doing so, it is possible to redetect a monochrome image area that has not been detected due to the influence of characters or the like due to color pixels in the monochrome image area. By correcting the detected monochrome image area with the monochrome LUT 42 and correcting the other areas with the color LUT 41, the image display apparatus 1 can display the monochrome image included in the input image. The area and the color image area can be displayed with optimum display characteristics.

また、モノクロライン候補検出手段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 area adjustment unit 57 adds a part of the line between the two effective image areas to the monochrome image area having the smaller size in the line direction of the two monochrome image areas to form a new monochrome image area. Accordingly, the possibility that inappropriate pixels (color pixels) are added to the monochrome image region can be reduced as compared with the case where a part of the line is added to the monochrome image region having a larger size in the line direction.

また、入力画像からモノクロ画像領域を検出する処理を、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 image display device 1 instead of the PC 9, it is not necessary to install application software for monochrome image area detection on the PC 9 and image display is performed. Appropriate image display can be performed only by the apparatus 1. However, the monochrome image area detection processing may be performed by the PC 9 and the processing result may be supplied from the PC 9 to the image display device 1. Further, the image corrected by the color LUT 41 and the monochrome LUT 42 by the PC 9 is an image. It is good also as a structure input into the display apparatus 1. FIG.

なお、本実施の形態においては、画像表示装置1が入力画像からモノクロの画像領域を検出する処理を行う構成としたが、これに限るものではなく、入力画像からカラーの画像領域を検出する構成としてもよい。また検出対象はモノクロの画像領域又はカラーの画像領域に限らず、例えば赤色単色の画像領域、輝度又は色度等が所定範囲内の画素で構成された画像領域など、その他の特定条件で区別される画像領域であってもよい。   In the present embodiment, the image display device 1 is configured to perform a process of detecting a monochrome image region from the input image. However, the present invention is not limited to this, and a configuration of detecting a color image region from the input image. It is good. In addition, the detection target is not limited to a monochrome image area or a color image area. For example, the detection target is distinguished by other specific conditions, such as a red single color image area, an image area composed of pixels with luminance or chromaticity within a predetermined range, and the like. It may be an image area.

また、モノクロの画像領域の検出及び画素値の補正処理等を画像表示装置1の画像処理部40が行う構成としたが、これに限るものではなく、画像表示装置1の制御部11が行う構成としてもよい。この構成の場合、モノクロ画像領域の検出及び画素値の補正処理等の処理は制御プログラム21(コンピュータプログラム)の一処理として実現され、制御部11が制御プログラム21を実行することによって、図4に示した境界伸張手段51〜画像領域調整手段57がソフトウェア的な機能ブロックとして実現される。更には、これらの処理をPC9にて行い、画像表示装置1はPC9から入力された画像信号を直接的に表示する構成としてもよい。この構成の場合、PC9にはこれらの処理を行うためのコンピュータプログラム(例えばデバイスドライバなどとして)予めインストールされ、PC9がコンピュータプログラムを実行することによって、図4に示した境界伸張手段51〜画像領域調整手段57がPC9にてソフトウェア的な機能ブロックとして実現される。   In addition, although the image processing unit 40 of the image display device 1 performs the detection of the monochrome image region and the pixel value correction processing, the configuration is not limited to this, and the configuration performed by the control unit 11 of the image display device 1. It is good. In the case of this configuration, processing such as monochrome image region detection and pixel value correction processing is realized as one process of the control program 21 (computer program), and the control unit 11 executes the control program 21 so that the processing shown in FIG. The illustrated boundary expansion means 51 to image area adjustment means 57 are realized as software function blocks. Further, these processes may be performed by the PC 9 and the image display device 1 may directly display the image signal input from the PC 9. In the case of this configuration, the PC 9 is preinstalled with a computer program (for example, as a device driver) for performing these processes, and the PC 9 executes the computer program, whereby the boundary extension means 51 to the image area shown in FIG. The adjusting means 57 is realized as a software functional block in the PC 9.

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 Control unit 12 ROM
13 RAM
DESCRIPTION OF SYMBOLS 14 Backlight drive part 15 Liquid crystal drive part 16 Operation part 17 Image input part 18 Backlight 19 Liquid crystal panel 21 Control program 31 Image area information 40 Image processing part (Effective pixel determination means, effective line area detection means, effective image area detection means , Re-detection means)
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.
有効画素が連続するライン上の領域に、所定数以下の有効画素以外の画素が連続する領域が含まれる場合であっても、前記領域を有効ライン領域として検出するようにしてあることEven when a region on a line where effective pixels are continuous includes a region where pixels other than a predetermined number of effective pixels are continuous, the region is detected as an effective line region.
を特徴とする請求項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 .
JP2013010360A 2013-01-23 2013-01-23 Image display device, image region detection method, and computer program Expired - Fee Related JP5486700B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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