Fuzzy logic based scanning rate converter

Abstract: A television signal scanning conversion device of the type comprising at least one filtering block (3) having a plurality of digital inputs (Pi, X) which receive through an interface (2) components (X, Pi) of an interlaced television signal comprises also at least one calculation block (CALC1) connected to the signal inputs and operating with fuzzy logic. Said calculation block is capable of executing a switch between at least two different interpolation procedures, to wit interfield and intrafield.

Description: The present invention relates to a television signal scanning conversion device. Specifically the present invention concerns a device comprising at least one filtering block having a plurality of digital inputs which receive through an interface components of a three-dimensional television signal. In this specific technical area it is known that image quality improvement in television receivers is correlated with the amplitude of the signal band. Basically, a problem which limits the good quality of the video signals is represented by the reduced amplitude of the signal band. Already upon constitution of the television signal e.g. inside the television camera there arise problems tied to the occupation in the band thereof. It is important that the signal reproduce the scene in the 'best possible manner' it being intended by this expression a compromise solution between reproduced image quality and small band occupation. Various compromise solutions of this type have then been translated into different standards which however still use a particular combination of time and space sampling which leads to the constitution of an image having a so-called interlaced format. While fulfilling the purpose, this sampling combination introduces also some artifices well known to those skilled in the art and known in jargon as 'interline flicker', large area flicker', 'line crawl' and 'raster visibility'. To obviate these shortcomings it is possible to have recourse to some measures based essentially on interpolation algorithms which take from the receiver the missing information without increasing the transmission band. Before discussing the aspects linked to the use of these interpolation algorithms it is well to recall that the television signal is a three-dimensional signal having two spatial dimensions, i.e. one horizontal and the other vertical. A third time dimension allows reconstruction of the motion of the scene shot and reproduction then of images in motion. We shall define below as an image field an assembly of rows which constitute a television image in a same time interval equal to the field scanning time. The number of rows in a field is equal to half the total number of rows and therefore an 'odd field' and an 'even field' are distinguished depending on whether each field consists of the odd or even rows of the image. By the term 'frame' is indicated the whole of two fields spaced by a time interval equal to the time sampling period. The time extension of course permits reproduction of the motion which characterizes the objects present in the scene shot. But because of the motion it is not possible to utilize the highest resolution of the raster by superimposing two fields. Between the fields, indeed, there is a time interval equal to a time sampling period and hence they are in general for two different images, at least if an object has moved. Therefore the superimposition of the two fields, if there has been motion, is not an acceptable solution just because different images are superimposed. We shall now return to the problem of limited band amplitude which must be considered with reference to the three dimensions of the signal and the use of the interpolation algorithms which allow operation of a space-time filtering of the signal. These interpolation algorithms fall into two broad classes depending on how they allow for the image movement information. A first class consists of the algorithms which do not allow for movement and hence make use of the information present in the same field and therefore are called 'intrafield' type. The second class consists of algorithms which make use of the information present in two consecutive fields, detecting the presence of motion, termed the 'interfield' type. It is important to note that if in the image sequence there is no movement the highest possible resolution is had by superimposing the two fields (field insertion). But if there is movement the highest possible resolution is obtained by taking the missing information from the pixels belonging to the same field (intrafield) allowing for the presence of special structures such as for example fronts. These problems linked to television signal interlacing can be considered as related to the attempt to improve the resolution of the signal. The known art already proposes some solutions which aim basically at an increase in signal resolution. For example, the time resolution can be increased by doubling the image field frequency by means of a scanning rate converter (SRC). There are in particular two classes of algorithms of this kind, to wit: 1. Interlaced to progressive conversion (IPC) which aim at increasing the spatial resolution by doubling the number of rows for each field, and 2. frame rate up-conversion (FRU) which aim at increasing the time resolution by increasing the number of fields shown in the time unit. In any case, whether it is intended to apply an IPC or an FRU procedure, there is the shortcoming that it is necessary to find the spatial information, i.e. the values of the missing pixels. Therefore, while advantageous in some ways, these techniques do not yet give good filtering by adaptive procedures. A scan television system with noise reduction is known from the EP Application published under No. 0 497 221 in the name of THOMSON CONSUMER ELECTRONIC S, Inc., said scan system comprising a filter block and an interpolator block to execute a television signal scanning conversion. The technical problem underlying the invention is to be able to provide a scanning conversion device having structural and functional characteristics such as to allow high video image resolution while at the same time overcoming the limits of the solutions proposed by the known art. The solution idea underlying the present invention is to provide an SRC algorithm which, through the use of a logic known in the literature as fuzzy logic and allowing for the output of a motion detector, chooses which of the two modes, interfield or intrafield, is better suited to the situation. If the choice is intrafield procedure, the algorithm must be capable of not affecting the structure of the fronts to which is owed a high information content. A ghost canceller having a fuzzy logic inference section is known from the US Patent No. 5,285,279 to Sakamoto et.al. On the basis of this solution idea the technical problem is resolved by a scanning conversion device of the above type set forth and defined in the characterizing part of the claims 1 and following. The characteristics and advantages of the device in accordance with the present invention are set forth in the description of an embodiment thereof given below by way of example and not of limitation with reference to the annexed drawings. In the drawings: FIG. 1 shows a schematic view of a conversion device provided in accordance with the present invention, FIG. 2 shows in detail a schematic view of a detail of the device of FIG. 1, FIG. 3 shows in detail a schematic view of an arithmetic block inserted in the device of FIG. 1, FIG. 4 shows the internal structure of another detail of the example of FIG. 1, and FIG. 5 shows schematically a so-called work window of the device in accordance with the present invention. With reference to the figures reference number 1 indicates globally and schematically a device provided in accordance with the present invention for producing a television signal scanning rate conversion. The television signal is three-dimensional and in interlaced format. Said signal comprises thus three components, to wit Y for the luminance signal and two others, U and V, for the chrominance signal. In the device the three above said components undergo different types of processing. The components U, V and Y are each codified with one byte (8 bits) and called for in a 4:4:4 format. The device 1 is equipped with at least four digital data inputs: CFy, CFuv, PFy and PFuv. Specifically the inputs CFy and CFuv are the sampled luminance/chrominance signals for a current image field while the inputs PFy and PFuv are the corresponding signals of an immediately preceding image field. Briefly, these data identify a work window, or image window, centered in a pixel x to be processed as shown in FIG. 5. All of these inputs belong to an interface 2 which exhibits a plurality of outputs Xy, Piy, directly connected to branches 3 of a filter operating with fuzzy logic procedures and representing the heart of the device 1. Additional outputs Xuv and Piuv of the interface 2 are connected to corresponding inputs of a processor block CHROMA which also receives selection signals from a component MAX of the filter. FIG. 2 shows in greater detail the internal structure of the interface 2 responsible for creation of the work window of FIG. 5. As clearly shown in said figure the interface 2 comprises essentially line memories 4 and delay blocks T. A line memory 4 is associated with each type PF input while the delay blocks T allow taking a series of identical signals each of which is sequentially delayed in relation to the preceding one by a predetermined time period T. Said signals constitute the outputs Piy and Piuv of the interface 2. The outputs Xy and Xuv of the interface 2 correspond to the delayed inputs CFy and Cfuv by means of a single block T. The device 1 operates on the luminance components (luma) of the video signal by making use of the fuzzy logic signal processing criteria. It should be noted that the luminance contains the luminosity information associated with the image, i.e. the part of the image in grey tones. A plurality of parallel branches 3 each incorporating an arithmetic block 5 also indicated by the initials PROC1 are provided for receiving each a sub-assembly of the signals Xy and Piy. A calculation block CALC1 is cascade connected with the preceding arithmetic block 5 and is designed to perform fuzzy logic inference operations. The structure of the calculation block CALC1 is in itself conventional being provided by a fuzzy machine which performs inference operations among logical variables received at its input. The fuzzy blocks CALC.1 are three for provision of the inferences for the fuzzy process for each of the directions considered. Each block has two inputs (the parameters Corr and CorrMot for each direction) and an output k. Basically, in the block CALC1 are performed inference operations which, based on luminosity levels of image portions and grey shades of pixels, originate an image contrast factor k. The blocks 5 are in turn three and perform arithmetic operations on the pixels Pi, Pj and X to calculate a series of parameters indicated below by the initials Corr, CorrMot and Med for each of the directions considered. Corr is the module of the difference between Pi and Pj: Corr=¦Pi-Pj¦; CorrMot is the module of the difference between the value (Pi+Pj)/2 and the signal X: CorrMot=¦(Pi+Pj)/2 - X¦; Ave is the weighted average of Pi and Pj: Ave=(Pi+Pj)/2. The architecture of the generic block 5 is shown schematically in FIG. 3 where each block has three input and three output signals. The branches 3 all lead to a block MAX which takes the highest value among all those received in input. Specifically the block MAX receives three parameters Kv, Kd1, Kd2, determines the highest, and places one of the three output signals at logic level 1. Each of the three output signals is related to one of the directions considered. Depending on which of the values received at input is the highest value, the block MAX selects one of its own outputs Env, End1, End2, enabling a corresponding output line. Each of said output lines provides a T branch which connects together bidirectionally two multiplexers MUX1 and MUX2 whose job is to select parameters for the direction of highest correlation. The first block MUX1 has nine inputs of which three for selection and two outputs having the job of selection of the parameters Med and CorrMot for the selected direction. The other block MUX2 has six inputs of which three for selection and supplies at output the value of k for the selected direction. From the first multiplexer MUX1 are output the values CorrMot and Med the first of which is applied at input to a second fuzzy logic calculation block CALC2 while the second is supplied to a second arithmetic block 7 also indicated by the initials PROC2. Even the second calculation block CALC2 is a fuzzy machine designed to perform inference operations of a second fuzzy logic processing, described below. The structure of the second arithmetic block 7 is shown in FIG. 4 and the arithmetic operations which are performed in it are explained below with reference to the filtering method in accordance with the present invention. An arithmetic block indicated by the initials MEDIAN performs the determination of the mean value among some pixels of the work window and in particular among P2, P5, x. There is now described the operating method of the device in accordance with the present invention with particular reference to FIG. 5 and to an initial state in which the digital codes of the individual pixels of a current image field and of an immediately preceding image field are presented at the input of the interface 2. As stated above, the device in accordance with the present invention allows television signal scanning conversion. Specifically however said device is capable of following the structure of the signal fronts and operating a so-called soft-switching between the two interpolation modes, interfield and intrafield. All this is achieved by the use of a system of rules based on the fuzzy set theory by means of which are determined the presence of fronts and movement in the video image by making use of the information present in two consecutive fields. The television signal is in interlaced format and comprises three components: Y for the luminance signal and U, V for the chrominance signal. Inside the device the three above said components undergo different types of processing. The interpolation algorithm operates on the pixels contained inside a window three by three in size which moves through the entire image field. Said work window which is shown if FIG. 5 comprises thus nine pixels. The first and last line of the window belong to the image field preceding the current one. Only the central pixel x belongs to the current image field and is thus the pixel to be processed. As concerns the luminance component Y one proceeds in the following manner. A. For each of the directions P1-P6, P2-P5, P3-P4 the following parameters are calculated: Corr = ¦Pi - Pj¦ CorrMot = ¦(Pi + Pj)/2 -x The parameter Corr has the job of identifying the correlation along a particular direction inside a given field while the parameter CorrMot has the dual function of reinforcing correct identification of the highest correlation direction if the image is static, i.e. detecting the presence of motion.Indeed, if we consider a so-called pixel belonging to a static region of the video image it can be reproduced without filtering so as to safeguard the display resolution. But if the pixel belongs to a region of the image in motion it is the interpolated value of said pixel which will have to be displayed. B. Through the use of fuzzy logic there are performed in the calculation block CALC1 inference operations configured essentially as rules of the IF-THEN type with at least one initial or antecedent preposition and at least one consequent implication. For each direction is activated a fuzzy logic process inside the calculation block CALC1 which accomplishes the inferences of the type: IF Corr is (Low, High) AND CorrMot is (Low, High) THEN k is (High, Low) k in (kv, kd1, kd2) being relative to the vertical direction and diagonal directions +45° and -45° respectively. The characterizing elements of the device 1 are the blocks for provision of the processes operating in accordance with fuzzy logic and the interpolation algorithm is based on identification of mostly correlated directions obtained by means of such logical rules. C. There is then selected the direction for which k has the highest value and thereafter the values of Corr and CorrMot refer to said direction. This highest value is selected in the block MAX and the corresponding direction is in turn selected. D. It should be noted that when the central pixel lies on a line separating two regions with different shades of grey the fuzzy logic processing will detect a pixel in motion even though it is actually static. This fact introduces an edge attenuation effect. This possible drawback is overcome by the subsequent fuzzy logic processing performed by the calculation block CALC2 which acts on the parameter CorrMot and produces a new parameter k sm whose value is in the range [0, 1]. The inference rules of the calculation block CALC2 which lead to evaluation of the parameter k sm are the following.IF CorrMot is high THEN K sm is high. E. The following calculation is then performed. Y h = k sm * (Pi + Pj)/2 + (1-k sm )* Median(P2, P5, x) where Median(P2, P5, x) restores the mean value of the indicated pixels. This last result is a soft switch between the parameter Med and the mean value of (P2, P5, x). F. The final formula is processed inside the block PROC2 of FIG. 4 and is the following. y out = k * x + (1 - k) * y h where y out is the output of the interpolator for the luminance component. The block PROC2 of FIG. 4 basically implements the formulas (1) and (2). G. Once the direction of highest correlation has been identified by means of the above described operations performed on the component Y the following calculation is performed. C out = k * x C + (1 - k) *(P Ci + P Cj )/2 where C out is the output for the chrominance component, P Ci and P Cj are the chrominance components of the pixels P i and P j and lastly x C is the chrominance of the pixel x. The block CHROMA is proposed for implementation of formula (3) with the parameter (PCi + PCj)/2 for the highest correlation direction. Taken together, formulas (1), (2) and (3) allow provision of a soft switch based on fuzzy inference. In conclusion, the device in accordance with the present invention solves the technical problem and achieves numerous advantages the first of which is that the television signal scanning conversion is adaptive. Basically it is possible to detect accurately both the motion and the image field edges with good space and time adaptation. Simulation tests performed by the applicant gave encouraging results in terms of overall performance compared with the classical algorithms of good performance based on mean filters which constitute a compromise solution in the cost/performance relationship. These advantages become apparent both in the static images with greater definition of the edges and in the dynamic ones with better filtering of the blurring due to motion. Of course modifications and variations can be made to the device described above given below by way of example and not of limitation all however falling within the protective scope of the following claims.

