Median filter. Non-linear filtering example. Degraded image. Radius 1 median filter. Today

Similar documents
Non-linear filtering example

Today: non-linear filters, and uses for the filters and representations from last time. Review pyramid representations Non-linear filtering Textures

+ = The Goal of Texture Synthesis. Image Quilting for Texture Synthesis & Transfer. The Challenge. Texture Synthesis for Graphics

Texture Synthesis. Darren Green (

Image pyramids and their applications Bill Freeman and Fredo Durand Feb. 28, 2006

Texture. The Challenge. Texture Synthesis. Statistical modeling of texture. Some History. COS526: Advanced Computer Graphics

Texture Synthesis. Darren Green (

More details on presentations

Lecture 6: Texture. Tuesday, Sept 18

Texture Synthesis and Manipulation Project Proposal. Douglas Lanman EN 256: Computer Vision 19 October 2006

Texture April 17 th, 2018

Admin. Data driven methods. Overview. Overview. Parametric model of image patches. Data driven (Non parametric) Approach 3/31/2008

Data-driven methods: Video & Texture. A.A. Efros

Texture April 14 th, 2015

Data-driven methods: Video & Texture. A.A. Efros

Announcements. Texture. Review: last time. Texture 9/15/2009. Write your CS login ID on the pset hardcopy. Tuesday, Sept 15 Kristen Grauman UT-Austin

Announcements. Texture. Review. Today: Texture 9/14/2015. Reminder: A1 due this Friday. Tues, Sept 15. Kristen Grauman UT Austin

An Improved Texture Synthesis Algorithm Using Morphological Processing with Image Analogy

Topics. Image Processing Techniques and Smart Image Manipulation. Texture Synthesis. Topics. Markov Chain. Weather Forecasting for Dummies

Texture. Announcements. 2) Synthesis. Issues: 1) Discrimination/Analysis

Texture. CS 419 Slides by Ali Farhadi

Scaled representations

Texture. Texture. 2) Synthesis. Objectives: 1) Discrimination/Analysis

Final Exam Schedule. Final exam has been scheduled. 12:30 pm 3:00 pm, May 7. Location: INNOVA It will cover all the topics discussed in class

CSCI 1290: Comp Photo

Texture. Announcements. Markov Chains. Modeling Texture. Guest lecture next Tuesday. Evals at the end of class today

Image Composition. COS 526 Princeton University

I Chen Lin, Assistant Professor Dept. of CS, National Chiao Tung University. Computer Vision: 6. Texture

Tiled Texture Synthesis

Texture Synthesis. Fourier Transform. F(ω) f(x) To understand frequency ω let s reparametrize the signal by ω: Fourier Transform

Universiteit Leiden Opleiding Informatica

Pattern-based Texture Metamorphosis

Portraits Using Texture Transfer

Filtering, scale, orientation, localization, and texture. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

A Comparison Study of Four Texture Synthesis Algorithms on Regular and Near-regular Textures

Clustering and blending for texture synthesis

Quilting for Texture Synthesis and Transfer

Texture Synthesis by Non-parametric Sampling

Fast Texture Transfer

Texture. This isn t described in Trucco and Verri Parts are described in:

Real-Time Texture Synthesis by Patch-Based Sampling

Texture. D. Forsythe and J. Ponce Computer Vision modern approach Chapter 9 (Slides D. Lowe, UBC) Previously

Combining Abstract Images using Texture Transfer

Hexagonal Image Quilting for Texture Synthesis

A Parametric Texture Model based on Joint Statistics of Complex Wavelet Coefficients. Gowtham Bellala Kumar Sricharan Jayanth Srinivasa

Texture. D. Forsythe and J. Ponce Computer Vision modern approach Chapter 9 (Slides D. Lowe, UBC) Texture

Image Restoration using Multiresolution Texture Synthesis and Image Inpainting

Texture. D. Forsythe and J. Ponce Computer Vision modern approach Chapter 9 (Slides D. Lowe, UBC)

Visual Learning with Explicit and Implicit Manifolds

CS 534: Computer Vision Texture

More Texture Mapping. Texture Mapping 1/46

Texture. COS 429 Princeton University

Filters + linear algebra

CS 534: Computer Vision Texture

Synthesizing Natural Textures

CSE 252B: Computer Vision II

ISSN: (Online) Volume 2, Issue 5, May 2014 International Journal of Advance Research in Computer Science and Management Studies

Parametric Texture Model based on Joint Statistics

Synthesis and Rendering of 3D Textures

Texture Similarity Measure. Pavel Vácha. Institute of Information Theory and Automation, AS CR Faculty of Mathematics and Physics, Charles University

Light Field Occlusion Removal

Effects Of Shadow On Canny Edge Detection through a camera

ABSTRACT Departures from a regular texture pattern can happen in many different dimensions. Previous related work has focused on faithful texture synt

