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
JP6551252B2 - Image processing apparatus, program and radiation imaging apparatus - Google Patents
[go: Go Back, main page]

JP6551252B2 - Image processing apparatus, program and radiation imaging apparatus - Google Patents

Image processing apparatus, program and radiation imaging apparatus Download PDF

Info

Publication number
JP6551252B2
JP6551252B2 JP2016022725A JP2016022725A JP6551252B2 JP 6551252 B2 JP6551252 B2 JP 6551252B2 JP 2016022725 A JP2016022725 A JP 2016022725A JP 2016022725 A JP2016022725 A JP 2016022725A JP 6551252 B2 JP6551252 B2 JP 6551252B2
Authority
JP
Japan
Prior art keywords
image
lung field
subject
radiation
processing apparatus
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.)
Active
Application number
JP2016022725A
Other languages
Japanese (ja)
Other versions
JP2017140160A (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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP2016022725A priority Critical patent/JP6551252B2/en
Publication of JP2017140160A publication Critical patent/JP2017140160A/en
Application granted granted Critical
Publication of JP6551252B2 publication Critical patent/JP6551252B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)

Description

本発明は、放射線画像の一部の視認性を向上させる画像処理装置、プログラムおよび放射線撮影装置に関する。   The present invention relates to an image processing apparatus, a program, and a radiation imaging apparatus that improve the visibility of a part of a radiation image.

図25は、放射線撮影装置で撮影された放射線画像を示している。この様な放射線画像に写り込む被検体の肺野を観察したい場合、肺野のコントラストを調整して、肺野の視認性を向上させるような画像処理が必要となる。   FIG. 25 shows a radiation image taken by a radiation imaging apparatus. When it is desired to observe the lung field of a subject that is reflected in such a radiation image, it is necessary to adjust the contrast of the lung field to perform image processing to improve the visibility of the lung field.

放射線画像には肺野の他、被検体の骨部など様々な被検体の部分が写り込んでいる。被検体の骨部は、放射線を透過させにくいので放射線画像において暗く写り込む。更に、放射線画像に写り込む被検体の輪郭の外側は、被検体が写り込んでいない部分で、空気が写り込んでいる部分となっている。被検体が写り込んでいない部分は放射線を透過させるものがないので放射線画像において明るく写り込む。放射線画像において肺野は被検体の骨部よりも明るく空気が写り込んでいる部分である被検体の輪郭外よりも暗い。   In addition to the lung field, various portions of the subject such as the bone portion of the subject are reflected in the radiographic image. The bones of the subject appear dark in the radiation image because they are difficult to transmit radiation. Furthermore, the outside of the contour of the subject that is reflected in the radiation image is a portion in which air is reflected in the portion where the object is not reflected. The part where the subject is not reflected is bright in the radiographic image because there is nothing to transmit the radiation. In the radiation image, the lung field is brighter than the bone part of the subject and darker than outside the contour of the subject which is a part where air is reflected.

放射線画像の肺野は全体的に濃淡の乏しいグレーで塗りつぶされたように見える。放射線画像に写り込む肺野に位置する画素は、互いに似通った画素値を有しているからである。   The lung field of the radiographic image appears to be filled with gray with a poor overall density. This is because pixels located in the lung field reflected in the radiation image have similar pixel values.

肺野の視認性を高めようとして放射線画像全体に対してコントラスト調整を行うと、放射線画像に含まれる骨部および空気が写り込んでいる部分も含めてコントラスト調整がなされてしまう。このようなコントラスト調整により放射線画像全体としての視認性は高くなることはあるかもしれないが、肺野に限って見ればさほど視認性の改善が見られない。コントラスト調整後の肺野は全体的に濃淡の乏しいままである。肺野の濃淡を表現しようにも、低い画素値は、被検体の骨部を表現するのに使われるし、高い画素値は、空気が写り込んでいる部分を表現するのに使われ、肺野は残った中庸的な画素値で表現せざるを得ないからである。   If the contrast adjustment is performed on the entire radiation image in order to enhance the visibility of the lung field, the contrast adjustment is performed including the bone part included in the radiation image and the part where air is reflected. Such contrast adjustment may increase the visibility of the radiation image as a whole, but the improvement in visibility can not be seen as much as seen in the lung field. The lung field after contrast adjustment remains poorly light as a whole. In order to express the density of the lung field, low pixel values are used to represent the bones of the subject, and high pixel values are used to represent the portion where air is reflected, and the lungs This is because the field has to be expressed by the remaining moderate pixel values.

したがって、従来から放射線画像における肺野のみにコントラスト調整を行う方法が考え出されている。この方法によれば、肺野をより多様な色調で表現できるので肺野の視認性が確実に高まる。この方法は、放射線画像における肺野を抜き出すトリミングを実行し、肺野を大きく写し込んだトリミング画像に対してコントラスト調整を実行するというものである。トリミング画像には、暗い被検体の骨部や明るい空気が写り込んでいる部分が排除されているので、これら部分の影響を受けることがない。   Therefore, conventionally, a method of performing contrast adjustment only on the lung field in a radiation image has been devised. According to this method, the lung field can be expressed in a variety of colors, so the visibility of the lung field is reliably increased. In this method, trimming for extracting a lung field in a radiographic image is performed, and contrast adjustment is performed for a trimmed image in which the lung field is greatly captured. In the trimmed image, the bone portion of the dark subject and the portion where the bright air is reflected are excluded, so that the trimmed image is not affected by these portions.

図26は、放射線画像からコントラスト調整の対象となる肺野を探し出す肺野探索処理を示している。この肺野探索処理は、被検体画像の画素値の分布に基づいて、放射線画像の中から肺野が写り込んでいる部分を探し出してこの部分を囲む領域を指定するというものである。肺野のみコントラスト調整を行う観点からすると、領域は肺野全域を含みながらもできるだけ狭いものとなっていることが望ましい。肺野探索処理によって探し出された領域がコントラスト調整の対象となるトリミング画像となる(画像処理の一例としては例えば、特許文献1参照)。   FIG. 26 shows a lung field search process for searching for a lung field to be an object of contrast adjustment from a radiation image. In this lung field search process, based on the distribution of pixel values of the object image, a portion where the lung field is reflected is searched out from the radiation image, and a region surrounding this portion is designated. From the viewpoint of performing contrast adjustment only on the lung field, it is desirable that the region be as narrow as possible while including the entire lung field. An area found by the lung field search process is a trimming image to be subjected to the contrast adjustment (see, for example, Patent Document 1 as an example of the image process).

特開2007−300966号公報JP, 2007-300966, A

しかしながら、従来構成のコントラスト調整は、被検体の写り込む向きについて配慮がなされていない。   However, in the contrast adjustment of the conventional configuration, no consideration is given to the direction in which the object appears.

従来構成の肺野探索処理は、被検体の上部が画像の上側に位置する方向で撮影されていることが前提となっている。このような画像には、画像の右側に被検体の右肺が写り込み、左側に被検体の左肺が写り込む。そして、画像における右肺と左肺の下側の領域は肺野ではない。従来の肺野探索処理は、このような写り込み方をした肺野を画像の中から探索する構成となっている。   The lung field search processing of the conventional configuration is premised on that the upper part of the subject is photographed in the direction positioned on the upper side of the image. In such an image, the right lung of the subject is captured on the right side of the image, and the left lung of the subject is captured on the left side. And the area under the right lung and the left lung in the image is not the lung field. The conventional lung field search processing is configured to search for a lung field subjected to such reflection from among images.

図27は、被検体が横向きになって写り込んでいる放射線画像に従来の肺野探索処理を施したときの様子を示している。この放射線画像は、被検体像が横倒しに写り込んでいるので、画像右側に写り込むはずの右肺像が画像上部に現れ、画像左側に写り込むはずの左肺像が画像下部に現れている。このような放射線画像は、小児の被検体を撮影した場合に撮影されることが多いが、通常の撮影でもあり得ないというわけではない。   FIG. 27 shows a state in which a conventional lung field search process is performed on a radiographic image captured with the subject lying sideways. In this radiographic image, the subject image appears sideways, so the right lung image that should appear on the right side of the image appears at the top of the image, and the left lung image that should appear on the left side of the image appears at the bottom of the image . Such a radiation image is often taken when the subject of a child is taken, but this is not necessarily the case even with normal taking.

図27のような放射線画像に肺野探索処理を施すと、画像上部に現れている右肺像を肺野と誤認してしまう現象が起こりえる。右肺像の下側には本来は左肺像があり、本来はこれも肺野に含まなければならないわけであるが、肺野探索処理としては、画像上部において右肺像をなす明るい部分を肺野とし、その下には肺野はないという認識しかできない。したがって、従来構成によれば、右肺像しかコントラスト調整がなされない。このように従来の画像処理では放射線画像によっては正しくコントラスト調整ができないという問題がある。   When a lung field search process is performed on a radiation image as shown in FIG. 27, a phenomenon may occur in which the right lung image appearing at the upper part of the image is misidentified as the lung field. Below the right lung image is the left lung image, which must be included in the lung field, but as a lung field search process, the bright part of the right lung image at the top of the image is displayed. It can only be recognized that there is no lung field below it. Therefore, according to the conventional configuration, only the right lung image is subjected to contrast adjustment. As described above, in the conventional image processing, there is a problem that the contrast adjustment can not be properly performed depending on the radiation image.

本発明は、この様な事情に鑑みてなされたものであって、その目的は、被検体像が放射線画像の中で回転して写り込んでいたとしても、確実に画像に写り込む肺野を探し出し、視認性に優れたコントラスト調整を肺野に対して確実に実行できる画像処理装置を提供することにある。   The present invention has been made in view of such circumstances, and the object of the present invention is to provide a lung field that is surely reflected in an image even if the subject image is rotated and reflected in the radiation image. It is an object of the present invention to provide an image processing apparatus capable of reliably performing contrast adjustment with excellent visibility on a lung field.

