SlideShare a Scribd company logo
Real-Time Exemplar-Based Face Sketch Synthesis
Pipeline illustration
Note: containing animations
Yibing Song1 Linchao Bao1 Qingxiong Yang1 Ming-Hsuan Yang2
1City University of Hong Kong
2University of California at Merced
Our assumption: a database containing photo-sketch pairs
1. photo database 2. sketch database
Aligned
Coarse Sketch Generation
Step 1: KNN search
p
Test photo patch 𝑻𝒑
Test photo
Training photo dataset
𝑻𝒑
𝑻𝒑
𝑻𝒑
Matched photo patch 𝑰𝑷
𝟏
Relative
position
∆𝒑
𝟏 Similarly
Matched photo patch 𝑰𝑷
𝟐
Relative
position
∆𝒑
𝟐 ∆𝒑
𝑲
[ ]
∆𝒑 =
Test photo patch 𝑻𝒑
∆𝒑
𝟏
Matched photo patch 𝑰𝑷
𝟏
∆𝒑
𝟐
Matched photo patch 𝑰𝑷
𝟐
∆𝒑
𝑲
Matched photo patch 𝑰𝑷
𝑲
𝒙𝒑
𝟏 ∙ +𝒙𝒑
𝟐
∙ +𝒙𝒑
𝑲 ∙ =
2. Compute linear mapping function defined by 𝒙𝒑
𝟏, 𝒙𝒑
𝟐, ⋯ , 𝒙𝒑
𝑲
Coarse Sketch Generation
Step 2: Linear Estimation from Photos
Matched sketch pixel
∆𝒑
𝟏
p
Matched sketch pixel
Test photo
𝑺𝑷+∆𝒑
𝟏
∆𝒑
𝟐
𝑺𝑷+∆𝒑
𝟐
∆𝒑
𝑲
Matched sketch pixel 𝑺𝑷+∆𝒑
𝑲
𝒙𝒑
𝟏
∙ +𝒙𝒑
𝟐
∙ +𝒙𝒑
𝑲 ∙ =
Estimation on pixel p
Repeat for every pixel
Coarse sketch
Coarse Sketch Generation
Step 3: Apply Linear Mapping to Sketches
𝑬𝒑
Because: coarse sketch image is not natural.
𝑤(𝑝, 𝑟) is not a good similarity measurement
between p and r.
Denoising: State-of-the-art Image Denoising Algorithms
Coarse sketch
Nonlocal Means (NLM)
p
r
𝑆𝑝
𝑁𝐿𝑀 = 𝐸𝑟
𝑤(𝑝, 𝑟)
+ ⋯
For all pixels in the neighbor of p: Ψ𝑝
Little improvement
After NLM
q
𝐸𝑞
𝑤(𝑝, 𝑞)
+
[NLM] A. Buades, B. Coll and J.-M. Morel, A non-local algorithm for image denoising, CVPR 2005.
Motivation – BM3D
BM3D groups correlated patches in the noisy image to create multiple estimations.
Our idea for sketch denoising: group highly similar sketch estimations.
How BM3D works
[BM3D] K. Dabov, A. Foi, V. Katkovnik, and K. Egiazarian, “Image denoising by sparse 3D transform-
domain collaborative filtering,” IEEE Trans. Image Process., vol. 16, no. 8, pp. 2080-2095, August 2007.
𝑤(𝑝, 𝑞) ∙
Proposed Spatial Sketch Denoising Algorithm (SSD)
Test photo
q
∆𝒒
𝟏
, 𝒙𝒒
𝟏
𝑺𝒒+∆𝒒
𝟏
p
Matched sketch
𝑺𝒑+∆𝒒
𝟏
Similarly
∆𝒒
𝟐, 𝒙𝒒
𝟐
𝑺𝒑+∆𝒒
𝟐
𝑺𝒒+∆𝒒
𝟐
∆𝒒
𝑲, 𝒙𝒒
𝑲
𝑺𝒒+∆𝒒
𝑲
𝑺𝒑+∆𝒒
𝑲
𝒙𝒒
𝟏 ∙ +𝒙𝒒
𝟐 ∙ +𝒙𝒒
𝑲 ∙ =
𝑬𝒑
𝒒
p
Estimations from pixels
in local region Ψ𝑝
r 𝑬𝒑
𝒓
Averaging estimations to
generate output sketch value.
Nonlocal Means (NLM):
𝑆𝑝
𝑁𝐿𝑀 = 𝐸𝑞 + ⋯
𝐸𝑟
𝑤(𝑝, 𝑟) ∙
+
Proposed SSD:
𝑆𝑝
𝑆𝑆𝐷
= + ⋯
+
1 ∙𝑬𝒑
𝒒
1 ∙ 𝑬𝒑
𝒓
p
Proposed SSD is robust to Ψ𝑝
Input 5x5 local region
𝜳𝒑 = 𝟐𝟓
11x11 local region
𝜳𝒑 = 𝟏𝟐𝟏
17x17 local region
𝜳𝒑 = 𝟐𝟖𝟗
23x23 local region
𝜳𝒑 = 𝟓𝟐𝟗
Note: When 𝛹𝑝 is sufficient large (i.e., 𝛹𝑝 >100), the proposed SSD can effectively
suppress noise while preserving facial details like the tiny eye reflections (see close-ups).
Robustness to the region size Ψ𝑝 - the only parameter involved