Motion Estimation. There are three main types (or applications) of motion estimation:

Volume Editor. Hans Weghorn Faculty of Mechatronics BA-University of Cooperative Education, Stuttgart Germany

Towards Real-Time Texture Synthesis with the Jump Map

Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference.

IMAGE DENOISING TO ESTIMATE THE GRADIENT HISTOGRAM PRESERVATION USING VARIOUS ALGORITHMS

Learning How to Inpaint from Global Image Statistics

Texture Synthesis. Last Time? Final Presentation Schedule. Today. Readings for Today: Texture Mapping Solid Texture Procedural Textures

CHAPTER 4 SPECTRAL HISTOGRAM: A GENERIC FEATURE FOR IMAGES

Texture and Other Uses of Filters

Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference.

Motion Texture. Harriet Pashley Advisor: Yanxi Liu Ph.D. Student: James Hays. 1. Introduction

Fast Texture Synthesis on Arbitrary Meshes

PatchMatch: A Randomized Correspondence Algorithm for Structural Image Editing

Segmentation and Grouping

Schedule for Rest of Semester

An Intuitive Explanation of Fourier Theory

Lecture 6: Edge Detection

Hybrid Textons: Modeling Surfaces with Reflectance and Geometry

Linear Operations Using Masks

A Quantitative Approach for Textural Image Segmentation with Median Filter

Segmentation Computer Vision Spring 2018, Lecture 27

(Refer Slide Time 00:17) Welcome to the course on Digital Image Processing. (Refer Slide Time 00:22)

Colorization: History

Computer Graphics. P08 Texture Synthesis. Aleksandra Pizurica Ghent University

288 Texture Chapter 11

FOURIER TRANSFORM GABOR FILTERS. and some textons

All good things must...

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Helsinki University of Technology Telecommunications Software and Multimedia Laboratory T Seminar on computer graphics Spring 2004

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

A NON-HIERARCHICAL PROCEDURE FOR RE-SYNTHESIS OF COMPLEX TEXTURES

Image Analysis. Edge Detection

Finding 2D Shapes and the Hough Transform

Object Removal Using Exemplar-Based Inpainting

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

A Spectral Histogram Model for Textons and Texture Discrimination

Adaptive Image Sampling Based on the Human Visual System

Transcription:

Today Non-linear filtering example Median filter Replace each pixel by the median over N pixels (5 pixels, for these examples). Generalizes to rank order filters. In: In: 5-pixel neighborhood Out: Out: Spike noise is removed Monotonic edges remain unchanged Degraded image Radius 1 median filter Because the filter is non-linear, it has the opportunity to remove the scratch noise without blurring edges. 1

Radius 2 median filter Comparison with linear blur of the amount needed to remove the scratches CCD color sampling Color sensing, 3 approaches Scan 3 times (temporal multiplexing) Use 3 detectors (3-ccd camera, and color film) Use offset color samples (spatial multiplexing) Typical errors in temporal multiplexing approach Color offset fringes Typical errors in spatial multiplexing approach. Color fringes. 2

CCD color filter pattern The cause of color moire detector detector Fine black and white detail in image mis-interpreted as color information. Black and white edge falling on color CCD detector Color sampling artifacts A sharp luminance edge. Black and white image (edge) Detector pixel colors Interpolated pixel colors, for grey edge falling on colored detectors (linear interpolation). The edge is aliased (undersampled) in the samples of any one color. That aliasing manifests itself in the spatial domain as an incorrect estimate of the precise position of the edge. That disagreement about the position of the edge results in a color fringe artifact. The response of independently interpolated color bands to an edge. The mis-estimated edge yields color fringe artifacts. Typical color moire patterns Color sampling artifacts Blow-up of electronic camera image. Notice spurious colors in the regions of fine detail in the plants. 3

Human Photoreceptors Brewster s colors example (subtle). Scale relative to human photoreceptor size: each line covers about 7 photoreceptors. (From Foundations of Vision, by Brian Wandell, Sinauer Assoc.) Median Filter Interpolation 1) Perform first interpolation on isolated color channels. 2) Compute color difference signals. 3) Median filter the color difference signal. 4) Reconstruct the 3-color image. Two-color sampling of BW edge Sampled data Linear interpolation Color difference signal Median filtered color difference signal R-G, after linear interpolation R G, median filtered (5x5) 4

Recombining the median filtered colors Linear interpolation Median filter interpolation References on color interpolation Brainard Shree nayar. Image texture Texture Key issue: representing texture Texture based matching little is known Texture segmentation key issue: representing texture Texture synthesis useful; also gives some insight into quality of representation Shape from texture cover superficially The Goal of Texture Synthesis input image The Goal of Texture Analysis input image SYNTHESIS ANALYSIS Same or different True (infinite) texture generated image Given a finite sample of some texture, the goal is to synthesize other samples from that same texture The sample needs to be "large enough True (infinite) texture generated image Compare textures and decide if they re made of the same stuff. 5

