390 likes | 510 Views
B-Spline Channels & Channel Smoothing. Michael Felsberg Computer Vision Laboratory Linköping University SWEDEN. General Idea of Channels. Encode single value (linear or modular) in N-D coefficient vector ( channel vector ) Locality of encoding Similar values in same coefficients
E N D
B-Spline Channels & Channel Smoothing Michael Felsberg Computer Vision LaboratoryLinköping UniversitySWEDEN
General Idea of Channels • Encode single value (linear or modular) in N-D coefficient vector (channel vector) • Locality of encoding • Similar values in same coefficients • Dissimilar values in different coefficients • Stability by smooth, monopolar basis functions • Small changes of value lead to small changes of coefficients • Non-negative coefficients
Overview • Encoding with quadratic B-splines • Decoding strategies • Relation to kernel-density estimation • Relation to robust M-estimation • Channel smoothing • Applications
We assume f to be shiftedand rescaled such that B-Splines Encoding • The value of the nth channel at x is obtained by • Encoding in practice: • m=round(f) • c[m-1]=(f-m-0.5)2 /2 • c[m]=0.75-(f-m)2 • c[m+1]=(m-f-0.5)2 /2
Linear Decoding • Normalized convolution of the channel vector • Choice of n by heuristics • Largest denominator (3-box filter) • Additional: local maximum 0
Quadratic Decoding I • Idea: detect local maximum of B-spline interpolated channel vector • Step 1: recursive filtering to obtain interpolation coefficients:
Quadratic Decoding II • Step 2: detect zeros
Quadratic Decoding III • Step 3: compute energy • Step 4: sort the decoded values according to their energy(the energy represents the confidence) The decoded values must be shiftedand rescaled to the original interval
Kernel Density Estimation I • Given: several realizations of a stochastic variable (samples of the pdf) • Goal: estimate pdf from samples • Method: convolve samples with a kernel function
Kernel Density Estimation II • Requirements for kernel function: • Non-negative • Integrates to one • Expectation of estimate:
Relation to C.R. • Adding channel representation of several realizations corresponds to a sampled kernel density estimation • Ideal interpolation with B-splines possible!
Error norm Influence function L2 vs. Robust Optimization • Outliers are critical for L2 optimization: • Idea of robust estimation: • error norm is saturated for outliers • Influence function becomes zero for outliers
Robust Error Norm E f - f0
Robust Influence Function E’ f - f0
Influence Function of C.R. Obtained from lineardecoding:
Error Norm of C.R. Obtained by integrating the influence function:
Discontinuity is preserved Constant and linear regions are correctly estimated Channel Smoothing Example
Stochastic Signals • Stochastic signal: single realization of a stochastic process • Ergodicity assumption: • averaging over several realizations at a single point can be replaced with • averaging over a neighborhood of a single realization
Ergodicity & C.S. • Ergodicity often not fulfilled for signals / features, but trivial for channels • Ergodicity of channels implies that averaging of channels corresponds to (sampled) kernel density estimation
Applications • Image denoising • Infilling of information • Orientation estimation • Edge detection • Corner detection • Disparity estimation
Further Reading • B-Spline Channel Smoothing for Robust EstimationFelsberg, M., Forssén, P.-E., Scharr, H. LiTH-ISY-R-2579January, 2004