More Related Content

Similar to slides (1).pptx

Variable length signature for near-duplicate
Variable length signature for near-duplicateVariable length signature for near-duplicate
Variable length signature for near-duplicatejpstudcorner
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUEScscpconf
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Visionothersk46
 
20230213_ComputerVision_연구.pptx
20230213_ComputerVision_연구.pptx20230213_ComputerVision_연구.pptx
20230213_ComputerVision_연구.pptxssuser7807522
 
Optic flow estimation with deep learning
Optic flow estimation with deep learningOptic flow estimation with deep learning
Optic flow estimation with deep learningYu Huang
 
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKING
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKINGA PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKING
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKINGIRJET Journal
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationJason Anderson
 
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images IOSR Journals
 
Survey paper on image compression techniques
Survey paper on image compression techniquesSurvey paper on image compression techniques
Survey paper on image compression techniquesIRJET Journal
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletIOSR Journals
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletIOSR Journals
 
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)Towards Accurate Multi-person Pose Estimation in the Wild (My summery)
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)Abdulrahman Kerim
 
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Sunando Sengupta
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalTaeKang Woo
 
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis taeseon ryu
 
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...Seiya Ito
 

Similar to slides (1).pptx (20)

Variable length signature for near-duplicate
Variable length signature for near-duplicateVariable length signature for near-duplicate
Variable length signature for near-duplicate
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Vision
 
20230213_ComputerVision_연구.pptx
20230213_ComputerVision_연구.pptx20230213_ComputerVision_연구.pptx
20230213_ComputerVision_연구.pptx
 
Optic flow estimation with deep learning
Optic flow estimation with deep learningOptic flow estimation with deep learning
Optic flow estimation with deep learning
 
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKING
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKINGA PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKING
A PROJECT REPORT ON REMOVAL OF UNNECESSARY OBJECTS FROM PHOTOS USING MASKING
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image Generation
 
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images
A Novel PSNR-B Approach for Evaluating the Quality of De-blocked Images
 
Survey paper on image compression techniques
Survey paper on image compression techniquesSurvey paper on image compression techniques
Survey paper on image compression techniques
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Kintinuous review
Kintinuous reviewKintinuous review
Kintinuous review
 
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)Towards Accurate Multi-person Pose Estimation in the Wild (My summery)
Towards Accurate Multi-person Pose Estimation in the Wild (My summery)
 
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
Urban 3D Semantic Modelling Using Stereo Vision, ICRA 2013
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normal
 
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
 
Viii sem
Viii semViii sem
Viii sem
 
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...
[3D勉強会@関東] Deep Reinforcement Learning of Volume-guided Progressive View Inpa...
 
TransNeRF
TransNeRFTransNeRF
TransNeRF
 

Recently uploaded

Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdfKamal Acharya
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationDr. Radhey Shyam
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdfKamal Acharya
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdfKamal Acharya
 
An improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technologyAn improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technologyBOHRInternationalJou1
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...Roi Lipman
 
Maestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionMaestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionliberfusta1
 
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...Aimil Ltd
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineJulioCesarSalazarHer1
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfAyahmorsy
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptxfaamieahmd
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdfKamal Acharya
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdfKamal Acharya
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 

Recently uploaded (20)

Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
 
An improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technologyAn improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technology
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Maestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionMaestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacion
 
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
retail automation billing system ppt.pptx
retail automation billing system ppt.pptxretail automation billing system ppt.pptx
retail automation billing system ppt.pptx
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 

