The present invention relates to an image processing apparatus for processing a digital image signal, and more particularly to an image processing apparatus for and an image processing program for, and a storage medium having stored therein the image processing program for obtaining images of a wide dynamic range.
Up until now, there have been provided a wide variety of prior-art image processing apparatuses. One typical example of the conventional image processing apparatus of this type is disclosed in, for example, Japanese Patent Laid-Open Publication No. H06-141229.
The conventional image processing apparatus is exemplified and shown in
The conventional image processing apparatus thus constructed as previously mentioned can provide the images of a wide dynamic range on the monitor so as to prevent dark portions of the object displayed on, for example, the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white resulting from the fact that the image signals having high signal levels have been nonlinearly compressed by the compressing unit 8 to the image signals of signal levels below a predetermined level, and the monitor is operative to display the dark portions of the object on the basis of the image signals of the long exposure time and the bright portions of the object on the basis of the image signals of the short exposure time.
The conventional image processing apparatus thus constructed as previously mentioned, however, encounters a drawback in that complicates processes are required, the number of bits forming the image signal is increased, and thus circuits forming part thereof are increased in size resulting from the fact that the image signal of the short exposure time is multiplied by the ratio of the long exposure time to the short exposure time so that the signal level of the image signal of the short exposure time become close to that of the image signal of the long exposure time.
Further, the conventional image processing apparatus thus constructed as previously mentioned encounters another drawback in that processing delays are increased, and minute image information tends to be lost due to accumulated computing errors because of the fact that many computing operations are required to be carried out on the image signals.
Still further, the conventional image processing apparatus thus constructed as previously mentioned encounters another drawback in that the circuits forming part thereof are further increased in size in the event that the color image signals are processed by the reason that each of the color image signals is divided into a brightness signal and a color-difference signal and the color-difference signals are controlled on the basis of rate of nonlinear change of the brightness signals and therefore the rate of change of the brightness signals is required to be calculated.
The present invention is made for the purpose of overcoming the above mentioned drawbacks, and it is therefore an object of the present invention to provide an image processing apparatus, an image processing program, and a storage medium having stored therein the image processing program for obtaining image of a wide dynamic range in a simple manner while minimizing the processing delays and loss of minute image information due to accumulated computing errors.
In accordance with a first aspect of the present invention, there is provided an image processing apparatus, comprising: image signal inputting means for inputting a plurality of image signals different from one another in exposure time; level converting factor calculating means for calculating a level converting factor for each of the image signals; weighting factor calculating means for calculating a weighting factor for each of the image signals; and adding means for adding up the image signals respectively multiplied by the level converting factors multiplied by the weighting factors.
The image processing apparatus according to the present invention thus constructed can provide high quality images of a wide dynamic range to, for example, a monitor so as to prevent dark portions of the object displayed on the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white in a simple manner without increasing the size of circuits forming part thereof as well as reduce loss of minute image information due to accumulated processing delays and computing errors.
Further, in the image processing apparatus according to the present invention, the level converting factor calculating means may be operative to calculate the level converting factor for each of the image signals in such a manner that the image signals respectively multiplied by the level converting factors are substantially equal to one another in signal level under the condition that the signal levels of the image signals are less than a predetermined value, and the image signals respectively multiplied by the level converting factors are reduced in signal level under the condition that the signal levels of the image signals are above the predetermined value.
The image processing apparatus according to the present invention thus constructed can reduce the number of computations carried out on the image signals, thereby making it possible for the image processing apparatus to be in a simple construction without increasing the size of the circuits forming part thereof.
Further, the image processing apparatus may further comprise: high frequency component extracting means for allowing only high frequency components of the image signals greater than a predetermined frequency level to be passed therethrough; and high frequency level converting factor calculating means for calculating a high frequency level converting factor for each of the high frequency components of the image signals passed by the high frequency component extracting means, and in which the adding means may be operative to multiply by the weighting factor the sum of each of the image signals multiplied by the level converting factor and the high frequency component of each of the image signals multiplied by the high frequency level factor.
The image processing apparatus according to the present invention thus constructed can provide high quality images of a wide dynamic range from bright portions to dark portions with sharpness using the high frequency components of the image signals in a simple manner without increasing the size of circuits forming part thereof.
Further, in the image processing apparatus, each of the image signals may include color components, and which may further comprise: representative value calculating means for calculating a representative value for the color components for each of the image signals, and in which the level converting factor calculating means may be operative to calculate a level converting factor for each of the image signals on the basis of the representative value, and the weighting factor calculating means may be operative to calculate a weighting factor for each of the image signals on the basis of the representative value.
The image processing apparatus according to the present invention thus constructed can employ the same level converting factor for each of representative values and thus obtain high quality color images of a wide dynamic range from bright portions to dark portions with the hue of the color images maintained constant as well as prevent circuits forming part thereof from being increased in size.
Further, in the image processing apparatus, the image signal inputting means may be operative to input a plurality of image signals from an imaging device operative to temporarily store therein image signals of respective exposure times for respective time periods in such a manner that the image signals are synchronized with one another.
The image processing apparatus according to the present invention thus constructed can provide high quality images of a wide dynamic range to, for example, a monitor so as to prevent dark portions of the object displayed on the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white in a simple manner.
In accordance with a second aspect of the present invention, there is provided a program executable by an image processing apparatus to carry out: an image signal inputting step of inputting a plurality of image signals different from one another in exposure time; a level factor calculating step of calculating a level converting factor for each of the image signals; a weighting factor calculating step of calculating a weighting factor for each of the image signals; and an adding step of adding up the image signals respectively multiplied by the level converting factors multiplied by the weighting factors.
The program according to the present invention thus constructed makes it possible for a microprocessor, a digital signal processor, or the like to carry out image processing steps to obtain high quality images of a wide dynamic range.
Further, in the program according to the present invention, the level factor calculating step is of calculating the level converting factor for each of the image signals in such a manner that the image signals respectively multiplied by the level converting factors are substantially equal to one another in signal level under the condition that the signal levels of the image signals are less than a predetermined value, and the image signals respectively multiplied by the level converting factors are reduced in signal level under the condition that the signal levels of the image signals are above the predetermined value.
The program according to the present invention thus constructed can reduce the number of computations carried out on the image signals, and thus makes it possible for a machine executing the program to obtain high quality images of a wide dynamic range in a simple manner while preventing the size of circuits forming part of the machine from being increased.
Further, in the program according to the present invention, the level factor calculating step may be of calculating the level converting factor for each of the image signals on the basis of predetermined data representative of level converting factor characteristics.
The program according to the present invention thus constructed makes it possible for a machine executing the program to obtain level appropriate converting factors in a simple manner.
In accordance with a third aspect of the present invention, there is provided a storage medium having stored therein a program executable by an image processing apparatus according to the present invention to carry out: an image signal inputting step of inputting a plurality of image signals different from one another in exposure time; a level factor calculating step of calculating a level converting factor for each of the image signals; a weighting factor calculating step of calculating a weighting factor for each of the image signals; and an adding step of adding up the image signals respectively multiplied by the level converting factors multiplied by the weighting factors.
The storage medium having stored therein a program according to the present invention thus constructed makes it possible for a microprocessor, a digital signal processor, or the like to carry out image processing steps to obtain high quality images of a wide dynamic range.
Further, in the storage medium having stored therein a program executable by an image processing apparatus according to the present invention, the level factor calculating step may be of calculating the level converting factor for each of the image signals in such a manner that the image signals respectively multiplied by the level converting factors are substantially equal to one another in signal level under the condition that the signal levels of the image signals are less than a predetermined value, and the image signals respectively multiplied by the level converting factors are reduced in signal level under the condition that the signal levels of the image signals are above the predetermined value.
The storage medium having stored therein a program according to the present invention thus constructed can reduce the number of computations carried out on the image signals, and thus makes it possible for a machine executing the program to make the image signals substantially equal to one another in signal level under the condition that the signal levels of the image signals are less than a predetermined value, and the image signals reduced in signal level under the condition that the signal levels of the image signals are above the predetermined value.
Further, in the storage medium having stored therein a program executable by an image processing apparatus according to the present invention, the level factor calculating step may be of calculating the level converting factor for each of the image signals on the basis of predetermined data representative of level converting factor characteristics.
The storage medium having stored therein a program according to the present invention thus constructed makes it possible for a machine executing the program to obtain level appropriate converting factors in a simple manner.
The features and advantages of an image processing apparatus and an image processing program according to the present invention will be more clearly understood from the following description taken in conjunction with the accompanying drawings in which:
A preferred embodiment of the present invention will be described hereinafter with reference to the drawings.
As will be clearly seen from
The image processing apparatus further comprises weighting factor calculating means constituted by a weighting factor calculating unit 14 for calculating a weighting factor for each of the long image signals and the short image signals, a first multiplying unit 15a for multiplying the level converting factor calculated by the first level converting factor calculating unit 12 by the weighting factor calculated by the weighting factor calculating unit 14, and a second multiplying unit 15b for multiplying the level converting factor calculated by the second level converting factor calculating unit 13 by the weighting factor calculated by the weighting factor calculating unit 14.
The image processing apparatus further comprises a third multiplying unit 16a for multiplying each of the long image signals by the product of the level converting factor calculated by the first level converting factor calculating unit 12 and the weighting factor calculated by the weighting factor calculating unit 14 calculated by the first multiplying unit 15a, a fourth multiplying unit 16b for multiplying each of the short image signals by the product of the level converting factor calculated by the second level converting factor calculating unit 13 and the weighting factor calculated by the weighting factor calculating unit 14 calculated by the second multiplying unit 15b, and adding means constituted by an adding unit 17 for adding up each of the long image signals multiplied by the third multiplying unit 16a and the short image signals multiplied by the fourth multiplying unit 16b.
The operation of the first embodiment of the image processing apparatus according to the present invention will be described hereinlater.
The image signal inputting unit 11 is operated to input a plurality of image signals different from one another in exposure time. The image signals inputted by the image signal inputting unit 11 are synchronized with one another so to be processed simultaneously, and include long image signals and short image signals. Each of the image signals has a signal level. The first level converting factor calculating unit 12 is operated to calculate a level converting factor for each of the long image signals, and the second level converting factor calculating unit 13 is operated to calculate a level converting factor for each of the short image signals. The operations performed by the first level converting factor calculating unit 12 and the second level converting factor calculating unit 13 will be described later.
The weighting factor calculating unit 14 is operated to calculate a weighting factor for each of the long image signal and the short image signal on the basis of the signal level of each of the long image signal. The operation performed by the weighting factor calculating unit 14 will be described later.
The first multiplying unit 15a is operated to multiply the level converting factor calculated by the first level converting factor calculating unit 12 by the weighting factor calculated by the weighting factor calculating unit 14. The third multiplying unit 16a is then operated to multiply each of the long image signals by the product of the level converting factor calculated by the first level converting factor calculating unit 12 and the weighting factor calculated by the weighting factor calculating unit 14 calculated by the first multiplying unit 15a with the result that the long image signals thus calculated are substantially equal to one another in signal level under the condition that the signal levels of the long image signals are less than a predetermined value, and the long image signals thus calculated are reduced in signal level under the condition that the signal levels of the long image signals are above the predetermined value, as well as weighted by the weighting factor. Likewise, the second multiplying unit 15b is operated to multiply the level converting factor calculated by the second level converting factor calculating unit 13 by the weighting factor calculated by the weighting factor calculating unit 14. The fourth multiplying unit 16b is then operated to multiply each of the short image signals by the product of the level converting factor calculated by the second level converting factor calculating unit 13 and the weighting factor calculated by the weighting factor calculating unit 14 calculated by the second multiplying unit 15b, with the result that the short image signals thus calculated are substantially equal to one another in signal level under the condition that the signal levels of the short image signals are less than a predetermined value, and the short image signals thus calculated are reduced in signal level under the condition that the signal levels of the short image signals are above the predetermined value, as well as weighted by the weighting factor.
The adding unit 17 is operated to add up each of the long image signals multiplied by the third multiplying unit 16a and the short image signals multiplied by the fourth multiplying unit 16b and output the image signals thus added up to, for example, a monitor.
The following description will be directed to a method of calculating the level converting factors for the long image signal and the short image signal.
As will be clearly seen from
The present embodiment of the image processing apparatus according to the present invention is operative to synthesize the long image signals 21 and the short image signals 22 in accordance with the brightness levels of the object to obtain high quality images of a wide dynamic range so as to be displayed on, for example, a monitor as an image of the object having bright and dark portions to be clearly seen by a viewer. The long image signals 21 and the short image signals 22 are required to be processed before being synthesized, for the purpose of appropriately adjusting the signal levels of the long image signals 21 and the short image signals 22. In the case that each of the short image signals 22 is just multiplied by a ratio of the long exposure time to the short exposure time, the signal levels of the short image signals 22 thus multiplied, however, may increase above a predetermined upper signal level and could not be displayed by the monitor because of the fact that the signal levels of the image signals above the upper signal level would require a large number of bits while the output unit such as, for example, a monitor could display image signals only with the limited number of bits. Accordingly, the signal levels of the image signals thus multiplied should be reduced in the number of bits to an appropriate level.
This leads to the fact that, in the present embodiment, the signal level of each of the image signals above the predetermined upper signal level are nonlinearly compressed to have the number of the bits forming part of each of the image signals compressed to an appropriate number.
FIGS. 3(a) to (d) are graphs each showing characteristic data of level compressing function and level converting factors applied to the long image signals and the short image signals.
The level compressing function denoted by a reference numeral 31 is determined by performing the computation represented by an expression 1 as follows.
Y=Flong(X) (Expression 1)
X: inputted image signals
Wherein “F long (X)” is intended to mean the level compressing function 31, and “Y” is intended to mean the value of the computation.
The long image signals are computed in accordance with the level compressing function 31. This means that the level compressing function 31 can be arbitrary specified so as to make the long image signals have characteristics appropriate for the output unit such as a monitor. The level compressing function 31 may be specified so that, for example, the signal levels of the long image signals thus computed in accordance with the level compressing function 31 are drastically increased under the condition that the signal levels of the long image signals are low, and the signal levels of the long image signals are reduced below the predetermined saturated level under the condition that the signals levels of the long image signals are above the predetermined saturated level. The image of the object displayed by, for example, the monitor based on the image signals thus computed can be clearly seen by a viewer because of the fact that the dark portions of the object are displayed on the basis of the image signals having signal levels thus increased and the bright portions of the object are displayed on the basis of the image signals thus compressed below the predetermined saturated level.
Further, in view of an object and its intended use, the specified level compressing function 31 may be in the form of, for example, an S shape. The image signals thus computed can be advantageous especially when the image of the object displayed on the basis of the long image signals having middle signal levels is required to be clearly seen. From the description in the above, it is understood that the characteristics of the level compressing function 31 can be arbitrary specified utilizing, for example, a microcomputer in view of an object and its intended use to obtain desired image signals of high quality.
The level converting factors denoted by a reference numeral 32 are determined in combination with the level compressing function 31 by performing the computation represented by an expression 2 as follows.
Along(X)=Flong(X)/X (Expression 2)
Wherein “A long (X)” is intended to mean the level converting factors 32 and “F long (X)” is intended to mean the level compressing function 31.
It will be understood that the long image signals multiplied by the level converting factors 32 results in the values equal to those of the long image signals computed in accordance with the level compressing function 31 as will be clearly seen from an expression 3 described below.
Along X)*X=Flong (X)/X*X=Y (Expression 3)
This leads to the fact that high signal levels of the long image signals can be compressed after the long image signals are multiplied by the level converting factors 32.
Similar to the description in the above about the long image signals, the level compressing function denoted by a reference numeral 33 is determined by performing the computation represented by an expression 4 as follows.
Y=Fshort(X) (Expression 4)
X: inputted image signals
Wherein “F short (X)” is intended to mean the level compressing function 33, and “Y” is intended to mean the value of the computation.
Here, the signal levels of the short image signals can be adjusted in such a manner that the signal levels of the short image signals become close to those of the long image signals by performing the computation represented by an expression 5 as follows.
Similar to the description in the above about the long image signals, the level converting factors denoted by a reference numeral 34 are determined in combination with the level compressing function 33 by performing the computation represented by an expression 6 as follows.
Ashort(X)=Fshort(X)/X (Expression 6)
Wherein “A short (X)” is intended to mean the level converting factors 34 and “F short (X)” is intended to mean the level compressing function 33.
It will be understood that the short image signals multiplied by the level converting factors 34 results in the values equal to those of the short image signals computed in accordance with the level compressing function 33 as will be clearly seen from an expression 7 described below.
Ashort(X)*X=Fshort(X)/X*X=Y (Expression 7)
This leads to the fact that the signal levels of the short image signals can be adjusted in such a manner that the signal levels of the short image signals become close to those of the long image signals as well as the signal levels of the short image signals are compressed by multiplying the short image signals by the level converting factors 34. Here, it is not necessary to make the signal levels of the short image signals become exactly equal to those of the long image signals.
The level converting factors 32 and 34 respectively shown in FIGS. 3(b) and 3(d) may have been calculated in advance by, for example, a microcomputer, and stored in, for example, a memory as being in the format of a table, and the present embodiment of the image processing apparatus may obtain the level converting factors 32 and 34 corresponding to the signal levels of the long image signal and the short image signal with reference to the table stored in the memory.
It is more preferable in view of saving a memory space that a plurality of points representative of the level converting factors 32 and 34 respectively shown in FIGS. 3(b) and 3(d) may have been selected in advance and stored in, for example, a memory as being in the format of a table, and the present embodiment of the image processing apparatus may obtain the level converting factors 32 and 34 corresponding to the signal levels of the long image signal and the short image signal with reference to the table stored in the memory, if necessary, interpolating the points.
The following description will be directed to a method of calculating the weighting factors for the long image signal and the short image signal.
The weighting factor calculating unit 14 is operative to calculate a weighting factor 51 for the long image signal based on the signal level of the long image signal and a weighting factor 52 for the short image signal based on the signal level of the short image signal in such a manner that the weighting factor 51 for the long image signal is large under the condition that the signal level of the inputted image signal is low and the weighting factor 52 for the short image signal is large under the condition that the signal level of the inputted image signal is high as will be clearly seen from
Further, the weighting factor calculating unit 14 is operative to calculate a weighting factor 51 for the long image signal and a weighting factor 52 for the short image signal in such a manner that the sum of the weighting factor 51 for the long image signal and the weighting factor 52 for the short image signal is constantly maintained at one while adaptively changing the weighting factor 51 for the long image signal and the weighting factor 52 for the short image signal in response to their signal levels. This makes it possible for the present embodiment of the image processing apparatus to prevent the sum of the long image signals multiplied by the weighting factors and the short image signals multiplied by the weighting factors from being severely fluctuated in signal levels and thus smoothly synthesize the long image signals and the short image signals based on the ratio of their signal levels.
Further, the weighting factor calculating unit 14 is designed to calculate a weighting factor 51 for the long image signal and the weighting factor 52 for the short image signal under the condition that the signal level of image signal is above a predetermined crossing start level denoted by a reference numeral 53 with a gradient of the short image signals denoted by a reference numeral 54 as clearly seen from
While it has been described in the above about the fact that the present embodiment of the image processing apparatus is operative to process the long image signals and the short image signals separately from each other, the image processing apparatus according to the present invention is not limited to processing the long image signals and short image signals separately from each other. The image processing apparatus according to the present invention may comprise, for example, one level converting factor calculating unit in place of the first level converting factor calculating unit 12 and the second level converting factor calculating unit 13 because of the fact that the long image signals and the short image signals are processed in the same manner except for the values of the level converting factors. This means that the image processing apparatus may process the long image signals and the short image signals as time division signals at a double rate, and comprise one single level converting factor calculating unit for selectively calculating level converting factors for the long image signals and the short image signals switched one after another, and the weighting factor calculating unit 14 is operative to input the long image signals only, and the adding unit 17 is operative to add up each of the long image signals and the short image signals as well as to convert the rate. The image processing apparatus thus constructed is preferable in view of the size of the circuit.
Further, though it has been described herein about the fact that the present embodiment of the image processing apparatus is operative to process two types of image signals different from each other in exposure time, viz., the long image signals and the short image signals, the image processing apparatus according to the present invention is not limited to processing two types of image signals. It is needless to mention that the same effect can still be obtained even when the image processing apparatus according to the present invention processes, for example, more than two types of image signals different from one another in exposure time.
As will be seen from the foregoing description, it will be understood that the present embodiment of the image processing apparatus according to the present invention can reduce the number of computations and still provide high quality images of a wide dynamic range to, for example, a monitor so as to prevent dark portions of the object displayed on the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white in a simple manner without increasing the size of circuits forming part thereof resulting from the facts that the image signals are multiplied by the level converting factors to be substantially close to one another in signal level below a predetermined signal level and the image signals are multiplied by the weighting factors. Further, the present embodiment of the image processing apparatus can reduce the number of computations and loss of minute image information due to accumulated processing delays and computing errors resulting from the fact that the level converting factors are multiplied by the weighting factors before the image signals are multiplied by the level converting factors.
Further the more, the present embodiment of the image processing apparatus can prevent circuits forming part thereof from being increased in size due to the increase in the number of bits resulting from the fact that the image signals are multiplied by the level converting factors to be substantially close to one another in signal level below a predetermined signal level.
As will be clearly seen from
The following description will be directed to constituent elements forming part of the present embodiment of the image processing apparatus different from the first embodiment.
The HPF 65a is adapted to allow only high frequency components of the long image signals greater than a predetermined frequency level to be passed therethrough. The HPF 65b is adapted to allow only high frequency components of the short image signals greater than a predetermined frequency level to be passed therethrough. The first high frequency level converting factor calculating unit 66 is adapted to calculate a high frequency level converting factor for each of the high frequency components of the short image signals passed by the HPF 65b. Here, the high frequency level converting factors may have been calculated in advance and stored in, for example, a memory as being in the format of a table. Further, the first high frequency level converting factor calculating unit 66 may calculate a high frequency level converting factor for each of the high frequency components of the short image signals in such a manner that the high frequency components of the short image signals have appropriate characteristics different from those of the short image signals multiplied by the level converting factors, e.g., the high frequency components of the short images having high signal levels are not so much compressed. The image processing apparatus thus constructed makes it possible for the high frequency components of the short image signals to remain after all of the image signals are added up, and thus can obtain sharp images.
Likewise, the second high frequency level converting factor calculating unit 67 is adapted to calculate a high frequency level converting factor for each of the high frequency components of the long image signals passed by the HPF 65a. The second high frequency level converting factor calculating unit 67 may calculate a high frequency level converting factor for each of the high frequency components of the long image signals in such a manner that the high frequency components of the long image signals have appropriate characteristics different from those of the short image signals multiplied by the level converting factors, e.g., the high frequency components of the long images having high signal levels are not so much compressed. The image processing apparatus thus constructed makes it possible for the high frequency components of the long image signals to remain after all of the image signals are added up, and thus can obtain sharp images.
The multiplying unit 68a is operative to multiply the long image signals inputted by the image signal inputting unit 61 by the level converting factor calculated by the first level converting factor calculating unit 62. The multiplying unit 69a is operative to multiply the high frequency components of the long image signals passed by the HPF 65a by the high frequency level converting factors calculated by the second high frequency level converting factor calculating unit 67. The adding unit 70a is operative to add up the long image signals multiplied by the multiplying unit 68a and the high frequency components of the long image signals multiplied by the multiplying unit 69a.
Likewise, the multiplying unit 68b is operative to multiply the short image signals inputted by the image signal inputting unit 61 by the level converting factor calculated by the second level converting factor calculating unit 63. The multiplying unit 69b is operative to multiply the high frequency components of the short image signals passed by the HPF 65b by the high frequency level converting factors calculated by the first high frequency level converting factor calculating unit 66. The adding unit 70b is operative to add up the short image signals multiplied by the multiplying unit 68a and the high frequency components of the short image signals multiplied by the multiplying unit 69b.
The multiplying unit 71a is operative to multiply the long image signals added by the adding unit 70a by the weighting factors calculated by the weighting factor calculating unit 64. The multiplying unit 71b is operative to multiply the short image signal added by the adding unit 70b by the weighting factors calculated by the weighting factor calculating unit 64. The adding unit 72 is operative to add up the long image signals added by the adding unit 70a and the short image signals added by the adding unit 70b and output the image signal thus added up to, for example, a monitor for displaying the image signals.
As will be seen from the foregoing description, it will be understood that the present embodiment of the image processing apparatus according to the present invention makes it possible for the high frequency components of the short image signals to remain after all of the image signals are added up, and thus can obtain sharp images in high frequency components, viz., high quality images of a wide dynamic range as well as prevent circuits forming part thereof from being increased in size due to the increase in the number of bits to make the image signals substantially close to one another as in the case of the conventional image processing apparatus, resulting from the fact that the image processing apparatus is operative to extract high frequency components from the image signals and multiply the high frequency components by high frequency level converting factors appropriate for the high frequency components.
The third embodiment of the image processing apparatus according to the present invention is operative to process color image signals and, as will be clearly seen from
The following description will be directed to constituent elements forming part of the present embodiment of the image processing apparatus different from the first embodiment.
In order to process a color image, image data indicative of the color image, in general, is required to be inputted as, for example, primary color image signals indicative of red (R), green (G), and blue (B), complementary color image signals indicative of cyan (Cy), magenta (Mg), yellow (Ye), and green (G), or the like. The aforementioned color image signals indicative of respective color component information are different from one another in signal level. This leads to the fact that the ratio of respective color components may be distorted when the image signals are nonlinearly compressed, and thus the hue of the color images may be changed in the case that the first embodiment of the image processing apparatus simply processes the color image signals.
In the present embodiment of the image processing apparatus according to the present invention, the first representative value calculating unit 82a is operative to calculate a representative value for the color components for each of the long image signals, and the second representative value calculating unit 82b is operative to calculate a representative value for the color components for each of the short image signals. Here, the representative value is intended to mean, for example, a maximum value, or an average value, viz., a brightness value of the complementary color image signal, or the like. Further, the representative value may be a brightness value of a primary color image signal, which can be computed in accordance with an expression 8 described below.
Brightness Value=0.3*R+0.6*G+0.1*B (Expression 8)
The first level converting factor calculating unit 83 is operative to calculate a level converting factor for each of the long image signals on the basis of the representative value calculated by the first representative value calculating unit 82a. The second level converting factor calculating unit 84 is operative to calculate a level converting factor for each of the short image signals on the basis of the representative value calculated by the second representative value calculating unit 82b.
The weighting factor calculating unit 85 is operative to input the representative value calculated by the first representative value calculating unit 82a and calculate a weighting factor for each of the long image signals on the basis of the representative value. The first multiplying unit 86a is operative to multiply the level converting factor calculated by the first level converting factor calculating unit 83 by the weighting factor calculated by the weighting factor calculating unit 85, and the second multiplying unit 86b is operative to multiply the level converting factor calculated by the second level converting factor calculating unit 84 by the weighting factor calculated by the weighting factor calculating unit 85. Likewise, the third multiplying unit 87a, the fourth multiplying unit 87b, and the adding unit 88 operate in the same manner as the third multiplying unit 16a, the fourth multiplying unit 16b, and the adding unit 17 operate in the first embodiment.
As will be seen from the foregoing description, it will be understood that the present embodiment of the image processing apparatus according to the present invention ensures that the ratio of respective color components remains unchanged and thus can obtain high quality color images of a wide dynamic range with the hue of the color images maintained constant as well as prevent circuits forming part thereof from being increased in size due to the increase in the number of bits to make the image signals substantially close to one another and the division process to calculate the rate of change of the brightness signals as in the case of the conventional image processing apparatus, resulting from the fact that the image processing apparatus is operative to multiply each of the image signals by the factors calculated based on the representative value for the color components.
The imaging apparatus to be applied to any one of the embodiments of the image processing apparatus according to the present invention is shown in
The imaging device 91 is constituted by a solid-state image sensing device such as for example a CCD (charge-coupled device), a COS (complementary metal oxide semiconductor), or the like, and operative to convert light into an electrical signal, viz., an image signal. The analog processing unit 92 is operative to carry out an image processing such as, for example, correlated double sampling (CDS), automatic amplitude control (AGC), and the like on the analog image signal. The AD converting unit 93 is operative to convert the analog image signal into a digital image signal to be inputted to the image signal processing unit 94.
The timing control section 95 forming part of the image signal processing unit 94 is operative to temporarily store the image signal in the memory 96 to synchronize the long image signals with the short image signals in such a manner that the long image signals and the short image signals forming part of the same image signals indicative of the object are processed concurrently, the image signal synthesizing section 97 is operative to synthesize the long image signals with the short image signals, and the image processing section 98 is operative to carry out an image signal processing on the image signal thus synthesized and output the image signals therethrough.
Further, in the imaging apparatus, the imaging device 91, the analog processing unit 92, and the AD converting unit 93 are operative at a rate several times as fast as that of images in respective exposure times so as to obtain image signals indicative of the images different from one another in exposure time, and the timing control section 95 is operative to temporarily store the image signals in the memory 96 to synchronize the image signals with one another so as to process the image signals different from one another in exposure time.
This leads to the fact that memory capacity required to selectively switch screens respectively forming part of the image signals different from one another in exposure time is calculated in accordance with an expression 9 as follows.
Memory Capacity=Data for one whole Screen*(the number of image signals different from one another in exposure time−1) (Expression 9)
Likewise, memory capacity required to selectively switch lines respectively forming part of the image signals different from one another in exposure time is calculated in accordance with an expression 10 as follows.
Memory Capacity=Data for one Line*(the number of image signals different from one another in exposure time−1) (Expression 10)
Though it has been described in the above that the imaging apparatus comprises one single imaging device 91, one single analog processing unit 92, and one single AD converting unit 93 electrically connected in series as shown in
Further the imaging apparatus may further comprise a filter for limiting an amount of light, for example, a natural density filter, hereinlater simply referred to as “ND filter” for limiting the signal levels of the image signals without modifying their frequency characteristics. This means that the imaging apparatus may comprise an ND filter in the form of checkered or striped pattern disposed in the vicinity of the imaging device 91 to obtain image signals different from one another in signal level, which are substantially equivalent in effect to the image signals different from one another in exposure time. The imaging apparatus thus constructed can decrease time deviation and facilitate the synchronization process carried out at the timing control section 95 resulting from the fact that the ND filter is operative to alternately output high-intensity image signal and low-intensity image signal.
As will be seen from the foregoing description, it will be understood that the imaging apparatus applied to any one of the embodiments of the image processing apparatus can obtain the images of a wide dynamic range so as to prevent dark portions of the object displayed on, for example, the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white in a simple manner, resulting from the fact that the imaging apparatus is operative to convert a plurality of images different in brightness from one another into a plurality of image signals, and synthesize the image signals.
While it has been described in the above about the image processing apparatus according to the present invention, the present invention may be implemented by an image processing program executable by a machine to perform a set of process steps necessary to obtain high quality images of a wide dynamic range in a simple manner while reducing processing delays and computing errors, and thus loss of minute image information.
Further, the aforementioned program may be embodied in a program storage medium readable by a machine to perform a set of process steps necessary to obtain high quality images of a wide dynamic range in a simple manner while reducing processing delays and computing errors, and thus loss of minute image information.
As will be seen from the foregoing description, it is to be understood that the image processing apparatus according to the present invention can reduce the number of computations carried out on image signals and still obtain high quality images of a wide dynamic range so as to prevent dark portions of the object displayed on, for example, the monitor from becoming monotonously black and ambiguous and bright portions of the object displayed on the monitor from becoming monotonously white in a simple manner without increasing the size of circuits forming part thereof as well as reduce accumulated processing delays and computing errors, and thus decrease loss of minute image information, resulting from the fact that the image processing apparatus is operative to input image signals different from one another in exposure time and multiply the level converting factors by the weighting factors before the image signals are multiplied by the level converting factors.
Number | Date | Country | Kind |
---|---|---|---|
2003-028652 | Feb 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/01226 | 2/5/2004 | WO | 8/4/2005 |