SlideShare a Scribd company logo
1 of 22
Download to read offline
© Frank Nielsen 2011
INF555
Fundamentals of 3D
Lecture 9:
Laplacian Image pyramids
Expectation-Maximization
+ Overview of computational photography
Frank Nielsen
nielsen@lix.polytechnique.fr
30 Novembre 2011
© Frank Nielsen 2011
Télécharger votre projet le 10 Décembre au soir
Examen 13 Décembre
Venez avec une clé USB (Projet, TDs)
→ Utilisez Processing.org+JAMA+JMyron (dans la mesure du possible)
© Frank Nielsen 2011
Fourier log power spectrum
Stripes of the hat
Stripes of the hair
Interpreting Fourier spectra
90 degrees
Divide by
blocks
© Frank Nielsen 2011
Laplacian image pyramids
Used also in computer graphics for texturing (mipmapping)
© Frank Nielsen 2011
Gaussian. Blur and sample, and then
Laplacian. Interpolate and estimate
Laplacian image pyramids
Residual
Reconstruction
→ Precursors of wavelets
© Frank Nielsen 2011
Blurring is efficient for sampling as it removes high-frequency
components. (sample at fewer positions.)
Gaussian kernel and resampling at a quarter of the image size.
Blurring and resampling is computed using a single discrete kernel.
●Central limit theorem:
(mean of random variables approach Gaussian distribution)
●Infinitely differentiable functions
●Fourier of Gaussians are Gaussians
●Human brain has neuronal regions doing Gaussian filtering
Laplacian image pyramids
Why Gaussians?
© Frank Nielsen 2011
Laplacian image pyramids:
Lossless multi-scale representation of images
© Frank Nielsen 2011
Laplacian image pyramids:
Reconstruction process
© Frank Nielsen 2011
Laplacian image pyramids: Application to blending
Multiband blending.
Blending two overlapping images using their pyramids
● Compute Laplacian pyramids L(I1) and L(I2) of I1 and I2.
● Generate a hybrid Laplacian pyramid Lr by creating for
each image of the pyramid a 50%/50% mix of images,
obtained by selecting the leftmost half of
L(I1) with the rightmost half of L(I2).
● Reconstruct blended images from the Laplacian pyramid Lr.
© Frank Nielsen 2011
Laplacian image pyramids: Application to blending
© Frank Nielsen 2011
Laplacian image pyramids: Application to blending
© Frank Nielsen 2011
Laplacian image pyramids: Application to blending
Using a region mask
Nowadays, we better use Poisson image editing and
gradient/image reconstruction
© Frank Nielsen 2011
Soft clustering using Expectation-Maximization (EM)
http://www.neurosci.aist.go.jp/~akaho/MixtureEM.html
Generative statistical models
GAUSSIAN MIXTURE MODELS (GMMs)
© Frank Nielsen 2011
Indicator variables z (also called latent variables)
Multinomially distributed
© Frank Nielsen 2011
Generating samples from Gaussian Mixture Models (GMMs)
© Frank Nielsen 2011
Maximize the likelihood
(incomplete)
Maximize the likelihood
(complete likelihood)
© Frank Nielsen 2011
Expectation-Maximization algorithm: Iteration
Initialize with k-means (or k-means++)
Soft assignment to clusters
Given assignments find best parameters
© Frank Nielsen 2011
© Frank Nielsen 2011
© Frank Nielsen 2011
© Frank Nielsen 2011
En Java, http://www.lix.polytechnique.fr/~nielsen/MEF/
Modeling images with
Gaussian mixture models
RGB+XY= Point in 5D
En Python, http://www.lix.polytechnique.fr/~schwander/pyMEF/
© Frank Nielsen 2011
Gaussian mixture models for image segmentation
Any smooth density function can be arbitrarily closely approximated
by a Gaussian mixture model

More Related Content

Viewers also liked

Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...
Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...
Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...Frank Nielsen
 
On approximating the Riemannian 1-center
On approximating the Riemannian 1-centerOn approximating the Riemannian 1-center
On approximating the Riemannian 1-centerFrank Nielsen
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsFrank Nielsen
 