本発明は上述の課題を解決するために次のような構成をとる。
すなわち、本発明に係る画像処理装置は、被検体像が写り込んだ放射線画像における肺野に相当する部分に輝度調整を施す画像処理装置において、放射線画像の各画素列に属する画素値を画素列毎に合計または平均することによりプロファイルを生成するプロファイル生成手段と、放射線画像に写り込む被検体像の中心の位置である中心位置を算出する中心位置算出手段と、プロファイルの値が最小となっている位置である最小位置が被検体像中心位置の近傍にある場合に被検体像が放射線画像内で縦向きに写り込んでいるものと判定し、プロファイルの最小位置が中心位置の近傍にない場合に被検体像が放射線画像内で横転しているものと判定する横転判定手段と、判定の結果に基づいて放射線画像に写り込む肺野を探索する肺野探索処理手段を備えることを特徴とするものである。
The present invention has the following configuration in order to solve the above-described problems.
In other words, the image processing apparatus according to the present invention is configured to adjust the luminance of a portion corresponding to a lung field in a radiographic image in which a subject image is captured, and to convert pixel values belonging to each pixel column of the radiographic image into Profile generation means for generating a profile by summing or averaging each time, center position calculation means for calculating the center position of the center of the subject image reflected in the radiation image, and the profile value is minimized If the minimum position is near the center position of the subject image , it is determined that the subject image is reflected vertically in the radiation image, and the minimum position of the profile is not near the center position. lung search processing for searching for the rollover determination means determines that the subject image is overturned in the radiographic image, the lung field visible on captured radiographic image based on the result of the determination in the case It is characterized in that it comprises means.

[作用・効果]本発明によれば、被検体像が放射線画像の中で回転して写り込んでいたとしても、確実に画像に写り込む肺野を探し出し、視認性に優れたコントラスト調整を肺野に対して確実に実行できる画像処理装置を提供することができる。すなわち、放射線画像の各画素列に属する画素値を画素列毎に合計または平均することにより生成されるプロファイルの最小位置が被検体像の中心位置から離れている場合に被検体像が放射線画像内で横転しているものと判定する横転判定手段を備えている。この横転判定手段により放射線画像内に肺野がどのように写り込んでいるか分かった状態で肺野探索ができるので、視認性に優れたコントラスト調整を肺野に対して確実に実行できる。   [Operation / Effect] According to the present invention, even if the subject image is rotated and reflected in the radiation image, the lung field that is surely reflected in the image is found, and contrast adjustment with excellent visibility is performed. An image processing apparatus that can be reliably executed on a field can be provided. That is, when the minimum position of the profile generated by summing or averaging the pixel values belonging to each pixel row of the radiation image for each pixel row is apart from the center position of the object image, the object image is within the radiation image And a rollover judging means for judging that the rollover has occurred. Since it is possible to search for the lung field while knowing how the lung field is reflected in the radiation image by the rollover judging means, it is possible to reliably perform contrast adjustment with excellent visibility on the lung field.

また、上述の画像処理装置において、横転判定手段により横転しているものと判定された放射線画像に対して放射線画像を回転させる回転処理を実行する画像回転手段を備え、肺野探索処理手段が回転処理後の放射線画像に対して肺野の探索を実行すればより望ましい。   In the image processing apparatus described above, the image processing apparatus further includes an image rotation unit that performs rotation processing for rotating the radiation image on the radiation image determined to be overturned by the rollover determination unit, and the lung field search processing unit rotates It is more desirable to perform a lung field search on the processed radiographic image.

[作用・効果]上述の構成は、本発明のより具体的な構成を説明するものである。横転判定手段により横転しているものと判定された放射線画像は、画像回転手段により回転されて肺野の探索に用いられる。したがって、本発明によれば被検体像が放射線画像の中で回転して写り込んでいたとしても被検体像は正しい向きに補正された状態で肺野探索ができる。   [Operation and Effect] The above-described configuration is for describing a more specific configuration of the present invention. The radiation image determined to be overturned by the rollover judging means is rotated by the image rotating means and used for searching for a lung field. Therefore, according to the present invention, even if the subject image rotates and is reflected in the radiation image, the lung field search can be performed with the subject image corrected in the correct direction.

また、上述の画像処理装置において、肺野探索処理手段が横転判定手段により被検体像が放射線画像内で縦向きに写り込んでいるものと判定された放射線画像に対して肺野の探索を実行すればより望ましい。   In the above-described image processing apparatus, the lung field search processing means searches the lung field for the radiation image determined by the rollover judging means to be that the subject image is reflected vertically in the radiation image. More desirable.

[作用・効果]上述の構成は、本発明のより具体的な構成を説明するものである。すなわち、本発明の装置によれば、被検体像が放射線画像の中で縦向きに写り込んでいる場合、画像の回転を経ないで肺野探索処理が実行される。   [Operation and Effect] The above-described configuration is for describing a more specific configuration of the present invention. That is, according to the apparatus of the present invention, when the object image is vertically reflected in the radiation image, the lung field search processing is executed without rotating the image.

また、上述の画像処理装置において、横転判定手段により横転しているものと判定された放射線画像に写り込む像の輪郭を抽出することにより輪郭抽出画像を生成する輪郭抽出手段と、輪郭抽出画像の右側の領域における画素値のバラツキと、左側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する左右判定手段を備え、画像回転手段が左右判定手段の判定結果に従って被検体像の上部が放射線画像の上側に向くよう放射線画像を回転させればより望ましい。   Further, in the above-described image processing apparatus, an outline extraction means for generating an outline extraction image by extracting an outline of an image reflected in a radiation image determined to be lying down by the rollover judgment means; A right / left determination means for comparing the pixel value variation in the right region with the pixel value variation in the left region and determining that the region with the larger variation hits the upper part of the subject image is provided. It is more desirable that the means rotate the radiation image so that the upper part of the object image faces the upper side of the radiation image according to the determination result of the left / right determination means.

[作用・効果]上述の構成は、本発明のより具体的な構成を説明するものである。横転判定手段により横転しているものと判定された放射線画像に対してどちらの向きに被検体像が横転しているかを判定する左右判定手段を備えるようにすれば、確実に被検体像の上部が放射線画像の上側に向くよう放射線画像を回転させることができる。   [Operation and Effect] The above-described configuration is for describing a more specific configuration of the present invention. By providing left / right determination means for determining in which direction the subject image is overturned with respect to the radiation image determined to be overturned by the overturn determination means, the upper part of the subject image can be reliably determined. The radiation image can be rotated so that it faces the top of the radiation image.

また、上述の画像処理装置において、横転判定手段により被検体像が放射線画像内で縦向きに写り込んでいるものと判定された放射線画像に写り込む像の輪郭を抽出することにより輪郭抽出画像を生成する輪郭抽出手段と、輪郭抽出画像の上側の領域における画素値のバラツキと、下側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する上下判定手段を備え、画像回転手段が放射線画像の下側に位置している被検体像の上部が放射線画像の上側に向くように放射線画像を回転させればより望ましい。   Further, in the above-described image processing apparatus, the outline extraction image is extracted by extracting the outline of the image to be reflected in the radiation image determined to be the one in which the subject image is vertically reflected in the radiation image by the rollover judging means. The contour extraction means to be generated, the pixel value variation in the upper region of the contour extraction image, and the pixel value variation in the lower region are compared, and the region with the larger variation hits the upper part of the subject image It is more preferable that the radiation image be rotated so that the upper and lower determination means determine the object and the upper part of the object image on the lower side of the radiation image is directed to the upper side of the radiation image.

[作用・効果]上述の構成は、本発明のより具体的な構成を説明するものである。横転判定手段により被検体像が縦向きに写り込んでいるものと判定された放射線画像に対して被検体が上下ひっくり返しになっているかどうかを判定する上下判定手段を備えるようにすれば、確実に被検体像の上部が放射線画像の上側に向くよう放射線画像を回転させることができる。   [Operation and Effect] The above-described configuration is for describing a more specific configuration of the present invention. As long as the apparatus is provided with upper and lower determination means for determining whether or not the subject is turned upside down with respect to a radiation image determined to be a subject image vertically reflected by the rollover determination means The radiation image can be rotated so that the upper part of the object image faces the upper side of the radiation image.

本発明によれば、被検体像が放射線画像の中で回転して写り込んでいたとしても、確実に画像に写り込む肺野を探し出し、視認性に優れたコントラスト調整を肺野に対して確実に実行できる画像処理装置を提供することができる。すなわち、放射線画像の各画素列に属する画素値を画素列毎に合計または平均することにより生成されるプロファイルの最小位置が被検体像の中心位置から離れている場合に被検体像が放射線画像内で横転しているものと判定する横転判定手段を備えている。この横転判定手段により横転しているものと判定された放射線画像は、画像回転手段により回転されて肺野の探索に用いられる。   According to the present invention, even if the subject image is reflected in the radiation image by rotating, the lung field reliably reflected in the image is searched for, and the contrast adjustment with excellent visibility is assured for the lung field. Can provide an image processing apparatus that can be executed. That is, when the minimum position of the profile generated by summing or averaging the pixel values belonging to each pixel row of the radiation image for each pixel row is apart from the center position of the object image, the object image is within the radiation image And a rollover judging means for judging that the rollover has occurred. The radiation image determined to be overturned by the overturn determination means is rotated by the image rotation means and used for searching for a lung field.

