Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HARMONIC EDGE SYNTHESIZER, ENHANCER AND METHODS
Document Type and Number:
WIPO Patent Application WO/2007/077524
Kind Code:
A3
Abstract:
An edge enhancer for enhancing edges within a video image, forms an edge enhancement signal of odd harmonics of a sinusoid representative of the edge content in an incoming signal. The edge enhancement signal may be added to a version of the incoming signal, thereby sharpening the edge in the incoming signal. This allows edges to be enhanced, increasing the image's rise-time without adding overshoot. Sharper edges are thus produced in much the same way as a square wave may be formed of odd harmonics of a sinusoid.

Inventors:
CALLWAY EDWARD (CA)
Application Number:
PCT/IB2007/000015
Publication Date:
December 21, 2007
Filing Date:
January 03, 2007
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ATI TECHNOLOGIES INC (CA)
ATI INT SRL (BB)
CALLWAY EDWARD (CA)
International Classes:
G06T5/00
Foreign References:
US5805741A1998-09-08
US5321511A1994-06-14
US5428398A1995-06-27
Other References:
POLESEL A ET AL: "Adaptive unsharp masking for contrast enhancement", IMAGE PROCESSING, 1997. PROCEEDINGS., INTERNATIONAL CONFERENCE ON SANTA BARBARA, CA, USA 26-29 OCT. 1997, LOS ALAMITOS, CA, USA,IEEE COMPUT. SOC, US, vol. 1, 26 October 1997 (1997-10-26), pages 267 - 270, XP010254160, ISBN: 0-8186-8183-7
Attorney, Agent or Firm:
REEVE, Anna, Elizabeth (Commonwealth House1-19 New Oxford Street, London WC1A 1LW, GB)
Download PDF:
Claims:

WHAT IS CLAIMED IS:

1. A method, comprising:

analysing a plurality of adjacent pixels in a pixel stream to determine a sinusoid approximating an edge in said plurality of adjacent pixels;

generating an edge enhancement signal including a sum of odd harmonics of said sinusoid.

2. The method of claim 1 , wherein said analysing comprises band-pass filtering said plurality of adjacent pixels to form at least one band-pass filtered analysis signal.

3. The method of any one of claims 1 or 2, wherein said edge enhancement signal contains the third and fifth harmonics of said sinusoid.

4. The method of claim 3, wherein said edge enhancement signal further contains the seventh harmonic of said sinusoid.

5. The method of claim 4, wherein said edge enhancement signal further contains the ninth harmonic of said sinusoid.

6. The method of claim 2, wherein said band-pass filtering forms a sinusoid of the form Hsin(ωn) having a frequency approximating said edge.

7. The method of claim 6, wherein said band-pass filtering forms a sinusoid of the form Hcos(ωn) having a frequency approximating said edge.

8. The method of claim 7, wherein said edge enhancement signal is formed by forming a signal of the form,

( L*((cos) 2 (ωn)) + N*(cos) 4 (ωn)) + Q*((cos) 6 (ωn)).

9. The method of claim 8, wherein said signal of the form ( L*((cos) 2 (ωn)) + N*(cos) 4 (ωn)) + Q*((cos) 6 (ωn)) is formed from a signal having the form

L*((Hcos) 2 (ωn)/H 2 ) + N*((Hcos) 2 (ωn)/H 2 ) 2 + Q*((Hcos) 2 (ωn)/H 2 ) 3 )

10. The method of claim 2, further comprising repeating said analysing and said generating for each pixel within said pixel stream, using m adjacent pixels in said pixel stream.

11.The method of claim 10, further comprising scaling said pixel stream by a ratio of M:N and further comprising scaling said band-pass filtered analysis signal by a ratio of M:N.

12. The method of claim 11 , wherein said scaling said pixel stream is performed with a sealer having more taps than a sealer used to scale said band-pass filtered analysis signal.

13. The method of claim 10, further comprising

scaling said pixel stream to form a scaled version of said pixel stream;

scaling said at least one band-pass filtered analysis signal to form said edge enhancement signal;

adding said edge enhancement signal to said scaled version of said pixel stream.

14. The method of any one of claims 1 to 13, wherein said analysing further comprises determining a measure of high frequency content in said plurality of pixels, and controlling an amplitude of said edge enhancement signal in dependence on said measure of high frequency content.

15. The method of claim 14, wherein said determining a measure of high frequency content comprises high pass filtering said plurality of pixels.

16. The method of any one of claims 1 to 15, wherein said plurality of adjacent pixels comprises sixteen adjacent pixels.

