An image processing apparatus

Abstract: An image processing apparatus of this invention makes it possible to obtain good corrected images having a wide dynamic range by applying to inputted pictures a gamma correction process wherein an optimum gamma correction curve is selected by a flexible and proper judgment. It comprises an image signal sampling unit for sampling plural kinds of picture information from the image signals of one picture frame, a nonlinear gamma correction unit for applying a nonlinear correction to the gamma of said image signals by use of nonlinear gamma curves, and a learning type gamma selector unit wherein a nonlinear relation between the picture information of the image signals sampled by said image signal sampling unit and said nonlinear gamma curves for correction is established by learning and then said picture information is judged according to the results of said learning to select a nonlinear gamma curve to be used for correction. First, plural kinds of picture information are sampled from the image signals of one picture frame in the image signal sampling unit. Then, by the learning type gamma selector unit, a nonlinear relation between the picture information sampled by the image signal sampling unit and nonlinear gamma curves for correction is established by learning and the picture information sampled by the image signal sampling unit is judged according to the learning results for selecting a nonlinear gamma curve to be used for correction. The nonlinear gamma of the picture signals is corrected in the most suitable way in the nonlinear gamma correction unit according to the nonlinear gamma curve selected by the learning type gamma selector unit. Thus, the gamma correction curve best suited for the gamma correction of the inputted pictures is selected by a flexible and proper judgment. Furthermore, the foregoing processes are realized by a simple constitution of a nonlinear gamma selector unit comprising networks of multiple layers, each of which has a single or multiple number of tree branch structure formed by combining plural recognition units, with the number thereof corresponding to that of the picture blocks outputted from the image signal sampling unit after splitting of the image signals of one picture frame.

