Efficient Nonlinear Image Processing Algorithms

3y ago
60 Views
2 Downloads
2.80 MB
123 Pages
Last View : 5d ago
Last Download : 3m ago
Upload by : Samir Mcswain
Transcription

Efficient Nonlinear ImageProcessing AlgorithmsSANJIT K. MITRADepartment of Electrical & Computer EngineeringUniversity of CaliforniaSanta Barbara, California

OutlineQQQIntroductionQuadratic Volterra OperatorsImage Processing Applications– Contrast Enhancement– Impulse Noise Removal– Image Zooming– Image Halftoning

IntroductionQQQLinear image processing algorithmshave received considerable attentionduring the last several decadesThey are easy to implement and arecomputationally less intensiveThe basic hypotheses for thedevelopment of linear models and linearsignal processing algorithms arestationarity and Gaussianity

IntroductionQTo achieve improved performance,algorithms must take into account– nonlinear effects in the human visualsystem– nonlinear behavior of the image acquisitionsystems

IntroductionQQQThe hypotheses of stationarity andGaussianity do not hold in the case ofimage signalsLinear filtering methods applied to animpulse-noise-corrupted image blursharp edges and remove fine detailsLinear algorithms are not able toremove signal-dependent ormultiplicative noise in images

IntroductionQQThis has led to a growing interest in thedevelopment of nonlinear imageprocessing methods in recent yearsDue to rapidly decreasing cost ofcomputing, image storage, imageacquisition, and display, complexnonlinear image processing algorithmshave also become more practical forimplementation

IntroductionQTypes of Nonlinear Algorithms:– Homomorphic filters– Nonlinear mean filters– Morphological filters– Order statistic filters– Polynomial filters– Fuzzy filters– Nonlinear partial differential equationbased filters

Discrete-Time Volterra FiltersQQQThe Volterra filter is a special case ofthe polynomial filtersIt is based upon an input-output relationexpressed in the form of a truncatedVolterra seriesSimplest types are the quadratic filterscorresponding to the first nonlinear termin the Volterra expansion

Discrete-Time Volterra FiltersQTwo attractive and important propertiesof the Volterra filters, and in particular,of the quadratic filters

Discrete-Time VolterraOperatorsFirst PropertyQ Output depends linearly on thecoefficients of the filter itselfQ Is used to analyze the behavior of thefilters, find new realizations, deriveadaptive algorithms, etc.

Discrete-Time VolterraOperatorsSecond PropertyQ Results from the representation of thenonlinearity by means of multidimensional operators working on theproducts of input samplesQ Allows for the frequency domaindescription of the filters by means ofmulti-dimensional convolution

Discrete-Time VolterraOperatorsQThe general form of the Volterra filter isdescribed by the input-output relation: y[n] h0 hˆk ( x[n])k 1Qy[n] and x[n] are, respectively, theoutput and input sequences, and hˆk ( x[n]) . hˆk[i1,., ik ] x[n i1 ] x[n ik ]i1 0 ik 0

Discrete-Time VolterraOperatorsQQQQIn the expression for hˆk ( x[n]) , thediscrete variables i1,., ik are usuallydefined on a causal supporth0 is an offset termhˆk[i1 ] is the impulse response of alinear FIR filterhˆk[i1,., ik ] can be considered as ageneralized k-th order impulse responsecharacterizing the nonlinear behavior

1-D Quadratic Volterra FiltersInfinite Memory Quadratic FiltersQ Input-output relationy[n] h 0 hˆ1( x[n]) hˆ2( x[n]) h 0 h1[i1] x[n i1]i1 0 h2[i1, i2 ] x[n i1] x[n i2 ]i1 0 i2 0

1-D Quadratic Volterra FiltersFinite Memory Quadratic FiltersQ Input-output relationN1 1y[n] h 0 h1[i1] x[n i1]i1 0N 2 1 N 3 1 h2[i1, i2 ] x[n i1] x[n i2 ]i1 0 i2 0

