Photometric Processing

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Image Blending and Compositing : Computational Photography Alexei Efros, CMU, Fall 2010 © NASA.
Spatial Filtering (Chapter 3)
Chapter 3 Image Enhancement in the Spatial Domain.
Blending and Compositing Computational Photography Connelly Barnes Many slides from James Hays, Alexei Efros.
Multiscale Analysis of Images Gilad Lerman Math 5467 (stealing slides from Gonzalez & Woods, and Efros)
CS 691 Computational Photography
Recap from Monday Frequency domain analytical tool computational shortcut compression tool.
Recap from Monday Fourier transform analytical tool computational shortcut.
Digital Image Processing
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Advanced Computer Vision Chapter 3 Image Processing (1) Presented by: 傅楸善 & 張乃婷
Blending and Compositing Computational Photography Derek Hoiem, University of Illinois 09/23/14.
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
Blending and Compositing : Rendering and Image Processing Alexei Efros.
Image Pyramids and Blending
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Image Pyramids Pre-filter images to collect information at different scalesPre-filter images to collect information at different scales More efficient.
2D Fourier Theory for Image Analysis Mani Thomas CISC 489/689.
Image Compositing and Blending : Computational Photography Alexei Efros, CMU, Fall 2007 © NASA.
Lecture 8: Image Alignment and RANSAC
Image Pyramids and Blending : Computational Photography Alexei Efros, CMU, Fall 2005 © Kenneth Kwan.
4 – Image Pyramids. Admin stuff Change of office hours on Wed 4 th April – Mon 31 st March pm (right after class) Change of time/date of last.
Image Stitching II Ali Farhadi CSE 455
Image Pyramids and Blending
Image Representation Gaussian pyramids Laplacian Pyramids
Announcements Class web site – Handouts –class info –lab access/accounts –survey Readings.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
The Frequency Domain Somewhere in Cinque Terre, May 2005 Many slides borrowed from Steve Seitz CS194: Image Manipulation & Computational Photography Alexei.
Medical Image Analysis Image Enhancement Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Image Processing Xuejin Chen Ref:
CS4670 / 5670: Computer Vision KavitaBala Lecture 17: Panoramas.
Chapter 5: Neighborhood Processing
Image Subtraction Mask mode radiography h(x,y) is the mask.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Computational Photography lecture 8 – segmentation CS (future 572) Spring 2016 Prof. Alex Berg (Credits to many other folks on individual slides)
Image Stitching II Linda Shapiro CSE 455. RANSAC for Homography Initial Matched Points.
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Hebrew University Image Processing Exercise Class 8 Panoramas – Stitching and Blending Min-Cut Stitching Many slides from Alexei Efros.
Recall: Gaussian smoothing/sampling G 1/4 G 1/8 Gaussian 1/2 Solution: filter the image, then subsample Filter size should double for each ½ size reduction.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Medical Image Analysis
Image Subtraction Mask mode radiography h(x,y) is the mask.
Image Stitching II Linda Shapiro EE/CSE 576.
Image Blending : Computational Photography
Cutting Images: Graphs and Boundary Finding
Image Blending and Compositing
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Image gradients and edges
Image Analysis Image Restoration.
Image Processing - in short
Image gradients and edges April 11th, 2017
Multiscale Analysis of Images
Image Stitching II Linda Shapiro EE/CSE 576.
Image Enhancement in the Spatial Domain
Image Stitching II Linda Shapiro CSE 455.
Image Enhancement in the
Fundamentals of Spatial Filtering
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Histogram Probability distribution of the different grays in an image.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
Image Stitching II Linda Shapiro EE/CSE 576.
Review and Importance CS 111.
Image Stitching II Linda Shapiro ECE P 596.
Presentation transcript:

Photometric Processing

Histogram Probability distribution of the different grays in an image

Contrast Enhancement Limited gray levels are used Hence, low contrast Enhance contrast

Histogram Stretching Monotonically increasing function between 0 and 1

Results

Results Burn out effects

Adaptive Histogram Stretching Choose a neighborhood Apply histogram equalization to the pixels in that window Replace the center pixel with the histogram equalized value Do this for all pixels Compute intensive Leads to noise

Results Original Global Adaptive (15x15) Adaptive (30x30)

Histogram Matching Histogram 1 Histogram 2 y x x’

Appearance Transfer

Image Compositing Mosaic Blending

Image Compositing

Compositing Procedure 1. Extract Sprites (e.g using Intelligent Scissors in Photoshop) 2. Blend them into the composite (in the right order) Composite by David Dewey

Replacing pixels rarely works Binary mask Problems: boundries & transparency (shadows)

Two Problems: Semi-transparent objects Pixels too large

Alpha Channel Add one more channel: Image(R,G,B,alpha) Encodes transparency (or pixel coverage): Alpha = 1: opaque object (complete coverage) Alpha = 0: transparent object (no coverage) 0<Alpha<1: semi-transparent (partial coverage) Example: alpha = 0.3

Alpha Blending Icomp = αIfg + (1-α)Ibg alpha mask shadow

Alpha Hacking… No physical interpretation, but it smoothes the seams

+ = Feathering Iblend = αIleft + (1-α)Iright Encoding as transparency 1 + = Encoding as transparency Iblend = αIleft + (1-α)Iright

Affect of Window Size 1 left 1 right

Affect of Window Size 1 1

Good Window Size 1 “Optimal” Window: smooth but not ghosted

Type of Blending function Linear (Only function continuity) Spline or Cosine (Gradient continuity also)

What is the Optimal Window? To avoid seams window = size of largest prominent feature To avoid ghosting window <= 2*size of smallest prominent feature Natural to cast this in the Fourier domain largest frequency <= 2*size of smallest frequency image frequency content should occupy one “octave” (power of two) FFT

Frequency Spread is Wide FFT Idea (Burt and Adelson) Compute Band pass images for L and R Decomposes Fourier image into octaves (bands) Feather corresponding octaves Li with Ri Splines matched with the image frequency content Multi-resolution splines If resolution is changed, the width can be the same Sum feathered octave images

Octaves in the Spatial Domain Lowpass Images Bandpass Images

Pyramid Blending 1 1 1 Left pyramid blend Right pyramid

Pyramid Blending

laplacian level 4 laplacian level 2 laplacian level left pyramid right pyramid blended pyramid

Laplacian Pyramid: Blending General Approach: Build Laplacian pyramids LA and LB from images A and B Build a Gaussian pyramid GR from selected region R Form a combined pyramid LS from LA and LB using nodes of GR as weights: LS(i,j) = GR(i,j,)*LA(I,j) + (1-GR(i,j))*LB(I,j) Collapse the LS pyramid to get the final blended image

Don’t Blend, CUT!

Davis 1998 Segment into regions Single source per region Avoid artifacts along the boundary Dijkstra’s shortest path method

Eros and Freeman 2001

Minimum Error Boundary