Information
-
Patent Application
-
20020054713
-
Publication Number
20020054713
-
Date Filed
November 08, 200123 years ago
-
Date Published
May 09, 200222 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
An object of this invention is to efficiently attain noise removal. In order to achieve the object, the discrete wavelet transforms of an input image are computed to output wavelet coefficients of respective subbands (S301). Appropriate threshold values are respectively set for subbands HL, LH, and HH indicating high-frequency components (S302a, S302b, S302c). The wavelet coefficients of the subbands HL, LH, and HH then undergo threshold value processes using the set threshold values for the respective subbands (S303a, S303b, S303c). Pixels to be processed in a coefficient conversion process are determined based on the threshold value processing results of the respective subbands (S304). The wavelet coefficients of the respective subbands corresponding to the pixels to be processed determined in step S304 undergo coefficient conversion (S305), and the converted transformation coefficients undergo inverse discrete wavelet transformation, thus reconstructing and outputting a noise-removed image (S306).
Description
FIELD OF THE INVENTION
[0001] The present invention relates to an image processing apparatus for changing an image and, more particularly, changing transformation coefficients upon frequency transformation, its method, a program, and a storage medium.
BACKGROUND OF THE INVENTION
[0002] With the recent advance of digital technologies, a radiation image is converted into a digital image signal, and that digital image signal undergoes an image process, thus displaying the processed signal on, e.g., a CRT or printing it out. Upon photographing a radiation image, the X-ray dose is preferably as small as possible in consideration of the influences on a patient. But an image sensed with a small X-ray dose contains many quantization noise components, which disturb diagnosis.
[0003] For this reason, processes for removing such noise have been conventionally examined. For example, a noise removal process using a simple median filter, a method of removing noise by extracting high-frequency components using a smoothed image, and the like are done. In recent years, a multiplex frequency process for removing noise by segmenting an input image into a plurality of frequency bands, and executing independent processes for respective frequency bands has been examined.
[0004] In a filter process for removing noise by extracting high-frequency components using a smoothed image, since a single frequency band is used, noise removal cannot be effectively made if noise components are distributed to a broad frequency band. To avoid this, a plurality of filters having different sizes (i.e., different frequencies) may be simultaneously used. However, computation cost required for the process increases considerably. In order to maintain optimal frequency characteristics of a filter for noise removal, filter size adjustment corresponding to an object is indispensable, resulting in poor versatility.
[0005] The above problems can be greatly reduced using the multiplex frequency process represented by, e.g., discrete wavelet transformation in noise removal. However, since the multiplex frequency process executes uniform frequency processes in all spatial directions, for example, it cannot distinguish an edge having a direction component from isolated point noise having no direction component, and it is difficult for that process to remove noise while preserving the edge.
[0006] The present invention has been made in consideration of the aforementioned problems, and has as its object to effectively execute noise removal.
SUMMARY OF THE INVENTION
[0007] In order to achieve the above object, for example, an image processing apparatus of the present invention comprises the following arrangement.
[0008] That is, an image processing apparatus comprises:
[0009] frequency transformation means for obtaining a plurality of subbands by computing frequency transforms of an image;
[0010] determination means for determining transformation coefficients in a subband to be changed using at least two subbands of the plurality of subbands obtained by the frequency transformation means; and
[0011] coefficient conversion means for converting the transformation coefficients determined by the determination means,
[0012] wherein the frequency transformation means reconstructs an image using transformation coefficients of all the subbands including the transformation coefficients converted by the coefficient conversion means.
[0013] The determination means further comprises:
[0014] threshold value setting means for setting threshold values for at least two subbands of the plurality of subbands obtained by the frequency transformation means; and
[0015] threshold value processing means for executing a threshold value process of transformation coefficients in the subbands for which the threshold values are set by the threshold value setting means, using the threshold values, and
[0016] the determination means determines the transformation coefficients in the subband to be changed using a threshold value processing result of the threshold value processing means.
[0017] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0019]
FIG. 1 is a block diagram showing the basic arrangement of an X-ray photographing apparatus according to the first embodiment of the present invention, and an object to be photographed using X-rays;
[0020]
FIG. 2 is a flow chart showing an outline of processes done by the X-ray photographing apparatus according to the first embodiment of the present invention;
[0021]
FIG. 3 is a flow chart showing the flow of processes that pertain to noise removal in an image processing circuit 112;
[0022]
FIGS. 4A to 4D show the states of processes according to the flow chart shown in FIG. 3;
[0023]
FIG. 5A is a diagram showing the arrangement of the process of a discrete wavelet transformation circuit 116;
[0024]
FIG. 5B shows an example of the format of transformation coefficients of two levels obtained by a two-dimensional transformation process; and
[0025]
FIG. 5C is a diagram showing the arrangement of an inverse discrete wavelet transformation process by the discrete wavelet transformation circuit 116.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings.
[0027] [First Embodiment]
[0028]
FIG. 1 shows the basic arrangement of an X-ray photographing apparatus 100 of this embodiment, and an object to be photographed using X-rays. An X-ray photographing apparatus 100 has a function of photographing an image of an object using X-rays, and removing noise from the photographed image, and comprises a pre-processing circuit 106, CPU 108, main memory 109, control panel 110, image display 111, and image processing circuit 112. Note that the image processing circuit 112 comprises a discrete wavelet transformation (DWT) circuit 116, coefficient conversion circuit 117, feature extraction circuit 118, tone conversion circuit 119, threshold value processing circuit 120, and processing discrimination circuit 121, which exchange data via a CPU bus 107.
[0029] The X-ray photographing apparatus 100 comprises a data acquisition circuit 105 connected to the pre-processing circuit 106, and a two-dimensional X-ray sensor 104 and X-ray generation circuit 101, which are connected to the data acquisition circuit 105, and these circuits are also connected to the CPU bus 107.
[0030]
FIG. 2 is a flow chart showing an outline of processes executed by the X-ray photographing apparatus 100 of this embodiment with the above arrangement. Note that the main memory 109 stores various data and the like required for processes executed by the CPU 108, and includes a work area for the CPU 108. The CPU 108 controls the operations of the overall apparatus using the main memory 109 in accordance with operations at the control panel 110. With this control, the X-ray photographing apparatus 100 operates as follows.
[0031] The X-ray generation circuit 101 generates an X-ray beam 102 toward an object 103. The X-ray beam 102 generated by the X-ray generation circuit 101 is transmitted through the object 103 while being attenuated, and reaches the two-dimensional X-ray sensor 104, which outputs the received beam as an X-ray image (step S201). In this embodiment, an X-ray image output from the two-dimensional X-ray sensor 104 is a human body image, but the present invention is not limited to such specific image.
[0032] The data acquisition circuit 105 converts an X-ray image output from the two-dimensional X-ray sensor 104 into an electrical signal, and supplies the electrical signal to the pre-processing circuit 106. The pre-processing circuit 106 executes pre-processes such as an offset correction process, gain correction process, and the like for the signal (X-ray image signal) output from the data acquisition circuit 105 (step S202). The X-ray image signal that has undergone the pre-processes by the pre-processing circuit 106 is transferred as a source image to the main memory 109 and image processing circuit 112 via the CPU bus 107 under the control of the CPU 108, and then undergoes a noise removal process (step S203), as will be described later.
[0033] In the image processing circuit 112, the discrete wavelet transformation circuit 116 computes the discrete wavelet transforms of the input image, and outputs wavelet coefficients for respective subbands. The threshold value processing circuit 120 sets appropriate threshold values for respective subbands, and executes threshold value processes of discrete wavelet coefficients using the set threshold values. The processing discrimination circuit 121 discriminates based on the threshold value processing results of the respective subbands if discrete wavelet coefficients of respective pixels are to be processed. The coefficient conversion circuit 117 converts discrete wavelet coefficients according to given rules (to be described later). The image processing circuit 112 also comprises the feature extraction circuit 118 for extracting a feature amount required for tone conversion, and the tone conversion circuit 119 for making tone conversion in accordance with the extracted feature amount.
[0034]
FIG. 3 is a flow chart showing the flow of processes that pertain to noise removal in the image processing circuit 112, and FIGS. 4A to 4D show the states of the processes. The flow of a noise removal process will be explained below using these figures.
[0035] The source image (image 401 shown in FIG. 4A), which has undergone the pre-processes by the pre-processing circuit 106, is transferred to the image processing circuit 112 via the CPU bus 107. In the image processing circuit 112, the discrete wavelet transformation circuit 116 computes the discrete wavelet transforms of the input image, and outputs discrete wavelet coefficients for respective subbands (step S301). As described above, reference numeral 401 in FIG. 4A denotes an input image; and 402 in FIG. 4B, an image that has undergone discrete wavelet transformation for one level. In the image 402, regions 403 to 406 are subbands generally called LL, HL, LH, and HH, respectively. Details of the discrete wavelet transformation will be explained later.
[0036] An appropriate threshold value is set for each of three subbands HL, LH, and HH indicating high-frequency components of those obtained in step S301 (steps S302a, 302b, and S302c). The setting method of the threshold values is not particularly limited. For example, given constants obtained by experience may be set in correspondence with the decomposition levels of discrete wavelet transformation, or the threshold values may be obtained based on statistical quantities such as averages, variances, and the like of coefficient values of the respective subbands.
[0037] Using the threshold values of the respective subbands set in steps S302a, S302b, and S302c, wavelet coefficients of the subbands HL, LH, and HH undergo threshold value processes (steps S303a, S303b, and S303c). In FIG. 4C, reference numeral 407 denotes an image after discrete wavelet transformation obtained in step S301; and 408, an image that has undergone the threshold value processes in steps S303a, S303b, and S303c. At this time, the images 407 and 408 are held in different memory spaces. As a method of the threshold value process, for example, a signed binarization process may be used, and can be implemented as follows.
[0038] if (−THHL<HL(x,y)<THHL)
[0039] then binary image HL(x,y)=1;
[0040] else binary image HL(x,y)=0;
[0041] if (−THLH<LH(x,y)<THLH)
[0042] then binary image LH(x,y)=1;
[0043] else binary image LH(x,y)=0;
[0044] if (−THHH<HH(x,y)<THHH)
[0045] then binary image HH(x,y)=1;
[0046] else binary image HH(x,y)=0;
[0047] where THHL, THLH, and THHH are the threshold values of the respective subbands set in steps S302a, S302b, and S302c, and HL(x,y), LH(x,y), and HH(x,y) are pixel values at positions (x,y) in the respective subbands, i.e., wavelet coefficient values.
[0048] Based on the threshold value processing results of the respective subbands in steps S303a, S303b, and S303c, pixels to be processed in the subsequent coefficient conversion process are determined (step S304). Some determination methods of the pixels to be processed may be proposed. In this embodiment, the AND of binary images of the respective subbands obtained in steps S303a, S303b, and S303c is adopted. That is, the pixel to be processed is determined as follows.
[0049] if ((binary image HL(x,y)=1) AND
[0050] (binary image LH(x,y)=1) AND
[0051] (binary image HH(x,y)=1))
[0052] then binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=1;
[0053] else binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=0;
[0054] In FIG. 4D, reference numeral 409 denotes an image after discrete wavelet transformation obtained in step S301; and 410, an image indicating the pixels to be processed determined in step S304. At this time, the image 410 may be held in the same memory space as that which stores the image 408 shown in FIG. 4C. As another determination method of the pixels to be processed, a method of selecting a majority of the threshold value processing results of the respective subbands may be used.
[0055] The coefficient conversion circuit 117 executes coefficient conversion of wavelet coefficients of the respective subbands, which correspond to the pixels to be processed determined in step S304 (step S305). As an example of the process in step S305, a well-known noise removal process called wavelet degeneration may be used. Wavelet degeneration is that coefficients of respective subbands are suppressed based on a given condition. As a simplest example, when the absolute value of a coefficient value is present within a given range, a process for replacing that coefficient by 0 is done:
[0056] if (TH1≦|HH(x,y)|≦TH2) then HH(x,y)=0;
[0057] else DO NOTHING
[0058] if (TH3≦|HL(x,y)|≦TH4) then HL(x,y)=0;
[0059] else DO NOTHING
[0060] if (TH5≦|LH(x,y)|≦TH6) then LH(x,y)=0;
[0061] else DO NOTHING
[0062] where TH1 to TH6 are threshold values determined independently, and are processing parameters which satisfy:
0≦TH1≦TH2
0≦TH3≦TH4
0≦TH5≦TH6
[0063] Finally, using the wavelet coefficients of the respective subbands that have been converted by the coefficient conversion circuit 117 in step S305, the discrete wavelet transformation circuit 116 computes the inverse discrete wavelet transforms to reclaim and output a noise-removed image (step S306).
[0064] In the noise removal process of this embodiment that has been explained using FIGS. 3 and FIGS. 4A to 4D, discrete wavelet transformation of one level is done. However, the present invention is not limited to this. That is, the same processes can be done for wavelet coefficients of a higher level, and also for wavelet coefficients of a plurality of levels.
[0065] The discrete wavelet transformation and inverse discrete wavelet transformation of the discrete wavelet transformation circuit 116 are well-known transformation processes, and operate as follows.
[0066] The discrete wavelet transformation circuit 116 executes a two-dimensional discrete wavelet transformation process for an input image signal, and computes and outputs transformation coefficients. Image data stored in the main memory 109 is sequentially read out, undergoes transformation, and is written again in the main memory 109 by the discrete wavelet transformation circuit 116. Assume that the arrangement of the process of the discrete wavelet transformation circuit 116 in this embodiment is as shown in FIG. 5A. In FIG. 5A, an input image signal is separated into odd and even address signals by a combination of a delay element and down samplers, and undergoes filter processes of two filters p and u. In FIG. 5A, s and d represent low- and high-pass coefficients upon decomposing a linear image signal to one level, and are respectively computed by:
d
(n)=x(2n+1)−floor((x(2n)+x(2n+2))/2) (1)
s
(n)=x(2n)+floor((d(n−1)+d(n))/4) (2)
[0067] where x(n) is an image signal to be transformed. With the above process, a linear discrete wavelet transformation process is done for an image signal. Since two-dimensional discrete wavelet transformation is implemented by sequentially executing linear discrete wavelet transformation in the horizontal and vertical directions of an image and its details are known to those who are skilled in the art, a description thereof will be omitted. FIG. 5B shows an example of the format of transformation coefficient groups of two levels obtained by the two-dimensional discrete wavelet transformation process. An image signal is decomposed into coefficient sequences HH1, HL1, LH1, . . . , HH2, HL2, LH2, and LL in different frequency bands.
[0068] Likewise, inverse discrete wavelet transformation is done as follows. The transformation coefficients stored in the main memory 109 are sequentially read out, undergo transformation, and are written again in the main memory 109 by the discrete wavelet transformation circuit 116. Assume that the arrangement of the inverse discrete wavelet transformation of the discrete wavelet transformation circuit 116 in this embodiment is as shown in FIG. 5C. Input transformation coefficients undergo filter processes using two filters u and p, and are added to each other after being up-sampled, thus outputting an image signal x′. These processes are described by:
x
′(2n)=s′(n)−floor((d′(n−1)+d′(n))/4) (3)
x
′(2n+1)=d′(n)+floor((x′(2n)+x′(2n+2))/2) (4)
[0069] With the above process, linear inverse discrete wavelet transformation of transformation coefficients is done. Since two-dimensional inverse discrete wavelet transformation is implemented by sequentially executing linear inverse transformation in the horizontal and vertical directions of an image and its details are known to those who are skilled in the art, a description thereof will be omitted.
[0070] As described above, according to this embodiment, since a multiplex frequency process is implemented by discrete wavelet transformation, even when noise components are distributed to a broad frequency band, noise can be effectively removed compared to a so-called filter process that uses a single frequency band. Also, the computation cost required for the process can be greatly reduced compared to a process that simultaneously uses a plurality of filters having different sizes (i.e., different frequencies), and a process with high versatility can be done without complicated processes such as filter size adjustment and the like. Since the multiplex frequency process is done in consideration of the spatial direction of high-frequency components, for example, an edge having a direction component can be distinguished from isolated point noise having no direction component. As a result, a noise-removed image with higher quality than the conventional method can be obtained.
[0071] [Second Embodiment]
[0072] In steps S302a to S304 of the first embodiment, the threshold value processes for determining the pixels to be processed in step S305 are done. However, the present invention is not limited to such specific processes. In this embodiment, three subbands are compared, and the pixels to be processed in step S305 are determined according to a pattern of the comparison results. That is, by exploiting the fact that more random noise components appear in the subband HH, the processes in steps S302a to S304 may be modified as:
[0073] if ((HL(x,y)<HH(x,y)) AND (LH(x,y)<HH(x,y))
[0074] then binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=1;
[0075] else binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=0;
[0076] By combining the threshold value processes and comparison, the processes in steps S302a to S304 may be modified as follows to achieve the same object:
[0077] if (−THHH<HH(x,y)<THHH)
[0078] then binary image HH(x,y)=1;
[0079] else binary image HH(x,y)=0;
[0080] if ((HL(x,y)<HH(x,y)) AND
[0081] (LH(x,y)<HH(x,y)) AND
[0082] (binary image HH(x,y)=1))
[0083] then binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=1;
[0084] else binary image HL(x,y)=binary image LH(x,y)=binary image HH(x,y)=0;
[0085] Furthermore, the processes in steps S302a to S304 may adopt weighted evaluation based on distances from the threshold values, or a method of executing threshold value processes of the averages of respective subbands, and the like. A cross-reference method of the coefficients of the respective subbands is not particularly limited.
[0086] [Another Embodiment]
[0087] Note that the present invention may be applied to either a system constituted by a plurality of devices (e.g., a host computer, interface device, reader, printer, and the like), or an apparatus consisting of a single equipment (e.g., a copying machine, facsimile apparatus, or the like).
[0088] The objects of the present invention are also achieved by supplying a storage medium (or recording medium), which records a program code of a software program that can implement the functions of the above-mentioned embodiments to the system or apparatus, and reading out and executing the program code stored in the storage medium by a computer (or a CPU or MPU) of the system or apparatus. In this case, the program code itself read out from the storage medium implements the functions of the above-mentioned embodiments, and the storage medium which stores the program code constitutes the present invention. The functions of the above-mentioned embodiments may be implemented not only by executing the readout program code by the computer but also by some or all of actual processing operations executed by an operating system (OS) running on the computer on the basis of an instruction of the program code.
[0089] Furthermore, the functions of the above-mentioned embodiments may be implemented by some or all of actual processing operations executed by a CPU or the like arranged in a function extension card or a function extension unit, which is inserted in or connected to the computer, after the program code read out from the storage medium is written in a memory of the extension card or unit.
[0090] When the present invention is applied to the storage medium, that storage medium stores program codes corresponding to the aforementioned flow chart(s) (shown in FIG. 2 and/or FIG. 3). As described above, according to the present invention, noise removal can be efficiently done.
[0091] The present invention is not limited to the above embodiments and various changes and modifications can be made within the spirit and scope of the present invention. Therefore to apprise the public of the scope of the present invention, the following claims are made.
Claims
- 1. An image processing apparatus comprising:
frequency transformation means for obtaining a plurality of subbands by computing frequency transforms of an image; determination means for determining transformation coefficients in a subband to be changed using at least two subbands of the plurality of subbands obtained by said frequency transformation means; and coefficient conversion means for converting the transformation coefficients determined by said determination means, wherein said frequency transformation means reconstructs an image using transformation coefficients of all the subbands including the transformation coefficients converted by said coefficient conversion means.
- 2. The image processing apparatus according to claim 1, wherein said determination means further comprises:
threshold value setting means for setting threshold values for at least two subbands of the plurality of subbands obtained by said frequency transformation means; and threshold value processing means for executing a threshold value process of transformation coefficients in the subbands for which the threshold values are set by said threshold value setting means, using the threshold values, and said determination means determines the transformation coefficients in the subband to be changed using a threshold value processing result of said threshold value processing means.
- 3. The image processing apparatus according to claim 2, wherein said threshold value setting means sets said threshold values on the basis of statistical quantities including averages or variances of transformation coefficient values in the respective subbands.
- 4. The image processing apparatus according to claim 2, wherein said threshold value setting means sets transformation coefficients in a predetermined subband as threshold values, and
said threshold value processing means executes the threshold value process of the transformation coefficients in the subbands for which said threshold values are set, using the transformation coefficients in said predetermined subband, which spatially correspond to those transformation coefficients.
- 5. The apparatus according to claim 4, wherein the transformation coefficients in the predetermined subband have undergone a threshold value process using a predetermined threshold value.
- 6. The image processing apparatus according to claim 2, wherein said threshold value process is a binarization process.
- 7. The image processing apparatus according to claim 1, wherein said coefficient conversion means implements noise removal by wavelet degeneration.
- 8. The image processing apparatus according to claim 1, wherein said frequency transformation means executes one of discrete wavelet transformation and inverse discrete wavelet transformation.
- 9. An image processing method comprising:
the frequency transformation step of obtaining a plurality of subbands by computing frequency transforms of an image; the determination step of determining transformation coefficients in a subband to be changed using at least two subbands of the plurality of subbands obtained in the frequency transformation step; and the coefficient conversion step of converting the transformation coefficients determined in the determination step, wherein the frequency transformation step includes the step of reconstructing an image using transformation coefficients of all the subbands including the transformation coefficients converted in said coefficient conversion step.
- 10. The image processing method according to claim 9, wherein said determination step further comprises:
the threshold value setting step of setting threshold values for at least two subbands of the plurality of subbands obtained in said frequency transformation step; and the threshold value processing step of executing a threshold value process of transformation coefficients in the subbands for which the threshold values are set in said threshold value setting step, using the threshold values, and the determination step includes the step of determining the transformation coefficients in the subband to be changed using a threshold value processing result of said threshold value processing step.
- 11. The image processing method according to claim 10, wherein said threshold value setting step includes the step of setting transformation coefficients in a predetermined subband as threshold values, and
said threshold value processing step includes the step of executing the threshold value process of the transformation coefficients in the subbands for which said threshold values are set, using the transformation coefficients in said predetermined subband, which spatially correspond to those transformation coefficients.
- 12. A program comprising:
a program of the frequency transformation step of obtaining a plurality of subbands by computing frequency transforms of an image; a program of the determination step of determining transformation coefficients in a subband to be changed using at least two subbands of the plurality of subbands obtained in the frequency transformation step; and a program of the coefficient conversion step of converting the transformation coefficients determined in said determination step, wherein the frequency transformation step includes the step of reconstructing an image using transformation coefficients of all the subbands including the transformation coefficients converted in the coefficient conversion step.
- 13. The program according to claim 12, wherein the program of the determination step comprises:
a program of the threshold value setting step of setting threshold values for at least two subbands of the plurality of subbands obtained in said frequency transformation step; and a program of the threshold value processing step of executing a threshold value process of transformation coefficients in the subbands for which the threshold values are set in said threshold value setting step, using the threshold values, and the determination step includes the step of determining the transformation coefficients in the subband to be changed using a threshold value processing result of said threshold value processing step.
- 14. The program according to claim 13, wherein said threshold value setting step includes the step of setting transformation coefficients in a predetermined subband as threshold values, and
the threshold value processing step includes the step of executing the threshold value process of the transformation coefficients in the subbands for which said threshold values are set, using the transformation coefficients in said predetermined subband, which spatially correspond to those transformation coefficients.
- 15. A computer readable storage medium that stores a program cited in claim 12.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2000-342341 |
Nov 2000 |
JP |
|
2001-328064 |
Oct 2001 |
JP |
|