実施例1に係る画像処理装置の動作を大まかに説明する模式図である。FIG. 7 is a schematic view that roughly explains the operation of the image processing apparatus according to the first embodiment; 実施例1に係る画像処理装置における動作上の特徴を説明する模式図である。FIG. 6 is a schematic view for explaining an operational feature of the image processing apparatus according to the first embodiment. 実施例1に係る画像処理装置の構成を説明する機能ブロック図である。FIG. 2 is a functional block diagram for explaining the configuration of the image processing apparatus according to the first embodiment. 実施例1に係るプロファイル生成処理を説明する模式図である。FIG. 6 is a schematic diagram illustrating profile generation processing according to the first embodiment. 実施例1に係るプロファイル生成処理を説明する模式図である。FIG. 6 is a schematic diagram illustrating profile generation processing according to the first embodiment. 実施例1に係るプロファイル生成処理を説明する模式図である。FIG. 6 is a schematic diagram illustrating profile generation processing according to the first embodiment. 実施例1に係るプロファイル生成処理を説明する模式図である。FIG. 7 is a schematic view illustrating a profile generation process according to the first embodiment. 実施例1に係るプロファイルの特徴を説明する模式図である。FIG. 6 is a schematic diagram illustrating characteristics of a profile according to the first embodiment. 実施例1に係るプロファイルの問題点を説明する模式図である。FIG. 6 is a schematic view for explaining problems of the profile according to the first embodiment. 実施例1に係る中心位置算出処理を説明する模式図である。FIG. 7 is a schematic view illustrating center position calculation processing according to the first embodiment; 実施例1に係る中心位置算出処理を説明する模式図である。FIG. 7 is a schematic view illustrating center position calculation processing according to the first embodiment; 実施例1に係る中心位置算出処理を説明する模式図である。FIG. 7 is a schematic view illustrating center position calculation processing according to the first embodiment; 実施例1に係る中心位置とプロファイルとの関係を説明する模式図である。FIG. 6 is a schematic view illustrating the relationship between the center position and the profile according to the first embodiment. 実施例1に係る横転判定処理を説明する模式図である。FIG. 6 is a schematic view illustrating rollover determination processing according to the first embodiment; 実施例1に係る横転判定処理を説明する模式図である。FIG. 6 is a schematic view illustrating rollover determination processing according to the first embodiment; 実施例1に係る画像回転処理を説明する模式図である。FIG. 5 is a schematic diagram illustrating image rotation processing according to the first embodiment. 実施例1に係るプロファイルの問題点を説明する模式図である。FIG. 6 is a schematic view for explaining problems of the profile according to the first embodiment. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 実施例1に係るプロファイルの問題点を説明する模式図である。FIG. 6 is a schematic view for explaining problems of the profile according to the first embodiment. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 実施例1に係る左右判定処理を説明する模式図である。It is a schematic diagram explaining the left-right determination process which concerns on Example 1. FIG. 従来構成の画像処理装置を説明する模式図である。It is a schematic diagram explaining the image processing apparatus of conventional structure. 従来構成の画像処理装置を説明する模式図である。It is a schematic diagram explaining the image processing apparatus of a conventional structure. 従来構成の画像処理装置の問題点を説明する模式図である。It is a schematic diagram explaining the problem of the image processing apparatus of conventional structure.

続いて、本発明に係る実施例について説明する。本発明に係る画像処理装置1は、図1に示すようにX線撮影装置で撮影された被検体の胸部X線画像(元画像P0)を入力すると、元画像P0のどこに肺野が写り込んでいるか認識して肺野領域を設定し、設定した肺野領域に対して色調補正を施した画像を出力する構成となっている。本発明に係る画像処理装置は、被検体像が写り込んだ元画像P0における肺野に相当する部分に輝度調整を施す構成となっている。   Subsequently, an embodiment according to the present invention will be described. When the image processing apparatus 1 according to the present invention inputs a chest X-ray image (original image P0) of a subject imaged by an X-ray imaging apparatus as shown in FIG. 1, the lung field is reflected anywhere in the original image P0. It is configured to recognize the presence or absence of a lung field, to set a lung field, and to output an image subjected to color tone correction to the set lung field. The image processing apparatus according to the present invention is configured to perform luminance adjustment on a portion corresponding to the lung field in the original image P0 in which the subject image is reflected.

本発明は、このような従来的な機能に加えて、図2に示すように被検体像が横転して写り込んでいる元画像P0を入力すると、被検体像の横転を認識して被検体像の向きが元画像P0の向きに合うように元画像P0を回転させる構成となっている。この元画像P0の回転は肺野領域の認識および色調補正の前に行われる。したがって、本発明に係る装置に被検体が横転して写り込んでいる元画像P0を入力すると、元画像P0が90°回転されることにより被検体の横転が補正された後で肺野領域の設定と色調補正がなされることになる。本発明は、この元画像P0を回転させる機能が最も特徴的となっている。   According to the present invention, in addition to such conventional functions, as shown in FIG. 2, when an original image P0 in which an object image is reflected and reflected is inputted, the object image is recognized to be inverted and the object is The original image P0 is rotated so that the orientation of the image matches the orientation of the original image P0. The rotation of the original image P0 is performed prior to lung area recognition and tone correction. Therefore, when the original image P0 in which the subject is rolled up is input to the apparatus according to the present invention, the original image P0 is rotated by 90 ° to correct the rollover of the subject and then the lung field region. Settings and tone corrections will be made. The present invention is most characterized by the function of rotating the original image P0.

図3は、画像処理装置1が行う画像処理の全体を示した機能ブロック図である。図3によれば、プロファイル生成部11,中心位置算出部12,横転判定部13,左右判定部14および画像回転部16が図2で説明した元画像P0を90°回転させる動作を行う。この動作は、図1で説明したような被検体が縦向きに写り込んでいない元画像P0については行われない。   FIG. 3 is a functional block diagram showing the entire image processing performed by the image processing apparatus 1. Referring to FIG. 3, the profile generation unit 11, the center position calculation unit 12, the rollover determination unit 13, the left / right determination unit 14, and the image rotation unit 16 perform an operation of rotating the original image P0 described in FIG. This operation is not performed on the original image P0 in which the subject is not reflected in the vertical direction as described in FIG.

なお、上下判定部15は、被検体が縦向きに写り込んでいる元画像P0のうち被検体像が上下逆さまに写り込んでいるものに対して180°回転させる動作をするときに関する構成である。肺野探索処理部17は、被検体像における肺野が元画像P0上のどこにあるかを探索して、肺野領域を決定する構成である。輝度調整部18は、肺野領域に対してコントラスト調整(色調補正)を実行する構成である。   The upper / lower determination unit 15 is configured to rotate the subject image by 180 ° with respect to an original image P0 in which the object is reflected upside down among the original images P0 in which the object is reflected in the vertical direction. . The lung field search processing unit 17 is configured to search for where the lung field in the subject image is on the original image P0 and to determine the lung field region. The brightness adjustment unit 18 is configured to perform contrast adjustment (color tone correction) on the lung region.

プロファイル生成部11は本発明のプロファイル生成手段に相当し、中心位置算出部12は本発明の中心位置算出手段に相当する。横転判定部13は本発明の横転判定手段に相当し、画像回転部16は本発明の画像回転手段に相当する。肺野探索処理部17は本発明の肺野探索処理手段に相当する。   The profile generator 11 corresponds to the profile generator of the present invention, and the center position calculator 12 corresponds to the center position calculator of the present invention. The rollover judging unit 13 corresponds to the rollover judging unit of the present invention, and the image rotating unit 16 corresponds to the image rotating unit of the present invention. The lung field search processing unit 17 corresponds to the lung field search processing means of the present invention.

本発明に係る装置は、元画像P0に被検体像が縦向きに写り込んでいるのかそれとも横向きに写り込んでいるのかを判別し、その判別結果に従って元画像P0を回転させるかどうかを決定する構成が特徴的である。被検体像の横転の有無をいかにして判別するかについては、プロファイル生成部11,中心位置算出部12,横転判定部13の各部が関係しているのでこれらについて順を追って説明する。   The apparatus according to the present invention determines whether the subject image is reflected vertically or horizontally in the original image P0, and determines whether to rotate the original image P0 according to the determination result. The configuration is characteristic. How to determine the presence or absence of rollover of the object image will be described in order, as the profile generation unit 11, the center position calculation unit 12, and the rollover determination unit 13 are related.

<プロファイル生成部11の動作>
図4は、プロファイル生成部11の動作を示している。プロファイル生成部11は、縦横に画素が配列されて構成される元画像P0のうち、画素1つ分の幅を有する縦方向に画素が配列した注目画素列に属する各画素の画素値を平均して平均値を算出する。図4の説明では、元画像P0における左端の位置X1に係る画素列について平均値Ave(X1)を算出している様子を示している。プロファイル生成部11は、注目画素列を横方向に画素1つ分ずつ右に移動させながら平均値Aveの算出を繰り返し、元画像P0における右端の位置に係る画素列まで算出する。そして、プロファイル生成部11は、図5に示すように、平均値Aveと平均値Aveに係る注目画素列の位置とが関連したプロファイルを生成する。従って、このプロファイルは、元画像P0にとっての横方向に伸びたプロファイルとなる。このように、プロファイル生成部11は、元画像P0の各画素列に属する画素値を画素列毎に合計または平均することによりプロファイルを生成する。
<Operation of Profile Generation Unit 11>
FIG. 4 shows the operation of the profile generation unit 11. The profile generation unit 11 averages the pixel values of each pixel belonging to the target pixel column in which the pixels are arranged in the vertical direction having a width of one pixel in the original image P0 configured by arranging the pixels vertically and horizontally. Calculate the average value. In the description of FIG. 4, the average value Ave (X1) is calculated for the pixel column related to the left end position X1 in the original image P0. The profile generation unit 11 repeatedly calculates the average value Ave while moving the target pixel column to the right by one pixel in the horizontal direction, and calculates up to the pixel column related to the right end position in the original image P0. Then, as illustrated in FIG. 5, the profile generation unit 11 generates a profile in which the average value Ave and the position of the target pixel column related to the average value Ave are associated. Therefore, this profile is a laterally elongated profile for the original image P0. As described above, the profile generation unit 11 generates a profile by summing or averaging the pixel values belonging to each pixel column of the original image P0 for each pixel column.