Pre-attentive texture discrimination Pre-attentive texture discrimination Pre-attentive texture discrimination Pre-attentive texture discrimination Same or different textures? Pre-attentive texture discrimination Pre-attentive texture discrimination Same or different textures? 6

Julesz Textons: analyze the texture in terms of statistical relationships between fundamental texture elements, called textons. It generally required a human to look at the texture in order to decide what those fundamental units were... Influential paper: Bergen and Adelson, Nature 1988 Learn: use filters. Learn: use lots of filters, multi-ori&scale. Malik and Perona Malik J, Perona P. Preattentive texture discrimination with early vision mechanisms. J OPT SOC AM A 7: (5) 923-932 MAY 1990 Representing textures Textures are made up of quite stylised subelements, repeated in meaningful ways Representation: find the subelements, and represent their statistics But what are the subelements, and how do we find them? recall normalized correlation find subelements by applying filters, looking at the magnitude of the What filters? experience suggests spots and oriented bars at a variety of different scales details probably don t matter What statistics? within reason, the more the merrier. At least, mean and standard deviation better, various conditional histograms. 7

Squared responses Spatially blurred vertical filter image horizontal filter Threshold squared, blurred responses, then categorize texture based on those two bits SIGGRAPH 1994 Show block diagram of heeger bergen And demonstrate it working with matlab code. Ask ted for example. 8

Learn: use filter marginal statistics. Bergen and Heeger Matlab examples Bergen and Heeger results Bergen and Heeger failures De Bonet (and Viola) SIGGRAPH 1997 Learn: use filter conditional statistics across scale. DeBonet 9

DeBonet DeBonet Portilla and Simoncelli Portilla and Simoncelli Parametric representation. About 1000 numbers to describe a texture. Ok results; maybe as good as DeBonet. Zhu, Wu, & Mumford, 1998 Zhu, Wu, & Mumford Principled approach. Synthesis quality not great, but ok. Cheetah Synthetic 10

Efros and Leung What we ve learned from the previous texture synthesis methods From Adelson and Bergen: examine filter outputs From Perona and Malik: use multi-scale, multi-orientation filters. From Heeger and Bergen: use marginal statistics (histograms) of filter responses. From DeBonet: use conditional filter responses across scale. What we learned from Efros and Leung regarding texture synthesis Don t need conditional filter responses across scale Don t need marginal statistics of filter responses. Don t need multi-scale, multi-orientation filters. Don t need filters. Efros & Leung 99 The algorithm Very simple Surprisingly good results Synthesis is easier than analysis! but very slow Optimizations and Improvements [Wei & Levoy, 00] (based on [Popat & Picard, 93]) [Harrison, 01] [Ashikhmin, 01] 11

Efros & Leung 99 extended p B Synthesizing a block non-parametric sampling Input image Observation: neighbor pixels are highly correlated Idea: unit of synthesis = block Exactly the same but now we want P(B N(B)) Much faster: synthesize all pixels in a block at once Not the same as multi-scale! Image Quilting Idea: let s combine random block placement of Chaos Mosaic with spatial constraints of Efros & Leung Related Work (concurrent): Real-time patch-based sampling [Liang et.al. 01] Image Analogies [Hertzmann et.al. 01] Input texture block Minimal error boundary overlapping blocks vertical boundary B1 B2 B1 B2 B1 B2 Random placement of blocks Neighboring blocks constrained by overlap Minimal error boundary cut _ 2 = overlap error min. error boundary Our Philosophy The Corrupt Professor s Algorithm : Plagiarize as much of the source image as you can Then try to cover up the evidence Rationale: Texture blocks are by definition correct samples of texture so problem only connecting them together Algorithm Pick size of block and size of overlap Synthesize blocks in raster order Search input texture for block that satisfies overlap constraints (above and left) Easy to optimize using NN search [Liang et.al., 01] Paste new block into resulting texture use dynamic programming to compute minimal error boundary cut 12

13

Failures (Chernobyl Harvest) Texture Transfer parmesan Take the texture from one object and paint it onto another object + This requires separating texture and shape That s HARD, but we can cheat Assume we can capture shape by boundary and rough shading rice Then, just add another constraint when sampling: similarity to underlying image at that spot + = = + = + = 14

Source texture Target image + = Source correspondence image Target correspondence image Portilla & Simoncelli Xu, Guo & Shum Portilla & Simoncelli Xu, Guo & Shum input image input image Wei & Levoy Image Quilting Wei & Levoy Image Quilting Homage to Shannon! Portilla & Simoncelli Xu, Guo & Shum Summary of image quilting Quilt together patches of input image randomly (texture synthesis) constrained (texture transfer) Image Quilting No filters, no multi-scale, no one-pixel-at-a-time! fast and very simple Results are not bad input image Wei & Levoy Image Quilting 15

end 16