17. The method of any one of claims 1 to 16, wherein said pixel stream

represents adjacent pixels in a line of a video image.

18. The method of any one of claims 1 to 16, wherein said pixel stream represents adjacent pixels in a column of a video image.

19.A method comprising,

storing values representative of a plurality of adjacent pixels in an image;

analysing said plurality of adjacent pixels to determine a sinusoid representative of an edge in said plurality of adjacent pixels;

generating an edge enhancement signal including a sum of odd harmonics of said sinusoid;

combining a representation of at least some of said values and said edge enhancement signal, to form an edge enhanced signal.

20. The method of claim 19, wherein said analysing results in an analysis signal, and further comprising,

combining at least some of said values of said plurality of adjacent pixels to form said representation of said at least some of said values;

scaling said analysis signal to form said edge enhancement signal.

21. A method comprising,

buffering values representative of a plurality of adjacent pixels in an image;

analysing said plurality of adjacent pixels;

combining at least of some of said values of said plurality of adjacent pixels to form a scaled representation of said plurality of adjacent pixels;

generating an edge enhancement signal based on said analysing;

combining said scaled representation of said plurality of adjacent pixels and said edge enhancement signal, to form an edge enhanced, scaled signal.

22. The method of claim 21 , wherein said analysing comprises forming an analysis signal, and said generating comprises scaling said analysis signal.

23.An edge enhancement circuit comprising,

a buffer for storing a plurality of adjacent pixels;

a filter for determining a sinusoid representative of an edge in said plurality of adjacent pixels;

a signal generator for generating an edge enhancement signal including a sum of odd harmonics of said sinusoid.

24. The edge enhancement circuit of claim 23, wherein said filter comprises a band-pass FIR filter of the type [... a, b, c, b, a ...].

25. The edge enhancement circuit of claim 24, wherein said filter further comprises a band-pass FIR filter of the type [... d, e, 0, -e, -d ...].

26. The edge enhancement circuit of any one of claims 23 to 25, further comprising a sealer for scaling an output of said filter.

27. The edge enhancement circuit of claim 24, further comprising a second filter for determining a measure of high frequency in said plurality of adjacent pixels.

28. The edge enhancement circuit of claim 23, wherein said signal generator produces a signal of the form,

G * sin(ωn)*( K + ( L*((cos) 2 (ωn)) + N*(cos) 4 (ωn)) + Q*((cos) 6 (ωn))), where K, L, N and Q are stored constants, G is a gain factor, and ω .is representative of the frequency of said edge in said plurality of pixels

29. A method comprising, buffering values representative of a plurality of adjacent pixels in an image;

generating an edge enhancement signal using a first subset of said values;

forming a scaled representation of said plurality of adjacent pixels by combining at least some of said values;

combining said scaled representation and a representation of said edge enhancement signal, to form an edge enhanced, scaled signal.

30. The method of claim 29, further comprising band-pass filtering said values to form a band-pass filtered analysis signal, and scaling said band-pass filtered analysis signal to form said edge enhancement signal.

31. The method of claim 30, wherein said forming a scaled representation of said plurality of adjacent pixels is formed using a sealer having more taps, than a sealer used to form said edge enhancement signal.

32. The method of claim 29, wherein said edge enhancement signal is formed from said band-pass filtered analysis signal using at least one bilinear sealer.

Description:

HARMONIC EDGE SYNTHESIZER, ENHANCER AND METHODS

FIELD OF THE INVENTION

[0001] The present invention relates generally to image processing, and more particularly to enhancing edges in images. The invention is particularly well suited in a video image sealer.

BACKGROUND OF THE INVENTION

[0002] Today, television is in the midst of a transformation. Standard television receivers capable of receiving and presenting signals broadcast since the 1940s are being replaced by televisions capable of presenting higher definition signals (so called high definition (HD) signals). HD signals are typically broadcast as digital signals, and currently result in images having resolutions of up to 1920x1080 pixels. This is a vast improvement over conventional standard definition (SD) signals that typically result in images having between 480 and 525 lines, each equivalent to between about 640 to 720 pixels. HD signals thus allow for images having greater image detail and sharpness, allowing for an enhanced viewing experience. As an added benefit, television images may be presented on larger and larger displays.

[0003] As many existing television broadcasts are still in SD format, and as many existing programs have been stored and recorded in SD format, newer HD televisions are typically capable of presenting both HD and SD images. SD images are simply enlarged or scaled to fit available space on an HD display.