1-D Quadratic Volterra FiltersTransform-Domain RepresentationQ Convolution form of quadratic term y[n] hˆ2( x[n]) h2[i1, i2 ] x[n i1] x[n i2 ]i1 0 i2 0can be expressed as w[n1, n 2] h2[i1, i2 ] v[n1 i1, n2 i1]i1 0 i2 0

1-D Quadratic Volterra FiltersQForv[n1 i1, n2 i2 ] x[n i1] x[n i2 ]andn1 n 2 nso thaty[n] w[n,n]

1-D Quadratic Volterra FiltersQThe two-dimensional (2-D) Fouriertransform of h2[n1,n2 ] given byH 2 (e jω1 , e jω2 ) jω1k1 e jω2 k2h[k,k]e 2 1 2k1 k2 is defined as the frequency responseof the quadratic Volterra filter

1-D Quadratic Volterra FiltersQQThe properties of the 2-D Fouriertransform can be used to characterizethe quadratic kernel h2[i1, i 2 ]For example, the expression for y[n] canbe derived using the inverse 2-D Fouriertransform1/ 2 1/ 2y[n] H 2 (e 1 / 2 1 / 2j 2 πf1,ej 2 πf 2) X ( f1 ) X ( f 2 ) e j 2 π( f1 f 2 ) df1df 2

1-D Quadratic Volterra FiltersQQwhere X(f) is the Fourier transform ofx[n]Note: If the input to a quadratic filter is aj 2 πf a nsinusoid, i.e. if x[n] A ethen the output isj 2 πf a j 2 πf a j 2 π 2 f a n2y[n] A H 2 e,ee()which is still a sinusoid but with afrequency 2 f a

1-D Quadratic Volterra FiltersQIf the input is a sum of two sinusoidswith frequencies f a and fb , then theoutput contains three sinusoids offrequencies 2 f a , 2 f a , and f a fb

1-D Quadratic Volterra FiltersQAs every kernel can be transformed intoa symmetrical form, we restrict ourattention here to Volterra filters with asymmetric impulse response, i.e.,h2[n1,n2 ]h2[n2 ,n1 ]

Teager’s 1-D OperatorQAn example of the quadratic Volterrafilter is the Teager’s operatory[n] x 2 [n] x[ n 1]x[n 1]QIntroduced by Kaiser to calculate theenergy y[n] of a one-dimensional (1-D)signal x[n]

Teager’s 1-D OperatorQIf the input is x[n] A cos(ωo n φ) , thenthe Teager’s operator generates anoutputy[n] A2 cos 2 (ωo n φ) A2 cos(ωo (n 1) φ) cos(ωo (n 1) φ) A2 sin 2 (ωo ) A2ωo2for small values of ωo

Teager’s 1-D OperatorQThus, for sinusoidal inputs, the Teageroperator develops a constant outputwhich is an estimate of the physicalenergy of a pendulum oscillating with afrequency ωo and an amplitude A

Teager’s 1-D OperatorQUnder some mild conditions, the 1-DTeager operator can be approximatelyrepresented asy[n] µ x (2 x[n] x[n 1] x[n 1])QIn the aboveµ x 1 ( x[n 1] x[n] x[n 1) )3is the local mean

Teager’s 1-D Operatorand the quantity2 x[n] x[n 1] x[n 1]Qis the Laplacian operator which is anFIR highpass filterThus, the 1-D Teager operator behavesas a mean-weighted highpass filter

Teager’s 1-D OperatorQThe 1-D Volterra filters that can berepresented approximately as a localmean-weighted highpass filter satisfythe following three conditions:(1) H 2 (e j 0 , e j 0 ) h2[k1, k2 ] 0k1 k2(2) H 2 (e jω1 , e j 0 ) H 2 (e j 0 , e jω2 )and