なお、上述の説明ではプロファイル生成部11は、元画像P0の左端から右端に向けて逐次的に平均値Aveの算出をしていたが、算出の順番はこの手順である必要は無い。この事情は後述の図6,図7においても同様である。   In the above description, the profile generation unit 11 sequentially calculates the average value Ave from the left end to the right end of the original image P0, but the order of calculation does not have to be this procedure. This situation also applies to FIGS. 6 and 7 described later.

図4,図5の説明では元画像P0には被検体像が縦向きに写り込んでいる。ところで、本発明の装置には、図2で説明したような被検体像が横転した元画像P0が入力されることもある。図6は、プロファイル生成部11が被検体像を横倒しに写し込んでいる元画像P0についてプロファイルを生成する様子を示している。元画像P0は、どちらが上に当たるかの定義付けがされているので、プロファイル生成部11は、被検体像が横倒しになった状態のまま、元画像P0における左端の位置X1に係る画素列について平均値Ave(X1)を算出し、注目画素列を横方向に画素1つ分ずつ移動させながら平均値Aveの算出を繰り返す。そして、図7に示すようなプロファイルが生成される。   In the explanation of FIG. 4 and FIG. 5, the object image is reflected vertically in the original image P0. By the way, the original image P0 in which the object image as described in FIG. 2 is turned over may be input to the apparatus of the present invention. FIG. 6 shows how the profile generation unit 11 generates a profile for the original image P0 in which the object image is imprinted sideways. Since the original image P0 is defined as which is the top, the profile generation unit 11 averages the pixel columns related to the left end position X1 in the original image P0 while the subject image is lying sideways. The value Ave (X1) is calculated, and the calculation of the average value Ave is repeated while moving the pixel-of-interest row by one pixel in the horizontal direction. Then, a profile as shown in FIG. 7 is generated.

図8は、被検体像が横転しているかでプロファイルがどのように変化するかを説明している。図8左側は、元画像P0に縦向きの被検体が写り込んでいる場合を示している。この場合のプロファイルは、中央部が凹んでいることが分かる。この凹みは、元画像P0上で明るい左肺に由来する明領域と同じく明るい右肺に由来する明領域とに挟まれた位置にあり、この部分の値は、暗い脊椎に位置する画素の画素値を平均して算出される平均値となっている。   FIG. 8 illustrates how the profile changes depending on whether the subject image is rolled over. The left side of FIG. 8 shows the case where a vertically oriented object is reflected in the original image P0. It can be seen that the profile in this case is concave at the center. This dent is located on the original image P0 between the bright region derived from the bright left lung and the bright region derived from the bright right lung, and the value of this portion is the pixel of the pixel located in the dark spine It is the average value calculated by averaging the values.

一方、図8右側は、元画像P0に被検体が横転して写り込んでいる場合を示している。この場合のプロファイルには、中央部に凹みが現れず、中央部に幅広の1つのまとまった明領域が現れるのみである。元画像P0上の暗い脊椎に位置する画素の画素値がプロファイルに及ぼす影響は、プロファイル全域に亘って分散してしまっており、プロファイルの特定部分に集中していない。したがって、このときのプロファイルで最も低い値となるのは、元画像P0上で明るい肺野が位置しない端部においてである。   On the other hand, the right side of FIG. 8 shows a case in which the subject rolls over in the original image P0. In the profile in this case, no depression appears in the central portion, but only one broad bright region appears in the central portion. The influence of pixel values of pixels located in the dark spine on the original image P0 on the profile is dispersed over the entire profile, and is not concentrated on a specific part of the profile. Therefore, the lowest value in the profile at this time is at the end where the bright lung field is not located on the original image P0.

したがって、プロファイルの最低値がプロファイルの中央に現れる場合は、元画像P0に縦向きの被検体が写り込んでいると言えそうである。そして、プロファイルの最低値がプロファイルの端部に現れる場合は、元画像P0に横転した被検体が写り込んでいると言えそうである。実際に本発明ではこの原理を利用して元画像P0に写り込む被検体の横転の有無を判断している。   Therefore, when the lowest value of the profile appears at the center of the profile, it can be said that the vertically oriented subject is reflected in the original image P0. When the lowest value of the profile appears at the end of the profile, it can be said that the subject that has rolled over is reflected in the original image P0. In practice, the present invention uses this principle to determine the presence or absence of the rollover of the object incorporated in the original image P0.

しかしながら、プロファイルの最低値の位置のみで被検体像が横転しているかどうかを判断すると誤認が生じることがある。図9は、その事情について説明している。被検体像が元画像P0上の端部に偏って写り込んでいる場合、被検体像の中心と元画像P0の中心が離れてしまう。プロファイルは元画像P0全域に亘って生成されることからすれば、プロファイルの最低値がプロファイルの端部に現れることになってしまう。すると、本来は横転していない被検体像を写し込んでいた元画像P0が横転しているものと誤認され、画像が回転されてしまうという事態となる。このような現象は特に乳幼児を撮影した元画像P0上で起こりやすい。   However, misjudgment may occur when it is determined whether or not the subject image rolls over only at the position of the lowest value of the profile. FIG. 9 explains the circumstances. When the object image is reflected to an end on the original image P0, the center of the object image and the center of the original image P0 are separated. If the profile is generated over the entire area of the original image P0, the lowest value of the profile will appear at the end of the profile. As a result, the original image P0, in which the object image that is not originally rolled over, is misidentified as being overturned, and the image is rotated. Such a phenomenon is particularly likely to occur on the original image P0 obtained by photographing an infant.

本発明は、このような誤認を防ぐ目的で元画像P0に写り込む被検体像の中心を算出するようにしている。この動作は、中心位置算出部12が実行する。   The present invention is designed to calculate the center of the object image reflected in the original image P0 for the purpose of preventing such false recognition. The center position calculation unit 12 executes this operation.

<中心位置算出部12の動作>
中心位置算出部12は、元画像P0に写り込む被検体像の中心を算出する構成である。中心位置算出部12は、まず元画像P0にエッジ強調処理を施してエッジ強調画像を生成する。エッジ強調処理は、ソーベルフィルタなどの微分フィルタを元画像P0に施すことで実行される。元画像P0に対して直接被検体像の中心を求めようとすると、被検体像の外部領域に位置する画素の画素値によって結果が異なってしまう。エッジ強調処理を施せば、元画像P0上に写り込んでいる構造物自体を浮き出させることができるので、被検体像の中心を確実に算出できる。
<Operation of Center Position Calculation Unit 12>
The center position calculation unit 12 is configured to calculate the center of the object image reflected in the original image P0. The center position calculation unit 12 first performs edge enhancement processing on the original image P0 to generate an edge enhanced image. The edge enhancement processing is performed by applying a differential filter such as a Sobel filter to the original image P0. If the center of the subject image is directly obtained with respect to the original image P0, the result differs depending on the pixel value of the pixel located in the external region of the subject image. If the edge enhancement processing is performed, the structure itself reflected on the original image P0 can be raised, so that the center of the subject image can be calculated reliably.

図11は、中心位置算出部12が被検体を縦方向に写し込む元画像P0のエッジ強調画像に対して被検体像の重心Gを算出している様子を示している。
重心Gのエッジ強調画像上の座標(Gx,Gy)は、以下のようにして求められる。
Gx=ΣI(x)・x/ΣI(x)
Gy=ΣI(y)・y/ΣI(y)
ここで、xは、エッジ強調画像のある横方向についての位置を表しており、I(x)は、エッジ強調画像の位置xにある画素の画素値を合計した値を意味している。
また、yは、エッジ強調画像のある縦方向についての位置を表しており、I(y)は、エッジ強調画像の位置yにある画素の画素値を合計した値を意味している。なお、本発明においては、重心Gの座標は、横方向についてのみ演算に用いるので、必ずしもGyを算出する必要は無い。しかしながら、説明の便宜上、重心Gの位置を求めたものとして説明を行うことにする。
FIG. 11 shows a state in which the center position calculation unit 12 calculates the center of gravity G of the subject image with respect to the edge-enhanced image of the original image P0 that captures the subject in the vertical direction.
The coordinates (Gx, Gy) on the edge-emphasized image of the center of gravity G are determined as follows.
Gx = ΣI (x) · x / ΣI (x)
Gy = ΣI (y) · y / ΣI (y)
Here, x represents the position of the edge enhanced image in the horizontal direction, and I (x) represents the sum of the pixel values of the pixel at the position x of the edge enhanced image.
Further, y represents the position in the vertical direction of the edge-enhanced image, and I (y) represents the total value of the pixel values at the position y of the edge-enhanced image. In the present invention, the coordinates of the center of gravity G are used for calculation only in the horizontal direction, so it is not always necessary to calculate Gy. However, for convenience of explanation, the description will be made assuming that the position of the center of gravity G is obtained.

図11においては、エッジ強調画像全体に亘って被検体のエッジ強調像が写り込んでいるので、重心Gの位置は、画像の中心付近に現れる。この重心Gの位置は、元画像P0上の被検体像の中心を示している。   In FIG. 11, since the edge-enhanced image of the subject is reflected throughout the edge-enhanced image, the position of the center of gravity G appears near the center of the image. The position of the center of gravity G indicates the center of the object image on the original image P0.