k-MLE: A fast algorithm for learning statistical mixture models
k-MLE: A fast algorithm for learning statistical mixture modelsk-MLE: A fast algorithm for learning statistical mixture models
k-MLE: A fast algorithm for learning statistical mixture modelsFrank Nielsen
 
On learning statistical mixtures maximizing the complete likelihood
On learning statistical mixtures maximizing the complete likelihoodOn learning statistical mixtures maximizing the complete likelihood
On learning statistical mixtures maximizing the complete likelihoodFrank Nielsen
 
On Clustering Histograms with k-Means by Using Mixed α-Divergences
 On Clustering Histograms with k-Means by Using Mixed α-Divergences On Clustering Histograms with k-Means by Using Mixed α-Divergences
On Clustering Histograms with k-Means by Using Mixed α-DivergencesFrank Nielsen
 
(slides 8) Visual Computing: Geometry, Graphics, and Vision
(slides 8) Visual Computing: Geometry, Graphics, and Vision(slides 8) Visual Computing: Geometry, Graphics, and Vision
(slides 8) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
Fundamentals cig 4thdec
Fundamentals cig 4thdecFundamentals cig 4thdec
Fundamentals cig 4thdecFrank Nielsen
 
Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Frank Nielsen
 
Traitement massif des données 2016
Traitement massif des données 2016Traitement massif des données 2016
Traitement massif des données 2016Frank Nielsen
 
Classification with mixtures of curved Mahalanobis metrics
Classification with mixtures of curved Mahalanobis metricsClassification with mixtures of curved Mahalanobis metrics
Classification with mixtures of curved Mahalanobis metricsFrank Nielsen
 
Tailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsTailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsFrank Nielsen
 
Computational Information Geometry: A quick review (ICMS)
Computational Information Geometry: A quick review (ICMS)Computational Information Geometry: A quick review (ICMS)
Computational Information Geometry: A quick review (ICMS)Frank Nielsen
 
The dual geometry of Shannon information
The dual geometry of Shannon informationThe dual geometry of Shannon information
The dual geometry of Shannon informationFrank Nielsen
 
A series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyA series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyFrank Nielsen
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesFrank Nielsen
 
Traitement des données massives (INF442, A6)
Traitement des données massives (INF442, A6)Traitement des données massives (INF442, A6)
Traitement des données massives (INF442, A6)Frank Nielsen
 
INF442: Traitement des données massives
INF442: Traitement des données massivesINF442: Traitement des données massives
INF442: Traitement des données massivesFrank Nielsen
 
Divergence center-based clustering and their applications
Divergence center-based clustering and their applicationsDivergence center-based clustering and their applications
Divergence center-based clustering and their applicationsFrank Nielsen
 
Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Frank Nielsen
 

Viewers also liked (20)

Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...
Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...
Voronoi diagrams in information geometry:  Statistical Voronoi diagrams and ...
 
On approximating the Riemannian 1-center
On approximating the Riemannian 1-centerOn approximating the Riemannian 1-center
On approximating the Riemannian 1-center
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributions
 
k-MLE: A fast algorithm for learning statistical mixture models
k-MLE: A fast algorithm for learning statistical mixture modelsk-MLE: A fast algorithm for learning statistical mixture models
k-MLE: A fast algorithm for learning statistical mixture models
 
On learning statistical mixtures maximizing the complete likelihood
On learning statistical mixtures maximizing the complete likelihoodOn learning statistical mixtures maximizing the complete likelihood
On learning statistical mixtures maximizing the complete likelihood
 
On Clustering Histograms with k-Means by Using Mixed α-Divergences
 On Clustering Histograms with k-Means by Using Mixed α-Divergences On Clustering Histograms with k-Means by Using Mixed α-Divergences
On Clustering Histograms with k-Means by Using Mixed α-Divergences
 