Teager’s 1-D Operator(3) h2[k1, k2 ] (h2[k1, k3 ] h2[k1, k3 ])k1 k2k1 k 2 h2 [k1, k2 ] (h2 [k1, k3 ] h2 [k1, k3 ]) 0k1 k2 k3k1 k 2 k 2 k 3QA large class of such filters satisfies theabove three conditions

Teager’s 1-D OperatorThe frequency-domain input-outputrelation of filters belonging to this classcan be expressed as:Y (e jω ) 2µ x H 2 (e jω , e j 0 ) X (e jω )jωjωQ Y (e ) and X (e ) denote, respectively,the 1-D Fourier transforms of the outputy[n] and the input x[n]Q

Teager’s 1-D OperatorQIf H 2 (e jω , e j 0 ) is a highpass filter, thenthe quadratic Volterra filter given byy[n] h2[k1, k2 ]x[n k1] x[n k2 ]k1 k2 satisfying the three conditions statedearlier can be approximated as a localmean-weighted highpass filter

Teager’s 1-D OperatorQQQThe 1-D Teager operatory[n] x 2 [n] x[ n 1]x[n 1]is an example of such a filterIt maps sinusoidal inputs to constantoutputsEvery filter belonging to the class oflocal-mean-weighted highpass filtershas the above property

2-D Teager OperatorQA 2-D extension of the Teager operatoris obtained by applying the filteringoperationy[n] x 2 [n] x[ n 1]x[n 1]along both the vertical and horizontaldirections:y[m, n] 2 x 2 [m, n] x[m 1, n]x[ m 1, n]n x[m, n 1] x[m, n 1]m

2-D Teager OperatorQAnother 2-D extension is obtained byapplying the 1-D operator along the twodiagonal directionsy[m, n] 2 x 2 [m, n] x[m 1, n 1]x[m 1, n 1] xm n xm n [1,1][1,1]nm

2-D Teager OperatorQQBoth of the above two 2-D quadraticfilters can be approximated as a localmean-weighted highpass 2-D filterThe general class of 2-D quadraticVolterra filters that can beapproximately represented as a meanweighted highpass filter is characterizedby three conditions similar to thatsatisfied by the 1-D Teager operator

2-D Teager OperatorQBased on this analysis, a number ofother local-mean-weighted highpass2-D filters have been developedQAnother member of this class, forexample, is the filter defined byy[m, n] 3 x 2 [m, n] 1 x[m 1, n 1]x[m 1, n 1]2 1 x[m 1, n 1] x[m 1, n 1]2 x[m 1, n] x[m 1, n] x[m, n 1] x[m, n 1]

Image ProcessingApplicationsQQThe mean-weighted highpass filteringproperty of the 2-D Teager filters hasbeen exploited in developing a numberof image processing applicationsWe present next four specificapplications

Contrast EnhancementQQThe conceptually simple unsharpmasking approach is a widely usedimage contrast enhancement methodBased on the addition of an amplitudescaled linear highpass filtered version ofthe image to the original image x[ m, n ] µHighpassFiltery[ m , n ]

Contrast EnhancementA commonly used linear highpass filteris the Laplacian operator:y[n1, n 2] 4 x[n1, n 2] x[n1 1, n 2] x[n1 1, n 2]QQ x[n1, n 2 1] x[n1, n 2 1]Its main advantage is computationalsimplicity

Contrast EnhancementQQQThe highpass filter enhances thoseportions of the image that containsmostly high frequency information, suchas edges and textured regionsOften yields visually pleasing results byutilizing an effect called simultaneouscontrastThe perceptual impression is improvedbecause the image appears sharperand better defined

Contrast EnhancementQQQApparent problem of this technique isthat it does not discriminate betweenactual image information and noiseThus, noise is enhanced as wellUnfortunately, visible noise tends to bemostly in the medium to high frequencyrange