図12は、中心位置算出部12が横倒しの被検体を元画像P0のエッジ強調画像に対して被検体像の重心Gを算出している様子を示している。図12においては、エッジ強調画像全体に亘って被検体のエッジ強調像が写り込んでいるので、重心Gの位置は、画像の中心付近に現れる。この重心Gの位置は、元画像P0上の被検体像の中心を示している。このように中心位置算出部12は、元画像P0に写り込む被検体像の中心の位置である中心位置(重心G)を算出する。   FIG. 12 shows a state in which the center position calculation unit 12 calculates the center of gravity G of the object image with respect to the edge-emphasized image of the original image P0 with the object being turned over. In FIG. 12, since the edge-enhanced image of the subject is reflected over the entire edge-enhanced image, the position of the center of gravity G appears near the center of the image. The position of the center of gravity G indicates the center of the object image on the original image P0. As described above, the center position calculation unit 12 calculates the center position (center of gravity G) which is the position of the center of the subject image reflected in the original image P0.

図13は、重心Gとプロファイルとの関係を表している。図13の左側は、元画像P0が被検体を縦方向に写し込んでいる場合の位置関係を図示するものであり、プロファイルが最小となっている最小点Pが重心Gの位置に近い。図13の右側は、元画像P0が横倒しの被検体を写し込んでいる場合の位置関係を図示するものであり、プロファイルが最小となっている最小点Pが重心Gの位置から離れている。つまり、最小点Pと重心Gとの位置関係を調べれば元画像P0上の被検体が横倒しになっているかどうか知ることができるのである。   FIG. 13 shows the relationship between the center of gravity G and the profile. The left side of FIG. 13 illustrates the positional relationship in the case where the original image P0 vertically imprints the subject, and the minimum point P at which the profile is minimum is close to the position of the center of gravity G. The right side of FIG. 13 illustrates the positional relationship in the case where the original image P <b> 0 projects the object of lying down, and the minimum point P with the smallest profile is apart from the position of the center of gravity G. That is, by examining the positional relationship between the minimum point P and the center of gravity G, it is possible to know whether or not the subject on the original image P0 is lying sideways.

<横転判定部13の動作>
横転判定部13は、このような原理に基づいて被検体像の横転の有無を判定する構成である。横転判定部13には、プロファイル生成部11から元画像P0のプロファイルが送出されるとともに、中心位置算出部12から重心Gの位置を示す座標が送出される。
<Operation of Rollover Judgment Unit 13>
The rollover judging unit 13 is configured to judge the presence or absence of rollover of the object image based on such a principle. A profile of the original image P0 is sent from the profile generation unit 11 to the rollover judging unit 13, and coordinates indicating the position of the center of gravity G are sent from the center position calculation unit 12.

図14は、横転判定部13が実行する横転判定処理について説明している。すなわち、横転判定部13は、図14左側に示すように、プロファイルの最小点Pの横方向における位置を基準として重心Gの横方向における位置が所定の範囲R以内にあるとき、元画像P0上の被検体像は横転しておらず、縦方向に写り込んでいるものと判定する。   FIG. 14 describes the rollover judging process performed by the rollover judging unit 13. That is, as shown on the left side of FIG. 14, the rollover judging unit 13 sets the position of the center of gravity G in the lateral direction within the predetermined range R on the basis of the lateral position of the minimum point P of the profile as shown on the left side of FIG. It is determined that the subject image of (1) is not rolled over, and is reflected in the vertical direction.

また、横転判定部13は、図14右側に示すように、プロファイルの最小点Pの横方向における位置を基準として重心Gの横方向における位置が所定の範囲Rに属しないとき、元画像P0上の被検体像は横転しているものと判定する。   In addition, as shown on the right side of FIG. 14, the rollover judging unit 13 places the original point P 0 on the original image when the lateral position of the center of gravity G does not belong to the predetermined range R with reference to the lateral position of the minimum point P of the profile. It is determined that the subject image of is overturned.

なお、横転判定部13は、最小点Pを基準として重心Gの位置を判断していたが、本発明はこの構成に限られない。重心Gを基準として最小点Pの位置が所定の範囲にあるかどうかで横転の判定を行ってもよい。いずれにせよ、横転判定部13は、プロファイルの値が最小となっている位置である最小点Pが被検体像の中心位置から離れている場合に被検体像が元画像P0内で横転しているものと判定し、プロファイルの最小点Pが中心位置の近傍にある場合に被検体像が元画像P0内で縦向きに写り込んでいるものと判定することになる。   Although the rollover judging unit 13 judges the position of the center of gravity G based on the minimum point P, the present invention is not limited to this configuration. The rollover may be determined based on whether the position of the minimum point P is within a predetermined range with reference to the center of gravity G. In any case, the rollover judging unit 13 turns over the object image in the original image P0 when the minimum point P, which is the position where the value of the profile is the minimum, is away from the center position of the object image. If the minimum point P of the profile is in the vicinity of the center position, it is determined that the object image is reflected vertically in the original image P0.

このようにプロファイルの最小点Pの位置と重心Gとの位置の比較により被検体像の横転の有無を判定すれば、図15に示すように、被検体像が元画像P0上の端部に偏って写り込んでいる場合であっても正しい判定をすることができる。被検体像が元画像P0上の端部に偏って写り込んでいると、被検体像を追従するように重心Gの位置も端部に偏るから、プロファイルの最小点Pが被検体像の中心にあるのかそれとも端部にあるのかを確実に把握することになるからである。   As described above, if the presence or absence of the rollover of the object image is determined by comparing the position of the minimum point P of the profile and the position of the center of gravity G, as shown in FIG. Even in the case of biased reflection, correct determination can be made. When the object image is reflected toward the end on the original image P0, the position of the center of gravity G is also deviated to the end so as to follow the object image, so the minimum point P of the profile is the center of the object image It is because it will be surely grasped whether it is in or at the end.

横転判定部13により元画像P0が横転している判断された場合は、図16に示すように、画像回転処理により元画像P0が90°回転されることにより、元画像P0上の被検体像の向きは、上部(頭部)が画像の上、腹部が画像の下となるように矯正される。このような画像の回転処理は画像回転部16が実行する。画像回転部16は、横転判定部13により横転しているものと判定された元画像P0に対して元画像P0を回転させる回転処理を実行する。   If the rollover judging unit 13 judges that the original image P0 is lying over, as shown in FIG. 16, the original image P0 is rotated by 90 ° by the image rotation process, and thus the object image on the original image P0 Is corrected so that the upper part (head) is above the image and the abdomen is below the image. Such image rotation processing is executed by the image rotation unit 16. The image rotation unit 16 performs rotation processing to rotate the original image P0 with respect to the original image P0 determined to be a rollover by the rollover determination unit 13.

しかし、これだけの動作だと、元画像P0をどちら回りに90°回転させればよいか判断がつかない。横転判定部13で判定可能なのは、元画像P0上の被検体像が横転しているかどうかという点である。元画像P0を右回りに90°回転させると被検体像の上部が画像の上となるのか、それとも左回りに90°回転させると被検体像の上部が画像の上となるのか区別できるというものではない。図17はこの様な事情を説明している。図17は、被検体像が左向きに横倒しとなっている元画像P0を示しており、図8右側における被検体像が反対を向いたような画像となっている。図17の元画像P0に基づいてプロファイル生成部11が生成するプロファイルは、図8右側の被検体像に係るプロファイルと同様なものとなっている。従って、プロファイルに基づいて被検体像の上部が画像の左右どちらの向きに対応するのかを判定するのは難しい。   However, with this operation, it is impossible to determine which direction the original image P0 should be rotated by 90 °. The rollover determination unit 13 can determine whether or not the subject image on the original image P0 is rollover. If the original image P0 is rotated 90 ° clockwise, it can be distinguished whether the upper part of the subject image is on the image or if it is rotated 90 ° counterclockwise, the upper part of the subject image is on the image. is not. FIG. 17 illustrates such a situation. FIG. 17 shows an original image P0 in which the subject image is turned to the left and to the left, and is an image in which the subject image on the right side of FIG. 8 is turned in the opposite direction. The profile generated by the profile generation unit 11 based on the original image P0 of FIG. 17 is similar to the profile of the object image on the right side of FIG. Therefore, it is difficult to determine whether the upper part of the subject image corresponds to the left or right direction of the image based on the profile.

そこで、本発明に係る装置は被検体像が右向きに横倒しとなっているのかそれとも左向きに横倒しとなっているのかを判定するような構成を備えている。この判定は、左右判定部14が実行する。   Therefore, the apparatus according to the present invention is configured to determine whether the object image is turned to the right or to the left. This determination is performed by the left / right determination unit 14.

<左右判定部14の動作>
左右判定部14は、横転判定部13の判定結果が送出される。元画像P0が横転しているものと判定された場合、左右判定部14は、図18に示すように、まず元画像P0にエッジ強調処理を施してエッジ強調画像を生成する。エッジ強調処理はラプラシアンフィルタなどのフィルタを元画像P0に施すことで実行される。このとき生成されたエッジ強調画像を図10で説明した画像と区別して左右判定用画像と呼ぶことにする。
<Operation of left / right determination unit 14>
The left / right determination unit 14 sends the determination result of the rollover determination unit 13. When it is determined that the original image P0 is rollover, the left / right determination unit 14 first performs edge enhancement processing on the original image P0 to generate an edge enhanced image, as shown in FIG. The edge enhancement processing is performed by applying a filter such as a Laplacian filter to the original image P0. The edge-enhanced image generated at this time is referred to as a left / right determination image in distinction from the image described in FIG.

