370 likes | 807 Views
Image and Video Upscaling from Local Self Examples. Gilad Freedman Raanan Fattal Hebrew University of Jerusalem. Background and o verview Algorithm description L ocal self similarity Non-dyadic filter bank Filter design Results. Single i mage upscaling. 1. l arge 2. realistic
E N D
Image and Video Upscaling from Local Self Examples Gilad Freedman Raanan Fattal Hebrew University of Jerusalem
Background and overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
Single image upscaling • 1. large • 2. realistic • 3. faithful • 4. fast
Previous work parametric image model example based noisy result Freeman et al. 2002 Sun et al. 2008 Shan et al 2008 Fattal 2007 Glasner et al. 2009 generic looking edges
New approach: locale example based local self similarity small upscaling ratios corner step edge 4/5 Increase exemplar quality and size maintain search locality novel components: local self similarity non-dyadic filter bank line step edge 1/2 non smooth shading new non-dyadic filter bank
Background and overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
Local self-examples upscaling interpolated image frequency content original image low pass high pass
Local self-examples upscaling For each patch: Add to interpolated image Take corresponding patch Search a local area for best example interpolated image frequency content low pass high pass
Local self-examples upscaling Repeat for all patches, to fill the high frequencies interpolated image frequency content low pass high pass
Overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
Local self similarity croppeddownscaled
Local self similarity Patches in original image can matched locallywith ones in downscaled version
Local examples are enough query dbimage local 4.0 2.9 3.55 1.6 1.05 1.05 2.7 2.05 2.05 image database full image best matches 3.3 2.96 3.06 6.5 5.61 5.61
external database local search Visual assessment – external, exact NN, local Large external example database global search Searching the entire image Searching local regions in image
Background and overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
Need for non-dyadic scalings large ratios mixed ratios small ratios
Dyadic filters higher half full frequency content 1:2 lower half dyadic filter bank
Non-dyadic filter bank higher part 4:5 full frequency content 1:2 lower part non-dyadic filter bank
Non-dyadic filters: downscaling example for the 2:3 ratio: dyadic case: 1. convolve with 2 filters 1. convolve with one filter 2. subsample by 2 2. subsample each by 3
Non-dyadic filters: upscaling example for the 2:3 ratio: dyadic case: 1. zero upsample by 1 2. convolve with 1 filter 1. zero upsample by 2 2. convolve with 2 filters 3. sum
Use of the filters in upscaling Upscaling using inverse scaling filters Smoothing by downscaling and upscaling
Background and overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
1. Uniform stretch • When interpolating, smooth areas come from inputUniformly spaced grids should remain uniform 255 brightness 0 grid coordinates
2. Consistency The interpolated image, if downscaled should be equal to the input. Formally, upsample downsample Previous methods achieve consistency by solving large linear systems to achieve this property
3. PSF modeling Difference between point spread functions Large image - small camera point spread function Small image - large camera point spread function
4. Low frequency span frequency When upsampling don’t add new frequencies Upsamplingfilter should be low-pass original interpolated
5. Singularities preservation similar amount of blur blurred Image interpolated image
Real time video upsampling on GPU main GPU memory Search and filter-banks are both local operations GPU cores NTSC to full HD @ 24 fps
Background and overview Algorithm description Local self similarity Non-dyadic filter bank Filter design Results
Ours X3 (zoomed in) Bicubic x3 (zoomed in)
Ours X3 Bicubic x3
Genuine Fractals™ x4 Ours X4
Ours X4 Glasner et al. 2009 x4
Thank you! Paper & additional results can be found at: www.cs.huji.ac.il/~giladfreedmn