1. Field of the Invention
The present invention relates to a memory controller, a memory control method, rate conversion apparatus, a rate conversion method, image-signal-processing apparatus, an image-signal-processing method and program for executing each of those methods.
More specifically, it relates to the memory controller and the like that are preferably applied when converting the number of pixels to another for a display.
2. Description of Related Art
As the flat panel display, liquid crystal display (LCD), plasma display (PDP) and the like have been well known. The fineness on the picture quality of these displays is determined depending on the quantities of pixels in the vertical and horizontal directions thereof. For example, there are standards such as XGA (768×1024 pixels), SXGA (1024×1280 pixels) and the like.
Further, as the image signal, 480i signal, 720p signal, 1080i signal and the like have been usually used. Here, these values indicate the number of lines, “i” indicates interlace type and “p” indicates progressive type. For example, the 480i signal has a resolution of 720×480 dots, the 720p signal has a resolution of 1024×720 dots and the 1080i signal has a resolution of 1920×1080 dots.
Conventionally, in the image display apparatus, the number of pixels has been converted to another in order to enable a part or all of input image signals to be displayed on its display. In this case, a rate conversion apparatus converts the quantities of pixels in the vertical and horizontal directions of the display.
The aforementioned rate conversion apparatus can be comprised of a first memory, for example, a frame memory, which is a burst transmission type large-capacity memory and a second memory, which is random access type dual port memory. In this apparatus, input image signals are stored in the first memory temporarily and the image signals are transferred from the first memory to the second memory successively in the unit of line and written therein. Then, the image signals are read out of the second memory at a pixel cycle and a line cycle of after-converted so as to obtain output image signals.
If such the transfer, however, is used, it is difficult to secure stable data transmission band between the first memory and the second memory. Such the transfer provides less use efficiency.
Further, in the rate conversion apparatus having the above configuration, write and read-out of the image signal to/of the first memory are carried out through the same data bus.
To secure stable data transmission band between the first memory and the second memory and raise the use efficiency in the rate conversion apparatus having the above configuration, it is conceivable that transmission of the image signals from the first memory to the second memory is carried out every specified time. In this case, the image signals are transferred from a write buffer to the first memory through the data bus based on a write request and written therein. The image signals are then transferred from the first memory to a read-out buffer through the data bus based on a read-out request every specified time. Finally, the image signals are transferred from this read-out buffer to the second memory.
This, however, depends on the write timing by the write request to perform the read-out based on an input of a read-out request every specified time.
Additionally, in the aforementioned rate conversion apparatus, for example, using a conversion objective pixel data string of the first image signal, a pixel data string of an effective pixel section in the horizontal direction of the second image signal is generated with keeping the same pixel data continuous at a rate corresponding to the magnification of the number of pixels.
For example, if an image-signal-processing unit for creating new pixel data corresponding to each pixel position of the effective pixel section in the horizontal direction of the second image signal is provided using a predetermined number of taps in the horizontal direction at a post stage of such the rate conversion apparatus, it is conceivable that this rate conversion apparatus builds up the predetermined number of the taps in the horizontal direction corresponding to each pixel position of the effective pixel section in the horizontal direction of the second image signal.
This, however, depends on the magnification of the number of pixels to obtain the predetermined number of the taps in the horizontal direction in the arrangement of the pixel data of the image signal (first image signal) before rate conversion. It is also depends on the magnification of the number of pixels that the output start delay until a predetermined number of the taps in the horizontal direction is outputted from a register since the pixel data string of an image signal after rate conversion is inputted to the shift register can be altered.
A first object of the present invention is to secure stable data transmission band between the first memory and the second memory and raise its use efficiency.
A second object of the present invention is to enable a read-out to be performed on the basis of an input of a read-out request every specified time without depending on the write timing by the write request.
A third object of the present invention is to obtain the predetermined number of the taps in the horizontal direction in the arrangement of the pixel data of the image signal (first image signal) before rate conversion without depending on the magnification of the number of pixels.
A fourth object of the present invention is that the output start delay until a predetermined number of the taps in the horizontal direction is outputted from the register since the pixel data string of an image signal after rate conversion is inputted to the shift register can be fixed at each line without depending upon the magnification of the number of pixels.
To achieve the objects of the present invention, according to a first aspect of the present invention, there is provided rate conversion apparatus. The apparatus comprises a first memory for storing an input image signal temporarily and a second memory for storing image signal transferred from the first memory successively in the unit of line and reading out the image signal at a pixel cycle and a line cycle of after-converted to obtain an output image signal. The apparatus also comprises a controller for controlling the write to and read-out of the first and the second memories. The controller controls transferring of the image signal from the first memory to the second memory to be performed every specified time.
According to a second aspect of the present invention, there is provided a rate conversion method. The method comprises the steps of storing an input image signal in a first memory temporarily and transferring image signal successively from the first memory to a second memory every specified time in the unit of line and writing the image signal therein. The method also comprises a step of reading out the image signal from the second memory at a pixel cycle and a line cycle of after-converted to obtain the output image signal.
The program concerning the present invention allows a computer to execute the above-described rate conversion method.
The recording medium concerning the present invention records the above program.
According to the present invention, the input image signals are stored in the first memory temporarily. Then, the second memory stores image signals transferred from the first memory successively in the unit of line. The second memory reads out the image signals at a pixel cycle and a line cycle of after-converted to obtain the output image signals. For example, the first memory is constituted of a burst transmission type frame memory and the second memory is constituted of a random access type dual port line memory.
The transfer of the image signals from the first memory to the second memory is carried out every specified time. A period for the transfer is a length of time obtained by dividing a single vertical effective period of the output image signal equally by the number of lines objective for conversion of the input image signal. The period for the transfer t is obtained according to an equation, t=mo/mi/fo×no wherein “fo” is a pixel frequency of the output image signal, “mi” is the number of lines objective for conversion of the input image signal, “mo” is the number of lines of a single vertical effective period of the output image signal, and “no” is the number of pixels per line of said output image signal.
For example, if there are plurality of the second memories, image signals each of a line are transferred from the first memory to the plurality of second memories for each period of the transfer in time division fashion through an identical data bus.
When reading the image signals out of the second memory in order to obtain pixels of a single horizontal period in the output image signals corresponding to a predetermined number of pixels in the horizontal direction of the input image signals, for example, a predetermined pixel determined based on a proportion of the number of pixels is read out repeatedly or thinned out. The predetermined number of pixels is equal to or fewer than the pixels of a single horizontal period.
When reading the image signals out of the second memory in order to obtain lines of a single vertical period in the output image signals corresponding to a predetermined number of lines in the vertical direction of the input image signals, for example, a predetermined line determined based on a proportion of lines is read out repeatedly or thinned out. The predetermined number of lines is equal to or fewer than the lines of a single vertical period.
As described above, according to the present invention, the input image signals are stored in the first memory temporarily and the image signals are transferred from the first memory to the second memory successively in the unit of line. Then, output image signals are obtained by reading the image signals out of this second memory at a pixel cycle and a line cycle of after-converted. Thus, the transfer of the image signals from the first memory to the second memory is carried out every specified time. This causes no deflection in the data transmission cycle to occur. Stable data transmission band can be secured between the first memory and the second memory, thereby raising its use efficiency. Therefore, the number of lines of image signals that can be transferred from the first memory to the second memory can be increased every data transmission cycle.
Unless the transfer of the image signal from the first memory to the second memory is carried out every specified time, the data transmission cycle becomes unstable, so that the data transmission band between the first memory and the second memory is stipulated by a higher cycle part in the data transmission cycle, thereby preventing the use efficiency from being raised.
For example, the controller comprises a write buffer for storing an image signal temporarily to write it into the first memory and a read buffer for storing an image signal read out from the first memory temporarily. The controller also comprises a write-address-generating unit for generating a write address of the first memory and a read-address-generating unit for generating a read-out address of the first memory. The controller further comprises a write/read-out control unit for controlling the write buffer, the read buffer, the write-address-generating unit, and the read-address-generating unit based on a write request supplied each time when the image signal of a line is stored in the write buffer and a read-out request supplied the every specified time,
The write/read-out control unit gives a precedence to a control of transferring the image signal from the write buffer to the first memory through the data bus based on the write request and storing the image signal therein over a control of transferring the image signal from the first memory to the read buffer through the data bus based on the read-out request and storing the image signal therein. This causes the image signal to be read out of the first memory without being affected by the rate of the input image signal.
According to a third aspect of the present invention, there is provided an image-signal-processing apparatus for converting a first image signal composed of multiple items of pixel data to a second image signal composed of multiple items of pixel data. The image-signal-processing apparatus comprises a rate converter for obtaining a third image signal having pixel data corresponding to the pixel data constituting the second image signal based on the first image signal and a phase information generator for generating phase information of a target position in the second image signal. The image-signal-processing apparatus also comprises a pixel data generator for generating pixel data of the target position in the second image signal using the third image signal based on the phase information generated by the phase information generator.
The rate converter comprises a first memory for storing the first image signal temporarily and a second memory for storing the first image signal transferred from the first memory successively in the unit of line and reading out the first image signal at a pixel cycle and a line cycle of after-converted to obtain the third image signal. The rate converter also comprises a controller for controlling the write to and read-out of the first memory and the second memory. The controller controls transferring of the image signal from the first memory to the second memory to be performed every predetermined time.
According to a fourth aspect of the present invention, there is provided an image-signal-conversion method for converting the first image signal composed of multiple items of pixel data to the second image signal composed of multiple items of pixel data. The conversion method comprises a rate conversion step of obtaining a third image signal having pixel data corresponding to the pixel data constituting the second image signal based on the first image signal. The conversion method also comprises a phase-information-generating step of generating phase information of a target position in the second image signal. The conversion method further comprises a pixel-data-generating step of generating pixel data of the target position in the second image signal using the third image signal based on the phase information generated by the phase-information-generating step. In the rate converting step, the first image signal is temporarily stored in a first memory. The first image signal is transferred from the first memory to the second memory successively in the unit of line every specified time and written in the second memory. The first image signal is then read out of the second memory at a pixel cycle and a line cycle of after-converted to obtain the third image signal.
The program therefor according to the invention allows a computer to execute the above-described image-signal-conversion method.
The recording medium concerning the present invention records the above program.
According to the present invention, the number of pixels of the first image signal is converted so as to obtain the third image signal having pixel data corresponding to the pixel data constituting the second image signal. Further, the phase information of a target position in the second image signal is generated. Then, the pixel data of the target position in the second image signal is generated using the third image signal based on this phase information.
The generation of this pixel data is carried out using, for example, an estimation equation. That is, coefficient data for use in the estimation equation corresponding to the phase information is generated. Multiple items of pixel data located around the target position in the second image signal are extracted based on the third image signal. The pixel data of the target position in the second image signal is computed based on the estimation equation using these coefficient data and the multiple items of pixel data.
The pixel data generated using such the estimation equation, as the pixel data of the target position in the second image signal, may have a higher accuracy than the one obtained according to linear interpolation or the like if using the coefficient data obtained through learning processing which uses a teacher signal corresponding to the second image signal and a student signal corresponding to the first image signal.
According to the invention, when converting the rate with the rate converter, the transfer of image signals from the first memory to the second memory is carried out every specified time. Because a period of the data transfer has no deflection, stable data transmission band between the first memory and the second memory can be secured, thereby raising its use efficiency. Thus, the number of lines of the image signals transferred from the first memory to the second memory every period of the data transfer can be increased so that the pixel data generator can generate the pixel data of the target position in the second image signal at a higher accuracy using far more lines.
According to a fifth aspect of the present invention, there is provided a memory controller for controlling a memory to which the write to and read-out of image signals is performed through identical data bus. The memory controller comprises a write buffer for storing an input image signal temporarily to write it into the memory and a read buffer for storing an output image signal read out of the memory temporarily. The memory controller also comprises a write-address-generating unit for generating a write address of the memory and a read-address-generating unit for generating a read-out address of the memory. The memory controller further comprises a control unit for controlling the write buffer, the read buffer, the write-address-generating unit, and the read-address-generating unit based on a write request supplied each time when a predetermined amount of the input image signals is stored in the write buffer and a read-out request supplied every specified time. The control unit gives a precedence to any one of a first control of transferring the input image signal from the write buffer to the memory through a data bus based on the write request and storing the input image signal therein and a second control of transferring the output image signal from the memory to the read buffer through the data bus based on the read-out request and storing the output image signal therein over the other.
According to a sixth aspect of the present invention, there is provided a memory control method. The memory control method comprises a first control step of, based on a write request supplied each time when a predetermined amount of image signals is stored in the write buffer, transferring the image signal from the write buffer to a memory through a data bus and writing it therein. The method also comprises a second control step of, based on the read-out request supplied every specified time, transferring the image signal from the memory to the read buffer through the data bus and writing it therein. In the method, any one of the first control step based on the write request and the second control based on the read-out request is executed with a precedence over the other.
The program pertinent to the present invention allows a computer to execute the above-described memory control method.
The recording medium concerning the present invention records the above program.
According to the present invention, the input image signals are transferred from the write buffer to the memory through the data bus and written therein based on the write request supplied each time when a predetermined amount of the image signals is stored in the write buffer. Further, the output image signals are transferred from the memory to the read buffer through the data bus and written therein based on a read-out request supplied every specified time.
For example, the memory comprises a burst transmission type frame memory such as SDRAM. If this memory is a SDRAM, refresh is carried out, for example, in the vertical blanking period. For example, n (n is an integer) image signals of a single horizontal period are written into the memory corresponding to one of the write requests and m (m is an integer while m>n) image signals of a horizontal period are read out of the memory corresponding to one of the read-out requests.
In this case, any one of a write control (first control) based on the write request and a read-out control (second control) based on the read-out request has a precedence over the other. This allows adjustment on the write to and read-out executed through the same data bus to be carried out excellently, thereby enabling the output image signals to be read based on an input of a read-out request every specified time without depending on the write timing of the write request.
For example, the write control based on the write request is given a precedence over the read-out control based on the read-out request. For example, when the write request and the read-out request are supplied at the same time, the write is executed into the memory based on the write request and the read-out request is held. After the write ends, the read-out from the memory is executed based on the held read-out request.
If a read-out request is supplied during a write into the memory, this read-out request is held and after the write ends, a read-out from the memory is executed based on this held read-out request. Further, if a write request is supplied during a read-out from the memory, the read-out is stopped temporarily and the write into the memory is executed based on the write request. After the write ends, the remainder of the stopped reading is read out.
Because the write control based on the write request is given a precedence over the read-out control based on the read-out request, there can be generated a waiting time for read-out based on the read-out request. For example, if “n” image signals of a single horizontal period are written into the memory corresponding to a single write request while “m” (m>n) image signals of a single horizontal period are read out corresponding to a single read-out request, the maximum waiting time becomes a period for processing “n” image signals, which is shorter than the maximum value (equivalent to m) of the waiting time for write based on a write request in case where the read-out control based on the read-out request is given a precedence over the write control based on the write request.
According to a seventh aspect of the present invention, there is provided another rate conversion apparatus. The rate conversion apparatus comprises a first memory for storing an input image signal temporarily and a second memory for storing image signal transferred from the first memory successively in the unit of line and reading out the input image signal at a pixel cycle and a line cycle of after-converted to obtain an output image signal. The apparatus also comprises a controller for controlling the write to and read-out of the first memory and the second memory.
The controller comprises a write buffer for storing the input image signal temporarily to write the input image signal into the first memory and a read buffer for storing the output image signal read out from the first memory temporarily. The controller also comprises a write-address-generating unit for generating a write address of the first memory and a read-address-generating unit for generating a read-out address of the first memory. The controller further comprises a write/read-out control unit for controlling the write buffer, the read buffer, the write-address-generating unit, and the read-address-generating unit based on the write request supplied each time when a predetermined amount of the input image signal is stored in the write buffer and a read-out request supplied every specified time. The write/read-out control unit gives a precedence to any one of a first control of transferring the input image signal from the write buffer to the first memory through the data bus based on the write request and writing the input image signal therein and a second control of transferring the output image signal from the first memory to the read-out buffer through the data bus based on the read-out request and writing the output image signal therein over the other.
According to an eighth aspect of the present invention, there is provided another image-signal-processing apparatus for converting a first image signal composed of multiple items of pixel data to a second image signal composed of multiple items of pixel data. The apparatus comprises a rate converter for obtaining a third image signal having pixel data corresponding to the pixel data constituting the second image signal based on the first image signal and a phase information generator for generating phase information of a target position in the second image signal. The apparatus also comprises a pixel data generator for generating pixel data of the target position in the second image signal using the third image signal based on the phase information generated by the phase information generator. The rate converter comprises a first memory for storing the first image signal temporarily and a second memory for storing the first image signal transferred from the first memory successively in the unit of line and reading out the first image signal at a pixel cycle and a line cycle of after-converted to obtain the third image signal. The rate converter also comprises a controller for controlling the write and read-out of the first memory and the second memory.
The controller comprises a write buffer for storing the first image signal temporarily to write it into the first memory and a read buffer for storing the first image signal read out from the first memory temporarily. The controller also comprises a write-address-generating unit for generating a write address of the first memory and a read-address-generating unit for generating a read-out address of the first memory. The controller further comprises a write/read-out control unit for controlling the write buffer, the read buffer, the write-address-generating unit, and the read-address-generating unit based on the write request supplied each time when a predetermined amount of the first image signal is stored in the write buffer and a read-out request supplied every specified time. The write/read-out control unit gives a precedence to any one of a first control of transferring the first image signal from the write buffer to the first memory through a data bus based on the write request and storing the first image signal therein and a second control of transferring the first image signal from the first memory to the read buffer through the data bus based on the read-out request and storing the first image signal therein over the other.
According to the present invention, the number of pixels of the first image signal is converted and as a result, the third image signal having the pixel data corresponding to the pixel data constituting the second image signal is obtained. Further, the phase information of a target position in the second image signal is generated. Then, the pixel data of the target position in the second image signal is generated using the third image signal based on this phase information.
The generation of this pixel data is also carried out using, for example, the estimation equation. That is, coefficient data for use in the estimation equation corresponding to the phase information is generated. Multiple items of pixel data located around the target position in the second image signal are extracted based on the third image signal. Then, by using the coefficient data and the multiple items of pixel data, the pixel data of the target position in the second image signal is computed based on the estimation equation.
The pixel data generated using such the estimation equation, as the pixel data of the target position in the second image signal, may have a higher accuracy than the one obtained according to linear interpolation or the like when using the coefficient data obtained through learning processing which uses a teacher signal corresponding to the second image signal and a student signal corresponding to the first image signal.
According to the invention, when converting the rate with the rate converter, the transfer of image signals from the first memory to the second memory is carried out every specified time. Thus, a period of the data transfer has no deflection so that stable data transmission band between the first memory and the second memory can be secured, thereby raising its use efficiency. This allows the number of lines of the image signal which can be transferred from the first memory to the second memory every period of the data transfer to be increased. The pixel data generator can generate the pixel data of the target position in the second image signal at a higher accuracy by using far more lines.
Further, the image signals are transferred from the write buffer to the first memory through the data bus based on a write request supplied each time when a predetermined amount of the image signals are stored in the write buffer and written therein. Further, the image signals are transferred from the first memory to the read buffer through the data bus based on the read-out request supplied every specified time and written therein.
In this case, any one of a write control (first control) based on the write request and a read-out control (second control) based on the read-out request has a precedence over the other. This allows adjustment on the write and read-out executed through the same data bus to be carried out excellently, thereby enabling the image signals to read based on an input of a read-out request every specified time without depending on the write timing of the write request.
According to a ninth aspect of the present invention, there is provided further rate conversion apparatus. The rate conversion apparatus comprises a rate converter for generating a proper pixel data string of an effective pixel section in a horizontal direction of a second image signal using a part or all conversion objective pixel data string in the effective pixel section in a horizontal direction of a first image signal with identical pixel data being continuous at a rate corresponding to a magnification of the number of pixels and further, for obtaining a modified pixel data string by modifying the proper pixel data string. The apparatus also comprises a shift trigger generator for generating a shift trigger corresponding to a change position of the pixel data in the modified pixel data string obtained in the rate converter. The apparatus further comprises a tap building portion having a shift register composed of the same number of registers as that of taps in the horizontal direction to be built, for taking pixel data of the change position of the modified pixel data string obtained by the rate converter into the shift register using the shift trigger generated by the shift trigger generator and for building a predetermined number of taps in the horizontal direction corresponding to each pixel position of the effective pixel section in the horizontal direction of the second image signal. The modified pixel data string obtained by the rate converter is obtained by modifying the change position of the pixel data in the proper pixel data string so that the change of a center tap of a predetermined number of the taps in the horizontal direction built by the tap building portion coincides with arrangement of the proper pixel data string generated by the rate converter.
According to a tenth aspect of the present invention, there is provided further rate conversion method. The rate conversion method comprises a rate conversion step of generating a proper pixel data string of an effective pixel section in a horizontal direction of a second image signal using at least a part of conversion objective pixel data string in the effective pixel section in a horizontal direction of a first image signal with identical pixel data being continuous at a rate corresponding to a magnification of the number of pixels and modifying the proper pixel data string so as to obtain a modified pixel data string. The method also comprises a shift trigger generating step of generating a shift trigger corresponding to a change position of the pixel data in the modified pixel data string obtained by the rate conversion step. The method further comprises a tap building step of taking pixel data of the change position of the modified pixel data string obtained by the rate conversion step into a shift register constituted of the same number of registers as that of taps in the horizontal direction to be built using the shift trigger generated in the shift trigger generating step and building a predetermined number of the taps in the horizontal direction corresponding to each pixel position of the effective pixel section in the horizontal direction of the second image signal. The modified pixel data string obtained by the rate conversion step is obtained by modifying the change position of the pixel data in the proper pixel data string so that the change of a center tap of a predetermined number of the taps in the horizontal direction built by the tap building step coincides with arrangement of the proper pixel data string generated by the rate conversion step.
The program pertinent to the present invention allows a computer to execute the above-described rate conversion method.
The recording medium concerning the present invention records the above program.
According to the present invention, the proper pixel data string of the effective pixel section in the horizontal direction of the second image signal is generated from a part or all of the conversion objective pixel data string of the effective pixel section in the horizontal direction of the first image signal. In this case, the number of the pixels is increased by keeping the identical pixel data of the conversion objective pixel data string continuous at a rate corresponding to the magnification of the number of the pixels.
The proper pixel data string generated in this way is not supplied to the shift register as it is, but the modified pixel data string obtained by modifying this proper pixel data string is supplied to the shift register. Further, this shift register is supplied with a shift trigger corresponding to the change position of the pixel data in the modified pixel data string.
This shift register is constituted of the same number of registers as that of the taps in the horizontal direction to be built up. The pixel data of the change position of the modified pixel data string is taken into this shift register successively by the shift trigger. This allows a predetermined number of the taps in the horizontal direction to be obtained by the shift register corresponding to each pixel position of the effective pixel section in the second image signal.
In this case, the modified pixel data string is obtained by modifying the change position of the pixel data in the proper pixel data string so that a change of the center tap coincides with the arrangement of the proper pixel data string. As a result, the change of the center tap coincides with the arrangement of the proper pixel data string, thereby obtaining a predetermined number of the taps in the horizontal direction in the arrangement of the pixel data in the image signal (first image signal) before rate conversion without depending upon the magnification of the number of pixels.
When the shift register is provided with “no” registers on an output side thereof and “ni” registers on an input side thereof with respect to a register for outputting the center tap, the modified pixel data string is regarded as a result of changing the first (no+ni) pixel data continuously. Consequently, the first continuously changed (no+ni) items of the pixel data are taken into the shift register at each line. Thus, the output start delay until a predetermined number of the taps in the horizontal direction is outputted from that given register since the pixel data string of an image signal after rate conversion is inputted to the shift register can be fixed to (no+ni) clock time at each line without depending upon the magnification of the number of pixels.
According to an eleventh aspect of the present invention, there is provided further image-signal-processing apparatus for converting a first image signal composed of multiple items of pixel data to a second image signal composed of multiple items of pixel data. The apparatus comprises a rate converter for obtaining a third image signal having pixel data corresponding to the pixel data constituting the second image signal based on the first image signal and a phase information generator for generating phase information of a target position in the second image signal relative to a pixel position of the first image signal. The apparatus also comprises a pixel data generator for generating pixel data of the target position in the second image signal using the third image signal obtained by the rate converter based on the phase information generated by the phase information generator.
The rate converter comprises a rate conversion unit for generating a proper pixel data string of an effective pixel section in a horizontal direction in the third image signal using a part or all conversion objective pixel data string in the effective pixel section in a horizontal direction of a first image signal with identical pixel data being continuous at a rate corresponding to a magnification of the number of pixels and further, for obtaining a modified pixel data string by modifying the proper pixel data string. The rate converter also comprises a shift trigger generating unit for generating a shift trigger corresponding to a change position of the pixel data in the modified pixel data string obtained in the rate conversion unit. The rate converter further comprises a tap building portion having a shift register composed of the same number of registers as that of taps in the horizontal direction to be built, for taking pixel data of the change position of the modified pixel data string obtained by the rate conversion unit into the shift register using the shift trigger generated by the shift trigger generating unit and for building a predetermined number of taps in the horizontal direction corresponding to each pixel position of the effective pixel section in the horizontal direction of the third image signal.
The modified pixel data string obtained by the rate conversion unit is obtained by modifying the change position of the pixel data in the proper pixel data string so that the change of a center tap of the taps of a predetermined number of the taps in the horizontal direction built by the tap building unit coincides with arrangement of the proper pixel data string generated by the rate conversion unit.
According to the present invention, the third image signal having the pixel data corresponding to the one constituting the second image signal is obtained by converting the number of pixels of the first image signal.
In this case, the proper pixel data string of the effective pixel section in the horizontal direction in the third image signal is generated from the conversion objective pixel data string of a part or all of the effective pixel section in the horizontal direction in the first image signal. The number of pixels can be increased by keeping the same pixel data of the conversion objective pixel data string continuous at a rate corresponding to the magnification of the number of the pixels.
The proper pixel data string generated in this way is not supplied to the shift register as it is, but the modified pixel data string obtained by modifying this proper pixel data string is supplied to the shift register. Further, this shift register is supplied with the shift trigger corresponding to the change position of the pixel data in the modified pixel data string.
This shift register is constituted of the same number of registers as that of the taps in the horizontal direction to be built up. The pixel data of the change position of the modified pixel data string is taken into this shift register successively by the shift trigger. This allows a predetermined number of the taps in the horizontal direction to be obtained by the shift register corresponding to each pixel of the effective pixel section in the third image signal.
In this case, the modified pixel data string is obtained by modifying the change position of the pixel data in the proper pixel data string so that a change of the center tap coincides with the arrangement of the proper pixel data string. As a result, the change of the center tap coincides with the arrangement of the proper pixel data string, thereby obtaining a predetermined number of the taps in the horizontal direction to be obtained in the arrangement of the pixel data in the image signal (first image signal) before rate conversion without depending upon the magnification of the number of pixels.
When the shift register is provided with “no” registers on an output side and “ni” registers on an input side with respect to the register for outputting the center tap, the modified pixel data string is regarded as a result of changing the first (no+ni) pixel data continuously. Consequently, the first continuously changed (no+ni) items of pixel data are taken into the shift register at each line. Thus, the output start delay until a predetermined number of the taps in the horizontal direction is outputted from that given register since the pixel data string of an image signal after rate conversion is inputted to the shift register can be fixed to (no+ni) clock time at each line without depending upon the magnification of the number of pixels.
Phase information of the target position in the second image signal is generated relative to the pixel position of the first image signal. Based on this phase information, the pixel data of the target position of the second image signal is generated using the above-described third image signal.
The generation of this pixel data is also carried out using, for example, an estimation equation. That is, coefficient data for use in the estimation equation corresponding to the phase information is generated. Multiple items of pixel data located around the target position in the second image signal are extracted based on the third image signal. The pixel data of the target position in the second image signal are then computed based on the estimation equation using the coefficient data and the multiple items of pixel data.
The pixel data generated using such the estimation equation, as the pixel data of the target position in the second image signal, may have a higher accuracy than the one obtained according to linear interpolation or the like when using the coefficient data obtained through learning processing which uses a teacher signal corresponding to the second image signal and a student signal corresponding to the first image signal.
Thus, a predetermined number of the taps in the horizontal direction obtained corresponding to each pixel position of the effective pixel section in the third image signal is obtained in the arrangement of the pixel data in the image signal (first image signal) before rate conversion without depending upon the magnification of the number of pixels. Even if the magnification of the number of pixels changes, a correspondence relationship between the predetermined number of the taps in the horizontal direction and the phase information never collapses, so that the pixel data of the target position in the second image signal can be obtained excellently.
As described above, the output start delay until a predetermined number of the taps in the horizontal direction is outputted from that given register since the pixel data string of an image signal after rate conversion is inputted to the shift register can be fixed to (no+ni) clock time at each line without depending upon the magnification of the number of pixels. Thus, it is not necessary to provide with any variable delay circuit capable of changing the delay time depending on the magnification of the number of pixels for time adjustment between the predetermined number of the taps in the horizontal direction and, for example, the phase information.
The concluding unit of this specification particularly points out and directly claims the subject matter of the present invention. However, those skill in the art will best understand both the organization and method of operation of the invention, together with further advantages and objects thereof, by reading the remaining units of the specification in view of the accompanying drawing(s) wherein like reference characters refer to like elements.
Hereinafter, the preferred embodiments of the present invention will be described with reference to the accompanying drawings.
The image signal processing apparatus 100 includes a microcomputer, which comprises a system controller 101 for controlling the operation of its entire system and a remote control signal receiving circuit 102 for receiving a remote control signal. The remote control signal receiving circuit 102 is connected to the system controller 101 and receives a remote control signal RM outputted by a remote control signal transmitter 103 corresponding to user's operation to supply an operation signal corresponding to that signal RM to the system controller 101.
The image signal processing apparatus 100 comprises an input terminal 104 to which an image signal Sa is to be inputted and a rate conversion circuit 105 which possesses pixel data corresponding to pixel data constituting the image signal Sb based on the image signal Sa inputted to this input terminal 104 so as to obtain an image signal Sc as the 1080i signal.
Further, the image signal processing apparatus 100 comprises an image signal processing unit 106 which generates the image signal Sb based on the image signal Sc obtained through the rate conversion circuit 105 and outputs and an output terminal 107 for outputting an image signal obtained by this image signal processing unit 106.
The image signal processing apparatus 100 shown in
According to this embodiment, normal mode and zoom mode are selectable by user's operation of the remote control signal transmitter 103. Under the normal mode, all the effective pixel sections of the image signal Sa are objectives for rate conversion so as to generate the image signal Sc. In case of the zoom mode, the objective for conversion within the effective pixel section of the image signal Sa change corresponding to the magnification rate specified by user, so that the image signal Sc corresponding to the magnification rate of this image is generated. In this case, as the magnification rate of the image increases, the objective for conversion within the effective pixel section of the image signal Sa narrows.
The image signal Sc obtained by the rate conversion circuit 105 is supplied to the image-signal-processing unit 106. This image-signal-processing unit 106 generates the image signal Sb based on the image signal Sc. This image signal Sb is introduced to the output terminal 107. The aforementioned rate conversion circuit 105 reads out a predetermined pixel repeatedly and by reading out a predetermined line repeatedly, horizontal and vertical pixels are converted. Corresponding to each of the items of the pixel data constituting the image signal Sc, this image-signal-processing unit 106 computes each pixel data constituting the image signal Sb using coefficient data corresponding to the pixel data phase information and multiple items of pixel data located around that pixel data according to an estimation equation.
The user may adjust the image resolution and noise removal level with the image signal Sb by his or her operation of the remote control signal transmitter 103. In the image-signal-processing unit 106, as described above, each pixel data constituting the image signal Sb is computed according to the estimation equation. As the coefficient data of this estimation equation, data generated according to a generation equation containing a parameter f, which specifies the resolution, and a parameter g, which specifies the noise removal level, is used. The parameters f, g are adjusted by user's operation of the remote control signal transmitter 103. Consequently, the image resolution and noise removal level with the image signal Sb generated by the image-signal-processing unit 106 comes to correspond to the adjusted parameters f, g.
Next, the rate conversion circuit 105 will be described in detail.
This rate conversion circuit 105 has a frame memory 201 as a first memory for storing an input image signal temporarily. This frame memory 201 is constituted of a burst transmission type large capacity memory. As the burst transmission type large capacity memory, synchronous dynamic RAM (SDRAM), a flash memory and the like are available. According to this embodiment, the frame memory 201 is constituted of the SDRAM. This frame memory 201 contains memory capacity for a plurality of fields.
The rate conversion circuit 105 possesses a SDRAM controller 202 for controlling write and read-out of the frame memory (SDRAM) 201. This SDRAM controller 202 is connected to the frame memory 201 through the SDRAM bus (data bus) 203 or the like.
This SDRAM controller 202 possesses buffers 204Y, 204C as a write buffer. These buffers 204Y, 204C are connected to the SDRAM bus 203. These buffers 204Y, 204C store luminance signal Ya and color-difference signal Ua/Va that constitute the image signal Sa (see
Here, the color-difference signal Ua/Va is dot sequential signal composed of a blue color-difference signal Ua and a red color-difference signal Va. That is, the sampling rate of the luminance signal Ya is 13.5 MHz while the sampling rate of the color-difference signals Ua, Va are 13.5/2 MHz. The buffers 204Y, 204C are constituted of static RAMs (SRAM) for two lines, respectively. The reason why the SRAMs for two lines are used is as follows.
That is, the write side buffers need to receive the input image signal Sa continuously. If the SDRAM bus 203 is occupied by data under the read-out operation, all the content of the buffer cannot be sent to the frame memory 201. Thus, if the buffers 204Y, 204C are constituted of a SRAM for a single line, there occurs a time contradiction. For the reason, according to this embodiment, the buffers 204Y, 204C are constituted of the SRAMs for two lines and if the SDRAM bus 203 is occupied by data under the read-out operation, sending of the content of the buffer to the frame memory 201 can be on standby so as to avoid a generation of the time contradiction.
Synchronously with the input clock CKi of 13.5 MHz, the luminance signal Ya and the color-difference signal Ua/Va are written successively into these buffers 204Y, 204C. In this case, only the effective pixel sections thereof are written, so that each line (720 pixels) is subjected to write in a period of 720 clocks in terms of the input clock CKi.
The luminance signal Ya and the color-difference signals Ua/Va of each line written into these buffers 204Y, 204C are read out in time-division fashion synchronous with the memory clock CKm of 108 MHz and written into the frame memory 201. In this case, 8-bit data is converted to 32-bit data and transmitted. That is, four pixels are processed in parallel and each line (720 pixels) is sent from the buffers 204Y, 204C to the frame memory 201 in a period of 180 clocks in terms of the memory clock CKm and written therein.
Further, the SDRAM controller 202 is provided with buffers 205Y, 205C as a read buffer. These buffers 205Y, 205C store the image signals read out from the frame memory 201, that is, the luminance signal and color-difference signal temporarily. These buffers 205Y, 205C are connected to the SDRAM bus 203.
The buffer 205Y is constituted of SRAMs for 10 lines. The reason why the SRAM for 10 lines is used is that the luminance signal Ya read out from the frame memory 201 corresponding to a single request RRQ described later is for 10 lines. Further, the buffer 205C is constituted of the SRAMs for two lines. The reason why the SRAM for two lines is used is that the color-difference signal Ua/Va read out from the frame memory 201 corresponding to a single read-out request RRQ described later is for two lines.
The luminance signal Ya and the color-difference signal Ua/Va for each line written into the frame memory 201 are read out synchronously with a memory clock CKm of 108 MHz and written into the buffers 205Y, 205C. In this case, four pixels are processed in parallel, so that each line (720 pixels) is sent out from the frame memory 201 to the buffers 205Y, 205C in a period of 180 clocks in terms of the memory clock CKm and written therein.
In this case, the luminance signal Ya for each line to be written into each of the SRAMs for 10 lines constituting the buffer 205Y and the color-difference signal Ua/Va for each line to be written into each of the SRAMs for two lines constituting the buffer 205C are transferred in time division fashion from the frame memory 201 through the SDRAM bus 203.
Further, the SDRAM controller 202 possesses a control unit 206. Corresponding to a write request WRQ supplied from an input timing generator (input TG) 207 described later, this control unit 206 generates a read address RADi to be supplied to the buffers 204Y, 204C and a write address WADm to be supplied to the frame memory 201. Further, this control unit 206, corresponding to a read request RRQ supplied from a memory timing generator (memory TG) 211 described later, generates a read address RADm to be supplied to the frame memory 201 and a write address WADo to be supplied to the buffers 205Y, 205C.
The rate conversion circuit 105 has an input timing generator (input TG) 207. This input TG207 is constituted of a horizontal counter 208 and a vertical counter 209. An input clock CKi synchronous with the aforementioned luminance signal Ya and color-difference signal Ua/Va and the horizontal synchronous signal HDi are supplied to the horizontal counter 208. A horizontal synchronous signal HDi synchronous with the aforementioned luminance signal Ya and the color-difference signal Ua/Va and vertical synchronous signal VDi are supplied to the vertical counter 209.
The vertical counter 209 resets a count value to “0 with the vertical synchronous signal VDi and each time when the horizontal synchronous signal HDi is supplied, it increments that count value and supplies the count value to the horizontal counter 208.
The horizontal counter 208 resets the count value to “0 with the horizontal synchronous signal HDi and each time when the input clock CKi is supplied, it increments the count value. The horizontal counter 208 generates a write address WADi synchronously with the input clock CKi at each line corresponding to the effective pixel section in the vertical direction and for the effective pixel section in the horizontal direction based on a count value from the vertical counter 209 and its self count value and supplies it to the buffers 204Y, 204C within the SDRAM controller 202.
Further, after the horizontal counter 208 generates a write address WADi for the effective pixel section in the horizontal direction at each line corresponding to the effective pixel section in the vertical direction, it generates a write request WRQ synchronously with the horizontal synchronous signal HDi and supplies the request to the control unit 206 within the SDRAM controller 202.
The rate conversion circuit 105 has a memory timing generator (memory TG) 211. This memory TG211 is comprised of a request counter 212 and a vertical counter 213. A memory clock CKm is supplied to the request counter 212. A vertical reset signal VRS is supplied from output timing generator (output TG) 217 described later to the vertical counter 213 at a starting timing of the effective pixel section in the vertical direction of the output image signal Sc. A read-out request RRQ outputted from the request counter 212 is supplied to the vertical counter 213.
The vertical counter 213 resets the count value to “0 with the vertical reset signal VRS and each time when the read-out request RRQ is supplied, it increments that count value and supplies the incremented count value to the request counter 212. When the count value exists in “0−“N−1, the request counter 212 generates each read-out request RRQ based on a count value from the vertical counter 213, supplies it to the control unit 206 within the SDRAM controller 202 and then supplies it to the vertical counter 213.
Although in this case, the request counter 212 generates a read-out request RRQ when the count value from the vertical counter 213 turns to “0, after that, the read-out request RRQ is generated each time when “n” memory clocks CKm are counted.
When carrying out a rate conversion for obtaining the effective pixel section of an output image signal Sc from a part or all of the effective pixel section of the input image signal Sa shown in
Each time when the read-out request RRQ is generated, the luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines are read out from the frame memory 201 and supplied to the buffers 205Y, 205C. In this case, the luminance signal Ya for 10 lines, as described later, is employed for acquiring a prediction tap and a class tap when the image-signal-processing unit 106 acquires intensity data at a target position of the luminance signal Yb. Likewise, as described later, the color-difference signal Ua/Va for two lines are employed for acquiring the prediction tap and the class tap when the image-signal-processing unit 106 acquires color-difference data at a target position of the color-difference signal Ub/Vb.
When the rate conversion is carried out as shown in
The period of the read-out request RRQ generated in the request counter 212 is a time obtained by dividing a single vertical effective period of the output image signal Sc equally by the number of lines that are objective for rate conversion of the input image signal Sa. That is, assuming that the period is “t”, the pixel frequency of the output image signal Sc is “fo”, the number of lines which are objective for conversion of the input image signal Sa is “mi”, the number of lines in a single vertical effective period of the output image signal Sc is “mo” and the number of pixels per line of the output image signal Sc is “no”, there is a relation of t=mo/mi/fo×no.
As described above, the request counter 212 generates the read-out request RRQ each time when “n” memory clocks CKm are counted. This “n” is obtained by dividing the aforementioned period “t” by the period of the memory clock CKm. That is, because the period of the memory clock CKm is 1/108 MHz, it comes that n=mo/mi×108 MHz/fo×no.
To facilitate the understanding,
Corresponding to the read-out request RRQ, the luminance signal Ya and color-difference signal Ua/Va are transmitted from the frame memory 201 to the buffers 205Y, 205C and stored therein and after that, the request counter 212 of the memory TG211 generates a read-out address RADo to be supplied to the buffers 205Y, 205C and a write address WADr to be supplied to the rate conversion units 215Y, 215C as the second memory described later.
Further, the rate conversion circuit 105 has rate conversion units 215Y, 215C. The rate conversion unit 215Y is constituted of dual port line memories (SRAM) for 10 lines corresponding to it that the aforementioned buffer 205Y is constituted of the SRAMs for 10 lines. Likewise, the rate conversion unit 215C is constituted of dual port line memories (SRAM) for two lines corresponding to it that the aforementioned buffer 205C is constituted of the SRAMs for two lines. The SRAM of each system has a ring structure, and it has a memory capacity of more than a predetermined one so that in the rate conversion processing, write does not exceed read-out.
As described above, the read-out address RADo is supplied from the memory TG211 to the buffers 205Y, 205C, and write address WADr is supplied to the rate conversion units 215Y, 215C. Consequently, corresponding to each read-out request RRQ, the luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines, after transmitted from the frame memory 201 to the buffers 205Y, 205C in time division fashion, are further transmitted to the rate conversion units 215Y, 215C in parallel and written therein.
Further, the rate conversion circuit 105 has an output timing generator (output TG) 217. This output TG217 is comprised of an address generating unit 218 and a vertical counter 219. An output clock CKo of 74.25 MHz synchronous with the output image signal Sc is supplied to the address generating unit 218. The address generating unit 218 generates a horizontal synchronous signal HDo synchronous with the output image signal Sc by counting this output clock CKo. This horizontal synchronous signal HDo is supplied to the vertical counter 219.
Further, the vertical synchronous signal VDo synchronous with the output image signal Sc is supplied to the vertical counter 219. The vertical counter 219 resets the count value to “0 with vertical synchronous signal VDo and increments the count value each time when the horizontal synchronous signal HDo is supplied. Then, this vertical counter 219 generates the aforementioned vertical reset signal VRS at the starting pixel position of the effective pixel section in the vertical direction of the output image signal Sc based on that count value and supplies this vertical reset signal VRS to the vertical counter 213 of the memory TG211.
The count value of the vertical counter 219 is supplied to the address generating unit 218. The address generating unit 218 generates a read-out address RADr corresponding to an effective unit in the horizontal direction at each line of the effective pixel section in the vertical direction of the output image signal Sc and supplies it to the rate conversion units 215Y, 215C.
In this case, the address generating unit 218 generates a reference address RADr0 at the starting pixel position (see point P in
With phase information of the starting pixel position of the effective pixel section in the horizontal direction as 0, the address generating unit 218 adds an inverse number Mh of a horizontal expansion rate for each pixel position to be supplied with the output clock CKo. If the addition value is smaller than 4096, that addition value is regarded as phase information h in the horizontal direction of the pixel position. On the other hand, if the addition value is not smaller than 4096, carry occurs, so that a value obtained by subtracting 4096 from that addition value is regarded as phase information h in the horizontal direction of that pixel position. Meanwhile, the phase information “h” is, for example, a value obtained by rounding figures below the zero point. The same can be said of phase information “v” in the vertical direction.
If the addition value is smaller than 4096 and no carry occurs, as a read-out address RADr corresponding to the pixel position, the address generating unit 218 outputs the same one as a pixel position just before. On the other hand, if carry occurs, as a read-out address RADr corresponding to the pixel position, it outputs an address advanced by 1 from the address of the pixel position just before.
As described above, when the addition value is smaller than 4096 with no generation of carry, as a read-out address RADr corresponding to that pixel position, the same one as a pixel position just before is outputted and at that pixel position, the same pixel data as the pixel position just before is read out from the rate conversion units 215Y, 215C and consequently, the number of pixels in the horizontal direction can be increased.
Here, the inverse number Mh of the expansion rate can be obtained according to an equation of Mh=(number of pixels in the horizontal direction of the rate conversion objective unit AT of the input image signal Sa)/(number of pixels in the horizontal direction of the effective pixel section of the output image signal Sc)×normalization constant. According to this embodiment, the normalization constant is 4096. This is the reason that pixels in the horizontal direction of the input image signal Sa is divided equally by 4096 so as to define the phase in the horizontal direction of each pixel of the output image signal. For example, if the rate conversion as shown in
With phase information of the starting pixel position of the effective pixel section in the vertical direction as 0, the address generating unit 218 adds an inverse number Mv of the vertical expansion rate at each line where the horizontal synchronous signal HDo is generated. When the addition value is smaller than 4096, that addition value is regarded as phase information “v” in the vertical direction of that line. On the other hand, if the addition value is not smaller than 4096, carry occurs and a value obtained by subtracting 4096 from the addition value is regarded as phase information “v” in the vertical direction of that line.
When the addition value is smaller than 4096 and no carry occurs, as a read-out address RADr corresponding to that line, the address generating unit 218 outputs the same one as a line just before. On the other hand, if carry occurs, as a read-out address RADr corresponding to that line, it outputs the one modified to read out pixel data at a next line of the input image signal Sa.
Here, the inverse number Mv of the expansion rate can be obtained according to an equation of Mv=(number of pixels in the vertical direction of a rate conversion objective unit AT of the input image signal Sa)/(number of pixels in the vertical direction of the effective pixel section of the output image signal Sc)×normalization constant. According to this embodiment, the normalization constant is 4096. This is the reason that pixels in the vertical direction of the input image signal Sa is divided equally by 4096 so as to define the phase in the vertical direction of each pixel of the output image signal. For example, when carrying out the rate conversion as shown in
As described above, when the addition value is smaller than 4096 with no generation of carry, as a read-out address RADr corresponding to that line, the same one as a line just before is outputted and at that line, the same pixel data as the pixel line just before is read out of the rate conversion units 215Y, 215C. Consequently, the number of pixels (number of lines) in the horizontal direction can be increased.
In this case, the inverse number “Mh” of the expansion rate in the horizontal direction is Mh=720/1920×4096=1536, so that phase information “phy” of each pixel position in the horizontal direction of the luminance signal Yc changes from 0 to 1536 to 3072 to 512 (=4608−4096) to 2046 to . . . . Further, the inverse number “Mv” of the expansion rate in the vertical direction is Mv=240/540×4096≈1820 and phase information “pvy” of each pixel position in the vertical direction of the luminance signal Yc changes from 0 to 1820 to 3640 to 1364 (=5460−4096) to 3184 to . . . .
In this case, the inverse number “Mh” of the expansion rate in the horizontal direction is Mh=360/1920×4096=768. The phase information “phc” of each pixel position in the horizontal direction of the color-difference signal Uc(Vc) changes from 0 to 768 to 1536 to 2304 to 3072 to 3840 to 512 (=4608−4096) to 1280 to . . . . Further, the inverse number “Mv” of the expansion rate in the vertical direction is Mv=240/540×4096≈1820 and then, the position information “pvc” of each pixel position in the vertical direction of the color difference signal Uc(Vc) changes from 0 to 1820 to 3640 to 1364 (=5460−4096) to 3184 to . . . .
As described above, the blue color-difference signal Ua and the red color-difference signal Va of the input image signal Sa are dot sequential signals and in the rate conversion unit 215C, the dot sequential signals are written into each of the two systems of the SRAMs. However, when an output is made from this rate conversion unit 215C, the blue color-difference signal Uc and the red color-difference signal Vc are outputted independently. In this case, the rate conversion unit 215C is provided with a read-out port for the blue color-difference signal Uc and a read-out port for the red color-difference signal Vc. As the read-out address RADr to be outputted from the address generating unit 218 of the output TG 217, address for the blue color-difference signal Uc and address for the red color-difference signal Vc are supplied independently.
Returning back to
In conclusion, the luminance signal Yc of 18 lines is obtained from the rate conversion unit 215Y in parallel. The luminance signal Yc of 18 lines is used to extract the prediction tap and the class tap when obtaining the intensity data at a target position in the luminance signal Yb, which constitutes the output image signal Sb, in the image-signal-processing unit 106 as described later.
The rate conversion unit 215C is constituted of the SRAMs of two lines as described above and outputs color-difference signals of two lines about the blue color-difference signal Uc and the red color-difference signal Vc in parallel based on the read-out address RADr generated by the output TG 217. Further, it outputs the color-difference signal of two lines having line delay about the blue color-difference signal Uc and red color-difference signal Vc in parallel. In this case, the SRAM of each line of the rate conversion unit 215C has a ring structure, so that by reading out a small address only by the number of pixels of a single line from an address of some read-out port through a different port, it is possible to obtain a color-difference signal having line delay.
In conclusion, the color-difference signal of four lines is obtained in parallel about each of the blue color-difference signal Uc and red color-difference signal Vc from the rate conversion unit 215C. The color-difference signal of four lines is used to extract the prediction tap and the class tap when obtaining color-difference data at a target position in the color-difference signal, which constitutes the output image signal Sb, in the image-signal-processing unit 106 as described later.
As described above, the SRAM of each line possessed by the rate conversion units 215Y, 215C has a ring structure. In this case, how much memory capacity is required by each line of the SRAM is guaranteed by emulation with theoretical value with an operating model shown in
Returning back to
The tap building circuit 221C selects and builds up a horizontal tap used as the prediction tap and the class tap about each of the blue color-difference signal of four lines obtained by the rate conversion unit 215C when the image signal processing unit 106 described later acquires the color-difference data at a target position in the blue color-difference signal Ub, which constitutes the output image signal Sb.
Further, the tap building circuit 221C selects and builds up a horizontal tap used as the prediction tap and the class tap about each of the red color-difference signal Vc of four lines obtained by the rate conversion unit 215C when the image signal processing unit 106 described later acquires color-difference data at a target position in the red color-difference signal Vb, which constitutes the output image signal Sb.
The tap building circuit 221Y will be described in detail.
This tap building circuit 221Y, as shown in
Consider a case where corresponding to the effective pixel section of each line, just the intensity data string of the luminance signal Yc after rate conversion obtained as described above, that is, its proper intensity data string is inputted to the shift register. In the meantime, assume that a shift trigger STR corresponding to a change position of the intensity data of the intensity data string of the luminance signal Yc is supplied to the shift register so that the intensity data at the change position of the intensity data string of the luminance signal Yc is taken in successively.
First, a case where the number of pixels in the horizontal direction is converted to an integer time, for example, two folds by the rate conversion unit 215Y will be described. In this case, the states shown in
When building up horizontal 5 taps with the tap building circuit 221Y, the center tap changes as shown in
In this case, because the center tap change comes to correspond to the arrangement of the intensity data string of the luminance signal Yc after rate conversion, the horizontal five taps can be obtained in the arrangement of the intensity data in the luminance signal Ya before the rate conversion.
In the meantime, time from a period when an input of the luminance signal Yc into the tap building unit 221Y is started to a period when the intensity data of the horizontal five taps is taken into the shift register and the first horizontal five taps are outputted is referred to as output start delay. Time from a period when the intensity data of the center tap is taken into the shift register to a period when it is outputted as the center tap is referred to as system delay.
The output start delay deflects depending on the conversion magnification of the number of pixels. Thus, if the horizontal five taps of the luminance signal Yc built in this tap building circuit 221Y is used, the image-signal-processing unit 106 described later needs a variable delay circuit capable of changing the delay time depending on the conversion magnification of the number of pixels in order to perform time adjustment with a signal of other system.
Next, a case where the number of pixels in the horizontal direction is converted to an arbitrary magnification, for example, 7/3 magnifications by the rate conversion unit 215Y will be described.
In this case, the state shown in
When building the horizontal five taps by means of the tap building circuit 221Y, the center tap changes as shown in FIG. 19El. In the meantime,
In this case, there is generated a unit where the change of the center tap does not agree with the arrangement of the intensity data string of the luminance signal Yc after rate conversionl. That is, at time tA, the state of the shift register is one as shown in
Then, increasing the number of registers constituting the shift register by only one so as to gain six and then building up horizontal five taps by selecting them from the shift register is considered. In this case, at time tA, the state of the shift register is one shown in
Consequently, the change of the center tap comes to correspond to the arrangement of the intensity data string of the luminance signal Yc after rate conversion, so that the horizontal five taps can be obtained in the arrangement of the intensity data in the luminance signal Ya before rate conversion. However, in this case, a circuit for computing the phase and specifying the position of the center tap is needed. In this case also, output start delay changes depending on the conversion magnification of the number of pixels.
Then, what is considered is to modify the change position of the intensity data in the intensity data string of the luminance signal Yc and input that modified intensity data string into the shift register, so that the change of the center tap comes to correspond to the arrangement of the intensity data string of the luminance signal Yc after rate conversion.
In this case, a luminance signal Yc′ shown in
Corresponding to a register which the shift register outputs the center tap, “no” registers are provided on its output side and “ni” registers are provided on its input side. As described above, when the horizontal five taps are built up, there is a relation of no=ni=2. The shift trigger STR′ is the shift trigger STR having ni pre-reading triggers at its head. The timing of the pre-reading triggers is not limited to the timing in
When horizontal five taps are built in the tap building circuit 221Y, the center tap changes as shown in
In this case, the state of the shift register at time tA is as shown in
By supplying the luminance signal Yc′ (shown in
However, the output start delay changes depending on the conversion magnification of the number of pixels. Thus, when horizontal five taps of the luminance signal Yc built by this tap building circuit 221Y is used, the image-signal-processing unit 106 requires a variable delay circuit capable of changing the delay time according to the conversion magnification of the number of pixels in order to adjust time with other signal, for example, phase information (phy, pvy)(phc, pvc) described later.
Then, according to this embodiment, the output start delay is adjusted to be constant not depending on the conversion magnification of the number of pixels.
Thus, what can be considered is to input intensity data string in which first (no+ni) items of intensity data change continuously into the shift register when providing with “no” registers on the output side and “ni” registers on the input side in correspondence to a register to which the shift register outputs the center tap. When building up the horizontal five taps as described above, there are relations of no=ni=2 and no+ni=4.
In this case, the luminance signal Yc″ obtained by modifying the luminance signal Yc (shown in
If the horizontal five taps are built with the tap building circuit 221Y, the center tap changes as shown in
By inputting an intensity data string in which first (no+ni) items of intensity data change continuously into the shift register of each line, the output start delay can be fixed to clock time (no+ni) of output clock CKo.
In this case also, the change of the center tap comes to correspond to the arrangement of the intensity data string of the luminance signal Yc after rate conversion, so that the horizontal five taps can be obtained in the arrangement of the intensity data in the luminance signal Ya before rate conversion.
Although it has been described above that the shift triggers STR′, STR″ can be obtained from the rate conversion unit 215Y, it can be obtained from other unit than the rate conversion unit 215Y, for example, the output TG217. This output TG217 supplies the rate conversion unit 215Y with read-out address RADr, thereby making it possible to obtain information about the change position of the intensity data in the intensity data string of the luminance signals Yc′, Yc″ easily.
Although a detailed description is omitted, the tap building circuit 221C is built in the same manner as the aforementioned tap building circuit 221Y. In this case, the color-difference signals Uc″, Vc″ and shift trigger STR″, which are modified like the aforementioned luminance signal Yc″ and shift trigger STR″ are supplied from the rate conversion unit 215C to the tap building circuit 221C. Consequently, the tap building circuit 221C can obtain horizontal five taps in the arrangement of the color-difference signals Ua, Va before rate conversion and fix the output start delay.
Next, the operation of the rate conversion circuit 105 shown in
The luminance signal Ya and color-difference signal Ua/Va, which constitute the image signal Sa to be inputted to the input terminal 104 (see
After the effective pixel section in the horizontal direction is terminated at each line, a write request WRQ is generated from the input TG207. This write request WRQ is supplied to the control unit 206 within the SDRAM controller 202. The control unit 206 generates read-out address RADi to be supplied to the buffers 204Y, 204C and write address WADm to be supplied to the frame memory 201.
The read-out address RADi generated in the control unit 206 is supplied to the buffers 204Y, 204C. The write address WADm generated in the control unit 206 is supplied to the frame memory 201. Consequently, the effective pixel section of the luminance signal Ya and color-difference signal Ua/Va stored in the buffers 204Y, 204C temporarily is read in the time division fashion out of the buffers 204Y,204C, transferred to the frame memory 201 through the SDRAM bus 203 and then written into a predetermined address of this frame memory 201.
Further, a read-out request RRQ is generated from the memory TG211. This read-out request RRQ is generated every specified time (see
In this case, the period “t” of the read-out request RRQ is a time obtained by dividing a single vertical effective period of the output image signal Sc by the number of lines objective for rate conversion of the input image signal Sa. That is, when the period is “t”, the pixel frequency of the output image signal Sc is “fo”, the number of lines objective for conversion of the input image signal Sa is “mi”, the number of lines in a single vertical effective period of the output image signal Sc is “mo”, and the number of pixels per line of the output image signal Sc is “no”, there is a relation of t=mo/mi/fo×no. Therefore, the aforementioned n turns to n=t×108 MHz.
The read-out request RRQ generated by the memory TG211 is supplied to the control unit 206 within the SDRAM controller 201. Corresponding to the read-out request RRQ, this control unit 206 generates a read-out address RADm to be supplied to the frame memory 201 and a write address WADo to be supplied to the buffers 205Y, 205C. The read-out address RADm generated by the control unit 206 is supplied to the frame memory 201. Further, the write address WADo generated by the control unit 206 is supplied to the buffers 205Y, 205Y.
Consequently, each time when the read-out request RRQ is generated, the luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines are read out synchronously with the memory clock CKm (108 MHz) from the frame memory 201 and supplied to the buffers 205Y, 205C through the SDRAM bus 203. In this case, the luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines, that is, the signals for 12 lines are transferred in the time division fashion.
Each of the luminance signals Ya for 10 lines supplied to the buffer 205Y is written into each of the SRAMs for 10 lines which constitute the buffer 205Y. Likewise, the color-difference signal Ua/Va for two lines supplied to the buffer 205C is written into each of the SRAMs for two lines which constitute the buffer 205C.
After corresponding to the read-out request RRQ, the luminance signal Ya and color-difference signal Ua/Va are transferred from the frame memory 201 to the buffers 205Y, 205C and written therein, the read-out address RADo to be supplied to the buffers 205Y, 205C and the write address WADr to be supplied to the rate conversion units 215Y, 215C described later are generated at memory TG 211. The real-out address RADo is supplied to the buffers 205Y, 205C. Further, the write address WADr is supplied to the rate conversion units 215Y, 215C.
Each time when a read-out request RRQ is generated, it is transferred from the frame memory 201 and stored in the buffers 205Y, 205C temporarily. The luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines are transferred to the rate conversion units 215Y, 215C synchronously with the output clock CKm (108 MHz) and then written into the rate conversion units 215Y, 215C.
The rate conversion unit 215Y is constituted of the SRAMs of 10 lines corresponding to that the buffer 205Y is constituted of the SRAMs of 10 lines. Likewise, the rate conversion unit 215C is constituted of the SRAMs of two lines corresponding to that the buffer 205C is constituted of the SRAMs of two lines. Thus, the luminance signal Ya of 10 lines and the color-difference signal Ua/Va of two lines, that is, the signals of 12 lines are transferred in parallel from the buffers 205Y, 205C to the rate conversion units 215Y, 215C and written therein.
A read-out address RADr is generated from the address generating unit 218 of the output TG217 corresponding to the effective unit in the horizontal direction at each line of the effective pixel section in the vertical direction of the output image signal Sc. This read-out address RADr is supplied to the rate conversion units 215Y, 215C.
In this case, the address generating unit 218 generates a reference address RADr0 at a start pixel position (see point P of
With phase information of the starting pixel position of the effective pixel section in the horizontal direction as 0, the address generating unit 218 adds an inverse number Mh of a horizontal expansion rate for each pixel position to be supplied with the output clock CKo. If the addition value is smaller than 4096, that addition value is regarded as phase information “h” in the horizontal direction of the pixel position. On the other hand, if the addition value is not smaller than 4096, carry occurs, so that a value obtained by subtracting 4096 from that addition value is regarded as phase information “h” in the horizontal direction of that pixel position.
If the addition value is smaller than 4096 and no carry occurs, as a read-out address RADr corresponding to the pixel position, the address generating unit 218 outputs the same one as a pixel position just before. On the other hand, if carry occurs, as a read-out address RADr corresponding to the pixel position, it outputs an address advanced by 1 from the address of the pixel position just before.
Consequently, if the addition value is smaller than 4096 and no carry occurs, as the read-out address RADr corresponding to its pixel position, the same one as the pixel position just before is used and the same pixel data as the pixel position just before is read out of the rate conversion units 215Y, 215C at that pixel position. Thus, the rate conversion units 215Y, 215C obtain the luminance signal Yc and the color-difference signals Uc, Vc after rate conversion, in which the number of pixels in the horizontal direction is increased corresponding to the expansion rate in the horizontal direction with respect to the luminance signal Ya and the color-difference signals Ua, Va before rate conversion.
With phase information of the starting pixel position of the effective pixel section in the vertical direction as 0, the address generating unit 218 adds an inverse number Mv of the vertical expansion rate at each line where the horizontal synchronous signal HDo is generated. When the addition value is smaller than 4096, that addition value is regarded as phase information “v” in the vertical direction of that line. On the other hand, if the addition value is not smaller than 4096, carry occurs and a value obtained by subtracting 4096 from the addition value is regarded as phase information “v” in the vertical direction of that line.
When the addition value is smaller than 4096 and no carry occurs, as a read-out address RADr corresponding to that line, the address generating unit 218 outputs the same one as a line just before. On the other hand, if carry occurs, as a read-out address RADr corresponding to that line, the address generating unit 218 outputs the one modified to read out pixel data at a next line of the input image signal Sa.
When the addition value is smaller than 4096 and no carry occurs, as the read-out address RADr corresponding to that line, the same one as a line just before is used and the same pixel data as the line just before is read out of the rate conversion units 215Y, 215C at that line. Thus, the rate conversion units 215Y, 215C obtain the luminance signal Yc and color-difference signals Uc, Vc after rate conversion in which the number of pixels in the vertical direction is increased corresponding to the expansion rate in the vertical direction (see
From the rate conversion unit 215Y, the luminance signal Yc for 10 lines based on the read-out address RADr generated by the output TG217 and the luminance signal Yc for eight lines based on an address smaller by the number of pixels of a single line are obtained by the aforementioned SRAMs of 10 lines. That is, the luminance signals Yc of 18 lines are obtained in parallel from the rate conversion unit 215Y (see
From the rate conversion unit 215C, the color-difference signals Uc, Vc for two lines each based on the read-out address RADr generated by the output TG217 and the color-difference signals Uc, Vc for two lines based on an address smaller by the number of pixels of a single line are obtained by the aforementioned SRAMs of two lines. That is, the color-difference signals Uc, Vc for four lines each are obtained in parallel from the rate conversion unit 215C (see
The luminance signals Yc for 18 lines obtained by the rate conversion units 215Y, 215C and the color-difference signals Uc, Vc for four lines each are extended in the vertical direction and time direction. Although the tap in the vertical direction and time direction (class tap, prediction tap) can be extracted easily by means of the image-signal-processing unit 106, the tap in the horizontal direction is not extended and it is difficult to extract the tap in the horizontal direction.
The tap building circuits 221Y, 221C build up a tap in the horizontal direction based on the luminance signal Yc for 10 lines and the color-difference signals Uc, Vc for two lines each obtained by the rate conversion units 215Y, 215C. The tap building circuit 221Y is provided with 18 shift registers 222-1 to 222-18 corresponding to the luminance signals Yc for 18 lines (see
A luminance signal after rate conversion is inputted to the shift register that constitutes the tap building circuit 221Y. A shift trigger corresponding to the change position of the intensity data in the intensity data string of that luminance signal is supplied to that shift register. Each time when the shift trigger is supplied to the shift register, intensity data corresponding to the conversion position of the intensity data string of the luminance signal is taken in continuously. The same thing can be said of the tap building circuit 221C.
According to this embodiment, for a change of the center tap to correspond to the arrangement of the intensity data string of the luminance signal Yc after rate conversion, modified intensity data string obtained by modifying the change position of the intensity data in the intensity data string of the luminance signal Yc is inputted to the shift register. When in correspondence to register for outputting the center tap, “no” registers are provided on its output side while “ni” registers are provided on the input side, this modified intensity data string is regarded as a result of changing of continuous the first (no+ni) items of intensity data and that (no+ni) items of intensity data are taken into the shift register continuously.
According to this embodiment, luminance signal Yc″ obtained by modifying the intensity data string (proper intensity data string) of the luminance signal Yc is inputted to the tap building unit 221Y from the rate conversion unit 215Y. Further, shift trigger STR″ corresponding to the change position of the intensity data in the intensity data string of this luminance signal Yc″ is supplied (see
Consequently, the center tap changes corresponding to the arrangement of the luminance signal Yc, intensity data string of color-difference signals Uc, Vc and color-difference data string after rate conversion so that horizontal five taps can be obtained in the arrangement of intensity data and color-difference data in the luminance signal Ya and color-difference signals Ua, Va before rate conversion. Further, the output start delay in the tap building circuits 221Y, 221C can be fixed to clock time (no+ni) of the output clock CKo, so that the image-signal-processing unit 106 does not need to be provided with a variable delay circuit capable of changing the delay time depending on the conversion magnification of the number of pixels in order to execute time adjustment with other signal, for example, phase information (phy, pvy) (phc, pvc).
In the rate conversion circuit 105 shown in
Next, the SDRAM controller 202 will be described further in detail with reference to
The SDRAM controller 202 comprises buffers 204Y, 204C as a write buffer, buffers 205Y, 205C as a read-out buffer, a command generator 301, a mode set/refresh generator 302, a write address unit 303, a read address unit 304, a read counter 305, a write counter 306, and a read/write control unit 307. Here, the command generator 301, the mode set/refresh generator 302, the write address unit 303, the read address unit 304, the read counter 305, the write counter 306, and the read/write control unit 307 correspond to the control unit 206 in
This SDRAM controller 202 is supplied with a vertical synchronous signal VDi synchronous with an input image signal Sa and additionally as external parameters, with the number of effective pixels in the horizontal direction of the input image signal Sa, the number of effective pixels (number of effective lines) in the vertical direction of the input image signal Sa, number of output channels, center position field and its start line and a difference from the center position of each output channel.
As described above, corresponding to a single read-out request RRQ, the luminance signal Ya for 10 lines and the color-difference signal Ua/Va for two lines are read out of the frame memory 201 (SDRAM). Here, data of a single line is treated as 1-channel data.
How many fields the field of the center position is located relatively ahead of a field written into the frame memory 201 is specified. Its start line is assumed to be a first line of the av line corresponding to the rate conversion objective unit AT (see
The read/write control unit 307 generates a write flag WFL accompanying channel information corresponding to the write request WRQ supplied from the input TG 207 (see
The read counter 305 generates a read-out address RADi to be supplied to the buffers 204Y, 204C as a write buffer corresponding to the supply of the write flag WFL from the read/write control unit 307. This read-out address RADi is supplied to the buffers 204Y, 204C. The write address unit 303 generates a write address WADm to be supplied to the frame memory 201 corresponding to the supply of the write flag WFL from the read/write control unit 307. This write address WADm is supplied to the frame memory 201 through the command generator 301.
The read address unit 304 generates a read-out address RADm to be supplied to the frame memory 201 corresponding to the supply of the read-out flag RFL from the read/write control unit 307. This read-out address RADm is supplied to the frame memory 201 through the command generator 301. The write counter 306 generates a write address WADo to be supplied to the buffers 205Y, 205C as a read-out buffer corresponding to the supply of the read-out flag RFL from the read/write control unit 307. This write address WADo is supplied to the buffers 205Y, 205C.
The read address generating unit 304 generates a read-out address RADm for reading out 12-channel data relating to the first line of the av line corresponding to the rate conversion objective unit AT of the input image signal Sa from the frame memory 201, corresponding to a first read-out flag RFL at each field. This read-out address RADm is computed based on a difference between the field of center position given as an external parameter as described above and the starting line, or a difference from the center position of each output channel in the vertical blanking period of each field.
The read address generating unit 304 generates a read-out address RADm for reading out 12-channel data relating to the second-N line of the av line corresponding to the rate conversion objective unit AT of the input image signal Sa from the frame memory 201. In this case, by incrementing the read-out address RADm for the first line gradually, the read-out address RADm for the second-N line can be obtained.
The power ON sequence of this SDRAM controller 202 will be described. Because the state of the frame memory (SDRAM) 201 is not clarified when it is powered ON, it is specified to execute pre-charge, mode reset and refresh on all banks, after power stabilization time when the power is turned ON. However, because the SDRAM controller 202 executes mode rest and refresh if a vertical synchronous signal VDi is inputted, power ON sequence is automatically carried out when some of the vertical synchronous signals VDi are inputted.
The mode set/refresh generator 302 generates a control flag for mode set/refresh of the frame memory 201 accompanied by the input of the vertical synchronous signal VDi. The command generator 301 generates a command necessary for control of the frame memory 201 based on the control flag.
Here, the refresh cycle of the SDRAM will be described. The SDRAM needs a refresh operation to maintain written data.
According to this embodiment, for example, SDRAM of 16 Mbit×4 banks is used. As for this SDRAM, the refresh cycle of any memory product is set to 4096 times/64 ms. Because the field cycle of the input image signal Sa is 60 Hz or 50 Hz, according to this embodiment, each time when the vertical synchronous signal VDi is inputted, the refreshing is carried out all at once using the blanking period.
Although in the above description, it has been described that the input image signal Sa is 480i (60 Hz) signal and the output image signal Sb is 1080i (60 Hz) signal for convenience for explanation, the input image signal Sa and the output image signal Sb are not restricted to those cases. In this case, because the field cycle and blanking period are different depending on the formats of the input image signal Sa and the output image signal Sb, there is provided a refresh mode which satisfies the condition of 4096 times/64 ms by dividing the refresh by inputting the vertical synchronous signal VDi twice or three times.
The operations of the SDRAM controller 202 shown in
The mode set/refresh generator 302, the write address unit 303, the read address unit 304 and the read/write control unit 307 computes for mode set/refresh of the frame memory 201, a write address WADm of the frame memory 201, and a read-out address RADm of the frame memory 201 before write to and read-out from the frame memory 201 begin with an input of the vertical synchronous signal VDi. The reason why the write address unit 303 and the read address unit 304 are provided separately is that write to the frame memory 201 and read-out from the frame memory 201 are carried out independently of each other.
When the vertical synchronous signal VDi is inputted, a control flag for executing the mode set and refresh for the frame memory 201 is posted in the mode set/refresh generator 302. This control flag is supplied to the command generator 301. The command generator 301 generates a command necessary for control of the frame memory 201 based on the control flag. This command is supplied to the frame memory 201. Consequently, each time when the vertical synchronous signal VDi is inputted, the mode setting and refreshing of the frame memory 201 are carried out.
The write address WADi is supplied to each of the buffers 204Y, 204C from the input TG207 (see
After the effective pixel section in the horizontal direction is terminated at each line, the write request WRQ is supplied to the read/write control unit 307 from the input TG 207. In the meantime, the buffers 204Y, 204C need to store the luminance signal Ya and color-difference signals Ua/Va of a next line inputted newly until read-out is executed since the write request WRQ is dispatched. Thus, the dual port SRAM is used as these buffers 204Y, 204C.
The read/write control unit 307 judges write or read-out in the frame memory 201. When it determines that the frame memory is about to be in the write operation, it supplies a write flag WFL accompanying channel information to the read counter 305 and the write address unit 303. Consequently, a read-out address RADi is generated from the read counter 305 and supplied to the buffers 204Y, 204C and at the same time, a write address WADm is generated from the write address unit 303 and supplied to the frame memory 201 through the command generator 301.
The effective pixel section of the luminance signal Ya and color-difference signal Ua/Va, stored in the buffers 204Y and 204C temporarily at each line, is read out of the buffers 204Y, 204C, transferred to the frame memory 201 through the SDRAM bus 203 and written into a predetermined address of the frame memory 201. In this case, the luminance signal Ya and the color-difference signals Ua/Va are inputted to the buffers 204Y, 204C at the rate of 8 bits and input clock CKi. The luminance signal Ya and color-difference signals Ua/Va are converted to 32-bit data from the buffers 204Y, 204C to the frame memory 201 and transferred at the rate of the memory clock CKm (108 MHz). In this case, 2-channel data, that is, the luminance signal Ya and color-difference signals Ua/Va are transferred to the frame memory 201 through the SDRAM bus 203 in the time division fashion and written therein.
Further, a read-out request RRQ is supplied from the memory TG211 to the read/write control unit 307. The read/write control unit 307 judges write or read-out in the frame memory 201. If it is determined that the frame memory is about to be in the read-out operation, it supplies a read-out flag RFL accompanying channel information to the read address unit 304 and the write counter 306. Consequently, a read-out address RADm is generated from the read address unit 304 and supplied to the frame memory 201 through the command generator 301. A write address WADo is generated from the write counter 306 and supplied to the buffers 205Y, 205C.
Thus, each time when a read-out flag is generated from the read/write control unit 307 corresponding to the read-out request RRQ, 12-channel data is read out of the frame memory 201 synchronously with the memory clock CKm (108 MHz) and transferred to the buffer 205Y and buffer 205C through the SDRAM bus 203 and written therein. In this case, 12-channel data is transferred in the time division fashion.
After the 12-channel data is transferred from the frame memory 201 to the buffers 205Y, 205C corresponding to the read-out request RRQ as described above, the read-out address RADo is supplied from the memory TG211 (see
Each time when the read-out request RRQ is generated, 12-channel data, after transferred from the frame memory 201 and stored in the buffers 205Y, 205C temporarily, is transferred to the rate conversion units 215Y, 215C and stored therein.
When receiving the write request WRQ, the write channel counter 311 sets up the number of write channels as its self count value and decrements it when write to each channel begins. When this count value reaches 0, the write operation is terminated. When setting the number of write channels as the self count value as described above, the write channel counter 311 sends a count start flag CSF to the channel counter 314 and starts the count of the channel counter 314.
When receiving a write request WRQ, the write channel counter 311 sets 2 as the self count value. The reason why 2 is set up in this way is that the luminance signal Ya and color-difference signals Ua/Va are written into the frame memory 201 separately, so that writing of 2-channel data is required.
When a read-out request RRQ is supplied or the read-out request RRQ is held in the request hold unit 313, the read channel counter 312 sets up the number of read-out channels as the self count value if write is not being ON when the count value of the write channel counter 311 is checked. When the read-out of each channel begins, the read channel counter 312 decrements the value. When this count value reaches 0, the read operation is terminated.
When the number of the read-out channels is set up as the self count value as described above, the read channel counter 312 sends a count start flag CSF to the channel counter 314 so as to start the count of the channel counter 314. When the write request WRQ and the read-out request RRQ are inputted at the same time as described above, the number of read-out channels is set up as the count value, however, no counter start flag CSF is supplied to the channel counter 314.
When receiving the count start flag CSF, the channel counter 314 starts the count operation thereof. In this case, the channel counter 314 increments the count value from 0 successively synchronous with the memory clock CKm (108 MHz) and if the count value reaches the maximum value corresponding to the data length of a channel, that count value is returned too, so that the condition gets into standby condition for input of the count start flag CSF.
Here, the maximum value corresponds to the number of clocks of the memory clock CKm corresponding to 1-channel data transfer time from the buffers 204Y, 204C to the frame memory 201, or from the frame memory 201 to the buffers 205Y, 205C. As described above, when the input image signal Sa is 480i signal, the number of the effective pixels in the horizontal direction is 720 pixels. Because 8-bit data is transferred in the form that it is converted to 32-bit data, the maximum value is MAX=720/4=180.
Further, when the count value turns to 1, the channel counter 314 generates a start flag SFL and supplies it to the write channel counter 311 and the read channel counter 312. Further, when the count value reaches the maximum value, the channel counter 314 generates an end flag EFL and supplies it to the write channel counter 311 and the read channel counter 312.
When the start flag SFL is supplied from the channel counter 314, the write channel counter 311 generates a write flag WFL accompanying channel information corresponding to the count value when the self count value is not 0, and supplies it to the read counter 305 and the write address unit 303 and further decrements the self count value.
Consequently, the read-out address RADi for reading out data of channel corresponding to the channel information is generated from the read counter 305. The write address WADm for writing data of a channel corresponding to the channel information is generated from the write address unit 303. Channel data corresponding to channel information is transferred from the buffers 204Y, 204C to the frame memory 201 and written therein.
When the end flag EFL is supplied from the channel counter 314, the write channel counter 311 generates the count start flag CSF for writing to a next channel when the self count value is not 0 and supplies it to the channel counter 314.
When the start flag SFL is supplied from the channel counter 314, the read channel counter 312 generates the read-out flag RFL accompanying channel information corresponding to the count value when the count value of the write channel counter 311 is 0 while the self count value is not 0, and supplies it to the read address unit 304 and the write counter 306 and then decrements the self count value.
Consequently, the read address unit 304 generates the read-out address RADm for reading out data of a channel corresponding to the channel information. The write counter 306 generates the write address WADo for writing data of a channel corresponding to the channel information. Data of channel corresponding to the channel information is transferred from the frame memory 201 to the buffers 205Y, 205C and written therein.
When the end flag EFL is supplied from the channel counter 314, the read channel counter 312 generates the count start flag CSF for reading a next channel when the count value of the write channel counter 311 is 0 while the self count value is not 0 and supplies it to the channel counter 314.
Further, when receiving the read-out request RRQ, the read-out request hold unit 313 increments the number of holds. Further, this read-out request hold unit 313 sets the number of read-out channels as a count value in the read channel counter 312 based on the read-out request RRQ and when the count value changes to 0, decrements the number of the holds.
The write side has no write request hold. The reason is that the write request WRQ has a precedence over the read-out and no write request WRQ is supplied in terms of timing during a write.
With the above-described structure, the standby condition of the read-out request RRQ and write request WRQ will be described. In an initial state in which no read-out or write is executed, this condition arises. The write channel counter 311, the read channel counter 312, the read request hold unit 313 and the channel counter 314 are in the initial state of having 0. The write channel counter 311 waits for input of the write request WRQ and the read channel counter 312 waits for an input of the read-out request RRQ. The read-out request hold unit 313 waits for the read-out request RRQ.
Next, an operation in case where a write request WRQ is supplied independently under the initial state will be described using “(1) writing/reading out independently” in
When a write request WRQ is inputted synchronously with a horizontal synchronous signal HDi relating to the input image signal Sa (
Thus, the write channel counter 311 generates the write flag WFL accompanying channel information (
When the count value of the channel counter 314 reaches the maximum value corresponding to a termination of the write to the first channel, the channel counter 314 generates the end flag EFL. The write channel counter 311 supplies the count start flag CSF to the channel counter 314 again because the self count value is not 0, but 1 (
Thus, the write channel counter 311 generates the write flag WFL accompanying channel information (
Corresponding to the termination of the write to the second channel, that is, when the count value of the channel counter 314 reaches the maximum value, the channel counter 314 generates the end flag EFL. Because the self count value is 0, the write channel counter 311 refrains from generating of the count start flag CSF and the like. Consequently, the write in the same amount as of two channel is terminated by inputting the write request WRQ.
Next, the operation in case where the read-out request RRQ is supplied independently under the initial state will be described using “(1) writing/reading out independently” in
When the read-out request PRQ is inputted (
After the read channel counter 312 sets up the number of read-out channels, it supplies the count start flag CSF to the channel counter 314. The channel counter 314 increments the count value synchronously with the memory clock CKm and when the count value reaches 1, generates a start flag SFL. Thus, the read channel counter 312 generates the read-out flag RFL accompanying the channel information (
Corresponding to the termination of read-out from the first channel, that is, when the count value of the channel counter 314 reaches its maximum value, the channel counter 314 generates the end flag EFL. The read channel counter 312 supplies the count start flag CSF to the channel counter 314 again because the count value of the write channel counter 311 is 0 while the self count value is not 0. The channel counter 314 increments the count value synchronously with the memory clock CKm and when the count value reaches 1, generates a start flag SFL.
Thus, the read channel counter 312 generates the read-out flag RFL accompanying the channel information (
In the same way, read-out up to a last channel is carried out. Corresponding to the termination of read-out of the last channel, that is, when the count value of the channel counter 314 reaches its maximum value, the channel counter 314 generates the end flag EFL. The read channel counter 312 refrains from generating of the count start flag CSF or the like because the self count value is 0. Consequently, read-out by the same number as read-out channels by an input of the read-out request RRQ is terminated. In the meantime, the read request hold unit 313 decrements the number of holds when the count value of the read channel counter 312 changes to 0.
Next, the operation in case where the write request WRQ and the read-out request RRQ are inputted at the same time under the initial state will be described.
Although the read channel counter 312 sets up the number of read-out channels as the self count value because it sees both the read-out request RRQ and write request WRQ, it refrains from supplying the count start flag CSF to the channel counter 314.
In this case, the write channel counter 311 sets up 2 which is the number of write channels as its self count value and supplies the count start flag CSF to the channel counter 314. For the reason, the write is carried out in the same way as when the write request WRQ is supplied independently.
When the channel counter 314 generates the end flag EFL corresponding to the termination of the write to the second channel, as described above, the write channel counter 311 refrains from generating of the count start flag CSF or the like because the self count value is 0 and then, the write operation is terminated.
Because in this case, the count value of the write channel counter 311 is 0 and the self count value is not 0, the read channel counter 312 supplies the count start flag CSF to the channel counter 314. Consequently, after the write operation has ended, the read-out operation is started. This read-out operation is carried out in the same way as when the read-out request RRQ is supplied independently.
Next, the operation in case where the read-out request RRQ is supplied during the write operation will be described using “(2) reading out during write” in
When a read-out request RRQ is inputted during the write operation (
In this case, the read-out request hold unit 313 increments the number of holds of the read-out request RRQ to 1 (
When the channel counter 314 generates the end flag EFL corresponding to the termination of the write to the second channel as described above, the write channel counter 311 refrains from generating of the count start flag CSF or the like because the self count value is 0 and then, the write operation is terminated.
In this case, the read channel counter 312 refrains from setting of the number of read-out channels as the self count value and supplying of the count start flag CSF to the channel counter 314 because the count value of the write channel counter 311 is 0 but the self count value is 0 also.
However, when the read-out request RRQ is held in the read-out request hold unit 313, the read channel counter 312 sets up the number of read-out channels as the self count value (
The read channel counter 312 determines whether or not the read-out request RRQ is held based on the number of holds in the read-out request hold unit 313. That is, when the number of holds is not 0, it is determined that holding is executed and when the number of holds is 0, it is determined that the holding is not carried out.
Next, the operation in case where a read-out request WRQ is supplied during the read-out operation will be described using “(3) writing during reading out” in
When the write request WRQ is inputted (
When the count value of the channel counter 314 reaches the maximum value corresponding to the termination of this read-out channel, the channel counter 314 generates the end flag EFL. Because the count value of the write channel counter 311 is not 0, the read channel counter 312 refrains from supplying of the count start flag CSF to the channel counter 314.
At this time, because the self count value is not 0, the write channel counter 311 generates the count start flag CSF and supplies it to the channel counter 314. Consequently, the read-out operation is stopped temporarily and the write operation is started.
If as described above, the end flag EFL is generated in the channel counter 314 corresponding to the termination of write to the second channel, the write channel counter 311 refrains from generating of the count start flag CFS because the self count value is 0 and then, the write operation terminates.
In this case, the read channel counter 312 supplies the count start flag CSF to the channel counter 314 because although the count value of the write channel counter 311 is 0, the self count value is not 0 (the count value is 2 in the example shown in
The flow charts of
First, the processing is started at step ST11 and in step ST12, it is set that W=0, R=0, RH=0 and CH=0. Here, W corresponds to the count value of the write channel counter 311, R corresponds to the count value of the read channel counter 312, RH corresponds to the number of holds in the read-out request hold unit 313, and CH corresponds to the count value of the channel counter 314.
Next, in step ST13, whether or not request input arises is determined. If both the write request WRQ and the read-out request RRQ exist, the hold number RH of the read-out request RRQ is incremented in step ST 14. Then, in step ST15, the number of read-out channels, for example, 12 is set up as the count value R. In step ST16, 2, which is the number of write channels, are set up as the count value W.
If only the write request WRQ is inputted in step ST13, the procedure proceeds to step ST16 immediately and then, 2, which is the number of write channels, are set as the count value W. After the processing of step ST16, the procedure proceeds to step ST17. In this step ST17, the count start flag CSF is outputted. Then, in step ST18, count up of the count value CH is started. This count up is executed synchronously with the memory clock CKm.
Next, in step ST19, whether or not CH=1 is set is determined. If CH=1, a write flag WFL accompanying channel information corresponding to the count value W is outputted and supplied to the read counter 305 and the write address unit 303 (see
In step ST21, whether or not CH=MAX is set is determined. If CH=MAX is set, in step ST22, the count up is stopped with CH=0. Then, in step ST23, whether or not the count value W is 0 is determined. Unless W=0, the procedure returns to step ST17, in which write processing for a next channel is carried out.
Unless CH=MAX is set in the step ST21, in step ST24, whether or not a read-out request RRQ is inputted is determined. If the read-out request RRQ is inputted, the hold number RH of the read-out request RRQ is incremented in step ST25. If no read-out request RRQ is inputted in step ST24 or after the processing of step ST25, the procedure returns to step ST21. Consequently, when the read-out request RRQ is inputted during a write operation, that read-out request RRQ is held.
When W=0 is set in the step ST23, the write ends. Then, whether or not the count value R is 0 is determined in step ST26. If R=0 is set up, whether or not the hold number RH of the read-out request RRQ is 0 is determined in step ST27. If RH=0 is set up, no interruption of reading or holding of the read-out request RRQ arises, and thus, the procedure returns to step ST12, in which the standby condition arises.
If only the read-out request RRQ is inputted in the aforementioned step ST13, the hold number RH is incremented in step ST28 and after that, the procedure proceeds to step ST29. In this step ST29, the number of the read-out channels, for example, 12 is set up as the count value R. Then, in step ST30, a count start flag CSF is outputted. Unless R=0 is set up in the step ST26, the procedure proceeds to step ST30. Then, in step ST31, the count-up of the count value CH is started. This count-up is executed synchronously with the memory clock CKm.
Next, in step ST32, whether or not CH=1 is set up is determined. If CH=1 is set up, a read-out flag RFL accompanying channel information corresponding to the count value R is outputted in step ST33 and supplied to the read address unit 304 and write counter 306 (see
In step ST34, whether or not CH=MAX is set up is determined. If CH=MAX is set up, in step ST35, the count-up is stopped with CH=0. Then, in step ST36, whether or not the count value W is 0 is determined. Unless W=0 is set up, it means that the write request WRQ is inputted during read-out operation as described later and the procedure returns to step ST17, in which the write processing is executed. On the other hand, when W=0 is set up in step ST36, the procedure returns to step ST37.
In this step ST37, whether or not the count value R is 0 is determined. Unless R=0 is set up, the procedure returns to step ST30, in which the procedure proceeds to a read-out processing for a next channel. On the other hand, when R=0 is set up, the hold number RH of the read-out request RRQ is decremented in step ST38 because read-out of the same number as that of the read-out channels terminates.
Next, whether or not the hold number RH is 0 is determined in step ST39. Unless RH=0 is set up, the procedure returns to step ST29, in which the procedure proceeds to read-out processing corresponding to a next read-out request RRQ held. On the other hand, when RH=0 is set up, the procedure returns to step ST12, in which the standby condition arises, because any read-out request RRQ is not held.
Unless CH=MAX is set up in the step ST34, whether or not any read-out request RRQ is inputted is determined in step ST40. If any read-out request RRQ is inputted, the hold number RH of the read-out request RRQ is incremented in step ST 41 and after that, the procedure proceeds to step ST42. Unless any read-out request RRQ is inputted in step ST40, the procedure proceeds to step ST42 immediately. Consequently, if any read-out request RRQ is inputted during the read-out operation, that read-out request RRQ is held.
In step ST42, whether or not any write request WRQ is inputted is determined. If any write request WRQ is inputted, 2, which is the number of write channels, are set up as the count value W in step ST43. Unless any write request WRQ is inputted in step ST42 or after the processing in step ST43, the procedure returns to step ST34. Consequently, if any write request WRQ is inputted during the read-out operation, the read-out processing is stopped in the step ST36 and then, the procedure proceeds to write processing.
Unless R=0 is set up in step ST26, the procedure proceeds to step ST30, in which the read-out processing arises. If the read-out request RRQ is inputted at the same time when the write request WRQ arises or if the write request WRQ is inputted during the read-out operation and the read-out processing is stopped, the procedure changes to the read-out processing after the write operation ends.
As described above, in the SDRAM controller 202 shown in
Instead of it that the write request WRQ has a precedence over the read-out request RRQ, the read-out request RRQ may have a precedence over the write request WRQ. In that case, because the adjustment of the write and read-out through the same SDRAM bus 203 is carried out, it is possible to input the read-out request RRQ every predetermined time and then read out regardless of the write timing by the write request WRQ.
As described above, the number of the write channels is 2 and the number of the read-out channels is, for example, 12. Thus, if the write request WRQ has a precedence over the read-out request RRQ, read-out waiting time by the read-out request RRQ is for two channels max. However, if the write request WRQ has a precedence over the read-out request RRQ, the write waiting time by the write request WRQ is the same as the number of read-out channels max, for example, for 12 channels.
The write request WRQ is generated synchronously with a horizontal synchronous signal HDi of the input image signal Sa. If this input image signal Sa is, for example, a reproduction signal of video tape recorder (VTR), deflection occurs in the horizontal cycle. However, as described above, the SDRAM controller 202 shown in
Next, returning to
As described above, the rate conversion circuit 105 outputs an image signal Sc in which the quantities of pixels in the horizontal direction and vertical direction are converted. This image signal Sc is comprised of the luminance signal Yc and the color-difference signals Uc, Vc. In this case, signals of 18 lines×horizontal five taps extended in the time direction, vertical direction and horizontal direction are outputted as the luminance signal Yc in parallel. Likewise, as each of the color-difference signals Uc, Vc, signals of 4 lines×horizontal five taps extended in the time direction, vertical direction and horizontal direction are outputted in parallel.
The image-signal-processing unit 106 executes processing for the luminance signal Yc and color-difference signals Uc, Vc independently. However, these processes are similar ones. Thus, here, the process for the luminance signal Yc and the color-difference signals Uc, Vc will be described as a process for the image signal Sc.
Based on an image signal Sc outputted from the rate conversion circuit 105, the image-signal-processing unit 106 includes a class tap extracting circuit 121 for extracting multiple items of pixel data located around a target position of the image signal Sb as class tap as a second data extracting means. According to this embodiment, the target position of the image signal Sb moves in order of raster scanning. Then, the rate conversion circuit 105 outputs multiple items of pixel data located around the target position corresponding to each target position.
In this case, in a processing for the luminance signal Yc, predetermined multiple items of intensity data are extracted as class tap from the intensity data of 18×5=90 outputted in parallel from the rate conversion circuit 105 corresponding to each target position of the image signal Sb. Likewise, in a processing for each of the color-difference signals Uc, Vc, predetermined multiple items of color-difference data are extracted as class tap from the color-difference data of 4×5=20 outputted in parallel from the rate conversion circuit 105 corresponding to each target position of the image signal Sb.
The image-signal-processing unit 106 includes a class classification circuit 122 for obtaining a class code CL indicating a class to which the pixel data of a target position in the image signal Sb belongs based on the class tap extracted by the class tap extracting circuit 121. This class classification is executed using any compression processing such as adaptive dynamic range coding (ADRC), prediction coding (DPCM), vector quantization (VQ) and the like.
A case of executing the ADRC with K bits will be described. In the K-bit ADRC, dynamic range DR=MAX−MIN, which is a differential between the maximum value and minimum value of pixel data contained in the class tap, is detected and each pixel data contained in the class tap is re-quantized based on this dynamic range DR.
That is, as for each pixel data included in the class tap, minimum value MIN is subtracted from the pixel data and that subtraction value undergoes subtraction (quantization) by DR2K. Consequently, each pixel data constituting the class tape is re-quantized to K bits and bit strings arranged in a predetermined order are outputted as the class code CL.
Thus, in a 1-bit ADRC, the minimum value MIN is subtracted from each pixel data included in this class tap and the subtraction value undergoes subtraction with DR/2. Consequently, each pixel data included in the class tap is re-quantized to 1-bit and bit strings arranged in a predetermined order are outputted as the class code CL.
This image-signal-processing unit 106 has read only memory (ROM) 123. This ROM 123 stores coefficient seed data of each class. An estimated prediction-computing circuit 126, which will be described later, obtains pixel data y of a target position in the image signal Sb from the pixel data xi and coefficient data Wi as the prediction tap according to the following estimation equation (1).
wherein, “n” is the number of pixel data xi as the prediction tap.
The coefficient seed data stored in the ROM 123 is coefficient data of a generation equation with phase information “h, v” and image quality adjustment information “f, g” as parameters for generating the coefficient data Wi (i=1 to n) of the aforementioned estimation equation. The following equation (2) indicates an example of the generation equation. Here, the phase information “h” refers to phase information in the horizontal direction and the phase information “v” refers to phase information in the vertical direction. Further, the image quality adjustment information “f” refers to image quality adjustment information for adjusting the resolution and the image quality adjustment information “g” refers to image quality adjustment information for adjusting the noise suppression degree. The ROM 123 stores coefficient seed data for wi0-wi30 (i=1 to n), for each class, which is coefficient data in, for example, the generation equation (2). The generation method of the coefficient seed data will be described later.
The image-signal-processing unit 106 has a coefficient-generating circuit 124 for generating coefficient data Wi for obtaining the pixel data at a target position in the image signal Sb. This coefficient-generating circuit 124 reads out the coefficient seed data wi0-wi30 of classes indicated with the class code CL obtained by a class classification circuit 122 and generates coefficient data Wi using the phase information “h, v” of a target position in the image signal Sb outputted from the rate conversion circuit 105 and the image quality adjustment information “f, g” supplied from the system controller 101 according to the generation equation (2).
Here, the phase information “h, v” are phase information “phy, pvy” obtained by the output TG 217 (see
For the reason, although not shown, a delay circuit for time adjustment is disposed on, for example, the system of phase information “h, v”. Because according to this embodiment, the output start delay in the tap building circuits 221Y, 221C is fixed regardless of the conversion magnification of the number of pixels, a fixed delay circuit may be used.
The image-signal-processing unit 106 has a prediction-tap-extracting circuit 125 for extracting multiple items of image data located around a target position in the image signal Sb as the prediction tap based on the image signal Sc outputted from the rate conversion circuit 105, as a first data extracting means.
In this case, in the processing for the luminance signal Yc, predetermined multiple items of intensity data are extracted as the prediction tap from intensity data of 18×5=90 outputted in parallel from the rate conversion circuit 105 corresponding to each target position of the image signal Sb. Likewise, in the processing for each of the color-difference signals Uc, Vc, predetermined multiple items of color-difference data are extracted as the prediction tap from color-difference data of 4×5=20 outputted in parallel from the rate conversion circuit 105 corresponding to each target position of the image signal Sb.
The image-signal-processing unit 106 has the estimated prediction-computing circuit 126. This estimated prediction-computing circuit 126 computes the pixel data of a target position in the image signal Sb using pixel data xi (i=1 to n) as a prediction tap extracted by the prediction-tap-extracting circuit 125 and coefficient data Wi (i=1 to n) generated in the coefficient-generating circuit 124 according to the estimation equation (1). The pixel data y of each target position in the image signal Sb computed successively by this estimated prediction-computing circuit 126 is outputted to the output terminal 107.
Next, the operations of the image-signal-processing unit 106 will be described.
The image signal Sc outputted from the rate conversion circuit 105 is supplied to the class-tap-extracting circuit 121. This class-tap-extracting circuit 121 extracts multiple items of pixel data located around a target position in the image signal Sb as a class tap based on the image signal Sc.
A class tap extracted by the class-tap-extracting circuit 121 is supplied to the class classification circuit 122. This class classification circuit 122 carries out compression processing such as ADRC upon multiple items of pixel data as the class tap so as to obtain a class code CL expressing the class to which pixel data of the target position in the image signal Sb belongs. This class code CL is supplied to the coefficient-generating circuit 124.
This coefficient-generating circuit 124 is supplied with the phase information “h, v” of the target position in the image signal Sc from the rate conversion circuit 105 and further supplied with the image quality adjustment information “f, g” from the system controller 101. As a result, the coefficient generating circuit 124 reads coefficient seed data wi0-wi30 (i=1 to n) expressing the class code CL out of the ROM 123 corresponding to each target position in the image signal Sc and generates coefficient data Wi (i=1 to n) using the phase information “h, v” and the image quality adjustment information “f, g” according to the generation equation (2).
The image signal Sc outputted from the rate conversion circuit 105 is supplied to the prediction-tap-extracting circuit 125. This prediction-tap-extracting circuit 125 extracts multiple items of pixel data located around a target position in the image signal Sb as a prediction tap based on the image signal Sc. The pixel data xi as this prediction tap is supplied to the estimated prediction-computing circuit 126. This estimated prediction-computing circuit 126 is also supplied with the coefficient data Wi generated by the coefficient-generating circuit 124.
This estimated prediction-computing circuit 126 computes pixel data y of a target position in the image signal Sb corresponding to each target position in the image signal Sb using pixel data xi (i=1 to n) as a prediction tap extracted by the prediction tap extracting circuit 125 and coefficient data Wi (i=1 to n) generated by the coefficient generating circuit 124 according to the estimation equation. The pixel data y of each target position in the image signal Sb, computed successively by this estimated prediction-computing circuit 126, is outputted to the output terminal 107.
This image-signal-processing unit 106 aims at acquiring the pixel data y at each target position in the image signal Sb based on the image signal Sc, which is outputted from the rate conversion circuit 105 and converted to the same rate as that of the image signal Sb, and accompanies no processing for rate conversion. Thus, this unit can be constructed easily.
This image-signal-processing unit 106 uses multiple items of pixel data located around a certain target position outputted in parallel from the rate conversion circuit 105 corresponding to each target position in the image signal Sb, and the class-tap-extracting circuit 121 and the prediction-tap-extracting circuit 125 can be constructed with only a latch circuit. Thus, any delay circuit or the like for expansion in the time direction, vertical direction, and horizontal direction is not required.
As described above, the horizontal five taps obtained corresponding to each pixel position in the effective pixel section of the luminance signal Yc and color-difference signals Uc, Vc by the tap-building circuits 221Y, 221C are obtained in an arrangement of the intensity data and color-difference data in the luminance signal Ya and color-difference signals Ua, Va before rate conversion without depending on the magnification of the number of pixels. Thus, even if the magnification of the number of pixels is changed, the relationship between this horizontal five taps and the phase information “h, v” based on the pixel position of the luminance signal Ya and color-difference signals Ua, Va never collapse, so that the image-signal-processing unit 106 can generate pixel data at a target position in the image signal Sb excellently.
As described above, in the tap building circuits 221Y, 221C, output start delay until the horizontal five taps are outputted from the shift register since a pixel data string of image signal after rate conversion is inputted to the shift register at each line is fixed to clock time (no+ni) without depending on the magnification of the number of pixels. Therefore, in the image-signal-processing unit 106, time adjustment between this horizontal five taps and the phase information “h, v” can be carried out with a fixed delay circuit, and therefore, a variable delay circuit capable of changing the delay time depending on the magnification of the number of pixels is not required.
Further, the image-signal-processing unit 106 uses the phase information “h, v” obtained in the output TG 217 of the rate conversion circuit 105 as the phase information “h, v” of the target position in the image signal Sb and any circuit generating this phase information “h, v” is not required.
As described above, the coefficient seed data wi0-wi30 (i=1 to n) is stored about each class in the ROM 123. This coefficient seed data is generated as a result of learning preliminarily.
First, an example of this generating method will be described. An example for obtaining the coefficient seed data wi0-wi30, which is coefficient data in the generation equation (2), will be shown here.
Here, tj (j=0 to 30) is defined as shown in the equation (3) for following explanation.
T0=1, t1=f, t2=g, t3=f2, t4=fg, t5=g2, t6=f3, t7=f2g, t8=fg2, t9=g3, t10=v, t11=vf, t12=vg, t13=vf2, t14=vfg, t15=vg2, t16=h, t17=hf, t18=hg, t19=hf2, t20=hfg, t21=hg2, t22=v2, t23=v2f, t24=v2g, t25=vh, t26=vhf, t27=vhg, t28=h2, t29=h2f, t30=h2g (3)
The equation (2) can be rewritten to the equation (4) by using the equation (3).
Finally, an unspecified coefficient wij is obtained by learning. That is, by using
pixel data of student signal and pixel data of teacher signal for each class, a coefficient which minimizes the square error is determined. This is based on a solution method by least squares method. Assuming that the number of learning is m, residual in learning data of k (1<k<m) is ek and the sum of square error is E, E is expressed in the form of the equation (5) using the equations (1) and equation (2).
wherein, xik expresses k pixel data at an i estimation tap position of the student image and yk expresses k pixel data of a corresponding teacher image.
According to the solution method by the least squares method, wij in which partial differential of the equation (5) by wij is 0 is acquired. This is expressed in the equation (6).
If Xipjq, Yip are defined as expressed in the equations (7), (8), the equation (6) can be rewritten to the equation (9) using matrix.
This equation (9) is generally referred as to normal equation. According to this normal equation, wij is solved based on sweeping-out method (Gauss-Jordan elimination method) to compute coefficient seed data.
By shifting the phase of the SD signal by eight grades in the vertical direction and by eight grades in the horizontal direction, SD signals of 8×8=64, SD1-SD64 are generated.
The V1 condition means that the shift amount of the SD signal is 0 and in this case, the pixel of the HD signal comes to have phases 0, 1024, 2048, 3072 relative to the pixel of the SD signal. The V2 condition means that the shift amount of the SD signal is 1 and in this case, the pixel of the HD signal comes to have phases 768, 1792, 2816, 3840 relative to the pixel of the SD pixel. The V3 condition means that the shift amount of the SD signal is 2 and in this case, the pixel of the HD signal comes to have phases 512, 1536, 2560, 3584 relative to the pixel of the SD signal. The V4 condition means that the shift amount of the SD signal is 3 and in this case, the pixel of the HD signal comes to have the phases 256, 1280, 2304, 3328 relative to the pixel of the SD signal.
The V5 condition means that the shift amount of the SD signal is 4 and in this case, the pixel of the HD signal comes to have phases 0, 1024, 2048, 3072 relative to the pixel of the SD signal. The V6 condition means that the shift amount of the SD signal is 5 and in this case, the pixel of the HD signal comes to have phases 768, 1792, 2816, 3840 relative to the pixel of the SD signal. The V7 condition means that the shift amount of the SD signal is 6 and in this case, the pixel of the HD signal comes to have phases 512, 1536, 2560, 3584 relative to the pixel of the SD signal. The V8 condition means that the shift amount of the SD signal is 7 and in this case, the pixel of the HD signal comes to have phases 256, 1280, 2304, 3328 relative to the pixel of the SD signal.
The H1 condition means that the shift amount of the SD signal is 0 and in this case, the pixel of the HD signal comes to have phases 0, 2048 relative to the pixel of the SD signal. The H2 condition means that the shift amount of the SD signal is 1 and in this case, the pixel of the HD signal comes to have phases 1792, 3840 relative to the pixel of the SD signal. The H3 condition means that the shift amount of the SD signal is 2 and in this case, the pixel of the HD signal comes to have 1536, 3584 relative to the pixel of the SD signal. The H4 condition means that the shift amount of the SD signal is 3 and in this case, the pixel of the HD signal comes to have phases 1280, 3328 relative to the pixel of the SD signal.
The H5 condition means that the shift amount of the SD signal is 4 and in this case, the pixel of the HD signal comes to have phases 1024, 3072 relative to the pixel of the SD signal. The H6 condition means that the shift amount of the SD signal is 5 and in this case, the pixel of the HD signal comes to have phases 768, 2816 relative to the pixel of the SD signal. The H7 condition means that the shift amount of the SD signal is 6 and in this case, the pixel of the HD signal comes to have 512, 2560 relative to the pixel of the SD signal. The H8 condition means that the shift amount of the SD signal is 7 and in this case, the pixel of the HD signal comes to have phases 256, 2304 relative to the pixel of the SD signal.
Here, as an example of the phase shift, a method for extracting only desired phases from an over-sampling filter will be explained. If as the aforementioned image quality adjustment, adjustment of the resolution and adjustment of noise suppression degree are taken as an example, by changing the frequency characteristic of the over-sampling filter, student images having different resolutions can be created. With student images having different resolutions, coefficients whose effects for raising the resolution are different can be created. For example, if there are a student image highly dim and a student image less dim, a coefficient having a high effect for raising the resolution is generated by learning with highly dim student images and a coefficient having a low effect for raising the resolution is generated by learning with less dim student images.
Further, by applying noise to each of student images having different resolutions, noise applied student images can be created. By changing the amount of applied noise, student images having different noise amount are generated and as a result, coefficients having different noise suppression effects are generated. For example, if there are a student image applied with much noise and a student image applied with little noise, a coefficient having a high noise suppression effect is created by learning with the student image applied with much noise and a coefficient having a low noise suppression effect is created by learning with the student image applied with little noise.
As for the amount of applied noise, if pixel value x′ of a student image applied with noise is created by applying noise n to the pixel value x of the student image as shown in the equation (10), the amount of applied noise is adjusted by changing G.
x′=x+G·n (10)
This coefficient-seed-data-generating apparatus 150 comprises an input terminal 151 for receiving an HD signal (1050i) as a teacher signal, a phase shift circuit 152A for obtaining a SD signal (525i) by extracting desired phase by applying over-sampling filter in the horizontal direction and vertical direction, and a noise addition circuit 152B for adding noise to this SD signal.
Parameter “f” for specifying the frequency characteristic of the over-sampling filter and parameters “h, v” for specifying the phase shift amount in the horizontal direction and vertical direction are inputted to the phase shift circuit 152A. A parameter “g” for specifying noise addition rate is inputted to the noise addition circuit 152B. Here, the parameter “f” corresponds to the resolution adjustment information “f” in the image-signal-processing unit 106 of
The coefficient-seed-data-generating apparatus 150 comprises a class-tap-extracting circuit 154 for extracting multiple items of pixel data located around a target position of the HD signal as a class tap based on the SD signal outputted from the noise addition circuit 152B and a class classification circuit 157 for obtaining a class code CL expressing a class to which the pixel data of the target position in the HD signal belongs based on this class tap.
Further, the coefficient-seed-data-generating apparatus 150 further comprises a prediction-tap-extracting circuit 153 for extracting multiple items of pixel data located around the target position of the HD signal as a prediction tap based on the SD signal outputted from the noise addition circuit 152B.
The coefficient-seed-data-generating apparatus 150 further comprises a normal-equation-generating unit 160 for generating the normal equation (see the equation (9)) for obtaining the coefficient seed data wi0-wi30 (i=1 to n) for each class. This normal-equation-generating unit 160 generates the normal equation for obtaining the coefficient seed data wi0-wi30 (i=1 to n) for each class based on pixel data y of each target position in the HD signal extracted from the HD signal to be inputted to the input terminal 151, pixel data xi as a prediction tap extracted by the prediction-tap-extracting circuit 153 corresponding to the pixel data y of each target position, class code CL obtained by the class classification circuit 157 corresponding to the pixel data y of each target position, parameter “f” for specifying the frequency characteristic of the over-sampling filter, parameters “h, v” for specifying the phase shift amount in the vertical direction, and the parameter “g” for specifying the addition rate of noise.
In this case, a single item of learning data is created by combination of a single item of pixel data y and n items of pixel data xi as a prediction tap corresponding thereto. The parameters “f, h, v” to the phase shift circuit 152A and the parameter “g” to the noise addition circuit 152B are changed successively so as to generate a SD signal corresponding thereto. Consequently, the normal-equation-generating unit 160 generates a normal equation in which a number of items of learning data are registered. By creating the SD signal successively and registering the learning data, the coefficient seed data for obtaining pixel data about arbitrary resolution adjustment, noise suppression degree adjustment, and the horizontal/vertical phase can be obtained.
The coefficient-seed-data-generating apparatus 150 comprises a coefficient-seed-data-determining unit 161 for receiving the normal equation data generated by the normal-equation-generating unit 160 for each class and obtaining the coefficient seed data wi0-wi30 for each class by solving the normal equation of each class, and a coefficient seed memory 162 for storing the obtained coefficient seed data wi0-wi30.
The coefficient-seed-data-generating apparatus 150 shown in
The HD signal (1050i signal) is inputted to the input terminal 151 as a teacher signal. Corresponding to this HD signal, the phase shift circuit 152A obtains the SD signal by extracting a desired phase by applying the over-sampling filter in the horizontal and vertical directions. In this case, SD signals shifted to eight grades in the vertical direction and horizontal direction each are generated successively.
Corresponding to the SD signal of each phase, the parameter “f” to be inputted to the phase shift circuit 152A and the parameter “g” to be inputted to the noise addition circuit 152B are changed successively, so that corresponding SD signals are generated successively.
The class-tap-extracting circuit 154 extracts multiple items of pixel data located around a target position in the HD signal from each SD signal outputted from the noise addition circuit 152B as a class tap. This class tap is supplied to the class classification circuit 157. This class classification circuit 157 executes compression processing such as ADRC on multiple items of pixel data as the class tap so as to obtain a class code CL expressing a class to which the pixel data of the target position in the image signal Sb belongs. This class code CL is supplied to the normal-equation-generating unit 160.
Further, the prediction-tap-extracting circuit 153 extracts multiple items of pixel data located around the target position in the HD signal as a prediction tap from each SD signal outputted from the noise addition circuit 152B. The pixel data xi as this prediction tap is supplied to the normal-equation-generating unit 160.
The HD signal inputted to the input terminal 151 is supplied to the normal-equation-generating unit 160. This normal-equation-generating unit 160 generates a normal equation for obtaining the coefficient seed data wi0-wi30 (i=1 to n) for each class based on pixel data y of each target position in the HD signal extracted from the HD signal, multiple items of pixel data xi as the prediction tap extracted by the prediction-tap-extracting circuit 153 corresponding to the pixel data y of each target position, the class code CL obtained by the class classification circuit 157 corresponding to each pixel data y of each target position and parameters “f, h, v, g”.
The normal equation is solved by the coefficient-seed-data-determining unit 161 so as to obtain the coefficient seed data wi0-wi30 of each class. The coefficient seed data wi0-wi30 is stored in the coefficient seed memory 162 in which addresses are divided for each class.
The coefficient-seed-data-generating apparatus 150 shown in
The process of the image-signal-processing apparatus 100 shown in
First, the image-signal-processing apparatus 500 shown in
The image-signal-processing apparatus 500 comprises a hard disk drive (HDD) 505 as an external memory unit and a drive 506 which handles such a removable memory medium 519 as a flexible disc, compact disc read only memory (CD-ROM), magneto optical (MO) disc, digital versatile disc (DVD), magnetic disc, semiconductor memory. The drives 505, 506 are respectively connected to the bus 504.
The image-signal-processing apparatus 500 has a communication unit 508 to be connected to a communication network 507 such as the Internet by wire or radio. This communication unit 508 is connected to the bus 504 through an interface 509.
The image-signal-processing unit 500 has a user interface unit. This user interface unit comprises a remote-control-signal-receiving circuit 511 for receiving a remote control signal RM from a remote control signal transmitter 510, and a display 513 composed of cathode ray tube (CRT), liquid crystal display (LCD) or the like. The receiving circuit 511 is connected to the bus 504 through an interface 512 and the display 513 is connected to the bus 504 through an interface 514.
The image-signal-processing apparatus 500 comprises an input terminal 515 for inputting the image signal Sa and an output terminal 517 for outputting the image signal Sb. The input terminal 515 is connected to the bus 504 through the interface 516 and the output terminal 517 is connected to the bus 504 through the interface 518.
Instead of storing a control program or the like in the ROM 502 as described above, for example, it may be downloaded from the communication network 507 such as the Internet through the communication unit 508 and stored in the hard disc drive 505 or the RAM 303 for usage. Further, these control programs may be provided in the form of a removable memory medium.
Instead of inputting the image signal Sa to be processing through the input terminal 515, it may be supplied in the form of a removable memory medium and downloaded from the communication network 507 such as the Internet through the communication unit 508. Further, instead of outputting the image signal Sb after processing to the output terminal 517, it may be supplied to the display 513 in parallel, stored in the hard disc drive 505 or transmitted to the communication network 507 such as the Internet through the communication unit 508.
A procedure for obtaining the image signal Sb from the image signal Sa in the image-signal-processing apparatus 500 shown in
First, in step ST51, the processing is started and in step ST52, the image signal Sa is inputted by the amount of a predetermined frame or by the amount of a predetermined field. When this image signal Sa is inputted through the input terminal 515, this image signal Sa is stored in the RAM 503 temporarily. Further, if this image signal Sa is recorded in the hard disc drive 505, the image signal Sa is read out of the hard disc 505 and this image signal Sa is stored in the RAM 503 temporarily. Then, in step ST53, whether or not the processing of the image signal Sa on the entire frame or entire field ends is determined. When the processing ends, the procedure terminates in step ST54. On the other hand, unless the processing ends, the procedure proceeds to step ST55.
In this step ST55, rate conversion processing is carried out on the image signal Sa inputted in step ST52 so as to generate the image signal Sc. In step 52, phase information “h, v” is obtained corresponding to each pixel data of the image signal Sc. Then, in step ST56, image quality adjustment information “f,g” based on user's operation are also obtained.
Next, in step ST57, pixel data of the class tap and prediction tap corresponding to a target position in the image signal Sb is obtained based on the image signal Sc generated in step ST55. Then, in step ST58, a class code CL expressing a class to which the pixel data of the target position in the image signal Sb belongs is generated based on the class tap extracted in step ST57.
Then, in step ST59, coefficient data Wi of an estimation equation for obtaining pixel data of a target position in the image signal Sb is generated using coefficient seed data of a class expressed by a class code CL generated in step ST58, phase information “h, v” corresponding to the target position in the image signal Sb obtained in step ST55, and image quality adjustment information “f, g” obtained in step ST56 according to the aforementioned equation (2).
Next, in step ST60, pixel data y of the target position in the image signal Sb is generated according to the estimation equation (1) using coefficient data Wi generated in step ST59 and pixel data xi as a prediction tap extracted in step ST57.
Next, in step ST61, whether or not processing of each field of the image signal Sa inputted in step ST52 is finished is determined. If the processing is finished, the procedure returns to step ST52, in which input processing of the image signal Sa in a predetermined frame or predetermined field is executed. On the other hand, unless the processing is finished, the procedure returns to step ST57, in which a processing for obtaining the pixel data y of a next target position in the image signal Sb is executed.
By processing along the flow chart shown in
Although representation of the processing apparatus is omitted, the processing in the coefficient-seed-data-generating apparatus 150 of
The processing procedure for generating the coefficient seed data will be described by referring to the flow chart of
First, in step ST71, the processing is started and in step ST72, the phase shift value (specified by, for example, the parameters “h, v”) and the image quality adjustment value (specified by, for example, the parameters “f, g”) of the SD signal used for learning are selected. Then, in step ST73, whether or not learning is finished for all combinations of the phase shift value and image quality adjustment values is determined. If no learning for all the combinations is finished, the procedure proceeds to step ST74.
In this step ST74, a well known HD signal is inputted by the amount of a single frame or a single field. In step ST75, whether or not the processing of the HD signal for all frames or fields is finished is determined. If it is finished, the procedure returns to step ST72, in which a next phase shift value and image quality adjustment value are selected and the same processing as described above is repeated. On the other hand, unless it is finished, the procedure proceeds to step ST76.
In this step ST76, from the HD signal inputted in step ST74, a SD signal with its phase being shifted only by a phase shift value selected in step ST72 and its image quality (in terms of resolution, noise) being adjusted corresponding to the image quality adjustment value is generated. Then, in step ST77, corresponding to the target position of the HD signal, pixel data of the class tap and the prediction tap is obtained from the SD signal generated in step ST76.
Next, in step ST78, a class code CL expressing a class to which the pixel data of a target position in the HD signal belongs is generated based on the class tap acquired in step ST77. With pixel data of the target position in the HD signal and pixel data as a prediction tap obtained in step ST77 assumed as a single item of learning data, addition for obtaining the normal equation (see the equation (9)) is carried out. This addition is carried out based on the class code CL for each class.
Next, in step ST80, whether or not the learning processing is finished in the entire region of the HD signal inputted in step ST74 is determined. If the learning processing is finished, the procedure returns to step ST74, in which the HD signal is inputted by the amount of a next single frame or single field and the same processing as described above is repeated. On the other hand, unless the learning processing is finished, the procedure returns to step ST77, in which a processing about a next target position in the HD signal is executed.
If in step ST73, learning is finished for all combinations of the phase shift value and image quality adjustment value, the procedure proceeds to step ST81. In this step ST81, by solving the normal equation based on sweep-out method or the like, coefficient seed data of each class is computed and in step ST82, the coefficient seed data is stored in a memory and then, in step ST83, the processing terminates.
By processing along the flow chart shown in
According to the above-described embodiments, in the rate conversion circuit 105, the luminance signal Ya for 10 lines is read out of the frame memory 201 corresponding to a single read-out request RRQ and finally, the luminance signal Yc for 18 lines is outputted in parallel from the rate conversion unit 215Y. Further, the color-difference signals Ua/Va for two lines are read out of the frame memory 201 and finally, blue color-difference signal Uc for four lines and red color-difference signal Vc for four lines are outputted from the rate conversion unit 215C.
However, the numbers of lines of the luminance signal Ya and color-difference signals Ua/Va which should be read out of the frame memory 201 corresponding to a single read-out request RRQ are not restricted to this example.
For example, it can be considered to read out the luminance signal Ya for five lines and the color-difference signal Ua/Va for a single line from the frame memory 201 corresponding to a single read-out request RRQ. In this case also, by processing for line delay in the rate conversion units 215Y, 215C, finally, the luminance signal Yc for 18 lines, the blue color-difference signal Uc for four lines and the red color-difference signal Vc for four lines can be obtained.
It can be considered to read out the luminance signal Ya for four lines and the color-difference signal Ua/Va for two lines from the frame memory 201 corresponding to a single read-out request RRQ, for example. In this case, by processing for line delay with the rate conversion units 215Y, 215C, finally, the luminance signal Yc for 14 lines and the blue color-difference signal Uc for eight lines and the red color-difference signal Vc for eight lines can be obtained.
Although according to the above-described embodiments, a case where five taps are built in the horizontal direction in the tap building circuits 221Y, 221C of the rate conversion circuit 105 has been indicated, the number of the taps is restricted to this example. Further, it is permissible to provide the luminance signal and the color-difference signal with different numbers of taps.
In the above-described embodiments, a case where the coefficient seed data is stored in the ROM 123 and the coefficient-generating circuit 124, using the coefficient seed data in a class expressing the class code CL, generates the coefficient data Wi corresponding to the phase information “h, v” and the image quality adjustment information “f, g” according to the generation equation (2) has been explained. However, it is permissible to store the coefficient data Wi about all combinations of the phase information “h, v” and the image quality adjustment information “f, g” for each class in the ROM 123 and read out coefficient data Wi corresponding to the phase information “h, v” and image quality adjustment information “f, g” in a class expressing the class code CL for usage.
In this case, the coefficient data Wi of each combination of the phase information “h, v” and the image quality adjustment information “f, g” stored in the information memory bank 135 can be obtained by learning on the SD signal obtained by each combination of the parameters “f, g, h, v”.
In the above-described embodiments, a case where the number of pixels increases when obtaining the image signal Sc from the image signal Sa has been indicated and in the rate conversion units 215Y, 215C, it is intended to increase the quality of pixels by double reading. However, depending on the formats of the image signal Sa and the image signal Sc, the number of pixels decreases at the time of rate conversion. In this case, in the rate conversion units 215Y, 215C, the number of pixels is reduced by thinning.
In the above-described embodiments, a case where the class tap and the prediction tap are extracted from the image signal Sc expanded in the time direction, vertical direction and horizontal direction outputted from the rate conversion circuit 105 by means of the image-signal-processing unit 106 and used has been indicated. However, for the tap building circuits 221Y, 221C of the rate conversion circuit 105, it is permissible to provide with a tap building circuit for obtaining the class tap and a tap building circuit for obtaining the prediction tap so that the class tap and the prediction tap to be used in the image-signal-processing unit 106 are outputted directly from the rate conversion circuit 105. In this case, the image-signal-processing unit 106 does not need to be provided with the class-tap-extracting circuit 121 or the prediction-tap-extracting circuit 125.
Although in the above-described embodiments, as an estimation equation upon generating pixel data of the image signal Sb, usage of the linear equation has been mentioned, the present invention is not restricted to this example, but for example, it is permissible to use a high-degree equation as the estimation equation.
Although in the above-described embodiments, a case where the class code CL is detected and the coefficient data Wi corresponding to this class code is used in estimation computation has been indicated, it can be considered to omit the detecting unit for the class code CL. In such a case, only one space of the coefficient seed data is stored in the ROM 123.
According to an aspect of the present invention, an input image signal is stored in a first memory temporarily and from this first memory, the image signal is transferred to a second memory successively in the unit of line and written therein, and from this second memory, the image signal is read out at a pixel cycle and a line cycle of after-converted so as to obtain an output image signal. In this case, transfer of the image signal from the first memory to the second memory is controlled so that it is executed every specified time. Consequently, a stable data transmission band between the first memory and the second memory can be secured, thereby raising its use efficiency.
According to another aspect of the present invention, of a first control of transferring the image signal from a write buffer to a memory through a data bus based on a write request and writing therein and a second control of transferring the image signal from the memory to the read-out buffer through the data bus based on a read-out request and writing therein, any one has a precedence over the other, so that adjustments of the write and read-out through the same data bus can be executed under an excellent condition. Consequently, read-out based on input of the read-out request every specified time is enabled without depending upon the write timing by a write request.
According to still another aspect of the present invention, the write control based on the write request has a precedence over the read-out request based on the read-out request and a waiting time for read-out based on the read-out request can be generated. However, if n image signals of a single horizontal period are written into the memory corresponding to a single write request and m image signals (m>n) of a single horizontal period are written from the memory corresponding to a single read-out request, the maximum waiting time is that for n. Consequently, this is shorter than the maximum waiting time (for m) for a write based on a write request in case where the read-out control based on the read-out request has a precedence over the write control based on the write request.
According to yet still another aspect of the present invention, by using the conversion objective pixel data string of first image signals such that the same pixel data are disposed continuously at a rate corresponding to the magnification of the number of pixels, proper pixel data string of effective pixel section in the horizontal direction of the second image signal is generated and a modified pixel data string obtained by modifying this proper pixel data string is supplied to a shift register and pixel data of the change position of the modified pixel data string are taken successively into this shift register with a shift trigger. Consequently, a specified number of taps in the horizontal direction are built corresponding to each pixel position of the effective pixel section in the horizontal direction of the second image signal and the modified pixel data string is obtained by modifying the change position of the pixel data in the proper pixel data string so that the change of the center tap meets the arrangement of the proper pixel data string.
Consequently, according to the present invention, the predetermined number of taps in the horizontal direction can be obtained in the arrangement of the pixel data in the image signal (first image signal) before rate conversion regardless of the magnification of the number of pixels. Thus, if the pixel data of a target position in the output image signal is generated using the predetermined number of the taps in the horizontal direction according to phase information based on the pixel position of the image signal before rate conversion, the correspondence relation between the predetermined number of the taps in the horizontal direction and the phase information never collapses even if the magnification of the number of the pixels changes, so that the pixel data of the target position in the output image signal can be produced under an excellent condition.
According to a further aspect of the present invention, when the shift register has “no” registers and “ni” registers on the output side and input side respectively of a register which outputs the center tap, it is regarded that first (no+ni) pixel data in the modified pixel data string changes continuously, so that the first (no+ni) pixel data is taken into the shift register continuously at each line.
Consequently, according to the present invention, the output start delay until the predetermined number of the taps in the horizontal direction is outputted from the shift register since pixel data string of the image signal after rate conversion are inputted into the shift register can be fixed to (no+ni) clock time at each line without depending on the magnification of the number of pixels. Thus if pixel data of a target position in the output image signal is generated using the predetermined number of the taps in the horizontal direction based on the phase information of the target position of the output image signal, it is not necessary to provide with any variable delay circuit capable of changing the delay time depending on the magnification of the number of pixels for time adjustment between the taps of the predetermined number in the horizontal direction and the phase information.
According to the present invention, transfer of the image signal from the first memory to the second memory is so controlled to be executed every specified time, securing a data transmission band between the first memory and the second memory to raise the use efficiency. The present invention can be applied to a purpose for obtaining output image signals by storing input image signals in a first memory temporarily, transferring the image signals from this first memory to the second memory successively in the unit of line and writing therein and then reading out the image signal from the second memory at a pixel cycle and a line cycle after the conversion.
According to the present invention, the write and read-out through the same data bus can be executed favorably, so that the read-out based on input of a read-out request every specified time without depending on write timing by a write request is enabled. The present invention can be applied to a purpose for obtaining output image signals by storing input image signals in a first memory temporarily, transferring the image signals from this first memory to the second memory successively in the unit of line and writing therein and then reading out the image signal from the second memory at a pixel cycle and a line cycle of after-converted.
According to the present invention, the taps of a predetermined number in the horizontal direction can be obtained in the arrangement of the pixel data in the image signal before rate conversion without depending on the magnification of the number of pixels. Thus, the present invention can be applied to a purpose for obtaining a predetermined number of the taps in the horizontal direction in order to create new pixel data corresponding to each pixel position of the effective pixel section in the horizontal direction of output image signal by using the predetermined number of the taps in the horizontal direction after rate conversion.
The present application contains subject matter related to Japanese patent applications Nos. JP2003-295511, JP2003-295512, and JP2003-295513, filed in the Japanese Patent Office on Aug. 19, 2003, the entire contents of which being incorporated herein by reference.
While the foregoing specification has described preferred embodiment(s) of the present invention, one skilled in the art may make many modifications to the preferred embodiment without departing from the invention in its broader aspects. Therefore, the appended claims are intended to cover all such modifications as fall within the true scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2003-295511 | Aug 2003 | JP | national |
2003-295512 | Aug 2003 | JP | national |
2003-295513 | Aug 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5038218 | Matsumoto | Aug 1991 | A |
5208583 | Cusick et al. | May 1993 | A |
5461420 | Yonemitsu et al. | Oct 1995 | A |
6031546 | Shimizu | Feb 2000 | A |
6057889 | Reitmeier et al. | May 2000 | A |
6115537 | Yamada et al. | Sep 2000 | A |
6396507 | Kaizuka et al. | May 2002 | B1 |
6400903 | Conoval | Jun 2002 | B1 |
6427157 | Webb | Jul 2002 | B1 |
RE38227 | Sugiyama et al. | Aug 2003 | E |
6839154 | Ohtsu | Jan 2005 | B1 |
7154539 | Nishimura et al. | Dec 2006 | B1 |
20030011821 | Obata et al. | Jan 2003 | A1 |
20030123074 | Imai et al. | Jul 2003 | A1 |
20030137683 | Mochizuki et al. | Jul 2003 | A1 |
20030156128 | Ito | Aug 2003 | A1 |
20030169247 | Kawabe et al. | Sep 2003 | A1 |
20030179419 | Abe | Sep 2003 | A1 |
20040213542 | Hamasaka et al. | Oct 2004 | A1 |
Number | Date | Country |
---|---|---|
07-225562 | Aug 1995 | JP |
7-225562 | Aug 1995 | JP |
8-328941 | Dec 1996 | JP |
10-333659 | Dec 1998 | JP |
2000-227895 | Aug 2000 | JP |
2000-341585 | Dec 2000 | JP |
2001-36871 | Feb 2001 | JP |
2002-500479 | Jan 2002 | JP |
4264641 | Feb 2009 | JP |
4265342 | Feb 2009 | JP |
Number | Date | Country | |
---|---|---|---|
20050128493 A1 | Jun 2005 | US |