[0004] However, any time an SD image is scaled to HD, a relatively low content signal is converted for presentation into a display format that has more pixels and allows for more rapid image transitions. The scaled SD image is thus

far less sharp than a true HD image.

[0005] To address deficiencies in scaled SD signals, edge enhancers are often used to enhance edges within the up-scaled image. Good edge enhancement is difficult to achieve, because it simultaneously requires actively speeding up slower edges without causing ringing. Ringing arises because edge-enhancing adds high-frequency components to signals which tend to ring when scaled.

[0006] Known edge enhancers add the incoming signal to a differentiated, amplified, and clipped version of this signal. Such enhancers were initially designed to enhance VCR images with frequency responses well below that of broadcast television. Early edge enhancers operated only on the colour (or UV) portion of the signal. The techniques have since been extended to the luminance portion of the signal.

[0007] Differentiation, however, inherently emphasizes high frequency noise. Thus, these conventional edge enhancers basically enhance the low frequencies that are already there - they do not really modify the edge and add new high frequencies, except possibly by non-linear clipping. This leads to the "edge around the object" type of sharpness enhancement that is commonly observed on existing TVs.

[0008] Further, these edge enhancers often require a circuit which must explicitly decide when an edge is present using a logic circuit. Such decision circuits often fail on complicated source images. Methods which alter the time scale to move the regions before or after an edge are typical of those which require this type of decision. Further, the decision circuits are confused by thin or multiple or close edges. To alleviate this problem, complex and often ineffective circuits may alter how edges are processed in regions of close multiple edges.

[0009] Accordingly, there is a need for new edge enhancement techniques and circuits.

SUMMARY OF THE INVENTION

[0010] Exemplary of the present invention, an edge enhancer forms an edge enhancement signal of odd harmonics of a sinusoid representative of the edge content in the incoming signal. The edge enhancement signal may be added to a version of the incoming signal, thereby sharpening the edge in the incoming signal. This allows edges to be enhanced, increasing the image's rise-time without adding overshoot. Sharper edges are thus produced in much the same way as a square wave may be formed of odd harmonics of a sinusoid.

[0011] The edge enhancer may be combined with an image sealer. A scaled version of the edge enhancement signal including harmonics of the original signal may then be added to a scaled version of the signal. The image to be scaled may be analysed prior to scaling, to calculate an edge enhancement signal based on the frequency content of the image. Conveniently, the edge enhancement signal has relatively low frequency content, and thus may be easily scaled. The scaled edge enhancement signal may then be combined with the scaled version of the original signal.

[0012] In accordance with an aspect of the present invention, there is provided a method, comprising: analysing a plurality of adjacent pixels in a pixel stream to determine a sinusoid approximating an edge in the plurality of adjacent pixels; generating an edge enhancement signal including a sum of odd harmonics of the sinusoid.

[0013] In accordance with another aspect of the present invention, there is provided a method comprising, storing values representative of a plurality of adjacent pixels in an image; analysing the plurality of adjacent pixels to determine a sinusoid representative of an edge in the plurality of adjacent pixels; generating an edge enhancement signal including a sum of odd harmonics of the sinusoid; combining a representation of at least some of the values and the edge

enhancement signal, to form an edge enhanced signal.

[0014] In accordance with another aspect of the present invention, there is provided a method comprising, buffering values representative of a plurality of adjacent pixels in an image; analysing the plurality of adjacent pixels; combining at least of some of the values of the plurality of adjacent pixels to form a scaled representation of the plurality of adjacent pixels; generating an edge enhancement signal based on the analysing; combining the scaled representation of the plurality of adjacent pixels and the edge enhancement signal, to form an edge enhanced, scaled signal.

[0015] In accordance with yet another aspect of the present invention, there is provided an edge enhancement circuit comprising, a buffer for storing a plurality of adjacent pixels; a filter for determining a sinusoid representative of an edge in the plurality of adjacent pixels; a signal generator for generating an edge enhancement signal including a sum of odd harmonics of the sinusoid.

[0016] In accordance with yet another aspect of the present invention, there is provided a method comprising, buffering values representative of a plurality of adjacent pixels in an image; analysing the plurality of adjacent pixels; combining at least of some of the values of the plurality of adjacent pixels to form a scaled representation of the plurality of adjacent pixels; generating an edge enhancement signal based on the analysing; combining the scaled representation of the plurality of adjacent pixels and the edge enhancement signal, to form an edge enhanced, scaled signal.

[0017] Other aspects and features of the present invention will become apparent to those of ordinary skill in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In the figures which illustrate by way of example only, embodiments of the present invention,