Contrast EnhancementQQThe contrast sensitivity function (CSF)of the human visual system (HVS)shows that the eye (and the higher levelprocessing system in the visual cortex)is less sensitive to low frequenciesTo eliminate the noise enhancementproblem we need to make use ofWeber’s law

Contrast EnhancementQA visual phenomenon according towhich the difference in the perceivedbrightness of neighboring regionsdepends on the sharpness of thetransition occurring at edges

Contrast EnhancementQQWe modify the unsharp maskingmethod such that the imageenhancement is dependent on the localaverage pixel intensityIn bright regions we can enhance theimage more because noise and othergray level fluctuations are much lessvisible

Contrast EnhancementQQOn the other hand, in darker regions wewant to suppress the enhancementprocess since it might deteriorate imagequalityThis simple idea indicates the need fora highpass filter that depends on localmean:H (e jω ) H high (e jω ) (local mean)

Contrast EnhancementQQImprovement in the visual quality of theimage obtained using a nonlinearunsharp masking approach in whichthe linear highpass filter is replaced witha 2-D Teager operatorThe filter output depends on the localbackground brightness, and as a result,it follows Weber's Law

Contrast EnhancementOriginal imageEnhanced image

Contrast EnhancementQOutputs of the Teager and theLaplacian filters are shown belowTeager filter outputLaplacian filter output

Contrast EnhancementOriginalContrast Enhanced

Contrast EnhancementOriginalContrast Enhanced

Contrast EnhancementQQThe Laplcian filter output shows auniform response to edges independentof background intensityThe Teager filter output is weaker indarker regions (e.g., the darker areas ofthe roof) and stronger in brighter areas(e.g., the bright wall)

Impulse Noise RemovalQQQGoal: To suppress the impulse noisewhile preserving the edges and thedetailsA number of nonlinear methods havebeen advanced for impulse noiseremovalAmong these, the most common is themedian filtering

Impulse Noise RemovalQQQMedian filtering is computationallyefficient and does suppress impulsecorrupted pixels effectivelyIn median filtering, whether a pixel iscorrupted by impulse noise or not, it isreplaced by its local median within awindowThus, median filtering not only removesthe impulse noise but also introducesdistortion

Impulse Noise RemovalQQQA tradeoff needs to be made betweenthe suppression of noise and thepreservation of details and edgesFor effective noise suppression in highlycorrupted images, median filtering witha large window is requiredLarge window increases computationalcomplexity while introducingunacceptable visible degradation in thefiltered image

Impulse Noise RemovalQQQA detection-estimation-based approachhas been developed to remove impulsenoise from highly corrupted image whilepreserving edges and fine detailsFirst, a 2-D Teager operator is used todetect the locations of the impulse noisecorrupted pixelsThen a selectively chosen local meanoperator is used to estimate the originalvalue of the corrupted pixel

Impulse Noise RemovalQQLet x[m,n] denote the current pixel of animpulse-corrupted image with y[m,n]denoting the output of the 2-D TeageroperatorIfy[m,n] Twhere T is a suitably chosen thresholdvalue, then x[m,n] is considered to be apixel corrupted by a positive impulse

Impulse Noise RemovalQQThe corrupted is replaced by theaverage value of the uncorrupted pixelswithin the window (typically, 3 3 ), calledthe selective local meanTo detect pixels corrupted by a negativeimpulse, a complement of the inputimage is first generated according tox'[m, n] B x[m, n]where B is the maximum gray value inthe dynamic range

Impulse Noise RemovalQThe Teager operator is next applied todetect the positive impulse corrupted inx'[m, n]QThe above method does workeffectively in most casesQFigure on next slide shows an originaluncorrupted image and the noisyimage corrupted with 20% positiveimpulse noise

Impulse Noise RemovalOriginalNoise corrupted

Impulse Noise RemovalQFigures below shows the imagesobtained using median filters with a3 3 window and a 5 5 window3 3 Median filter5 5 Median filter