左右判定部14は、左右判定用画像上で画像の右半分に当たる領域である右領域と画像の左半分に当たる左領域の2つの領域を設定する。すなわち、左右判別用画像を縦に2等分することで右領域および左領域が設定される。そして、左右判定部14は、右領域に属する画素の画素値の標準偏差σ(L)と左領域に属する画素の画素値の標準偏差σ(R)とを算出する。   The left / right determination unit 14 sets two regions of a right region, which is a region corresponding to the right half of the image on the left / right determination image, and a left region, which corresponds to the left half of the image. That is, the right area and the left area are set by vertically dividing the left and right discrimination image into two equal parts. Then, the left / right determination unit 14 calculates the standard deviation σ (L) of the pixel values of the pixels belonging to the right area and the standard deviation σ (R) of the pixel values of the pixels belonging to the left area.

図19は、上部(頭部)が画像の右側に来るように横倒しとなった被検体像を写し込んだ元画像P0に係る左右判定用画像を表している。この画像から算出される標準偏差σ(R)は、標準偏差σ(L)よりも大きくなる。被検体の肺野は、画像の右側に偏っているからである。被検体の肺は、低密度ありX線を通しやすい。肺は、肋骨によって保護されている。肋骨は骨なので高密度でありX線を通しにくい。したがって、元画像P0上の肺野は暗い部分と明るい部分がストライプ状に並んだような像となっている。このような元画像P0にエッジ強調処理をすると、得られた左右判定用画像の肺野に位置する画素の画素値のバラツキは大きくなり、肺野以外の部分では小さくなる。被検体の肺野が画像の右側に偏っていると、右領域に属する画素の画素値のバラツキを示す標準偏差σ(R)は大きくなり、左領域に属する画素の画素値のバラツキを示す標準偏差σ(L)は小さくなる。肺野の大部分は被検体像の上部に偏っているはずであるから、元画像P0の右領域が被検体像の上部に当たるということになる。左右判定部14は、このような原理に基づいて標準偏差σ(R)が標準偏差σ(L)よりも大きい場合、上部が画像の右側となるように被検体像が元画像P0上で横倒しとなっているものと判定する。   FIG. 19 shows an image for left / right determination according to an original image P0 in which a subject image in which the upper part (head) is turned to the right side of the image is copied. The standard deviation σ (R) calculated from this image is larger than the standard deviation σ (L). This is because the lung field of the subject is biased to the right of the image. The subject's lungs are low density and easy to pass x-rays. The lungs are protected by ribs. Since the ribs are bones, they are dense and hard to pass X-rays. Therefore, the lung field on the original image P0 is an image in which dark and bright portions are arranged in a stripe. When edge enhancement processing is performed on such an original image P0, variation in pixel values of pixels located in the lung field of the obtained left and right determination image becomes large, and becomes small in portions other than the lung field. When the lung field of the subject is biased to the right side of the image, the standard deviation σ (R) indicating the variation in the pixel value of the pixel belonging to the right region increases, and the standard indicating the variation in the pixel value of the pixel belonging to the left region. The deviation σ (L) becomes smaller. Since most of the lung field should be biased to the upper part of the subject image, the right region of the original image P0 is to hit the upper part of the subject image. If the standard deviation σ (R) is larger than the standard deviation σ (L) based on such a principle, the left / right determination unit 14 turns over the object image on the original image P0 so that the upper part is on the right side of the image. It is determined that

図20は、上部が画像の左側に来るように横倒しとなった被検体像を写し込んだ元画像P0に係る左右判定用画像を表している。この画像から算出される標準偏差σ(L)は、標準偏差σ(R)よりも大きくなる。被検体の肺野は、画像の左側に偏っているからである。肺野の大部分は被検体像の上部に偏っているはずであるから、元画像P0の左領域が被検体像の上部に当たるということになる。左右判定部14は、このような原理に基づいて標準偏差σ(L)が標準偏差σ(R)よりも大きい場合、上部が画像の左側となるように被検体像が元画像P0上で横倒しとなっているものと判定する。   FIG. 20 shows a left / right determination image related to the original image P0 in which the subject image that has been laid down so that the upper part is on the left side of the image is captured. The standard deviation σ (L) calculated from this image is larger than the standard deviation σ (R). This is because the lung field of the subject is biased to the left of the image. Since most of the lung field should be biased to the upper part of the subject image, the left region of the original image P0 is to hit the upper part of the subject image. If the standard deviation σ (L) is larger than the standard deviation σ (R) based on such a principle, the left / right determination unit 14 turns over the object image on the original image P0 so that the upper part is on the left side of the image. It is determined that

このように、左右判定部14は、横転判定部13により横転しているものと判定された元画像P0に写り込む像の輪郭を抽出することにより生成された左右判定用画像の右側の領域における画素値のバラツキと、左側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する。   As described above, the left / right determining unit 14 detects the outline of the image to be captured in the original image P0 that is determined to be falling over by the rollover determining unit 13 in the right region of the left / right determination image. By comparing the variation of the pixel values with the variation of the pixel values in the left region, it is determined that the region having the larger variation corresponds to the upper part of the object image.

左右判定部14の判定結果は、画像回転部16に送出される。画像回転部16は、判定結果に基づいて被検体像の上側が画像の上に来るように元画像P0を回転させる。画像回転部16は、左右判定部14の判定結果に従って被検体像の上部が元画像P0の上側に向くよう元画像P0を回転させることになる。   The determination result of the left / right determination unit 14 is sent to the image rotation unit 16. The image rotation unit 16 rotates the original image P0 based on the determination result so that the upper side of the subject image is on the image. The image rotation unit 16 rotates the original image P0 according to the determination result of the left / right determination unit 14 so that the upper part of the subject image faces the upper side of the original image P0.

ところで、横転判定部13が被検体像の横転を検出しなかったからといって、被検体像の向きが診断に適したものとなるとは限らない。図21は、この事情を説明している。図21は、被検体像が上下ひっくり返しとなっている元画像P0を示しており、図8右側における被検体像が反対を向いたような画像となっている。図21の元画像P0に基づいてプロファイル生成部11が生成するプロファイルは、図8左側の被検体像に係るプロファイルと同様なものとなっている。横転判定部13では、元画像P0上の被検体像が上下ひっくり返しとなっているかどうか判定することは難しい。   By the way, just because the rollover judging unit 13 does not detect rollover of the subject image, the direction of the subject image is not necessarily suitable for diagnosis. FIG. 21 explains this situation. FIG. 21 shows an original image P0 in which the subject image is turned upside down, and is an image in which the subject image on the right side of FIG. 8 is turned in the opposite direction. The profile generated by the profile generation unit 11 based on the original image P0 of FIG. 21 is the same as the profile of the object image on the left side of FIG. In the rollover judging unit 13, it is difficult to judge whether the object image on the original image P0 is turned upside down.

そこで、本発明に係る装置は被検体像の上側が画像の上向きとなっているのかそれとも被検体像の上側が画像の下向きとなっているのかを判定するような構成を備えている。この判定は、上下判定部15が実行する。   Therefore, the apparatus according to the present invention is configured to determine whether the upper side of the object image is upward of the image or the upper side of the object image is downward of the image. This determination is performed by the upper / lower determination unit 15.

<上下判定部15の動作>
上下判定部15は、横転判定部13の判定結果が送出される。元画像P0が被検体像を縦向きに写し込んでいるものと判定された場合、上下判定部15は、図22に示すように、まず元画像P0にエッジ強調処理を施してエッジ強調画像を生成する。エッジ強調処理はラプラシアンフィルタなどのフィルタを元画像P0に施すことで実行される。このとき生成されたエッジ強調画像を図10で説明した画像と区別して上下判定用画像と呼ぶことにする。
<Operation of Upper and Lower Judgment Unit 15>
The up / down determination unit 15 sends the determination result of the rollover determination unit 13. If it is determined that the original image P0 has the object image vertically transferred, the upper / lower determination unit 15 first performs edge enhancement processing on the original image P0 to generate an edge-emphasized image, as shown in FIG. Generate The edge enhancement processing is performed by applying a filter such as a Laplacian filter to the original image P0. The edge-enhanced image generated at this time is referred to as an up / down determination image in distinction from the image described in FIG.

上下判定部15は、上下判定用画像上で画像の上半分に当たる領域である上領域と画像の下半分に当たる下領域の2つの領域を設定する。すなわち、上下判別用画像を横に2等分することで上領域および下領域が設定される。そして、上下判定部15は、上領域に属する画素の画素値の標準偏差σ(a)と下領域に属する画素の画素値の標準偏差σ(b)とを算出する。   The up / down determination unit 15 sets two areas, an upper area that corresponds to the upper half of the image and a lower area that corresponds to the lower half of the image on the upper / lower determination image. That is, the upper area and the lower area are set by dividing the upper and lower discrimination image horizontally into two. Then, the upper / lower determination unit 15 calculates the standard deviation σ (a) of the pixel values of the pixels belonging to the upper area and the standard deviation σ (b) of the pixel values of the pixels belonging to the lower area.

図23は、上部が画像の下側に来るようにひっくり返しとなった被検体像を写し込んだ元画像P0に係る上下判定用画像を表している。この画像から算出される標準偏差σ(b)は、標準偏差σ(a)よりも大きくなる。被検体の肺野は、画像の下側に偏っているからである。肺野の大部分は被検体像の上部に偏っているはずであるから、元画像P0の下領域が被検体像の上部に当たるということになる。上下判定部15は、このような原理に基づいて標準偏差σ(b)が標準偏差σ(a)よりも大きい場合、上部が画像の下側となるように被検体像が元画像P0上でひっくり返しとなっているものと判定する。   FIG. 23 shows the upper / lower determination image according to the original image P0 in which the object image turned upside down so that the upper part is below the image is copied. The standard deviation σ (b) calculated from this image is larger than the standard deviation σ (a). This is because the lung field of the subject is biased to the lower side of the image. Since the majority of the lung field should be biased to the upper part of the subject image, the lower region of the original image P0 is the upper part of the subject image. When the standard deviation σ (b) is larger than the standard deviation σ (a) based on such a principle, the upper / lower determination unit 15 sets the object image on the original image P0 so that the upper part is on the lower side of the image. It is determined that it has been turned over.