[0019] FIG. 1 is a simplified block diagram of a sealer and edge enhancer, exemplary of an embodiment of the present invention;

[0020] FIG. 2 is a block diagram of an edge synthesizer of sealer and edge enhancer FlG. 1;

[0021] FIGS. 3A-3D depict the addition of odd harmonics to enhance an edge

[0022] FIG. 4 is further block diagram of edge synthesizer of the sealer and edge enhancer of FIG. 1 ; and

[0023] FIGS. 5A-5D are block diagrams of various component of the edge synthesizer FIG. 4.

DETAILED DESCRIPTION

[0024] FIG. 1 is a simplified schematic block diagram of an edge enhancer/sealer 10, exemplary of an embodiment of the present invention. Edge enhancer/sealer 10 may be formed as a portion of an integrated circuit, using conventional integrated circuit design and fabrication techniques. Enhancer/sealer 10 is particularly well suited for use in a video processor, in digital television receiver, a television adapter for a computer, a video decoder, a set-top television or cable receiver, a media player or the like. The video processor may be suitable for use in a computer, television, flat panel monitor, media player (including DVD, PVR or the like), in a camera, or other device requiring the display of digitized images.

[0025] As illustrated, edge enhancer/sealer 10 includes a buffer 12 suitable for storing a number of adjacent pixels within a stream of pixels y(n). The pixel

values may be values of pixels in RGB colour space, YUV colour space, or a colour or luminance component of the pixels. A multi-tap sealer 14 combines adjacent pixels to form a scaled version, Y(n), of an image represented by the pixel stream y(n). Sealer 14 may be a conventional multi-tap sealer, or may be an adaptive sealer, as for example disclosed in a co-pending application entitled "IMAGE ANALYZER AND ADAPTIVE IMAGE SCALING CIRCUIT AND METHODS", naming Edward Callway as inventor, and filed concurrently herewith.

[0026] A multi tap sealer generates scaled pixels by forming a weighted sum of adjacent pixels in the image. In the depicted embodiment, an m tap sealer is used. That is a scaled pixel Y(j) is formed of the weighted sum of m adjacent pixels,

YU) = Um∑Si*y(i + j) i=0

[0027] where Sj are scaling coefficients.

[0028] For each m pixels received in buffer 12, muti-tap sealer 14 generates one or more output pixels. If sealer 14 is to up-scale an image, sealer 14 outputs M>N pixels, for each N pixels entering buffer 12. As required, the m scaling coefficients Sj may be updated for each output pixel. Suitable sets of scaling coefficients may be stored in memory (not shown).

[0029] Similarly, if sealer 14 downscales an image, sealer 14 outputs M<N pixels, for each N pixels entering buffer 12. Again, the m scaling coefficients Si may be updated for each output pixel.

[0030] Sealer 14 may thus be clocked at a rate proportional to (i.e. M:N times the rate) the arriving pixel stream.

[0031] Enhancer/sealer 10 can thus be used to scale a two dimensional image vertically or horizontally, by providing a pixel stream arranged in columns

or rows to enhancer/sealer 10. If an image is to be scaled both vertically and horizontally, two separate enhancers/sealers may be used.

[0032] An edge synthesizer 16 analyzes the incoming pixels to determine their frequency content, and generate an edge enhancement signal. As will become apparent, synthesizer 16, analyses the incoming stream m pixels at a time, to form a harmonic enhancement function that in turn is used to produce an enhancement value that may be used to enhance an edge in the scaled version of the pixels. The edge enhancement signal is formed of odd harmonics of the frequency content of an edge in the group of adjacent pixels. Although m pixels are used by synthesizer 16, the number of pixels used to analyse and form the edge enhancement signal may be different than the number of pixels that are combined by sealer 14. That is, sealer 14 could use mi taps, while synthesizer 16 could analyse m 2 pixels.

[0033] Synthesizer 16 operates on the premise that an edge within the signal may be modelled as a sinusoid, and that sharp edges can be generated as the sum of odd harmonics of that sinusoid. As will be apparent, as used herein, a sum of harmonics refers to a weighted sum of the harmonics. Thus, exemplary synthesizer 16 forms a sinusoid representative of the edge of interest. As will become apparent, synthesizer 16 forms a sinusoid, by band-pass filtering the signal including the edge of interest. The band-pass filter has a sinusoidal impulse response. In this way, synthesizer 16 creates a sinusoid having a frequency equal to the frequency of the sinusoid modelling the edge of interest. In the depicted embodiment, synthesizer 16 may then use the idea of Fourier square wave synthesis as a basis for forming an edge enhancement signal. However, different amplitudes of the harmonics may be used to produce a sharper edge with only two or three odd harmonics.