Impulse Noise RemovalQFigures below show the imagesobtained applying the Teager filterbased methodsTeager filterTwo-pass Teager filter

Impulse Noise RemovalQQThere are two cases, where the 2-DTeager operator fails to detect the noisypixelsCase 1: When there is a group ofimpulse corrupted pixels matching thestructure of the 2-D nonlinear operator,i.e., a crossing of the horizontal andvertical directions

Impulse Noise RemovalQQCase 2: When the positive noisy pixelsare located in the white areas, ornegative noisy pixels are located in thedark areasTo solve the problem with the first case,a joint-structure 2-D nonlinear operatorhas been employed

Impulse Noise RemovalQHere, to detect a positive impulse noise,the following nonlinear operator is used:y[m, n] max{ y1[m, n], y2 [m, n], y3[m, n], y4 [m, n]}QIn the above, yi [m, n] , i 1, 2, 3, 4, arethe outputs of four different 2-Dquadratic operators defined by

Impulse Noise Removaly1[m, n] 2 x 2 [m, n] x[m 1, n] x[m 1, n] x[m, n 1] x[m, n 1]y2 [m, n] 2 x 2 [m, n] x[m 1, n 1] x[m 1, n 1] x[m 1, n 1] x[m 1, n 1]y3[m, n] 2 x 2 [m, n] x[m 2, n] x[m 2, n] x[m, n 2] x[m, n 2]y4 [m, n] 2 x 2 [m, n] x[m 2, n 2] x[m 2, n 2] x[m 2, n 2] x[m 2, n 2]

Impulse Noise RemovalQTo solve the problem in the secondcase, the following nonlinear operator isused:ym [m, n] (aµ 2x bµ x c) y[m, n]where µ x is the normalized local meandefined within a 3 3 window andy[m, n] max{ y1[m, n], y2 [m, n], y3[m, n], y4 [m, n]}

Impulse Noise RemovalQQNoisy pixel corrupted by a positiveimpulse is detected by comparing thevalue of ym [m, n] with respect to a giventhresholdThe modified operator can also be usedto detect noisy pixels corrupted by anegative impulse by applying them tothe complementary image x'[m, n]

Impulse Noise RemovalQQApplication of this modified approachhas been found to provide improvedperformance in comparison to traditionalmedian filtering-based methodsFigure on next slide shows the imageobtained using the improved detectionestimation method

Impulse Noise RemovalImproved Teager filter

Image InterpolationQQQImage zooming is usually implementedin two stepsFirst the image is up-sampled by aninteger factor M, in both the horizontaland the vertical directionsUp-sampling inserts (M–1) zero-valuedpixels among each consecutive pairs ofpixels

Image InterpolationQQMore appropriate values of these newpixels are obtained using some type ofinterpolation method in the second stepCommonly used interpolation methodsare the bilinear transformation or splineswhich tend to introduce artifacts in thezoomed version that degrade the visualquality of the image

Image InterpolationQQA more effective approach, based onthe use of the 2-D Teager operators,adapts to local characteristics of theimage while enhancing the qualityThe adaptive technique can betterincorporate properties of human visualsystem (HVS) and yields more pleasingresults

Image InterpolationQFigure below shows the block diagramof the edge-enhanced zooming method

Image InterpolationQQQIn the top branch, the input image isfirst up-sampled by a factor of 2 in bothhorizontal and vertical directionsThen, the missing samples are foundusing an adaptive interpolationBottom branch extracts perceptuallyimportant edge and texture informationusing the quadratic Volterra filter

Image InterpolationThe quadratic Voletrra filter used isy[m, n] 3 x 2 [m, n] 1 x[m 1, n 1]x[m 1, n 1]2 1 x[m 1, n 1] x[m 1, n 1]2 x[m 1, n] x[m 1, n] x[m, n 1] x[m, n 1]Q As mentioned earlier, this filter extractsand enhances fewer edges in the darkerportion of the imageQ