Description: BACKGROUND OF THE INVENTION This invention relates to an image processing apparatus, according to the preamble part of claim 1. Such an apparatus is known from EP-A-0 409 206. EP-A-0 409 206 discloses a digital image display apparatus to vary the brightness of image data in accordance with a display window having a particular window level and window width which provides optimum image quality. As shown in Figure 5 of EP-A-0 409 206, a display window WW is used to display particular image values at desired brightness gray scale values. The image values and suitable gray scale values have a linear relationship inside the display window and areas outside of the display window are set to either black or white. Consequently, image data which is not considered of particular interest is removed by the display window which results in a loss of information from the displayed image or a saturation of the image in certain parts. Although the overall correction function for displaying the image has a non-linear characteristic, the values within the display window have a strictly linear relationship. The conventional method of making gamma corrections and controlling brightness is to control the gradient of a gamma unction which is usually linear so as to make the signal upper limit value coincide with the highest possible brightness according to the brightness in image's central area. This method is employed in an automatic iris of a video camera. As illustrated in Fig. 15 (A), the gradient of a gamma function is controlled by changing the light quantity passing through a controlled opening of the iris and the maximum brightness in image's central area is made to coincide with the maximum available output of the camera so that the image signals in image's central area are well within the dynamic range of the camera. However, when the aforementioned method is used in taking pictures of a shaded object standing with its back against a bright background, the gradient of gamma function is adjusted by making the maximum brightness in image's central area coincide with the maximum possible output signal of the camera by opening the camera iris larger than usual and, as illustrated in Fig. 15 (B), the pictures of the bright background turn out white all over due to the saturation of the output signal of the camera. It is the object of the present invention to solve the foregoing problem by providing an image processing apparatus wherein the best possible gamma correction is made against whatever picture objects. This object is solved by the subject mutter of claim 1. In particular the apparatus comprises an image signal apparatus comprises an image signal sampling unit wherein plural kinds of information are sampled from the image signals of one picture frame, a nonlinear gamma correction unit wherein the gamma of said image signals is corrected so as to have a nonlinearity according to a nonlinear gamma curve, and a learning type gamma selector unit wherein a nonlinear relation is established by learning between the picture information of said image signals sampled through the image signal sampling unit and said nonlinear gamma curve to be used for correction, and said picture information is evaluated according to the results of said learning, and also a nonlinear gamma curve to be used for correction is selected. Further, said learning type gamma selector unit comprises a combination of plural recognition units, each of which is composed of a signal input unit for inputting the picture information of image signals, a quantizer for quantizing the picture information according to the input signals from said signal input unit, a single or multiple number of channel input terminal, thus forming a single or multiple number of channel output terminal, and a single or multiple number of tree branch structure, each of which forms networks consisting of multiple layers. In the image processing apparatus thus structured, when the image signals for one picture frame are inputted to the image signal sampling unit, plural kinds of the picture information contained in the total image signals of one picture frame are sampled, processed by computation, and outputted to the learning type gamma selector unit. A relation between the picture information of various image signal conditions and the nonlinear gamma curves to be used for gamma correction is established by learning in advance by the learning type gamma selector unit, and according to the results of the learning the sampled image signals are judged and a nonlinear gamma curve to be used for correction is selected and then the results thereof are sent out to the nonlinear gamma correction unit. In the nonlinear gamma correction unit, the original image signals are gamma corrected by the nonlinear gamma correction curve selected by the learning type gamma selector unit and the resultant corrected image signals are outputted. In addition, in the learning type gamma selector unit comprising networks of multiple layers, each of which has a single or multiple number of tree branch structure formed by combining plural recognition units, the number of the tree branch structure corresponds to that of the plural kinds of the picture information. The image signals are fed by each layer into the signal input terminals of recognition units that are situated on each layer of the tree branch structure serving as an input layer and corresponding to the signal levels sampled by the image signal sampling unit. The recognition unit situated on the output layer of the networks is composed of a summation computing unit wherein the total sum of the input signals is calculated and a threshold processing unit wherein the total sum of the input signals is threshold processed and the results thereof are outputted to the nonlinear gamma correction unit. The recognition unit of the for,egoing output layer is interlinked with that of the previous layer of the output layer serving as an intermediate layer so that a learning in advance is made possible by having a signal of selecting a nonlinear gamma curve to be used for correction inputted as a teaching signal to the signal inputting unit of said recognition unit situated on the intermediate layer. In the learning type gamma selector unit, a nonlinear gamma curve to be used for gamma correction is selected after a judgment made according to the detailed picture information pertaining to the pictures in its totality. Thus, compared with the conventional method of gamma correction made according to the brightness information obtained from a part of the picture, a more flexible and accurate judgment is provided promptly in making gamma corrections and also excellent corrected pictures having a wide dynamic range are obtainable. IV. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a first example of the embodiments of this invention of an image processing apparatus. Fig. 2 is a pattern chart showing how signals are sampled by an image signal sampling unit of an image processing apparatus of this invention. Fig. 3 illustrates some patterns whereby signals are sampled by an image signal sampling unit of an image processing apparatus of this invention. Fig. 4 is a block diagram of an image signal sampling unit of an example of the embodiments of this invention of an image processing apparatus. Fig. 5 is a block diagram of an image signal sampling unit of another example of the embodiments of this invention of an image processing apparatus. Fig. 6 is a block diagram of a nonlinear gamma correction unit of an example of the embodiments of this invention of an image processing apparatus. Fig. 7 is a schematic illustration of a learning type gamma selector unit of an example of the embodiments of this invention of an image processing apparatus. Fig. 8 is a schematic illustration of a learning type gamma selector unit of another example of the embodiments of this invention of an image processing apparatus. Fig. 9 is a block diagram of a first example of a recognition unit as used in a learning type gamma selector unit of an image processing apparatus of this invention. Fig. 10 is a block diagram of a second example of a recognition unit as used in a learning type gamma selector unit of an image processing apparatus of this invention. Fig. 11 is a block diagram of a third example of a recognition unit as used in a learning type gamma selector unit of an image processing apparatus of this invention. Fig. 12 is a block diagram of a fourth example of a recognition unit as used in a learning type gamma selector unit of an image processing apparatus of this invention. Fig. 13 is a typical graphical representation of nonlinear gamma correction curves used with a gamma correction unit of an image processing apparatus of this invention. Fig. 14 is a graphical illustration to show how gamma corrections are made according to this invention. Fig. 15 is a graphical illustration to show how gamma corrections are made by a conventional method. Some keys to diagram symbols: 1 Image Signal Sampling Unit 2 Learning Type Gamma Selector Unit 3 Nonlinear Gamma Correction Unit V. DETAILED DESCRIPTION OF THE INVENTION Fig. 1 is a block diagram showing an embodiment of this invention for an image processing apparatus. When image signals of one picture frame are inputted to an image signal sampling unit 1, pieces of picture information of the entire image signals for one picture frame are sampled at the image signal sampling unit 1 and outputted to a learning type gamma selector unit 2. A relation between the picture signals under various conditions and the nonlinear gamma curves to be used for gamma correction is established by learning in advance by the learning type gamma selector unit 2 and, according to the learning results thereof, the image signals of the entire picture frame are judged and nonlinear gamma curves (gamma curve 1 - gamma curve 16) ara selected by the learning type gamma selector unit 2 and then the results thereof are transmitted to a nonlinear gamma correction unit 3. According to the nonlinear gamma correction curves selected by the learning type gamma selector unit 2, the original picture signals are gamma corrected by the nonlinear gamma correction unit 3 and the corrected image signals are outputted. Sigmoid curves of 16 different kinds as examples of nonlinear gamma curves to be used for correction are shown in Fig. 13. These curves are stored by learning in the learning type gamma selector unit 2 in advance so that the most suitable nonlinear gamma curves can be selected from these curves according to the picture conditions. When a picture of a shaded object located at a central area of the picture frame with its back facing a bright background is to be taken and then processed by a image processing apparatus of this invention, how picture corrections are conducted is illustrated in Fig. 14. Since the brightness of the picture is corrected by a nonlinear gamma correction curve selected by the learning type gamma selector unit 2, the portion corresponding to the bright background is not saturated as shown in Fig. 14 with the resultant maintenance of an excellent color tone. Fig. 4 is a block diagram showing an embodiment of the image signal sampling unit 1. When the image signals of one picture frame are inputted to a picture splitting unit 11, the picture frame is splitted, as shown in Fig. 2, into 16 blocks, for example. Regarding the splitting of the picture frame, there are many ways as shown in Fig. 3. Brightness signals of each split block are sampled by a brightness sampling unit 12. The maximum, the medium and the minimum brightness levels, 1 - 16 for example, for each respective split block are computed by a brightness computation unit and the results thereof are outputted. In other words, the positional signals corresponding to the split blocks and the brightness signals corresponding to the brightness levels for each split block are utilized as the information of the image signals. Fig. 6 is a block diagram showing an embodiment of a brightness signal sampling unit 12. Item 121 is a brightness signal converting means for composing a brightness signal Y from the R, G and B signals of a split picture block. Its characteristics are different according to chromaticity of each of the primary colors R, G and B. In the case of television signals for the NTSC system, a structure having the following conversion characteristics can be employed: Y = 0.3*R + 0.59*G + 0.11*B , where 0 ≤ R ≤ 1, 0 ≤ G ≤ 1, 0 ≤ B≤. Fig. 7 is a schematic illustration of an embodiment of a learning type gamma selector unit 2. The maximum, the medium and the minimum brightness levels of each of the 16 different picture blocks as sampled by the image signal sampling unit 1 are judged and 16 different nonlinear gamma curves are selected at this learning type gamma selector unit. There are 16 structural units of the tree branch structure formed by combining a multiple number of the recognition unit n with one structural unit of the tree branch structure forming a network comprising 5 layers. The fifth layer is an output layer, and the 16 recognition units γ1 - γ16 are situated on the fifth layer of output layer. These recognition units γ1 - γ16 of the fifth layer are interlinked with each of the output terminals of the tree branch structures situated on the fourth layer serving as an intermediate layer, respectively. A recognition unit γn outputting a maximum output is detected by a maximum output unit detector 21 and its unit number n is outputted. Fig. 9 is a block diagram showing an embodiment of the recognition units that are used in the first layer through the third layer each serving as input layers of the learning type gamma selector unit 2 of this invention. Item n1 is a signal input unit wherein image signals inputted through a signal input terminal n1a are inputted to a quantizer n2. The image signals inputted to the quantizer n2 are quantized and the quantized values are inputted to a channel selector unit n3. Item n3a is a channel input terminal and items n3b1, n3b2, and n3b3 are channel output terminals and all of these terminals are interlinked when these terminals are combined with recognition units to complete a network consisting of tree branch structures. The channel selector unit n3 is structured in such a way as the interlinkage between the channel input terminal n3a and the channel output terminals of n3b1, n3b2, and n3b3 are varied according to the values inputted from the quantizer n2. Fig. 10 is a block diagram of an embodiment of the channel selector unit n3. The channel selector unit n3 comprises a channel input terminal n3a, three channel output terminals of n3b1, n3b2, and n3b3, a weight setting unit n3s and weights of n3w1, n3w2, and n3w3. The weights of n3w1, n3w2, and n3w3 are the weight ratios, by which the signals inputted through the channel input terminal n3a are multiplied and the results thereof are outputted through the channel output terminals of n3b1, n3b2, and n3b3. The magnitudes of the weights of n3w1, n3w2, and n3w3 are set by the weight setting unit n3s so that the interlinkage between the channel output and input terminals, both appointed by the output values of the quantizer. Fig. 11 is a block diagram showing an embodiment of the recognition unit as used in the fourth layer (the front layer of the output layer) of a learning type gamma selector unit of this invention. Item n1t is a teaching signal input terminal wherein the number of a nonlinear gamma curve to be used for correction during the learning process, namely, the number of the recognition unit situated on the fifth layer is inputted. Item n3a is a channel input terminal and items n3b1 through n3b16 are channel output terminals. The weights of n3w1 through n3w16 are the weight ratios, by which the signals inputted through the channel input terminal n3a are multiplied and the results thereof are outputted to the channel output terminals of n3b1 through n3b16 of the channel output unit 3b. Item n3c is a channel learning unit wherein the interlinkage between the channel output terminals and the channel input terminals, both appointed by the teaching signal input values, is varied during the learning process. During the recognition process, no signals are inputted to the teaching signal input terminal n1t and the weights of n3w1 through n3w16 are maintained at the weight conditions of after learning. Thus, the channel signals inputted from the channel terminals are weighted and then outputted to the channel output terminals n3b1 through n3b16. The channel learning unit n3c comprises a maximum output terminal detector n3c1 for detecting a channel output terminal which has the maximum output, a comparator n3c2 wherein the channel output terminal number detected by the foregoing maximum output terminal detector is compared with the channel numbers appointed by teaching input signals, and a weight application unit n3c3 for applying an increased linkage strength, namely weight, existent between the foregoing channel input terminals of the channel input unit and the channel output terminals of the channel output unit which are appointed by the quantizer n2. The comparator n3c2 has a constitution wherein the channel output terminal from the maximum output terminal detector n3c1 is compared with the numbers of the channel output terminals appointed by teaching input signals and in case the aforementioned two numbers are not the same, then 0 is outputted and in case the two numbers are the same, 1 is outputted. The weight application unit n3c2 has a constitution wherein the linkage between the aforementioned channel input terminals of the channel input unit and the channel output terminals appointed by the output from the quantizer n2 is intensified in case the output from the comparator n3c2 is 0. Fig. 12 shows a typical recognition unit used, for example, as the recognition units r1 through r16 that compose the fifth layer. The recognition unit comprises an accumulator n3as wherein the input signals from the plural channel input terminals n3a are accumulated, and a threshold processor n3bs wherein the output signal from the accumulator n3as is threshold processed and the result thereof is outputted to the output terminal n3b. As the functions for threshold processing, a sigmoid function, a step function and the like can be used. In the next, a learning process and operation of the learning type gamma selector unit 2 of Fig. 7 is explained. First, a digit number of 1 is provided as a channel signal to the channel input terminal n3a of the recognition unit n situated on the first layer of each tree branch structure that corresponds to each of the picture blocks respectively. Also, the maximum, the medium and the minimum brightness signals for each of the 16 picture blocks sampled by the image signal sampling unit 1 are inputted to the signal input terminal n1a connected to the qunantitizer n2 of the recognition unit n2 situated on the first layer through the third layer of each tree branch structure corresponding to each of the picture blocks respectively. The maximum, the medium and the minimum brightness signals of each picture block are quantized by the quantizer n2 of the recognition unit n situated on the first layer through the third layer of each tree branch structure and, according to the resultant qauntitized values, the weights n3w1 through n3w3 of linkage with the recognition units situated on the upper layer are established and channel output signals are transmitted to recognition units of the upper layer and then ultimately channels signals are inputted to the channel signal input terminal n3a of the fourth layer recognition unit. At this time, the channel signals from the channel input terminal n3a are weighted by the weights n3w1 through n3w16 of the recognition units situated on the fourth layer and the resultant weighted channel signals are outputted to the channel output terminals n3b1 through n3b16. The channel output terminal which outputs the maximum output is detected by the maximum output terminal detector n3c1 and the number of the channel output terminal thus detected is inputted to the comparator n3c2. Also, a signal representing the number of the nonlinear gamma curve to be used for correction, one out of gamma curve 1 through gamma curve 16 for example, is inputted to the teaching input terminal n1t. In the comparator n3c2, the channel output terminal number detected by the maximum output terminal detector n3 is compared with the number of the channel output terminal appointed by the teaching input signal, and in case the both numbers are not the same, a digit number of 0 and in case the both numbers are the same, a digit number of 1 is inputted respectively to the weight application unit n3c3. When the output from the foregoing comparator n3c2 is 0, that is, the channel output terminal number of the maximum output and that appointed by the teaching input signal are different from each other, the linkage between the foregoing channel input terminal of the channel input unit and the channel output terminal of the channel output unit appointed by the teaching input signal is intensified by the weight application unit n3c3. As explained in the foregoing, the learning process required of the learning type gamma selector unit of the image processing apparatus of this invention comprises only inputting the maximum, the medium and the minimum brightness values for each of the 16 picture blocks sampled by the image signal sampling unit 1 to the signal input terminals of each recognition unit as carried on the first layer through the third layer of the tree branch structure corresponding to each respective picture block, establishing linkage among recognition units according to the output from the quantizer of each recognition unit, and finally in the forth layer, changing the strength ofthe linkage between the channel input terminals of the recognition units and the channel output terminals appointed by teaching input values, and makes it possible to realize a very rapid learning. Next, how nonlinear gamma curves are selected by the learning type gamma selector unit 2 as shown in Fig. 7 is explained. By the same process as in the learning process, a digit of 1 is provided as a channel signal to the channel input terminal n3a of the recognition units situated on the first layer of each of the tree branch structures. Also, the maximum, the medium and the minimum brightness signals for each of the 16 picture blocks sampled by the image sampling unit 1 are inputted to the signal input terminal n1a of the quantizers as carried by the recognition units situated on the first through third layers of each tree branch structure corresponding to each picture block. The maximum, the medium and the minimum brightness signals of each picture block are quantized by the quantizers n2 of the recognition units as carried in the first through third layers of each tree branch structure and, according to the quantized values, the weights n3w1 through n3w3 of linkage with the recognition units situated on the upper layer are established and the channel output signals are transmit ted to the recognition units of the upper layer and ultimately inputted to the channel signal input terminal n3a of the recognition units situated on the fourth layer. In the case of nonlinear gamma curve selection, a teaching input signal is not inputted to the teaching signal input terminal n1 of the fourth layer recognition units. Therefore, the weight condition existent during the learning process is maintained in the weights n3w1 through n3w16 of the recognition units situated on the fourth layer and the channel signals inputted through the channel input terminal n3a are, thus, weighted. The weighted channel signals are outputted from the channel output terminals n3b1 through n3b16 and then transmitted to the channel input terminal n3a of all the recognition units situated on the fifth layer. All the channel signals inputted are accumulated at the accumulator n3as of the channel input units as carried by the units of the fifth layer and then transmitted to the threshold processing unit n3bs, wherein the signals are threshold processed and outputted to the output terminal n3b. Only when the accumulated signals exceed a certain threshold value, signals are outputted. The recognition unit outputting the highest output is detected from the recognition units γ1 through γ16 of the fifth layer by the maximum output unit detector and its unit number, namely, the number of the nonlinear gamma curve to be used for correction, as shown in Fig. 13, is transmitted to the nonlinear gamma correction unit 3, wherein the original pictures are gamma corrected according to the nonlinear gamma correction curve selected by the learning type gamma selector unit 2 and the corrected pictures are outputted. Thus, the nonlinear gamma curves to be used for correction can be selected according to the maximum, the medium and the minimum brightness signals for each split picture block and the learning results. As explained in the foregoing, the nonlinear gamma curve selection process of the learning type gamma selector unit as used in the picture processing apparatus of this invention comprises inputting the maximum, the medium and the minimum brightness signals for each of the 16 picture blocks sampled by the image signal sampling unit 1 to the signal input terminals of each recognition unit as carried by the first through the third layers of each tree branch structure corresponding to each respective picture block, establishing the way how the recognition units are interlinked one another according to the output from the quantizers of each respective recognition unit, providing weights to the channel signals inputted from the channel input terminal n3a in the fourth layer according to the weights established during the learning process, the channel signals thus weighted are outputted to the channel output terminals n3b1 through n3b16, and then finally transmitted to the channel input terminal n3a of all the recognition units situated on the fifth layer to select the nonlinear gamma curve to be used for correction. Thus, based on the learning results, a very rapid process of selecting nonlinear gamma curves can be realized. Fig. 5 is a block diagram showing another embodiment of the picture signal sampling unit of this invention. When signals of one picture frame (the R, G, and B signals for example) are inputted in sequence, the brightness signal y is obtained by computation from the input signals at a brightness sampling unit 12 and outputted to signal level comparators 14. The brightness signal y is compared with each of the comparison referential level signals a, b and c, and when the brightness signal y is smaller than the comparison referential level signals, an "ON" signal is outputted to counters 15. The "ON" signals are counted by the counters 15 respectively and the frequency of the case where the brightness signals for the entire one picture frame are smaller than the respective comparison referential signals, is outputted and the results thereof are processed by computation to obtain histograms of brightness for a given number of levels (three levels of a, b and c for this embodiment) and the histograms are outputted to the learning type gamma selector unit. In other words, this is an example of the case where the frequency for various levels of brightness is used as the picture information of the picture signals. Fig. 8 is a schematic illustration of a learning type gamma selector unit 2 as used in the aforementioned embodiment of this invention. The learning type gamma selector unit comprises three tree branch structures combining plural recognition units and forming networks, the "three" thereof corresponding to the signal level number of three of the brightness signal histograms sampled by the image signal sampling unit 1 as shown in Fig. 5. Each of the tree branch structures is constituted to have three layers respecitvely. The brightness signal frequency data sampled at the picture signal sampling unit as described in Fig. 5 are inputted to each of the recognition units of the first layer respectively and from a judgment exercised on these frequency distributions the number of a gamma correction curve to be used for correction is outputted. The same recognition units as explained in the embodiment of Fig. 7 can be used as the ones used in each respective layer. Also, the learning and recognition processes are the same as explained in the embodiment of Fig. 7. As explained in the foregoing, according to the nonlinear gamma curve selection process as employed by the learning type gamma selector unit of the image processing apparatus of this embodiment, the picture information in the form of plural brightness level histograms sampled by the image signal sampling unit 1 is inputted to the signal input terminal of each respective recognition unit situated in the tree branch structures corresponding to the picture information, the way of interlinking the recognition units one another according to the output from the quantizer of each respective recognition unit is established, and the channel signals inputted through the channel input terminal n3a are weighted at the front layer of the output layer according to the weight established during the learning process and then outputted to the channel output terminals n3b1 through n3b16. Thus, only by transmitting channel signals to all the recognition units of the output layer, a selection of the nonlinear gamma curve to be used for correction can be made achieving a very rapid nonlinear gamma curve selection based on the learning results. In the aforementioned embodiments of this invention, picture position signals and brightness signals are used as the picture information sampled by the picture signal sampling unit but, needless to say, the picture information is not limited to these signals only. As clarified by the foregoing description, a picture processing apparatus of this invention comprises an image signal sampling unit wherein plural kinds of picture information are sampled from the image signals of one picture frame, a nonlinear gamma correction unit wherein the gamma of the image signals is corrected by nonlinear gamma curves, and a learning type gamma selector unit wherein a nonlinear relation between the picture information of the image signals sampled by the image signal sampling unit and the aforementioned gamma curve to be used for correction is established by learning and then the foregoing picture information is judged according to the results of aforementioned learning for selection of a nonlinear gamma curve to be used for correction. Since a nonlinear gamma curve to be used for correction is selected by the judgment of detailed overall picture information, a far more flexible and correct judgment is exercised at a high speed in making a gamma correction when compared with the conventional method of making a gamma correction based only on the partial picture information, excellent corrected pictures of a wide dynamic range made obtainable. Furthermore, this learning type gamma selector unit comprises a combination of a multiple number of a recognition unit comprising a signal inputting unit wherein the picture information of image signals is inputted, a quantizer wherein image signals are quantized according to the input signals from the signal inputting unit, a single or multiple number of channel input terminal and output terminal, and a channel selector unit wherein channels are selected according to the output of the aforementioned quantizer, to form a single or multiple number of tree branch structure which comprises plural layers and forms networks. Thus, a reliable picture processing is made possible by a simpler setup.