(slides 8) Visual Computing: Geometry, Graphics, and Vision
(slides 8) Visual Computing: Geometry, Graphics, and Vision(slides 8) Visual Computing: Geometry, Graphics, and Vision
(slides 8) Visual Computing: Geometry, Graphics, and Vision
 
Fundamentals cig 4thdec
Fundamentals cig 4thdecFundamentals cig 4thdec
Fundamentals cig 4thdec
 
Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)Traitement des données massives (INF442, A5)
Traitement des données massives (INF442, A5)
 
Traitement massif des données 2016
Traitement massif des données 2016Traitement massif des données 2016
Traitement massif des données 2016
 
Classification with mixtures of curved Mahalanobis metrics
Classification with mixtures of curved Mahalanobis metricsClassification with mixtures of curved Mahalanobis metrics
Classification with mixtures of curved Mahalanobis metrics
 
Tailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest NeighborsTailored Bregman Ball Trees for Effective Nearest Neighbors
Tailored Bregman Ball Trees for Effective Nearest Neighbors
 
Computational Information Geometry: A quick review (ICMS)
Computational Information Geometry: A quick review (ICMS)Computational Information Geometry: A quick review (ICMS)
Computational Information Geometry: A quick review (ICMS)
 
The dual geometry of Shannon information
The dual geometry of Shannon informationThe dual geometry of Shannon information
The dual geometry of Shannon information
 
A series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropyA series of maximum entropy upper bounds of the differential entropy
A series of maximum entropy upper bounds of the differential entropy
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective Divergences
 
Traitement des données massives (INF442, A6)
Traitement des données massives (INF442, A6)Traitement des données massives (INF442, A6)
Traitement des données massives (INF442, A6)
 
INF442: Traitement des données massives
INF442: Traitement des données massivesINF442: Traitement des données massives
INF442: Traitement des données massives
 
Divergence center-based clustering and their applications
Divergence center-based clustering and their applicationsDivergence center-based clustering and their applications
Divergence center-based clustering and their applications
 
Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)Traitement des données massives (INF442, A7)
Traitement des données massives (INF442, A7)
 

Similar to (slides 9) Visual Computing: Geometry, Graphics, and Vision