Image InterpolationQQQAlso, noise is amplified to a lesserdegree in these darker areasAn important issue, because due toWeber’s law, noise is more visible in thedarker areas than in the bright portionsAs a result, edges in the zoomed imageare enhanced without generatingperceptually significant noise

Image InterpolationQQNote that the overall structure followsthe simple idea of unsharp maskingIt yields a sharper output image,because the high-frequencycomponents are emphasized by addinga fraction of the lower branch outputback to the zoomed image

Image InterpolationQQQThe proposed method adapts to localedge and texture orientation and usesseveral interpolation filters instead ofonly oneWe consider zooming by factors of 2 ineach directionMethod can be extended to otherfactors

Image InterpolationQConsider the figure below where thefilled circles represent original pixelsand the empty circles represent thezero-valued pixels obtained after upsamplingp0p1p2p3

Image InterpolationQQObjective of interpolation is to replacethese zero-valued samples withappropriate valuesFor example, we must estimate thevalues of pixels p1, p2 , and p3 from theinformation given in the localneighborhood

Image InterpolationQQQThe local neighborhood of p0 isclassified into one of 3 categories:constant, oriented or irregular“Constant” means without clear features“Oriented” block shows a prominentorientation like edges or directionalpatterns or texture

Image InterpolationQQ“Irregular” are those that exhibitstructure without clear edge direction orfeatures that are too small to make upan oriented areaWith this classification we control boththe interpolation of the extracted edgesand the original image, but use only thepixels in the original image to find theproper classification for each pixel andits neighborhoo

Introduction QThis has led to a growing interest in the development of nonlinear image processing methods in recent years QDue to rapidly decreasing cost of computing, image storage, image acquisition, and display, complex nonlinear image processing algorithms have also become more practical for implementation

Related Documents:

Keywords: Image filtering, vertically weighted regression, nonlinear filters. 1. Introduction Image filtering and reconstruction algorithms have played the most fundamental role in image processing and ana-lysis. The problem of image filtering and reconstruction is to obtain a better quality image θˆfrom a noisy image y {y

Digital image processing is the use of computer algorithms to perform image processing on digital images. As a subfield of digital signal processing, digital image processing has many advantages over analog image processing; it allows a much wider range of algorithms to be applied to the in

The input for image processing is an image, such as a photograph or frame of video. The output can be an image or a set of characteristics or parameters related to the image. Most of the image processing techniques treat the image as a two-dimensional signal and applies the standard signal processing techniques to it. Image processing usually .

Digital image processing is the use of computer algorithms to perform image processing on digital images. As a . Digital cameras generally include dedicated digital image processing chips to convert the raw data from the image sensor into a color-corrected image in a standard image file format. I

widespread use of nonlinear digital processing in a variety of applications. Most of the currently available image processing software packages include nonlinear techniques (e.g. median filters and morphological filters). A multi- plicity of nonlinear digital image processing techniques have appeared in the literature.

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 7, NO. 7, JULY 1998 979 Nonlinear Image Estimation Using Piecewise and Local Image Models Scott T. Acton, Member, IEEE, and Alan C. Bovik, Fellow, IEEE Abstract— We introduce a new approach to image estimation based on a flexible constraint framework that encapsulates mean-ingful structural image .

1 Introduction 1.1 Image processing Image processing is the field of research concerned with the develop-ment of computer algorithms working on digitised images (e.g. Pratt, 1991; Gonzalez and Woods, 1992). The range of problems studied in image processing is large, encompassing everything from low-level signal enhancement to high-

2nd Grade – Launching with . Voices in the Park by Anthony Browne (lead from the Third Voice) My First Tooth is Gone by student (student authored work from Common Core Student Work Samples) A Chair for my Mother by Vera B. William Moonlight on the River by Robert McCloskey One Morning in Maine by Robert McCloskey, Roach by Kathy (student authored work from www.readingandwritingproject.com .