図24は、上部が画像の上側に来るように被検体像を写し込んだ元画像P0に係る上下判定用画像を表している。この画像から算出される標準偏差σ(a)は、標準偏差σ(b)よりも大きくなる。被検体の肺野は、画像の上側に偏っているからである。肺野の大部分は被検体像の上部に偏っているはずであるから、元画像P0の上領域が被検体像の上部に当たるということになる。上下判定部15は、このような原理に基づいて標準偏差σ(a)が標準偏差σ(b)よりも大きい場合、上部が画像の上側となるように被検体像が元画像P0上で写り込んでいるものと判定する。   FIG. 24 shows the upper / lower determination image according to the original image P0 in which the object image is captured so that the upper part is on the upper side of the image. The standard deviation σ (a) calculated from this image is larger than the standard deviation σ (b). This is because the lung field of the subject is biased to the upper side of the image. Since most of the lung field should be biased to the upper part of the subject image, the upper region of the original image P0 is to be hit on the upper part of the subject image. When the standard deviation σ (a) is larger than the standard deviation σ (b) based on such a principle, the upper / lower determination unit 15 reflects the object image on the original image P0 so that the upper part is on the upper side of the image. It is determined that it is crowded.

このように、上下判定部15は、横転判定部13により被検体像が元画像P0内で縦向きに写り込んでいるものと判定された元画像P0に写り込む像の輪郭を抽出することにより生成された上下判定用画像の上側の領域における画素値のバラツキと、下側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する。   As described above, the up / down determination unit 15 extracts the contour of the image reflected in the original image P0 determined by the rollover determination unit 13 that the subject image is reflected vertically in the original image P0. Compare the variation of the pixel value in the upper area of the generated image for vertical determination with the variation of the pixel value in the lower area, and determine that the area with the larger variation corresponds to the upper part of the subject image. Do.

上下判定部15の判定結果は、画像回転部16に送出される。画像回転部16は、上部が画像の下側に来るようにひっくり返しとなった被検体像を写し込んだ元画像P0を180°回転させる。また、画像回転部16は、上部が画像の上側に来るように被検体像が元画像P0上で写り込んでいる元画像P0については回転操作をしない。すなわち、画像回転部16は、元画像P0の下側に位置している被検体像の上部が元画像P0の上側に向くように元画像P0を回転させる。   The determination result of the upper / lower determination unit 15 is sent to the image rotation unit 16. The image rotation unit 16 rotates the original image P0 that includes the subject image turned upside down so that the upper part is on the lower side of the image by 180 °. Further, the image rotation unit 16 does not rotate the original image P0 in which the object image is captured on the original image P0 so that the upper part is on the upper side of the image. That is, the image rotation unit 16 rotates the original image P0 so that the upper part of the object image located below the original image P0 faces the upper side of the original image P0.

肺野探索処理部17には、画像回転部16より元画像P0が送出される。この元画像P0は、回転処理後の画像であるので、上部が画像の上側に来るように被検体像が写り込んでいるものとなる。肺野探索処理部17は、元画像P0上から肺野を探索する。このときの肺野の探索方法は、被検体像の上側が元画像P0の上側となるように写り込んでいることが前提となる。すなわち、肺野探索処理部17は、元画像P0の上部において被検体の頸部を探索してその下側に肺野が存在するものとして動作したり、元画像P0の左端に左肺の端が、右端に右肺の端が存在するものとして動作したり、元画像P0の下側には、左肺または右肺の端部が位置しているものとして動作する。元画像P0には上部が画像の上側に来るように被検体像が写り込んでいるので、肺野探索処理部17は誤認をすることなく確実に肺野の探索を行うことができる。肺野探索処理部17は、回転処理後の元画像P0に写り込む肺野を探索する。肺野探索処理部17は、横転判定部13により被検体像が元画像P0内で縦向きに写り込んでいるものと判定された元画像P0に対して肺野の探索を実行する。   The original image P 0 is sent from the image rotation unit 16 to the lung field search processing unit 17. Since this original image P0 is an image after the rotation processing, the object image is reflected so that the upper part is on the upper side of the image. The lung field search processing unit 17 searches for a lung field from the original image P0. The lung field search method at this time is based on the premise that the upper side of the subject image is reflected on the upper side of the original image P0. That is, the lung field search processing unit 17 searches for the neck of the subject in the upper part of the original image P0 and operates as if a lung field exists below it, or the left end of the left lung at the left end of the original image P0. However, it operates as if the end of the right lung exists at the right end, or operates as if the end of the left lung or the right lung is located below the original image P0. Since the subject image is reflected in the original image P0 so that the upper part is on the upper side of the image, the lung field search processing unit 17 can reliably search for the lung field without misidentification. The lung field search processing unit 17 searches for a lung field to be captured in the original image P0 after rotation processing. The lung field search processing unit 17 executes a lung field search on the original image P0 determined by the rollover judging unit 13 that the subject image is reflected vertically in the original image P0.

輝度調整部18には、肺野探索処理部17が探索した肺野領域が元画像P0のどこに相当するかを示すデータが送出される。輝度調整部18は、肺野領域について色調補正を施して、肺野の視認性を向上させる。輝度調整部18は、色調補正後の肺野領域を抜き出して独立した画像にするトリミング処理を行ってトリミング画像を生成するようにしてもよい。このような動作を経て本発明の装置の動作は完了となる。   Data indicating where the lung field region searched by the lung field search processing unit 17 corresponds to the original image P0 is sent to the luminance adjustment unit 18. The brightness adjustment unit 18 performs color tone correction on the lung field region to improve the visibility of the lung field. The brightness adjusting unit 18 may generate a trimmed image by performing a trimming process that extracts the lung field region after the color correction and makes an independent image. The operation of the device of the present invention is completed through such an operation.

以上のように、本発明によれば、被検体像が元画像P0の中で回転して写り込んでいたとしても、確実に画像に写り込む肺野を探し出し、視認性に優れたコントラスト調整を肺野に対して確実に実行できる画像処理装置1を提供することができる。すなわち、元画像P0の各画素列に属する画素値を画素列毎に合計または平均することにより生成されるプロファイルの最小点Pが被検体像の中心位置から離れている場合に被検体像が元画像P0内で横転しているものと判定する横転判定部13を備えている。この横転判定部13により横転しているものと判定された元画像P0は、画像回転部16により回転されて肺野の探索に用いられる。したがって、本発明によれば被検体像が元画像P0の中で回転して写り込んでいたとしても被検体像は正しい向きに補正された状態で肺野探索ができるので、視認性に優れたコントラスト調整を肺野に対して確実に実行できる。   As described above, according to the present invention, even if the subject image is rotated and reflected in the original image P0, the lung field that is surely reflected in the image is found, and contrast adjustment with excellent visibility is performed. It is possible to provide the image processing apparatus 1 that can be reliably executed on the lung field. That is, when the minimum point P of the profile generated by summing or averaging pixel values belonging to each pixel row of original image P0 for each pixel row is apart from the center position of the object image, the object image is the original A rollover judging unit 13 is provided that determines that the image P0 is a rollover. The original image P0 determined to be rollover by the rollover judging unit 13 is rotated by the image rotating unit 16 and used for searching the lung field. Therefore, according to the present invention, even if the subject image is rotated and reflected in the original image P0, the subject image can be searched for the lung field in a state in which the subject image is corrected in the correct direction, so that the visibility is excellent. Contrast adjustment can be reliably performed on the lung field.

本発明は、上述の実施形態に限られず、下記のような変形実施が可能である。   The present invention is not limited to the above-described embodiment, and the following modified embodiments are possible.

(1)本発明は、上述の画像処理装置1が搭載された放射線撮影装置についても適用することができる。   (1) The present invention can also be applied to a radiation imaging apparatus on which the above-described image processing apparatus 1 is mounted.

(2)本発明に係る画像処理装置1は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   (2) The image processing apparatus 1 according to the present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

(3)上述の実施例によれば、プロファイル生成部11は、元画像P0を構成する各画素列について平均値を算出することでプロファイルを生成する構成となっていたが、本発明はこの構成に限られない。プロファイル生成部11が画素列に属する画素の画素値を合計する動作を繰り返し、算出された合計値を画素列の位置に従って配列することでプロファイルを生成してもよい。   (3) According to the above-described embodiment, the profile generation unit 11 is configured to generate a profile by calculating an average value for each pixel row constituting the original image P0, but the present invention It is not limited to. The profile generation unit 11 may repeat the operation of summing the pixel values of the pixels belonging to the pixel column, and generate the profile by arranging the calculated total value according to the position of the pixel column.

(4)上述の実施例によれば、左右判別部14および上下判別部15は標準偏差を算出することにより画素値のバラツキを算出していたが、本発明はこの構成に限られない。左右判別部14および上下判別部15が標準偏差以外のバラツキを示す指標を算出することにより動作してもよい。   (4) According to the above embodiment, the left / right discrimination unit 14 and the upper / lower discrimination unit 15 calculate the variation of the pixel value by calculating the standard deviation, but the present invention is not limited to this configuration. The left / right determination unit 14 and the up / down determination unit 15 may operate by calculating an index indicating variation other than the standard deviation.

