1. Field of the Invention
The present invention relates to an image processing apparatus and method to combine a plurality of images.
2. Description of the Related Art
In a medical diagnosis using a radiographic image, an image of a subject of the size that cannot be taken in one radiation image may be needed. In such a case, a radiation image is taken for each portion of the subject and a plurality of obtained radiographic images is combining to obtain one radiographic image. However, for appropriate combination of the plurality of radiographic images, manual operations by the user alone may not be enough. Thus, conventionally techniques to guide combination processing by performing recognition processing of a combined region on the plurality of radiation images have been proposed.
For example, Japanese Patent Application Laid-Open No. 2002-94772 discusses a technology that performs recognition processing of a combined region on a plurality of radiation images and based on the recognized combined region, attaches marks to guide combination processing to the radiation images.
Outside the field of medical diagnosis using a radiographic image, techniques such as guiding generation of a panorama image based on a recognition processing result obtained by performing recognition processing on a plurality of photographed images have also being proposed.
To guide combination processing of a plurality of images appropriately, it is necessary to perform recognition processing of combined regions with desired precision. However, mask processing, gradation adjustments, or cutout processing of a partial region for each of the plurality of images may be performed as preprocessing of the combination processing. If such preprocessing is performed, it may become more difficult to recognize the subject in an image, leading to lower recognition precision of the combined region. In addition, image quality of a combined portion after combination processing may deteriorate. The combined region here is a region to be a joint between images when combination processing of a plurality of images is performed.
Even when combination processing is performed by manual operations of a user, it may become more difficult to visually recognize the combined region in an image on which preprocessing has been performed.
The present invention is directed to preventing combination processing on a plurality of images being hindered by image processing.
According to an aspect of the present invention, an image processing apparatus to combine a plurality of images, includes an acquisition unit that acquires a combined region when the plurality of images is combined, an image processing unit that performs image processing on at least one of the plurality of images, and a limitation unit that limits the image processing performed on the combined region by the image processing unit.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
The first exemplary embodiment will be described.
An image input unit 101 inputs a plurality of radiographic images taken by a digital X-ray imaging machine (radiation imaging apparatus) and photographing information into a radiation image processing apparatus. A network or a recording medium such as a compact disk read only memory (CD-ROM) and a digital versatile disk read only memory (DVD-ROM) may be used as an input method.
An image storage unit 102 stores radiographic images input into the image input unit. The image storage unit 102 includes a recording device to store radiographic images such as a hard disk.
An image display unit 103 displays radiographic images or a region for combination processing. The image display unit 103 includes a display device such as a cathode-ray tube (CRT) monitor and liquid crystal display (LCD) monitor.
An operation input unit 104 inputs instructions such as a cutout operation on a radiographic image displayed in the image display unit 103 and a confirmation operation of warnings. The operation input unit 104 includes a common input device such as a mouse and a keyboard.
An image selection unit 105 selects a plurality of consecutive radiographic images from among radiographic images stored in the image storage unit 102. The image selection unit 105 may select a plurality of radiographic images based on a preset image selection program. Like the operation input unit 104, the image selection unit 105 includes a mouse and a keyboard and may select images based on manual instructions by users.
A combined region acquisition unit 106 acquires a combined region to be a combined portion when the plurality of selected radiographic images is combined. In the present exemplary embodiment, the combined region is a region where, for example, each of a plurality of radiographic images is overlapped. The combined region acquisition unit 106 may identify the combined region by analyzing imaging information contained in a plurality of radiographic images or by performing recognition processing of a subject inside an image on each of the plurality of radiographic images.
An image processing unit 107 performs image processing on the plurality of selected radiographic images. Image processing performed by the image processing unit 107 includes cutout processing, mask processing, and gradation adjustments based on user's instructions.
A limitation unit 108 limits image processing by the image processing unit 107. The limitation unit 108 determines whether a target region of image processing by the image processing unit 107 contains a combined region. If the limitation unit 108 determines that a combined region is contained, the limitation unit 108 limits image processing by the image processing unit 107 so that the image processing is not performed inside the combined region. For example, cutout processing, mask processing, or gradation adjustments for the combined region is disabled. Alternatively, a warning to the user may be issued when image processing on the combined region is instructed.
An image synthesis unit 109 combines a plurality of radiographic images (e.g., two or more images) to synthesize the plurality of radiographic images into one radiographic image.
A system bus 110 interconnects each of the units 101 to 109.
Next, the operation of a radiation image processing apparatus according to the present exemplary embodiment will be described concretely with reference to the flow chart illustrated in
(step S201) In step S201, the image selection unit 105 selects a plurality of consecutive radiographic images from among radiographic images stored in the image storage unit 102.
(step S202) In step S202, the image input unit 101 reads image information. The image information contains position information during imaging (photographing) and thus, a combining region (combined region) of a plurality of images can be determined based on position information, such as coordinate data. The method of determining a combined region is not limited to the identification from coordinate data. For example, a combined region can be identified from a marker included in the images. Specifically, a marker can be added to each image of a plurality of consecutive radiographic images during the imaging process while the radiographic images are being stored in the image storage unit 102.
(step S203) In step S203, the combined region acquisition unit 106 functions as an acquisition unit which acquires a combined region and identifies the combined region of the plurality of images from the read image information. An overlapping region may be determined from position (or orientation) information contained in image information to identify the overlapping region as a combined region. Instead of simply using an overlapping region, a portion of image edges in the overlapping region maybe excluded from a combined region in consideration of the possibility of image quality deterioration.
(step S204) In step S204, the limitation unit 108 functions as a limitation unit which limits image processing and limits image processing on a combined region. As described above, even if image processing is instructed, cutout processing, mask processing, or gradation adjustments for the combined region is disabled. As a warning to the user, a combined region may be highlighted in the image display unit 103.
Instead of rectangular regions, as illustrated in
Next, a concrete processing flow of limitation processing in step S204 will be described with reference to the flow chart illustrated in
(step S301) In step S301, input of cutout coordinates is acquired from the operation input unit 104 for at least one of a plurality of radiographic images. The cutout operation is performed on at least one of the plurality of radiographic images before combination.
(step S302) In step S302, the limitation unit 108 determines whether input cutout coordinates contain a combined region (overlapping region of a plurality of radiographic images). If the limitation unit 108 determines that input cutout coordinates contain no combined region (NO in step S302), the processing proceeds to step S303. If the limitation unit 108 determines that input cutout coordinates contain a combined region (YES in step S302), the processing proceeds to step S305.
(step S303) In step S303, because cutout coordinates are determined to contain no combined region, the image processing unit 107 functions as an image processing unit and performs normal cutout processing. After the cutout processing, the processing proceeds to step S304.
(step S304) In step S304, because the cutout processing has been performed, the image display unit 103 displays a processing result of the cutout processing.
(step S305) In step S305, because cutout coordinates are determined to contain a combined region, the limitation unit 108 limits the cutout processing in the combined region. In the limitation of the cutout processing, the cutout processing may be completely disabled or may be permitted to a partial region that will not cause any inconvenience for the subsequent combination processing even if the cutout processing is performed thereon. A partial region that will not cause any inconvenience for the combination processing is, for example, a region where pixel values hardly change compared with those outside the combined region (a region where a change of pixel values from those outside the combined region is equal to or less than a predetermined value). In addition to the limitation of cutout processing, a warning notification may be made to the user.
In the present exemplary embodiment, the cutout processing is limited instep S305. However, like a dialog 601 in
The first exemplary embodiment has been described about combination processing on a plurality of radiographic images. However, the present invention is not limited to processing on radiographic images and can also be applied when a panorama image is created from photographed images taken by a common digital camera using visible light for photographing.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium). In such a case, the system or apparatus, and the recording medium where the program is stored, are included as being within the scope of the present invention.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2010-188657 filed Aug. 25, 2010, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2010-188657 | Aug 2010 | JP | national |