[0034] Once the edge enhancement signal has been generated, adder 18 adds the generated edge enhancement signal to the scaled output of sealer 14. Specifically, adder 18 adds the value of the generated edge enhancement signal

to pixels in the scaled image.

[0035] In the depicted embodiment, the following trigonometric observations are combined to generate the harmonic enhancement value:

Sin(3x) = sin(x) * ( -1 + 4*cos 2 (x) )

Sin(5x) = sin(x) * ( 1 - 12*cos 2 (x) + 16*cos 4 (x) )

Sin(7x) = sin(x) * ( -1 + 24*cos 2 (x) - 80*cos 4 (x) + 64*cos 6 (x))

H 2 = (Hsin) 2 (x) + (Hcos) 2 (x)

[0036] Assuming that an edge of interest in the m buffered pixels in the stream y(n) may be approximated by a sinusoid of frequency ω/2ττ, an edge enhancement signal may take the form,

fi(n) = G*((A-1)*sin(ωn) + B*sin(3ωn) + C*sin(5ωn) + D*sin(7ωn)) f 2 (n) = G * sin(ωn)*( K + L*cos 2 (ωn) + N*cos 4 (ωn) + Q*cos 6 (ωn) ).

Conveniently, f 2 (n) is a trigonemtric equivalent (or approximation) of f|(n) using only functions of ω and not functions of harmonics of ω (i.e. 2ω, 3ω, etc.).

[0037] Further, sin(ωn) and cos(ωn) representative of the edge, may be approximated from the m pixels in the pixel stream y(n) by band-pass filtering the adjacent pixels in the stream. That is,

Hsin(ωn) ~ F(y(n)) = a band-pass filtered version of the source y(n) with no phase shift, and

Hcos(ωn) ~ F(y(n)) = a band-pass filtered version of the source y(n) with a 90? shift

By choosing the nature of the band-pass filters, and more specifically its center frequency, and pass-band, an appropriate filter may detect edges having a desired slope, approximated by sinusoids in this frequency range.

[0038] Once the edge has been approximated as a sinusoid, synthesizer 16 derives an edge enhancement function f 3 from m pixels in the incoming pixel

stream y(n), as depicted in FIG. 2: f 3 (n) = G * Hsin(ωn)*( K + L*((Hcos) 2 (ωn)/H 2 ) + N*((Hcos) 2 (ωn)/H 2 ) 2 + Q*((Hcos) 2 (ωn)/H 2 ) 3 )

Values K, L, N, and Q may be stored in programmable registers.

[0039] For illustration, the values of a series of m pixels y(n) having a slow edge, are depicted in FIG. 3A, and may be approximated as a sinusoid (e.g. sine wave) depicted in FIG. 3B. Odd harmonics of the sinusoid may then be calculated as in FIG. 3C. Without scaling, the weighted sum of odd harmonics and the original signal y(n) results in an edge enhanced signal, as depicted in FIG. 3D.

[0040] A further simplified block diagram of edge synthesizer 16 is depicted in FIG. 4.

[0041] Synthesizer 16 re-calculates the parameters of the enhancement function f 3 (n) for each new pixel in buffer 12, using m adjacent pixels in buffer 12.

[0042] The trigonometric identities above use sine and cosine terms with an amplitude of one (1). For most manipulations, amplitude is not a concern. Of course, a real signal typically has a non-unity amplitude. So, equation f 2 (x) is only an approximation for a real video signal.

[0043] Viewed as a Fourier series, the source y(n) is made up of a sum of many signals of differing frequencies, amplitudes, and phases. Narrow bandpass filters 20, 22 may be used to produces two narrow band quadrature signals that may be viewed as Hsin(ωn) and Hcos(ωn). [In fact, for a time varying signal, H is really H(t), a varying signal].

[0044] Specifically, as illustrated, pixel values stored in buffer 12 are provided to band-pass sine filter 20, and band-pass cosine filter 22. Filters 20 and 22 are band-pass filters, having appropriately chosen center and pass-band frequencies. They may be formed as FIR filters. Further, filters 20 and 22 have sine and cosine impulse response. As such, filters 20, 22 perform low frequency