(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
(slides 5) Visual Computing: Geometry, Graphics, and Vision
(slides 5) Visual Computing: Geometry, Graphics, and Vision(slides 5) Visual Computing: Geometry, Graphics, and Vision
(slides 5) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Bhuvnesh Pratap
 
(slides 3) Visual Computing: Geometry, Graphics, and Vision
(slides 3)  Visual Computing: Geometry, Graphics, and Vision(slides 3)  Visual Computing: Geometry, Graphics, and Vision
(slides 3) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 
(slides 2) Visual Computing: Geometry, Graphics, and Vision
(slides 2)  Visual Computing: Geometry, Graphics, and Vision(slides 2)  Visual Computing: Geometry, Graphics, and Vision
(slides 2) Visual Computing: Geometry, Graphics, and VisionFrank Nielsen
 

Similar to (slides 9) Visual Computing: Geometry, Graphics, and Vision (6)

(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision(slides 1) Visual Computing: Geometry, Graphics, and Vision
(slides 1) Visual Computing: Geometry, Graphics, and Vision
 
(slides 5) Visual Computing: Geometry, Graphics, and Vision
(slides 5) Visual Computing: Geometry, Graphics, and Vision(slides 5) Visual Computing: Geometry, Graphics, and Vision
(slides 5) Visual Computing: Geometry, Graphics, and Vision
 
(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision(slides 4) Visual Computing: Geometry, Graphics, and Vision
(slides 4) Visual Computing: Geometry, Graphics, and Vision
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface
 
(slides 3) Visual Computing: Geometry, Graphics, and Vision
(slides 3)  Visual Computing: Geometry, Graphics, and Vision(slides 3)  Visual Computing: Geometry, Graphics, and Vision
(slides 3) Visual Computing: Geometry, Graphics, and Vision
 
(slides 2) Visual Computing: Geometry, Graphics, and Vision
(slides 2)  Visual Computing: Geometry, Graphics, and Vision(slides 2)  Visual Computing: Geometry, Graphics, and Vision
(slides 2) Visual Computing: Geometry, Graphics, and Vision
 

Recently uploaded

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

(slides 9) Visual Computing: Geometry, Graphics, and Vision

  • 1. © Frank Nielsen 2011 INF555 Fundamentals of 3D Lecture 9: Laplacian Image pyramids Expectation-Maximization + Overview of computational photography Frank Nielsen nielsen@lix.polytechnique.fr 30 Novembre 2011
  • 2. © Frank Nielsen 2011 Télécharger votre projet le 10 Décembre au soir Examen 13 Décembre Venez avec une clé USB (Projet, TDs) → Utilisez Processing.org+JAMA+JMyron (dans la mesure du possible)
  • 3. © Frank Nielsen 2011 Fourier log power spectrum Stripes of the hat Stripes of the hair Interpreting Fourier spectra 90 degrees Divide by blocks
  • 4. © Frank Nielsen 2011 Laplacian image pyramids Used also in computer graphics for texturing (mipmapping)
  • 5. © Frank Nielsen 2011 Gaussian. Blur and sample, and then Laplacian. Interpolate and estimate Laplacian image pyramids Residual Reconstruction → Precursors of wavelets
  • 6. © Frank Nielsen 2011 Blurring is efficient for sampling as it removes high-frequency components. (sample at fewer positions.) Gaussian kernel and resampling at a quarter of the image size. Blurring and resampling is computed using a single discrete kernel. ●Central limit theorem: (mean of random variables approach Gaussian distribution) ●Infinitely differentiable functions ●Fourier of Gaussians are Gaussians ●Human brain has neuronal regions doing Gaussian filtering Laplacian image pyramids Why Gaussians?
  • 7. © Frank Nielsen 2011 Laplacian image pyramids: Lossless multi-scale representation of images
  • 8. © Frank Nielsen 2011 Laplacian image pyramids: Reconstruction process
  • 9. © Frank Nielsen 2011 Laplacian image pyramids: Application to blending Multiband blending. Blending two overlapping images using their pyramids ● Compute Laplacian pyramids L(I1) and L(I2) of I1 and I2. ● Generate a hybrid Laplacian pyramid Lr by creating for each image of the pyramid a 50%/50% mix of images, obtained by selecting the leftmost half of L(I1) with the rightmost half of L(I2). ● Reconstruct blended images from the Laplacian pyramid Lr.
  • 10. © Frank Nielsen 2011 Laplacian image pyramids: Application to blending
  • 11. © Frank Nielsen 2011 Laplacian image pyramids: Application to blending
  • 12. © Frank Nielsen 2011 Laplacian image pyramids: Application to blending Using a region mask Nowadays, we better use Poisson image editing and gradient/image reconstruction
  • 13. © Frank Nielsen 2011 Soft clustering using Expectation-Maximization (EM) http://www.neurosci.aist.go.jp/~akaho/MixtureEM.html Generative statistical models GAUSSIAN MIXTURE MODELS (GMMs)
  • 14. © Frank Nielsen 2011 Indicator variables z (also called latent variables) Multinomially distributed
  • 15. © Frank Nielsen 2011 Generating samples from Gaussian Mixture Models (GMMs)
  • 16. © Frank Nielsen 2011 Maximize the likelihood (incomplete) Maximize the likelihood (complete likelihood)
  • 17. © Frank Nielsen 2011 Expectation-Maximization algorithm: Iteration Initialize with k-means (or k-means++) Soft assignment to clusters Given assignments find best parameters
  • 21. © Frank Nielsen 2011 En Java, http://www.lix.polytechnique.fr/~nielsen/MEF/ Modeling images with Gaussian mixture models RGB+XY= Point in 5D En Python, http://www.lix.polytechnique.fr/~schwander/pyMEF/
  • 22. © Frank Nielsen 2011 Gaussian mixture models for image segmentation Any smooth density function can be arbitrarily closely approximated by a Gaussian mixture model