Claims: Television signal scanning conversion device of the type comprising at least one filtering block (3) having a plurality of digital inputs (Pi, X) for receiving through an interface (2) chrominance and luminance components (Y, U, V) of an interlaced television signal, characterized in that said filtering block (3) comprises: a plurality of fuzzy logic calculation blocks (CALC1), each connected to a group of said digital inputs for receiving the components of the interlaced television signal of a sampled working window and to perform inferential operations according to fuzzy logic signal processing techniques on the received luminance components of each block to detect the presence of motion and to provide a corresponding fuzzy logic signal output (kv, kd1, kd2) indicative of a corresponding direction of movement of the video image, a selection block (MAX) receiving all the fuzzy logic signal outputs and selecting the highest value to be fed to a multiplexer block (MUX1, MUX2) selecting parameters (MED, CORRMOT, K) indicative of a direction of highest correlation of two consecutive image fields in the luminance component of the television signal, and in that the output of the filtering block (3) is obtained by an intrafield or interfield interpolation procedure selected by said multiplexer (MUX1, MUX2) block according to said value of highest correlation. Device in accordance with claim 1 characterized in that said fuzzy logic calculation block operates on luminance components (Y) of the television signal and detects the presence of fronts and motion in the television signal utilizing the information present in two consecutive image fields. Device in accordance with claim 1 characterized in that between said inputs (Pi, X) and the fuzzy logic calculation block (CALC1) operating with fuzzy logic signal processing techniques is inserted an arithmetic block (5) which calculates mean parameters (Corr, CorrMot, Ave) on the basis of so-called pixels (Pi, Pj, X) of said working window. Device in accordance with claim 3 characterized in that the fuzzy logic calculation block (CALC1) performs inference operations configured essentially as IF-THEN rules with at least one initial preposition and at least one consequent implication using as antecedent prepositions the parameters calculated by said arithmetic block (5). Device in accordance with claim 1 characterized in that it comprises a plurality of said fuzzy logic calculation blocks (CALC1) each connected to a set of said inputs and having an output connected to a block (MAX) which calculates the highest among the values received at input and enables respective output lines (Env, End1, End2) connected to at least one multiplexer (MUX1, MUX2) block. Device in accordance with claim 5 characterized in that it comprises a second fuzzy logic calculation block (CALC2) connected downstream of one multiplexer (MUX1) block. Device in accordance with claim 6 characterized in that it comprises a second arithmetic block (7) connected to the output of one multiplexer (MUX1) block and to the output of said second fuzzy logic calculation block (CALC2). Device in accordance with claim 5 characterized in that it comprises another circuit block (CHROMA) acting on the chrominance component of the television signal, connected to a set of said inputs and connected to an output of one multiplexer (MUX2) block.

Inventors: MANCUSO MASSIMO, POLUZZI RINALDO, RIZZOTTO GIANGUIDO, MANCUSO, MASSIMO, POLUZZI, RINALDO, RIZZOTTO, GIANGUIDO
Applicants: CONS RIC MICROELETTRONICA, ST MICROELECTRONICS SRL, CO.RI.M.ME. CONSORZIO PER LA RICERCA SULLA MICROELETTRONICA NEL MEZZOGIORNO, STMICROELECTRONICS S.R.L.
Application year: 1994
Main classification: H04N1
IPC codes: H04N9, H04N5, H04N11