Plaque It!
Sponsored by: Flash of Genius |
[0001] 1. Field of the Invention
[0002] The present invention relates to a technique for synthesizing a plurality of images into one image.
[0003] 2. Related Background Art
[0004] Up to now, for example, as an x-ray sensing apparatus that creates an image from the amount of x-rays that have passed through the interior of an object to be sensed (the interior of a human body, etc.), there has been proposed a device in which a spatial distribution of the intensity of the x-rays that have passed through the object to be sensed is converted directly into an electric signal by a large-sized x-ray sensor panel, and the electric signal is converted into a digital value through analog-to-digital (A/D) conversion so that the x-ray image of the object to be sensed is available to image saving, image processing, image observation or the like as a digital image.
[0005] As the above-mentioned x-ray sensor panel, for example, in the case where the object to be sensed is a chest region of a human body, and the chest region of the human body is going to be sensed with x-rays all at once, there is employed a sensor panel that is about 40 cm×40 cm in size. The x-ray sensor panel of this size is brought substantially in contact with the chest region of the human body, and x-rays are irradiated onto the x-ray sensor panel from a direction facing the human body, to thereby obtain a digital image based on the intensity distribution of the x-rays that have passed through the chest region of the human body by one x-ray sensing.
[0006] Also, in the case where the fine structure of the human body is going to be sensed with x-rays, there is used an x-ray sensor panel having pixel resolution about 0.1 to 0.2 mm. In this case, the x-ray sensor panel becomes very large-sized to the degree of 2000×2000 pixels to 4000×4000 pixels.
[0007] As a method of reading image information from the above-mentioned large-sized x-ray sensor panel at high speed and with stability, there are proposed, for example, the following two methods.
[0008] (1) Relatively small-sized segment sensor panels are combined together in the form of tiles to constitute one large-sized sensor panel. The respective sensor panels are driven concurrently, and image information (electric signal) resultantly obtained is digitalized by an A/D converter.
[0009] (2) In order to collect the image information at high speed or to shorten substantial information wiring length on a sensor panel, a sheet of large-sized sensor panel is divided into sub-parts and driven, and image information (electric signal) resultantly obtained in each divided sub-part is digitalized by amplifiers and A/D converters which are disposed independently.
[0010] However, in the above-mentioned conventional x-ray sensing apparatuses, when the sensor panel is driven by not a single system but a plurality of systems independent from each other to collect the x-ray image information of the object to be sensed as in the above-mentioned manners (1) and (2), the characteristics of the amplifiers, the A/D converters, etc., which process the electric signals which are outputs of the respective segment panels, fluctuate independently (a change due to the environments, a change with a time and so on). This leads to the following problems.
[0011] For example, in the case where a single sensor panel is divided into four parts, and the respective segment panels are driven independently, when the x-rays that have passed through the object to be sensed are entered to the sensor panel, the electric signals that are outputted from the four segment panels of the sensor panel are digitalized by the amplifiers and the A/D converters which are independent from each other, and then temporarily saved as the four segment image data.
[0012] In this situation, the four segment panels of the sensor panel are driven under control in synchronization with a timing where the x-rays are irradiated to the object to be sensed.
[0013] Then, the same operation as the above-mentioned sensing operation is conducted under a condition where no x-rays are irradiated, thereby saving data of a fixed pattern such as offset.
[0014] In this situation, data related to a variation in the gains of the respective pixels in the four segment panels of the sensor panel is stored in the memory in advance. That information is generated by irradiating the x-rays toward the sensor panel in a state where there exists no object to be sensed, and acquiring the image information.
[0015] Then, the fixed pattern data saved in the memory is subtracted from the four segment image data acquired in advance, and further, correction for each of the pixels is conducted due to the gain variation data.
[0016] Here, the gain variation data for each of the pixels is obtained by irradiating the x-rays in a state where no object to be sensed exists. For example, in a normal medical spot, since it is very difficult to acquire the gain variation data for every x-ray sensing, the gain variation data is acquired by the x-ray sensing once a day.
[0017] Also, the fixed pattern data is acquired at a time that is very close to the x-ray sensing time, but not at the same time as the x-ray sensing time.
[0018] The above-mentioned time difference in the data acquirement may results in change of the environments (temperature, humidity or the like) where the data is acquired, and thus leads to the possibility that change may occur in the characteristic of the sensor panel, the amplifiers disposed for the four segments of the sensor panel, or the like.
[0019] For that reason, different characteristics appear for each of the segment images, and a definite boundary appears between the segment images.
[0020] Therefore, in order to solve the above-mentioned problem, there has been proposed in Japanese Patent Application Laid-open No. 2000-132663, for example, a structure in which a component having a characteristic continuous in a boundary direction in the vicinity of the boundary of the above-mentioned segment images is extracted, and the characteristic component is removed. According to this structure, in the case where the variation of the segment image is relatively small, it is very effective in solving the above problem, only the boundary portion can be smoothed, and as the result, correction is not required over the entire image.
[0021] However, in the above-mentioned structure, there is a case where the amount of correction becomes large, and a sense of incongruity over the image as a whole cannot be removed by only the partial correction. Also, in the case where the important image information exists along the boundary in the vicinity of the boundary of the segment images, there occurs such a problem that the image information is damaged.
[0022] It is an object of the present invention to eliminate variation among images to thereby obtain satisfactory images when a plurality of images are synthesized to form a single image.
[0023] In order to attain the above object, according to an embodiment of the present invention, there is provided an image processing apparatus comprising: an image processing circuit having a first mode that corrects an offset between a first image and a second image that are adjacent to each other to synthesize the first image and the second image into a new third image, and a second mode that corrects an offset between the third image and a fourth image that are adjacent to each other to synthesize the third image and the fourth image into a new fifth image.
[0024] According to another embodiment, there is provided an image processing method comprising the steps of: correcting an offset between a first image and a second image that are adjacent to each other to synthesize the first image and the second image into a new third image; and correcting an offset between the third image and a fourth image that are adjacent to each other to synthesize the third image and the fourth image into a new fifth image.
[0025] According to a still another embodiment, there is provided a storage medium that stores program therein, the program comprising a code of a step of correcting an offset between a first image and a second image that are adjacent to each other to synthesize the first image and the second image into a new third image, and a code of a step of correcting an offset between the third image and a fourth image that are adjacent to each other to synthesize the third image and the fourth image into a new fifth image.
[0026] According to a still another embodiment, there is provided an image processing apparatus, comprising a correcting circuit which obtains a correction value of a step between a plurality of partial images for every partial image on the basis of statistic property of a pixel value in boundary portions between the plurality of partial images, and corrects the plurality of partial images on the basis of the correction value in order to constitute a single image from the plurality of partial images.
[0027] According to a still another embodiment, there is provided an image processing method comprising the steps of: obtaining a correction value of a step between a plurality of partial images for every partial image on the basis of statistic property of a pixel value in a boundary portions between the plurality of partial images; and
[0028] correcting the plurality of partial images on the basis of the correction value in order to constitute a single image from the plurality of partial images.
[0029] According to a still another embodiment, there is provided a storage medium that stores program therein, the program comprising a code of a step of obtaining a correction value of a step between a plurality of partial images for every partial image on the basis of statistic property of a pixel value in a boundary portions between the plurality of partial images, and a code of a step of correcting the plurality of partial images on the basis of the correction value in order to constitute a single image from the plurality of partial images.
[0030] Another objects and characteristics of the present invention will be apparent from the following specification and figures.
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050] Now, a description will be given of preferred embodiments of the present invention with reference to the accompanying drawings.
[0051] In a first embodiment, the present invention is applied to, for example, an x-ray sensing apparatus
[0052] Prior to the specific description of the x-ray sensing apparatus
[0053] The x-ray sensing apparatus
[0054] Hereinafter, the characteristic function of the x-ray sensing apparatus
[0055] (1) First, a Substantial Step Value of the Boundary of the Segment Images is Acquired as Follows:
[0056] Paying attention to the one-dimensional direction of the image, it is assumed as shown in
[0057] Also, because the segment image 1 and the segment image 2 are both segment images resulting from x-ray-sensing of the object to be sensed by divisionally driving a sheet of sensor panel, an error exists in the offset value between the pixel n of the segment image 1 and the pixel (n+g) of the segment image 2, and there is the possibility that the error is recognized as a step.
[0058] However, because both of the segment images are obtained by sensing the same object to be sensed, the pixel n of the segment image 1 and the pixel (n+g) of the segment image 2 have a relationship that the inclination is continuous. Therefore, the average of an inclination obtained from the pixel values x(0), x(1), . . . , x(n) of the segment image 1 and an inclination obtained from the pixel values x(n+g), x(n+2), . . . of the segment image 2 is now defined as an inclination “K” of the object image information.
[0059] A difference across the boundary of the pixel value x(i+p) of the segment image 1 and the pixel value x (i+p) of the segment image 2 is x(i+p)−(i). The inclination is the above-mentioned “K”, and an expected difference is “pK”, and a difference between the pK value and the value of x(i+p)−x(i) becomes an expected value (difference value) d of the substantial step. That is, the substantial step value d of the boundary of each of the segment images 1 and 2 is obtained by the following expression (1):
[0060] As a method of obtaining the step value d, there are various methods dependent on manners of obtaining a differential value besides the above-mentioned method. One example of those methods is described below.
[0061] For example, the inclination of the segment image 1 is obtained using the pixel value x(n) as a reference, and the inclination of the segment image 2 is obtained using the pixel value x(n+g) as a reference. The respective inclinations are averaged by using the pixel value of a point m to obtain the inclination K.
[0062] In this case, the inclination K is represented by the following expression (2).
[0063] Also, differences across the boundary of the pixel value x(i+p) of the segment image 1 and the pixel value x(i) of the segment image 2 are considered as symmetry with respect to the boundary so as to be x(n+g)−x(n), x(n+g+1)−x(n−1), x(n+g+2)−x(n−2), . . . , x(n+g+m)−x(n−m).
[0064] In this case, the substantial step value d of the boundary of each of the segment images is represented by the following expression (3).
[0065] The substantial step value d on a line that is cross one boundary can be obtained through the above-mentioned calculation process. Also, the calculation process is intensive to the calculation process of accumulative addition that makes accumulation by substantially multiplying the pixel value by a predetermined coefficient.
[0066] Here, because a plurality of lines (0 to L) exist in the image, there is actually obtained the substantial step value line d(i) (i=0 to L) which is continuous on one boundary. Also, because a plurality of boundaries between one segment image and other adjacent segment images exist in the segment image, a plurality of step value lines d(i) exist for one segment image.
[0067] In this example, a change in the pixel value with respect to the segment image (object segment image) to be processed is statistically obtained from such a step value line d(i).
[0068] Various methods are applicable to this processing method depending on the modes of the object segment image and should be used case by case.
[0069] As one example thereof, for example, in the case where a single sensor panel is divided into four segments and driven, as shown in FIG. 3, four segment images A, B, C and D are connected in the form of a matrix. In this example, the boundaries are represented by four boundaries a, b, c and d shown in FIG. 3. As to the respective boundaries a, b, c and d, it is assumed that the step values obtained with the above-mentioned method are d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)).
[0070] In this example, the image center is an origin, and the position is represented by “±”.
[0071] In this case, if the data of the segment images A, B, C and D is in proportion to the x-ray intensity, the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) correspond to the offset value. Therefore, in this case, with the execution of the logarithmically converting process, the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) correspond to a variation in the gain.
[0072] As a correcting method using the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)), that is, the variation in the gain, there are proposed various methods depending on the situation, and as one example thereof, a correcting method which conducts the correction to the partial images A, B, C and D with addition/subtraction of a constant value, will be described below.
[0073] In the case of using the constant value, the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) at the boundaries a, b, c and d are consolidated into one certain value. For that reason, values D0, D1, D2 and D3 are derived from the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) one by one, respectively.
[0074] As a method of deriving the values D0, D1, D2 and D3, there is a method in which the respective average values of the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) are obtained as the values D0, D1, D2 and D3. However, if correction is not conducted averagely but conducted in a range as wide as possible, for example, as shown in
[0075] It is needless to say that the following expression is satisfied:
[0076] However, due to an error in calculation, an influence of image noises, an unstable offset value and so on, it is necessary to generally apply the following expression:
[0077] This is an inconsistency resulting from obtaining the respective values independently.
[0078] In order to eliminate the above inconsistency, first, correction is made so as to satisfy a correction value F0=0 and a correction value F3=−D0 by using the step value D0 in
[0079] Also, correction is made so as to satisfy F2= and F5=−D4 in the same manner, as a result of which a step of the partial image B and the partial image C is eliminated, and the partial image G and the partial image C are regarded as one partial image BC.
[0080] Therefore, as shown in
[0081] Then, the correction value F4=0 and the correction value F5=−D4 are newly added to the partial image AD and the partial image BC.
[0082] Then, the entire image is structured by the partial image AD and the partial image BC as shown in
[0083] In the case where three or more partial images exist, the steps are corrected with respect to each of two partial images which are regarded as independent partial images, to constitute one new partial image, and the calculation of the step value with respect to the new partial image is repeatedly executed.
[0084] As described above, in the process of putting those two partial images into one partial image, without correcting only the predetermined step value, the step value sequence are fitted by a function with a low degree of freedom, thereby being applicable to a case in which the interior of the partial images are not a constant offset error.
[0085] That is, in
[0086] In this case, because the offset is constant over the entire surface, and there is no partial image of “0”, that is, there exists no partial image to be referenced, correction is made with respect to all of the partial images. Also, if correction that is not an even plane is added (shirring is conducted) with respect to only any one partial image, because there is a risk of the image density being greatly deformative, the correction is divided to the respective partial images half by half.
[0087] In
[0088] As a result, the function F0′(x,y) used when correcting the partial image A becomes a two-dimensional function, which is represented by the following expression:
[0089] Similarly, the functions of other partial images are represented by the following expressions (5) to (7).
[0090] The functions for correction is obtained in the above-mentioned manner to correct the partial images by adding the function values to the respective partial images. This correction enables the new partial image AD and the partial image BC to be obtained even if the offset steps of the partial images A, B, C and D are not constant within the partial images.
[0091] Under the above circumstances, as shown in
[0092] In this situation, F4′(x,y) and F5′(x,y) are represented by the following expressions (8) and (9):
[0093] The above-mentioned process is a correcting process for the two-dimensional image, but in the correcting process, a one-dimensional function is employed.
[0094] Incidentally, generally, when a variation which is not constant within the partial image is corrected in the case where the partial images are coupled together, it is preferable that the boundary portion of the partial image is linear in a certain direction (x-direction or y-direction).
[0095] For example, the boundaries a and b shown in
[0096] Accordingly, the partial image are sequentially selected so as to prevent the shape shown in
[0097] Then, a process for not giving a user (observer) a sense of incongruity that the single entire image are the collection of a plurality of partial images A, B, C and D, is executed as follows:
[0098] First, because the above process is a process for the vicinity of the boundaries a, b, c and d of the partial images A, B, C and D, there is applicable a method in which the components having the characteristic that is continuous in the boundary direction in the vicinity of the boundary are extracted with respect to the boundaries a, b, c and d, and the above characteristic components are removed in the vicinity of the boundary to make the boundaries a, b, c and d unvisible as disclosed in, for example, Japanese Patent Application Laid-open No. 2000-132663 or the like. However, there is a case in which a problem arises in a specific image.
[0099] For example,
[0100] In
[0101]
[0102] In
[0103]
[0104] This method will be described in more detail below.
[0105] First, a process of obtaining the substantial step value d of the boundary by using the above-mentioned expression (3) is again executed with respect to the respective boundaries that have been subjected to the correcting process once. As a result, the step series indicated by d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) are obtained again.
[0106] This step series indicated by d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) should be “0” on the average, but the steps partially remains, and an image noise is added thereto.
[0107] Therefore, the moving averages of the step series d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) are calculated, and its results are set as dm0(0 to L−1), dm1(0 to (L−1)), dm2(−1 to −(L−1)) and dm3(−1 to −(L−1)).
[0108] Note that the same results are obtained even if the difference operation is conducted after the moving averages are calculated. That is, the process does not depend on the calculation order.
[0109] In the boundary a shown in
[0110] where x is 0 to W
[0111] Also, D0(x,y) represented by the following expression (11) is added to the partial image D:
[0112] where x is −1 to W
[0113] Also, similarly, in the boundary b shown in
[0114] where y is 0 to W
[0115] Also, B1(x,y) represented by the following expression (13) is added to the partial image B:
[0116] where y is −1 to W
[0117] Also, similarly, in the boundary c shown in
[0118] where x is 0 to W
[0119] Also, C2(x,y) indicated by the following expression (15) is added to the partial image C:
[0120] where x is −1 to W
[0121] Also, similarly, in the boundary d shown in
[0122] where x is 0 to W
[0123] Also, B3(x,y) indicated by the following expression (17) is added to the partial image B:
[0124] where x is −1 to W
[0125] As described above, the respective functions of A0(x,y), A1(x,y), B1(x,y), B2(x,y), C2(x,y), C3(x,y) and D3(x,y) are added respectively to the partial images A, B, C and D to correct local steps to linear shapes, thereby being capable of eliminating the steps on the boundaries.
[0126] Note that the substantial step hardly damages the image per se because the inclinations of data of the partial images A, B, C and D are taken into consideration, but if the substantial step is an extremely large value, a device may be made so as not to correct the difference.
[0127] Further, the above-mentioned correction of the local steps may be conducted each time when a new partial image is structured by the above-mentioned coupling of the partial images.
[0128] The characteristic functions implemented by the x-ray sensing apparatus
[0129] The entire structure of the x-ray sensing apparatus
[0130] As shown in
[0131] A CPU
[0132] The sequential operation of the x-ray sensing apparatus
[0133] The CPU (central processing unit)
[0134] For example, the memory
[0135] Step S
[0136] Upon radiation of x-rays onto an object
[0137] Step S
[0138] The partial panels
[0139] As a result, electric signals corresponding to pixels are outputted from the respective partial panels
[0140] The respective amplifiers
[0141] The respective A/D converters
[0142] Step S
[0143] The respective DMA controllers
[0144] The dual port memory
[0145] Step S
[0146] The partial image data stored in the dual port memory
[0147] Steps S
[0148] Then, the same operation as the above is conducted in a state where no x-rays are irradiated by the x-ray vessel
[0149] Steps S
[0150] In this situation, information on the gain variation is stored in the memory
[0151] More specifically, x-rays are exposed toward the respective partial panels
[0152] Thus, the CPU
[0153] The above-mentioned correcting process includes a dividing process, and the dividing process may be dealt with, for example, as a subtracting process that conducts logarithmic transformation using a look up table (LUT).
[0154] Also, the CPU
[0155] The CPU
[0156] Step S
[0157] The image data that has been subjected to the above-mentioned process is stored in the memory
[0158] In this case, the image data may be over-written in the memory
[0159] The image data may be saved in the memory unit
[0160] In this case, the partial image data obtained independently is normalized by a process using the above-mentioned data stored in the memory
[0161]
[0162] As shown in
[0163] More specifically, it is assumed that gap g is equal to 1, for example. The substantial step value d is obtained in accordance with the above-mentioned expression (3).
[0164] In the expression (3), assuming that m is equal to 3, the coefficient of the pixel value x(n−2) to x(n+4) is obtained in accordance with a table shown in
[0165] Therefore, the substantial step value d is obtained by the following expression (18).
[0166] The substantial step value sequence d(i) are obtained with taking into consideration the inclination of the image data if the substantial step value d is converted into the one-dimensional data sequence that interpose the boundary x(n+1) of the partial image.
[0167] The “i” in the above-mentioned expression (18) is an index in a direction parallel with the boundary of the partial image.
[0168]
[0169] Steps S
[0170] Step value sequence d0(0) to d0(n) of the boundary a are obtained, and the step value sequence d2(n+2) to d2(M−1) of the boundary c are obtained, through the above-mentioned expression (18).
[0171] More specifically, for example, as shown in
[0172] Steps S
[0173] The step value sequence d0(0) to d0(n) obtained in Steps S
[0174] As D0 and D1, values that represent the distribution of the average values, the center values or the like may be used.
[0175] Step S
[0176] The offset value that is added to the partial image A is set to “0”, and the maximum frequency value D0 obtained in Step S
[0177] As a result, the substantial step between the partial image A and the partial image D is eliminated and can be regarded as a new partial image AD.
[0178] Step S
[0179] The offset value that is added to the partial image B is set to “0” , and the maximum frequency value D1 obtained in Step S
[0180] As a result, the substantial step between the partial image B and the partial image C is eliminated and can be regarded as a new partial image BC.
[0181] Therefore, two new partial images AD and BC shown in
[0182] Steps S
[0183] The substantial step sequence d4(0) to d4(M−1) of the boundary e of the partial image AD and the partial image BC are prepared. Then, the maximum frequency value D2 is obtained.
[0184] Steps S
[0185] The offset value that is added to the partial image AD is set to “0”, and the step value D2 obtained in Step S
[0186] The image thus stored in the memory
[0187] Under the above circumstances, a process is executed in which only the vicinity of the boundaries of the image stored in the memory
[0188] Step S
[0189] The substantial step value sequence d0(0) to d0(n), a1(n+2) to d1(M−1), d2(n+2) to d2(M−1), d3(0) to d3(n) of the original boundaries a, b, c and d are obtained in the same manner as Step S
[0190] Step S
[0191] The step value sequence d0(0) to d0(n), a1(n+2) to d1(M−1), d2(n+2) to d2(M−1), d3(0) to d3(n) obtained in Steps S
[0192] Step S
[0193] The local correcting process of the step components shown in the above-mentioned expressions (10) to (17) is executed.
[0194] That is, as to the original boundary a, the changed origin of the above-mentioned expressions (10) and (11) is used, and dm0(y)(−x/W+1)/2, wherein x: n+1 to n+1+W, y: 0 to n, is added to the partial image A, and dm0(y)(x/W+1)/2, wherein x: n−W to n, y: 0 to n, is added to the partial image D.
[0195] Similarly, as to the original boundary b, the changed origin of the above-mentioned expressions (12) and (13) is used, and dm1(x)(−y/W+1)/2, wherein x: n+1 to M−1, y: n−W to n, is added to the partial image A, and B1(x,y) =dm1(x)(y/W+1)/2, wherein x: n+1 to M−1, y: n+1 to n+1+W, is added to the partial image B.
[0196] Similarly, as to the original boundary c, the changed origin of the above-mentioned expressions (14) and (15) is used, and B2(x,y) dm2(y)(−x/W+1)/2, wherein x: n+1 to n+1+w, y: n+W to M−1, is added to the partial image B, and C2(x,y) dm2(y)(x/W+1)/
[0197] Similarly, as to the original boundary d, the changed origin of the above-mentioned expressions (16) and (17) is used, and C3(x,y) dm3(x)(−y/W+1)/2, wherein x: 0 to n, y: n−W to n, is added to the partial image C, and B3(x,y) dm3(x)(y/W+1)/2, wherein x: 0 to n, y: n+1 to n+1+W, is added to the partial image B.
[0198] Step S
[0199] After the local steps are corrected to linear shapes with respect to the partial images A, B, C and D so as to eliminate the steps on the boundaries through Steps S
[0200] In this embodiment, the above-mentioned operation is realized by programming in a calculator system, but the present invention is not limited to this structure. For example, the above-mentioned operation may be realized by hardware, or may be realized by a structure that mixes hardware and program environments.
[0201] Also, the above-mentioned repair of the vicinity of the boundary may be executed for each of the processes shown in
[0202] Subsequently, a second embodiment of the present invention will be described below.
[0203] In this embodiment, in the case where the offset components of the partial image is not uniform within the partial image, the step value sequence is not represented by a fixed value (the maximum frequency value, the average value or the like), but the step value sequence between two partial images is fitted by a function of the low degree of freedom to prepare a step function, and the step function is divided into two and added to both of the partial images, to thereby unify two partial images.
[0204] Note that, in this embodiment, the step function is prepared, and the step function is divided into two and added to both of the partial images. However, for example, it is possible that the step function is added to one partial image, and a function resulting from reversing the sign of the step function is added to the other partial function.
[0205]
[0206] First, as shown in
[0207] Then, as shown in
[0208] Then, as shown in
[0209]
[0210] This process is implemented by executing the processing program, for example, by a CPU
[0211] Step S
[0212] The step value sequence d0(0) to d0(n) of the boundary between the partial image A and the partial image D is obtained through the above-mentioned expression (18).
[0213] Step S
[0214] The step value sequence d2(n+2) to d2(M−1) of the boundary between the partial image B and the partial image C is obtained through the above-mentioned expression (18).
[0215] Step S
[0216] The step value sequence d0(0) to d0(n)
[0217] Step S
[0218] The step value sequence d2(n+2) to d2(M−1) obtained in Step S
[0219] Step S
[0220] In order to set the step function f0(y,p1) to substantially “0”, f0(y,p1)/2 is added to the partial image A, and −f0(y,p1)/2 is added to the partial image D.
[0221] Step S
[0222] In order to set the step function f2(y,p2) to substantially “0”, f2(y,p2)/2 is added to the partial image B, and −f2(y,p2)/2 is added to the partial image C.
[0223] Therefore, the partial image A and the partial image D are unified into a new partial image AD, and similarly the partial image B and the partial image C are unified into a new partial image BC.
[0224] Step S
[0225] The step value sequence d4(0) to d4(n) of the boundary between the new partial image AD and the new partial image BC is obtained through the above-mentioned expression (18).
[0226] Step S
[0227] The step value sequence d4(0) to d4(n) obtained in Step S
[0228] Step S
[0229] In order to set the step function f4(y,p3) to substantially “0”, f4(y,p3)/2 is added to the partial image AD, and −f4(y,p3)/2 is added to the partial image BC.
[0230] The above-mentioned process enables an appropriate correction of the step between the respective partial images A, B, C and D even if those four partial images A, B, C and D are images on which not uniform but the varied components are superimposed.
[0231] Thereafter, the process shown in
[0232] Subsequently, a third embodiment of the present invention will be described below.
[0233] In this embodiment, for example, in the x-ray sensing apparatus
[0234] More specifically, the nine partial images (00) to (22) that are in a state shown in
[0235] After the unified state shown in
[0236] Subsequently, a fourth embodiment of the present invention will be described below.
[0237] In this embodiment, it is assumed that an image of the object
[0238] In
[0239] That is, a pixel onto which the x-rays are hardly radiated or not radiated at all exists in the portion
[0240] In this example, the output (electric signal) of the x-ray sensor panel is generally in proportion to the incident x-ray intensity, and in the energy transformation or the transforming process of the electric signal (the amplification, the impedance transformation or the like), the x-ray intensity and the linearity of the output electric signal are not always constant in the sensitive region of the sensor panel.
[0241] In particular, in the portion where the x-ray intensity is very high, the non-linearity gradually appears as approaching to the output saturation region of the electric system. Also, in the portion where the x-ray radiation is weak, the non-linearity appears due to the influence of noises, the non-stability of action at a super-low voltage of the electric circuit or the like.
[0242] The image information on the portion where the above-mentioned non-linearity appears is nonsense information in almost all cases, and there arises no problem even if such image information normally exists.
[0243] However, in the case where the offset component of the entire partial image (for example, an offset in case of the image data that is in proportion to the x-rays, and a gain in case of the image data that is in proportion to the logarithm) is derived from the statistical action of a part of the partial image, when the above-mentioned portion where an error caused by the non-linearity is large occupies a very large area, the error adversely affects the entire image, thereby failing to extract an accurate offset component.
[0244] Under the above circumstances, in this embodiment, a section where the linearity is reliable is determined in the sensitive region of the sensor panels
[0245] For example, in the case of medical x-ray sensing, at the time when it is detected that the amount of x-rays that passes through the object
[0246] For this reason, in this embodiment, the average value m(i) of the data that interposes the boundary is obtained by the following expression (19).
[0247] If the average value m(i) satisfies the following condition assuming that the minimum value is V0 and the maximum value is V1 in the reliable section, the step value d(i) obtained by the above-mentioned expression (18) is used and added to the histogram preparation.
[0248] V0≦m(i)≦V1
[0249] In this embodiment, two partial images are unified by using only the above-mentioned step value d(i). That is, in the generation of the histogram in Steps S
[0250] Subsequently, a fifth embodiment of the present invention will be described below.
[0251] In this embodiment, only the step value is used for the reliable section in the fourth embodiment to conduct the function fitting corresponding to the second embodiment even if the step value at the necessary region is obtained.
[0252] That is, only the step value in the reliable section is used for the function fitting. As a result, the fitting of the data sequence of the irregular intervals is made.
[0253] In the above-mentioned first to fifth embodiments, in the case where one image is made up of a plurality of partial images that do not overlap each other, an offset between two adjacent partial images selected from the plurality of partial images is corrected (adjusted) to generate one partial image where the boundary is not visible, as one new partial image into which the two partial images are unified. In this situation, those two partial images may be corrected on the basis of the statistic property of the pixel value in the boundary portion region between the unified two partial images. This unifying process is repeatedly executed until all of the plural partial images have been unified into one new image with the result that one final image becomes an image where the boundary is not visible.
[0254] With the above structure, because the variations of the individual partial images can be stably corrected, one final image in the excellent state into which the partial images have been unified can be obtained.
[0255] A sixth embodiment of the present invention will be described below, in which the description of the same parts as those in the first embodiment will be omitted.
[0256] Differences of the sixth embodiment from the first embodiment reside in a correcting method where the correction to the partial images A, B, C and D is conducted by addition/subtraction of a constant value, and the operation related to Steps S
[0257] In the case of using the constant value, the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) at the boundaries a, b, c and d are consolidated into one certain value. For that reason, the values D0, D1, D2 and D3 are derived from the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) one by one, respectively.
[0258] As a method of deriving the values D0, D1, D2 and D3, there may be applied a method of obtaining the respective average values of the step values d0(0 to L−1), d1(0 to (L−1)), d2(−1 to −(L−1)) and d3(−1 to −(L−1)) as the values D0, D1, D2 and D3. However, for example, if the step values are not averagely corrected, but a region as large as possible is corrected, for example, as shown in
[0259] It is needless to say the following expression is satisfied.
[0260] However, the following expression needs to be applied due to an error in calculation, an influence of the image noise, unconstant offset value and so on.
[0261] The correction values F0, F1, F2 and F3 are added to the data of the respective partial images A, B, C and D to correct the step on the boundary.
[0262] For example, it is assumed that F0 is equal to 0 with the partial image A as a reference. In this case, if D0+D1+D2+D3=0 is satisfied, the same effect is obtained even if clockwise or counterclockwise order is applied, and the correction values F0, F1, F2 and F3 are represented by the following expressions:
[0263] On the other hand, if the following expression is satisfied, the inconsistency is prevented with the average of the clockwise and counterclockwise.
[0264] That is, the correction values F0, F1, F2 and F3 in this case are represented by the following expressions:
[0265] This corresponds to the uniformly distribution of the error all over.
[0266] As a method of preventing the above-mentioned inconsistency, there is applicable a method in which the minimum absolute value among the values D0 to D3 is replaced with the sum of other values, whose sign is reversed.
[0267] Also, because there is resultantly no fear that the pixel value of the image becomes negative if all of the correction values F0 to F3 are set to positive values, the minimum value among the correction values F0 to F3 may be added to all the values.
[0268] Subsequently, Steps S
[0269]
[0270] Step S
[0271] Four sequences of d0(0) to d0(n), a1(n+2) to d1(M−1), d2(n+2) to d2(M−1), d3(0) to d3(n) on the boundaries of the partial images A, B, C and D are prepared through the above-mentioned expression (18).
[0272] More specifically, for example, as shown in
[0273] Step S
[0274] The respective maximum frequency values of d0(0) to d0(n), a1(n+2) to d1(M−1), d2(n+2) to d2(M−1), d3(0) to d3(n) obtained in Step S
[0275] As D0, D1, D2 and D3, for example, values that represent the distribution of the average value, the center value or the like may be employed.
[0276] Step S
[0277] It is assumed that the offset value F0 added to the partial image A is “0”, and the offset values F1, F2 and F3 added to other partial images B, C and D are (D1−D0−D3−D2)/2.
[0278] Step S
[0279] It is assumed that all of the offset values F0 to F
[0280] More specifically, for example, assuming that the minimum value of the offset values F0 to F
[0281] Step S
[0282] The offset values F to F3 obtained in Step S
[0283] This result is stored in the memory
[0284] Under the above circumstances, there is executed a process in which only the vicinity of the boundaries of the image stored in the memory
[0285] Next, a seventh embodiment of the present invention will be described below.
[0286] In the sixth embodiment, four partial images obtained by the partial panels
[0287] For example, as shown in
[0288] In this case, the substantial step value d is obtained in the same manner as that in the first embodiment in a direction indicated by an arrow in
[0289] The step value d is obtained, independently, and thus all of the step values d are not inconsistent. Accordingly, the correction offset values to be added to the respective partial images need to be obtained from the average value of the sum of the step values at every routes.
[0290] More specifically, the joint of the partial images (00), (01), (02), (10), (11), (12), (20), (21) and (22) shown in
[0291] In this example, if an offset value starts from a certain cell and is added with the step value on the connection line, and a value at the time of reaching the original cell is not 0 even if the system passes through any route, this system is inconsistent. In this example, a method of solving this inconsistency is realized.
[0292] For example, it is assumed that F00=“0” with reference to the offset value that is added to the partial image (00). The offset value F01 of a succeeding partial image (01) is obtained by averaging the offset values that pass through all of paths from the partial image (00) to the partial image (01).
[0293] In this case, four routes indicated by a broken line in