slides (1).pptx

  • 1. Real-Time Exemplar-Based Face Sketch Synthesis Pipeline illustration Note: containing animations Yibing Song1 Linchao Bao1 Qingxiong Yang1 Ming-Hsuan Yang2 1City University of Hong Kong 2University of California at Merced
  • 2. Our assumption: a database containing photo-sketch pairs 1. photo database 2. sketch database Aligned
  • 3. Coarse Sketch Generation Step 1: KNN search p Test photo patch 𝑻𝒑 Test photo Training photo dataset 𝑻𝒑 𝑻𝒑 𝑻𝒑 Matched photo patch 𝑰𝑷 𝟏 Relative position ∆𝒑 𝟏 Similarly Matched photo patch 𝑰𝑷 𝟐 Relative position ∆𝒑 𝟐 ∆𝒑 𝑲 [ ] ∆𝒑 =
  • 4. Test photo patch 𝑻𝒑 ∆𝒑 𝟏 Matched photo patch 𝑰𝑷 𝟏 ∆𝒑 𝟐 Matched photo patch 𝑰𝑷 𝟐 ∆𝒑 𝑲 Matched photo patch 𝑰𝑷 𝑲 𝒙𝒑 𝟏 ∙ +𝒙𝒑 𝟐 ∙ +𝒙𝒑 𝑲 ∙ = 2. Compute linear mapping function defined by 𝒙𝒑 𝟏, 𝒙𝒑 𝟐, ⋯ , 𝒙𝒑 𝑲 Coarse Sketch Generation Step 2: Linear Estimation from Photos
  • 5. Matched sketch pixel ∆𝒑 𝟏 p Matched sketch pixel Test photo 𝑺𝑷+∆𝒑 𝟏 ∆𝒑 𝟐 𝑺𝑷+∆𝒑 𝟐 ∆𝒑 𝑲 Matched sketch pixel 𝑺𝑷+∆𝒑 𝑲 𝒙𝒑 𝟏 ∙ +𝒙𝒑 𝟐 ∙ +𝒙𝒑 𝑲 ∙ = Estimation on pixel p Repeat for every pixel Coarse sketch Coarse Sketch Generation Step 3: Apply Linear Mapping to Sketches 𝑬𝒑
  • 6. Because: coarse sketch image is not natural. 𝑤(𝑝, 𝑟) is not a good similarity measurement between p and r. Denoising: State-of-the-art Image Denoising Algorithms Coarse sketch Nonlocal Means (NLM) p r 𝑆𝑝 𝑁𝐿𝑀 = 𝐸𝑟 𝑤(𝑝, 𝑟) + ⋯ For all pixels in the neighbor of p: Ψ𝑝 Little improvement After NLM q 𝐸𝑞 𝑤(𝑝, 𝑞) + [NLM] A. Buades, B. Coll and J.-M. Morel, A non-local algorithm for image denoising, CVPR 2005.
  • 7. Motivation – BM3D BM3D groups correlated patches in the noisy image to create multiple estimations. Our idea for sketch denoising: group highly similar sketch estimations. How BM3D works [BM3D] K. Dabov, A. Foi, V. Katkovnik, and K. Egiazarian, “Image denoising by sparse 3D transform- domain collaborative filtering,” IEEE Trans. Image Process., vol. 16, no. 8, pp. 2080-2095, August 2007.
  • 8. 𝑤(𝑝, 𝑞) ∙ Proposed Spatial Sketch Denoising Algorithm (SSD) Test photo q ∆𝒒 𝟏 , 𝒙𝒒 𝟏 𝑺𝒒+∆𝒒 𝟏 p Matched sketch 𝑺𝒑+∆𝒒 𝟏 Similarly ∆𝒒 𝟐, 𝒙𝒒 𝟐 𝑺𝒑+∆𝒒 𝟐 𝑺𝒒+∆𝒒 𝟐 ∆𝒒 𝑲, 𝒙𝒒 𝑲 𝑺𝒒+∆𝒒 𝑲 𝑺𝒑+∆𝒒 𝑲 𝒙𝒒 𝟏 ∙ +𝒙𝒒 𝟐 ∙ +𝒙𝒒 𝑲 ∙ = 𝑬𝒑 𝒒 p Estimations from pixels in local region Ψ𝑝 r 𝑬𝒑 𝒓 Averaging estimations to generate output sketch value. Nonlocal Means (NLM): 𝑆𝑝 𝑁𝐿𝑀 = 𝐸𝑞 + ⋯ 𝐸𝑟 𝑤(𝑝, 𝑟) ∙ + Proposed SSD: 𝑆𝑝 𝑆𝑆𝐷 = + ⋯ + 1 ∙𝑬𝒑 𝒒 1 ∙ 𝑬𝒑 𝒓
  • 9. p Proposed SSD is robust to Ψ𝑝 Input 5x5 local region 𝜳𝒑 = 𝟐𝟓 11x11 local region 𝜳𝒑 = 𝟏𝟐𝟏 17x17 local region 𝜳𝒑 = 𝟐𝟖𝟗 23x23 local region 𝜳𝒑 = 𝟓𝟐𝟗 Note: When 𝛹𝑝 is sufficient large (i.e., 𝛹𝑝 >100), the proposed SSD can effectively suppress noise while preserving facial details like the tiny eye reflections (see close-ups). Robustness to the region size Ψ𝑝 - the only parameter involved