Abstract:
A resampling system and method for producing a resampled destination image from a source image by solving coefficients for a cubic polynomial transition model between first and second adjacent source pixels from the sample values of the first and second samples and approximations of the first and second sample gradients at the first and second samples, respectively. Approximations of the first and second color gradients are based on a multiple of first and second color slopes, such as twice the value of the color slope. The first color slope is calculated from the sample values of a previous pixel and the first sample and the second sample slope is calculated from the sample values of a subsequent sample and the second sample. The resulting gradient approximations and sample values are used in the cubic transition model to calculate an output sample value for rendering a resampled destination image.
Abstract:
A resampling circuit and method where input sample values for samples arranged along a row of a source image are received by a row resampling circuit. The row resampling circuit calculates row output values which are provided to a column resampling circuit that calculates output sample values therefrom. The column resampling circuit includes a shift register that receives the row output values and shifts the row output values through the shift register as the row output samples are calculated. The shift register has a plurality of evenly spaced sample output terminals from which the row output values are sampled by an interpolation circuit for calculation of the output sample values.
Abstract:
An improved FIR filter based upon squaring is used to self-determine a filter constant equal to the sum-of-squares of the filter coefficients. An input signal is forced to zero for T samples, where T is the number of accumulator cells in an accumulator stage, and at the end of such zero samples the output from the filter is latched as the filter constant for use in filtering the normal input signal. The FIR filter may also be placed in a co-processor mode, using a FIFO register between the input of the FIR filter and a processor bus. A CPU on the bus initiates the co-processor mode and loads data into the FIFO. When the FIFO has data the data is read out and input to the FIR filter. The output of the FIR filter is placed on the processor bus. To determine the values of the filter coefficients loaded in the FIR filter, the data loaded by the CPU is an impulse signal having T−1 zero samples before and after an impulse sample, the output for each sample representing one of the filter coefficients.
Abstract:
Block matching for picture motion estimation uses Gray codes, and preferably a new Hamming-2 Gray code where the bit pattern changes by only one bit for each step in the Gray code count sequence with the additional condition that all other codes are at least two bits different if not adjacent in the count sequence. The pixels for a reference block from a first picture frame and the pixels for a corresponding block within a search area of the next picture frame are each quantized and then converted to an appropriate Gray code. The Gray codes for corresponding pixels are compared to determine whether they are equal or adjacent to each other. If there is adjacency or equality a match signal is generated for that pixel which is tallied. The total tally for each reference block position within the search area is determined, with the maximum tally indicating a match between blocks from which picture motion estimation may be determined.
Abstract:
A FIR filter based upon squaring accumulates the sum of the squares of the samples of a digital input signal. The samples also are added to respective filter coefficients, squared and accumulated in a plurality of filter stages. The sum of the squares of the samples are subtracted, together with a constant that is the sum of the squares of the filter coefficients, from the output of the last filter stage to produce an output signal that is divided by two to produce the samples for a digital output signal.
Abstract:
A method for locking scales to a waveform display uses reference points from the waveform to determine starting scale points. Based upon the starting scale points and the characteristics of the waveform the scales are calculated. Any changes in gain in the waveform are applied to the scales so that the scales change in direct proportion to the waveform. The field/line numbers of a television video signal are tracked and displayed on the waveform display to identify that portion of the waveform relative to a picture frame which is being displayed.
Abstract:
A calibration system for calibrating a linearity corrector using the sum of filter products is proved, along with a method of calibrating the linearity corrector. The calibration system includes a first and second signal generator for introducing test signals into a signal processing system, such as an ADC. An acquisition memory and processor are provided for acquiring and analyzing the output of the signal processing system and then programming the filter coefficients into the linearity corrector. The method of calibration analyzes acquired intermodulation and harmonic components from the signal processing system and then finds the amplitude and phase response for the filters. The amplitude and phase response is then used to determine a set of filter coefficients.
Abstract:
A method and system for calculating resample output values from input samples and their associated sample values. A resampling circuit calculates a frequency value for a sine-wave model from a sample set of the input samples and determines whether the frequency value is in a frequency range. In the case where the frequency value is in the frequency range, a sinusoidal transition model is determined based on the sample set. However, if the frequency value is outside of the frequency range, a non-sinusoidal model is determined based on the sample set. The resampling circuit then calculates resample output values from the resulting sinusoidal or non-sinusoidal model.
Abstract:
A method and system for calculating resample output values from input samples and their associated sample values. A resampling circuit calculates a frequency value for a sine-wave model from a sample set of the input samples and determines whether the frequency value is in a frequency range. In the case where the frequency value is in the frequency range, a sinusoidal transition model is determined based on the sample set. However, if the frequency value is outside of the frequency range, a non-sinusoidal model is determined based on the sample set. The resampling circuit then calculates resample output values from the resulting sinusoidal or non-sinusoidal model.
Abstract:
Asymmetric finite impulse response (FIR) filters are used to estimate gradients for re-sampling models used in image resizing. Better than conventional 3-tap symmetric FIR filters, these filters provide good edge and extended-frequency responses with good narrow peak sharpening characteristics. These filters emphasize accurate edge handling, where gradients are steepest, over accurate peak handling, where gradients are shallowest. This results in superior zone-plate test signals and better resized image quality.