(5)上述の実施例によれば、左右判別部14は、左右判別用画像を縦に2等分することで右領域および左領域を設定していたが、本発明はこの構成に限られない。右領域および左領域を合わせても左右判別用画像の全域にならないように各領域を設定することもできる。また、右領域および左領域の幅を違えるようにしてもよい。   (5) According to the above-described embodiment, the left / right determination unit 14 sets the right region and the left region by vertically dividing the left / right determination image into two equal parts, but the present invention is limited to this configuration. Absent. Each area can be set so that the right and left areas do not cover the entire left / right discrimination image. Also, the widths of the right area and the left area may be made different.

(6)上述の実施例によれば、上下判別部15は、上下判別用画像を横に2等分することで上領域および下領域を設定していたが、本発明はこの構成に限られない。上領域および下領域を合わせても上下判別用画像の全域にならないように各領域を設定することもできる。また、上領域および下領域の幅を違えるようにしてもよい。   (6) According to the above-described embodiment, the upper / lower determination unit 15 sets the upper region and the lower region by dividing the upper / lower determination image into two equal parts, but the present invention is limited to this configuration. Absent. It is also possible to set each area so that the upper and lower areas do not cover the entire upper / lower discrimination image. Further, the widths of the upper region and the lower region may be different.

11 プロファイル生成部(プロファイル生成手段)
12 中心位置算出部(中心位置算出手段)
13 横転判定部(横転判定手段)
16 画像回転部(画像回転手段)
17 肺野探索処理部(肺野探索処理手段)
11 Profile Generator (Profile Generator)
12 Center position calculation unit (center position calculation means)
13 Rollover judgment unit (rollover judgment unit)
16 Image rotating unit (image rotating means)
17 Lung field search processing unit (Lung field search processing means)

Claims (7)

被検体像が写り込んだ放射線画像における肺野に相当する部分に輝度調整を施す画像処理装置において、
放射線画像の各画素列に属する画素値を画素列毎に合計または平均することによりプロファイルを生成するプロファイル生成手段と、
前記放射線画像に写り込む被検体像の中心の位置である中心位置を算出する中心位置算出手段と、
前記プロファイルの値が最小となっている位置である最小位置が被検体像の前記中心位置の近傍にある場合に被検体像が前記放射線画像内で縦向きに写り込んでいるものと判定し、前記プロファイルの前記最小位置が前記中心位置の近傍にない場合に被検体像が前記放射線画像内で横転しているものと判定する横転判定手段と、
前記判定の結果に基づいて前記放射線画像に写り込む肺野を探索する肺野探索処理手段を備えることを特徴とする画像処理装置。
An image processing apparatus for performing a brightness adjustment in a portion corresponding to lung field in ray image release the subject image is fancy-through,
Profile generation means for generating a profile by summing or averaging pixel values belonging to each pixel row of a radiation image for each pixel row;
Center position calculating means for calculating a center position which is a position of a center of an object image reflected in the radiation image;
Determines that minimum position value of the profile is a position that is the minimum is crowded-through vertically by the subject image within the radiographic image when in the vicinity of the front Symbol central position of the object image Rollover judging means for judging that the object image is rollover in the radiation image when the minimum position of the profile is not in the vicinity of the central position ;
An image processing apparatus comprising: lung field search processing means for searching for a lung field to be captured in the radiation image based on a result of the determination.
請求項1に記載の画像処理装置において、
前記横転判定手段により横転しているものと判定された前記放射線画像に対して前記放射線画像を回転させる回転処理を実行する画像回転手段を備え、
前記肺野探索処理手段が回転処理後の前記放射線画像に対して肺野の探索を実行することを特徴とする画像処理装置。
In the image processing apparatus according to claim 1,
An image rotation unit configured to execute rotation processing for rotating the radiation image with respect to the radiation image determined to be rolled over by the rollover determination unit;
An image processing apparatus characterized in that the lung field search processing means searches for a lung field on the radiation image after rotation processing.
請求項1に記載の画像処理装置において、
前記肺野探索処理手段が前記横転判定手段により被検体像が前記放射線画像内で縦向きに写り込んでいるものと判定された前記放射線画像に対して肺野の探索を実行することを特徴とする画像処理装置。
In the image processing apparatus according to claim 1,
The lung field search processing means executes a lung field search on the radiation image which is determined by the rollover judging means that the subject image is vertically reflected in the radiation image. Image processing device.
請求項2に記載の画像処理装置において、
前記横転判定手段により横転しているものと判定された前記放射線画像に写り込む像の輪郭を抽出することにより生成された輪郭抽出画像の右側の領域における画素値のバラツキと、左側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する左右判定手段を備え、
前記画像回転手段が前記左右判定手段の判定結果に従って被検体像の上部が前記放射線画像の上側に向くよう前記放射線画像を回転させることを特徴とする画像処理装置。
In the image processing apparatus according to claim 2,
Variation of pixel values in the area on the right side of the outline extraction image generated by extracting the outline of the image reflected on the radiation image determined to be lying down by the rollover judging means, and pixels in the area on the left side Comparing with the variation in value, it comprises a left / right determination means for determining that the region on which the variation is larger corresponds to the upper part of the subject image,
An image processing apparatus, wherein the image rotation unit rotates the radiographic image according to a determination result of the left / right determination unit so that an upper portion of the subject image is directed upward of the radiographic image.
請求項2に記載の画像処理装置において、
前記横転判定手段により被検体像が放射線画像内で縦向きに写り込んでいるものと判定された前記放射線画像に写り込む像の輪郭を抽出することにより生成された輪郭抽出画像の上側の領域における画素値のバラツキと、下側の領域における画素値のバラツキとを比較して、よりバラツキが大きい側の領域が被検体像の上部に当たるものと判定する上下判定手段を備え、
前記画像回転手段が前記放射線画像の下側に位置している被検体像の上部が前記放射線画像の上側に向くように前記放射線画像を回転させることを特徴とする画像処理装置。
In the image processing apparatus according to claim 2,
In the upper region of the contour extraction image generated by extracting the contour of the image reflected in the radiation image in which the object image is determined to be reflected vertically in the radiation image by the rollover judging means An upper / lower determination unit configured to compare the variation of the pixel value with the variation of the pixel value in the lower region and determine that the region having the larger variation corresponds to the upper portion of the object image;
An image processing apparatus, wherein the image rotation unit rotates the radiographic image so that an upper portion of a subject image positioned on the lower side of the radiographic image faces an upper side of the radiographic image.
コンピュータに請求項1ないし請求項5のいずれかに記載の画像処理装置の各手段として機能させるプログラム。   A program causing a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 5. 請求項1ないし請求項5のいずれかに記載の画像処理装置を備えることを特徴とする放射線撮影装置。
A radiation imaging apparatus comprising the image processing apparatus according to any one of claims 1 to 5.
JP2016022725A 2016-02-09 2016-02-09 Image processing apparatus, program and radiation imaging apparatus Active JP6551252B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016022725A JP6551252B2 (en) 2016-02-09 2016-02-09 Image processing apparatus, program and radiation imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016022725A JP6551252B2 (en) 2016-02-09 2016-02-09 Image processing apparatus, program and radiation imaging apparatus

Publications (2)

Publication Number Publication Date
JP2017140160A JP2017140160A (en) 2017-08-17
JP6551252B2 true JP6551252B2 (en) 2019-07-31

Family

ID=59628937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016022725A Active JP6551252B2 (en) 2016-02-09 2016-02-09 Image processing apparatus, program and radiation imaging apparatus

Country Status (1)

Country Link
JP (1) JP6551252B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0677569B2 (en) * 1987-03-24 1994-10-05 富士写真フイルム株式会社 Image rollover determination method
JP2000157519A (en) * 1998-11-25 2000-06-13 Konica Corp Image processor
US20050033139A1 (en) * 2002-07-09 2005-02-10 Deus Technologies, Llc Adaptive segmentation of anatomic regions in medical images with fuzzy clustering

Also Published As

Publication number Publication date
JP2017140160A (en) 2017-08-17

Similar Documents

Publication Publication Date Title
US20220202138A1 (en) Foot Measuring and Sizing Application
JP4307496B2 (en) Facial part detection device and program
US9088715B2 (en) Image processing apparatus and image processing method for image correction
JP6125188B2 (en) Video processing method and apparatus
JP5041458B2 (en) Device for detecting three-dimensional objects
KR101865415B1 (en) Method for differentiation forgery by mobile terminal device
CN111080542B (en) Image processing method, device, electronic device and storage medium
JP5975598B2 (en) Image processing apparatus, image processing method, and program
JP2022059013A (en) Information processing apparatus, recognition support method, and computer program
JP2020197989A5 (en) Image processing systems, image processing methods, and programs
CA2889886A1 (en) System and method of adaptive color correction for pill recognition in digital images
JP4623172B2 (en) Pupil detection device, program for pupil detection device, and pupil detection method
JP2009265722A (en) Face direction sensing device
JP7728941B2 (en) Dynamic adjustment of flash intensity based on retinal pigmentation
CN110418607B (en) image processing method
JP6758263B2 (en) Object detection device, object detection method and object detection program
JP2016189135A (en) Recognition device, recognition method, and recognition program
JP2008257574A (en) Image processing method, image processing apparatus, image processing system, and computer program
US11042724B2 (en) Image processing device, image printing device, imaging device, and non-transitory medium
US20140064556A1 (en) Object detection system and computer program product
JP6551252B2 (en) Image processing apparatus, program and radiation imaging apparatus
JP5486403B2 (en) Image processing apparatus, image processing method, and computer program
JP6585668B2 (en) Object detection device
CN111091895A (en) Breast image analysis method, system and non-transitory computer readable medium
US10803564B2 (en) Image processing apparatus, program, and radiation imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190308

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190516

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: 20190604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190617

R151 Written notification of patent or utility model registration

Ref document number: 6551252

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151