spectral analysis of the m pixels in buffer 12 and act as quadrature band-pass filters and only pass those components of the signal y(n) with frequencies at 0- 50% of the sampling frequency of the pixels (i.e. the Nyquist frequency). Filters 20, 22 further generate a sine and cosine function, respectively, having a frequency corresponding to the frequency of the m pixels of pixel stream y(n). A suitable sine filter 20 and cosine filter 22 will be apparent to those of ordinary skill. For example, a representative sine filter could be formed as a FIR filter having coefficients {-0.25, 0, .5, 0, -0.25}. A representative cosine filter could be formed as a FIR filter having coefficients {0,.5,0,-.5,0}.

[0045] Alternative band-pass filters useable as filters 20 and 22 are detailed in Richard G. Lyons, Understanding Digital Signal Processing (Prentice Hall, 2ed, 2004).

[0046] Synthesizer 16 thus forms

f 3 (n) = G * Hsin(ωn)*( K + L*((Hcos) 2 (ωn)/H 2 ) + N*((Hcos) 2 (ωn)/H 2 ) 2 + Q*((Hcos) 2 (ωn)/H 2 ) 3 )

[0047] Hsin(ωn) term is easily obtained, as it appears naturally as the source signal y(n) is filtered using filter 20. Deriving cos 2 is slightly less straight forward. H cannot easily be separated from Hcos, as in equation f 2 (n). However, cos 2 (ωn) may be derived from (Hcos) 2 (ωn) divided by H 2 . H 2 is easily obtained as, H 2 = (Hsin) 2 (ωn) + (Hcos) 2 (ωn). As (Hcos) 2 (ωn) is already required, so only (Hsin) 2 (ωn) has to be generated with a multiply. Conveniently, H does not to be explicitly calculated - H 2 may be calculated for the cosine terms.

[0048] As a result, one divide operation is used is used in synthesizer 16. Of course, the minimum value of H 2 should be limited so that very small noise signals do not get amplified into false edges.

[0049] The term G controls the gain of the enhancement signal - when G=O no enhancement signal is output by synthesizer 16. B, C, D in f| control the weight of the harmonics, and may be programmable to allow fine tuning the

shape of the enhancement signal. A may be viewed as simply a boost/cut control at the centre frequency of the filter.

[0050] Edge synthesizer 16 controls the values A, B, C, and D by way of K, L, N and Q stored values stored in programmable registers. The actual register values K, L, N and Q are easily derived from A, B, C, D, as follows

f(x) = G*((A-1)*sin(x) + B*( sin(x) * (-1 +4*cos 2 (x) )) + C*(sin(x) * (1- 12*cos 2 (x) + 16*cos 4 (x))) + D*(sin(x) * (-1 +24*cos 2 (x)-80*cos 4 (x) + 64*cos 6 (x))))

= G*((A-1)*sin(x) - B*sin(x) + B*sin(x)* 4*cos 2 (x) + C*sin(x) - C*sin(x)* 12*cos 2 (x) + C*sin(x)* 16*cos 4 (x) - D*sin(x) + D*sin(x)* 24*cos 2 (x) - D*sin(x)* 80*cos 4 (x) + D*sin(x)* 64*cos 6 (x) )

= G*(((A-1)- B+ C-D) * sin(x) + (B-3C+6D) *sin(x)* 4*cos 2 (x)+( 4C - 20D) * sin(x) * 4*cos 4 (x)+(16D) * sin(x) * 4 * cos 6 (x))

= G* sin(x)*(((A-1)-B+C-D)+(4B-12C+24D) * cos 2 (x)+(16C-80D) *cos 4 (x) +(64D) *cos fe (x))

Thus, K = ((A-I)- B +C - D) L = (4B - 12C + 24D) N = (16C - 80D) Q = 64D

[0051] Programmable registers (not shown) storing values K, L, N and Q may form part of enhancer/sealer 10 and be programmed under software control. Values K, L, N and Q qualitatively control the edge enhancement/synthesis of enhancer/sealer 10. They typically are not reprogrammed, and remain constant for sequential sets of adjacent sixteen pixels.

[0052] As noted, edge synthesizer 16 generates one edge synthesis function f 3 (n) for every m pixels in y(n), and one enhancement value for these m pixels. In order to align the generated edge enhancement value with the m incoming pixels (or scaled versions thereof), the output of edge synthesizer 16 may need to be delayed to generate f 3 (n) for any m adjacent pixels. In the depicted embodiment, an edge enhancement value is most representative at the center of the plurality

of pixels in buffer 12. Thus, for a 15 tap cosine filter, edge synthesizer 16 may generates an edge enhancement value, best used to enhance the 8 th pixel in buffer 12.