Claims: An image processing apparatus comprising: (a) an image signal sampling unit (1) for sampling picture information at a plurality of locations from image signals representing a picture frame, (b) a selector unit (2) for selecting a gamma correction curve to be used for correcting said image signals, (c) a correction unit (3) for correcting said image signals according to said selected gamma correction curve, characterized in that , (i) said selector unit (2) being a learning type selector unit for establishing by learning a relationship between picture information and non-linear gamma curves to be used for correction, and for selecting one of said non-linear gamma curves based on said sampled picture information and based on said learned relationship, (ii) said correction unit (3) being a non-linear gamma correction unit which corrects said image signals according to the selected one of said non-linear gamma curves. An image processing apparatus according to claim 1, wherein the learning type gamma selector unit (2) comprises: (a) an input layer formed of at least one layer having a plurality of first recognition units (n), each first recognition unit comprising: (a1) a first signal input unit (n1) for inputting said picture information to the first recognition unit, (a2) a quantizer (n2) for quantizing the picture information inputted by said first signal input unit, (a3) at least one first channel input terminal (n3a), (a4) a plurality of channel output terminals (n3b1,n3b2,n3b3), and (a5) a channel selector unit (n3) for selecting channels according to the connections between each of the at least one input terminal and the output terminals, (b) an intermediate layer comprising a plurality of second recognition units (n), each second recognition unit comprising: (b1) a second signal input unit (n1t) for inputting a teaching signal comprising a signal selected from the non-linear gamma curves during a learning process, (b2) at least one second channel input terminal (n3a), (b3) a plurality of second channel output terminals (n3b1,n3b2,...n3b16) and (b4) a channel learning unit (n3c) for setting up the strength of linkage between each of said at least one second channel input terminal and one of the second channel output terminals which is appointed by the teaching signal representing the selected non-linear gamma curve during the learning process, and (c) an output layer comprising a plurality of third recognition units (ϒ1-ϒ16), each third recognition unit producing an output signal from input signals by adding, wherein, the input layer, the intermediate layer and the output layer form a multiple layer structure by connecting the output terminals of the recognition units of one of the layers with the input terminals of the recognition units of another of the layers in the form of the tree structures, and as a whole presenting a network-like structure. An image processing apparatus according to claims 1 or 2, wherein the image signal sampling unit (1) comprises a picture splitting unit (11) for splitting the image signals into plural picture blocks, and a signal information sampling unit for sampling image signals form said split picture blocks. An image processing apparatus according to claim 3, wherein the image signal sampling unit (1) includes a brightness sampling unit (12) for sampling brightness signals from said split picture blocks, and a brightness computation unit (13) for computing the maximum, the medium and the minimum brightness values within each of said picture blocks. An image processing apparatus according to claim 4, wherein the brightness sampling units (12) comprise a brightness signal converting means (121) for composing the brightness signals from R, G and B signals. An image processing apparatus according to claim 3, 4 or 5, wherein a non-linear relationship between the image signals sampled for each picture block by the image signal sampling unit (1) and the non-linear gamma curves to be used for correction of said image signals is established by said learning and said image signals are judged according to the relationship established by learning for selection of the non-linear gamma curve to be used for said correction at the learning type selection unit (2). An image processing apparatus according to claim 1, wherein the image signal sampling unit (1) comprises a histogram computation processing means for imputting and processing the image signals of one picture frame, and obtaining the frequency for each of plural signal levels as the picture information. An image processing apparatus according to claim 7, wherein the histogram computation processing means comprises plural signal level comparators (14) for comparing the levels of picture information with a level having a certain spread in its value and outputting the comparison results with a digit number of 1 or 0, and plural counters (15) for counting the output of said signal level comparators. An image processing apparatus according to claim 7, wherein the histogram computation processing means comprises a brightness sampling unit (12) for sampling brightness signals, plural signal level comparators (14) for comparing the brightness signals sampled through said brightness sampling unit with a level having a certain spread in its value and outputting the comparison results with a digit number of 1 or 0, and plural counters (15) for counting the output of said signal level comparators. An image processing apparatus according to claim 9, wherein the brightness sampling unit (12) comprises a brightness signal converting means for composing brightness signals from the R, G and B signals. An image processing apparatus according to claim 1, wherein a non-linear relationship between the frequency for each of plural levels of image signals serving as picture information sampled by the image signal sampling unit (1) and the non-linear gamma curves to be used for correction of said image signals is established by learning and the frequencies of said signal levels are judged according to the relationship established by said learning for selecting a non-linear gamma curve to be used for said correction at the learning type selector unit (2). An image processing apparatus according to claim 1, wherein the gamma of the image signals is corrected by a sigmoid curves to show nonlinearity. An image processing apparatus according to claim 2, wherein: said learning gamma selector unit (2) comprises three layers having a first layer to a third layer serving as said input layer and each layer having a plurality of the first recognition units, a fourth layer serving as an intermediate layer which has a plurality of the second recognition units, and a fifth layer serving as an output layer which has a plurality of the third recognition units, the five layers constituting a five layer network; maximum, medium and minimum levels of brightness of the image signals are sampled by the image signal sampling unit (1) and inputted to the first signal input units (n1) of the first recognition units (n) of the first, second and third layers, respective; and one of said non-linear gamma curves is selected by the first recognition units (n) of said input layer, the second recognition units (n) of said intermediate layer and the third recognition units( ϒ1-16) of said output layer during a recognition process after the learning process. An image processing apparatus according to claim 13 and 3, wherein the levels of brightness of the image signals are sampled from said split picture blocks for inputting to the first recognition units (nl) of the first, second and third layers. An image processing apparatus according to claim 2, wherein the learning type selector unit (2) comprises input layers which have a plurality of the first recognition units (nl), the intermediate layer which has a plurality of the second recognition units (nl) and the output layer which has a plurality of the third recognition units (ϒ1-ϒ16) such that the number of layers of the input layers corresponds to the number of histogram signal levels obtained from the plural image signal levels, thereby constituting a network formed of multiple layers, and the image signals sampled through the image signal sampling unit (1) are inputted to the first signal input units (nl) of said first recognition units respectively for each level of the histogram of the picture information, and also a selected signal of the non-linear gamma curve to be used for correction of image signals is inputted as the teaching signal to the second signal input unit (nlt) of the second recognition unit situated on said intermediate layer.

Inventors: MARUNO SUSUMU, SAKAUE SHIGEO, YAMAMOTO HIROSHI, YAMASHITA HARUO, MARUNO, SUSUMU, SAKAUE, SHIGEO, YAMAMOTO, HIROSHI, YAMASHITA, HARUO, MARUNO, SUSUMU 1-5-3-1503, TOMOBUCHI-CHO, Yamashita, Haruo 3-1-2-104, Kamishinjo
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1992
Main classification: H04N5
IPC codes: G06F15, G06T5, H04N5, G06N3, G06N99