570 likes | 703 Views
Well Posed non-Iterative Edge and Corner Preserving Smoothing For Artistic Imaging. Giuseppe Pápari, Nicolai Petkov, Patrizio Campisi. University of Groningen Institute of Mathematics and Computing Science. Universit á degli Studi di Roma Tre Dipartimento di Elettronica Applicata.
E N D
Well Posed non-Iterative Edge and Corner Preserving Smoothing For Artistic Imaging Giuseppe Pápari, Nicolai Petkov, Patrizio Campisi University of Groningen Institute of Mathematics and Computing Science Universitá degli Studi di Roma Tre Dipartimento di Elettronica Applicata
Input image Gaussian smoothing Proposed operator Contents • Kuwahara Filter and Generalizations • Limitations • Proposed Operator • Results and Comparison • Discussion Smoothing out texture while preserving edges
Generic pixel of the input image • Four local averages: • Four local standard deviations: Kuwahara Filter and Generalizations Kuwahara output For each pixel, value of mi that corresponds to the minimum standard deviation
(x,y) = 1 Central pixel on the white side of the edge (x,y) = 0 Central pixel on the black side of the edge Kuwahara Filter and Generalizations Edge • Only the most homogeneous region is taken into account. No smoothing across the edge
Kuwahara Filter and Generalizations • Local averaging Smoothing • Flipping due toMinimum Variance Criterion Edge Preserving
Artifacts on texture An example Kuwahara Filter and Generalizations Input image Kuwahara output
Number and shape of the sub-regions • Pentagons, hexagons, circles • Overlapping • Weighted local averages (reducing the Gibbs phenomenon) • Gaussian-Kuwahara • N local averages and local standard deviations (computed as convolutions) Generalizations Kuwahara Filter and Generalizations • New class of filters (Value and criterion filter structure) • Criterion: minimum standard deviation • Connections with the PDEs theory and morphological analysis
Kuwahara Filter and Generalizations • Limitations • Proposed Operator • Results and Comparison • Discussion
Not mathematically well defined ? Equal standard deviations si • Artifacts(partially eliminable with weighted averages) Limitations • Devastating instability in presence of noise
I(t) w1 w2 • 1D Kuwahara filtering Two sub-windows w1 and w2 t* t Local averages • I(t) = kt I Input signal I(t) tT t+T t Negative offset Simple one-dimensional example Limitations
I(t) w1 w2 • 1D Kuwahara filtering Two sub-windows w1 and w2 t* t Local averages • I(t) = kt I Input signal I(t) tT t+T t Simple one-dimensional example Limitations Negative offset Positive offset
I(t) w1 w2 • 1D Kuwahara filtering Two sub-windows w1 and w2 t* t Local standard deviations • I(t) = kt I Input signal I(t) Local std. dev. s1(t), s2(t) tT t+T t • Equal standard deviations Local averages m1(t), m2(t) Simple one-dimensional example Limitations
Proposed approach Synthetic two-dimensional example Limitations Input image Kuwahara filtering
Kuwahara Our approach Shadowed area Depleted edge Natural image example Limitations Gauss-Kuwahara Input image
We propose • Different weighting windowswi • A different selection criterion instead of the minimum standard deviation Ill-posedness of the minimum variance criterion. Devastating effects in presence of noisyshadowed areas. Limitations
Kuwahara Filter and Generalizations • Limitations • Proposed Operator • Results and Comparison • Discussion
N local averages and local standard deviations computed as convolutions Weighting windows Proposed Operator • Gaussian mask divided in N sectors Nweighting windows
Normalization Selection criterion Proposed Operator • Output: • Weighted average of mi • Weights equal to proportional to (si)q(q is a parameter) • High variance small coefficient (si)q • q Only the minimumsi survives Criterion and value • No undetermination in case of equal standard deviations!
Equal standard deviations: s1 = s2 = … = sN Gaussian smoothing • One standard deviation is equal to zero: sk = 0 • Several values of si are equal to zero = Arithmetic mean of the corresponding values of mi. Particular cases Proposed Operator
Edgeless areas: All std. dev. similar Gaussian smoothing (no Gibbs phenomenon) • EdgeHalf of the sectors have si = 0. The other ones are not considered • Corner preservation An example Proposed Operator • Automatic selection of the prominent sectors
Same combination rule with Not equivalent to apply the operator to each color component separately Color images Proposed Operator • 3 sets of local averages and local standard deviations, one for each color component
Input image RGB YCrCb L*a*b* Independence on the color space Proposed Operator
Local averages Linear transform. independent Nonlinear transf. almost independent for homogeneous regions Why independence? Proposed Operator
Why independence? Proposed Operator • Local averages Linear transform. independent Nonlinear transf. almost independent for homogeneous regions • Local standard deviations Low for homogeneous regions. The degree of homogeneity of a region does not depend on the color space.
Kuwahara Filter and Generalizations • Limitations • Proposed Operator • Results and Comparison • Discussion
Existing algorithm for comparison Results and comparison • Kuwahara filter and generalizations • Bilateral filtering • Morphological filters • Median filters