[0053] Five pixels about the center pixel in buffer 12 are also passed from buffer 12 through a high pass filter 24. High pass filter 24 performs a high frequency spectral analysis of the block of m pixels in buffer 12, by detecting the portion of the buffered pixel signal that is high frequency. The greater the proportion of the block of m pixels in buffer 12 that has a high frequency (e.g. between 75-100% of Nyquist), the less edge enhancement the lower frequency part of the block will be subjected. A suitable high pass filter 24 may have transfer function apparent to those of ordinary skill, and may for example be formed as a three-tap FIR filter having coefficients {-0.5,1 , -0.5}.

[0054] Conventional squaring blocks 26, 28, multipliers 34, 36, summer 30 and divider 32 are arranged to combine the outputs Hsin(n) and Hcos(n) of low pass filter 20 and 22, to produce Hsin(n)*(K+L*cos 2 (n)+N*cos 4 (n)+Qcos 6 (n)) to produce signal generation block 40, as illustrated in FIG. 4.

[0055] The output of high pass filter 24, G, controls the gain of the edge enhancement that takes place with the lower frequency part of the signal. G is included in the equation for f 3 (n) above. G thus controls the intensity of the edge enhancement and limits edge enhancement if the signal has significant high frequency components.

[0056] FIG. 4 further illustrates where relatively simple sealers "B" 52a (or 52b), 50a and 50b may be included as part of synthesizer 16. Conveniently, outputs of the filters 20, 22, and envelope detector 42 (the sin and cos filtered signals, and the envelope of the high frequency amplitude signal HFAmp, or the gain signal G) are all low pass signals and can be scaled with lower order (i.e. fewer tap) and cheaper filters than the main pixel stream y(n). In the depicted embodiment, sealers 52a (or 52b) and sealers 50a and 50b can take the form of bilinear sealers, and may include suitable delay blocks for storing two sequential

outputs of envelope detector 42 and filters 20 and 22. Of course, sealers 50a, 50b and 52a (or 52b) may be higher order sealers. Similarly, scaling coefficients may be stored in memory (not shown), and the bilinear sealers 52a (52b), 50a and 50b may be clocked at a rate consistent with sealer 14 (i.e. at a rate proportional to M:N the rate of arriving pixel stream). The resulting scaled signal at the output of sealers 52a (52b), 50a and 50b is scaled to a size consistent with the scaled signal Y(n), but may still have frequency content less than the Nyquist sampling frequency of the original pixel stream. Moreover, even if the main signal y(n) can only adequately be scaled with a ten tap or higher filter, the analysis signals may be scaled with as little as a two tap bilinear filter.

[0057] As edge enhancement synthesizer 16 only processes low frequency portions of the signal y(n), two parallel processing paths are used — one (including filters 20 and 22) for low frequency parts of the signal that require edge enhancement, and one (including filter 24) for the rest of the signal (the higher frequency parts) for which edges should be left alone and not sped up. Thus, the signals generated by filters 20, 22 and envelope detector 42 are band-pass or low pass filtered analysis signals. The band-pass/low-pass filtered analysis signals are then scaled by sealers 50a, 50b and 52a and 52b.

[0058] Unlike conventional edge enhancers, edge enhancer 16 does not include a differentiator, edge detector or threshold detector. Instead three enhancement/analysis signals are derived from the input stream: Hsin, Hcos, and G. By band-pass filtering the input stream, only slow edges with a slope of interest within the pass-band of the band-pass filters 20, 22 are enhanced. The envelope of the high pass filter 24 controls the gain.

[0059] Buffer 12 may be formed as a conventional m storage location shift register, as depicted in FIG. 5A. Incoming pixels are stored as depicted. As the next pixel arrives, pixels are shifted right, and the oldest pixel is shifted out of buffer 12. As noted, the current m pixels in buffer 12 are analysed and serve as a basis for calculating the filtered values Hsin, and Hcos

[0060] The Hsin term may be produced with a conventional band-pass FIR of the type [...a, b, c, b, a...]. That is the FIR may be mirrored, odd length, with no phase shift, as depicted in FIG. 5B. The Hcos term may be produced with a conventional multi-tap band-pass FIR of the type [... d, e, 0, -e, -d ...] i.e. mirrored, odd length, broadband 90° phase shift, as depicted in FIG. 5C. Suitable FIR filters are detailed in Understanding Digital Signal Processing, supra.

[0061] The frequency response of the Hsin and Hcos should be well matched in the pass-band. For standard definition video signals sampled at 13.5 Mhz, they may be derived by noting that edges with frequencies in the 0.5 to 2 MHz region should be boosted. Those above and below need not be enhanced. Optionally, filter coefficients may be programmable, so that these can be tuned and other edge rates may be enhanced. Similarly, with other coefficients, other edge rates could be enhanced for other signal types.

[0062] Conveniently, sin and cos filters 20, and 22 are relatively short while still meeting the basic frequency response goals. This limits the edge enhancement from spreading past the edge.

[0063] A delay block used in sealers 52a and 52b is further illustrated in each of FIGS. 5B and 5C.

[0064] An example high-pass filter 24 is schematically depicted in FIG. 5D. As illustrated, high pass filter 24 and envelope detector 42 includes a five tap filter that is provided five pixels within a block in buffer 12. Again, to align the value of G with the input stream, five pixels of interest about the center pixel within buffer 12 are used for analysis. Four cascaded delay elements generate delayed versions of the signal, and the largest is chosen, in order dampen response of filter 24.

[0065] Once f 3 is formed, it may then be added by adder 18 to the scaled version of pixels in buffer 12, as produced by sealer 14. This results in sped up

edges at around the frequencies of the Fourier harmonics.

[0066] For vertical scaling, filters 20 and 22 may be shorter (e.g. only 5 taps long), as fewer lines are typically available. The boost is shifted up to midband as a result. This is not unreasonable because pixels in a column have few natural low pass components, unlike pixels in a line.

[0067] Harmonics used by synthesizer 16 are easily extensible: To drop the 7 th harmonic, D=O, which will remove the Q and cos 6 (x) terms entirely. To add the 9 th harmonic, synthesizer 16 could be modified to add an R*cos 8 (x) term. A person of ordinary skill will readily appreciate how to otherwise extend or modify the function f 3 used in synthesizer 16.

[0068] If no scaling is required, as for example in an analog CRT TV, an edge enhancer like synthesizer 16 may be placed anywhere in the signal path with adequate bandwidth to handle the increased frequency content.

[0069] As should now be appreciated, placement of an edge enhancer in a digital video system creates numerous challenges.

[0070] Specifically, if edge enhancement is performed prior to scaling an image, harmonics of an input signal near and past the Nyquist frequency limit for the signal must be determined. The result is that the frequency of the enhancement signal entering the scalar may be placed outside of the Nyquist limit. This may cause artifacts, such as aliasing, ringing, or loss of edge enhancement or definition after passing through a video sealer.

[0071] If the edge enhancement is performed after scaling the image, the signal used for enhancement might only be at 15-20% of the Nyquist frequency. Since edge enhancing involves looking at the lower frequency components of a given signal, only 5% of the near Nyquist signal may be available. Analysing a signal at only 5% of Nyquist requires significant sampling and therefore a long and costly filter. In addition, as the scaling ratio changes frequently depending on the source content or user zoom requirements, the filter coefficients would have

to be recalculated in real time, or many filters would have to stored in advance. This is also costly.

[0072] Conveniently synthesizer 16 allows edge enhancement using odd harmonics while performing the analysis on the original signal prior to scaling, without generating signals outside the Nyquist limit. This is facilitated by analysing the original signal y(n), without edge enhancing, to form an analysis signal having at least one low pass (or band pass) signal. The analysis signal may then be scaled and used to synthesize high frequency components used to form an edge enhancement signal. The original signal and the scaled, edge enhancement signal may be combined. That is, the edge enhancer/sealer 10 analyzes the signal prior to scaling (i.e., while the relevant slow signal y(n) is typically at <30% of Nyquist, which lets us work with a much shorter filter). Once the signal has been analyzed and calculations are made to yield signal components that result in sharper edges, using a scaled edge enhancement signal that is scaled prior to the addition of those edge sharpening components.

[0073] As should now be apparent, although enhancer/sealer 10 has been depicted as a hardware circuit, an equivalent enhancer/sealer could easily be formed in software, firmware, or the like.

[0074] In an alternate embodiment, an enhancer/sealer like enhancer/sealer 10 could be formed using multiple edge enhancement synthesizers, like synthesizer 16, but each having filters tuned to edges of different frequencies. Each such synthesizer may then independently, like synthesizer 16. The output of the multiple synthesizer may then be summed with the output of a multi-tap sealer, like sealer 14, in order to form an edge enhanced signal having edges of multiple slopes enhanced.

[0075] Of course, the above described embodiments are intended to be illustrative only and in no way limiting. The described embodiments of carrying out the invention are susceptible to many modifications of form, arrangement of parts, details and order of operation. The invention, rather, is intended to

encompass all such modification within its scope, as defined by the claims.