SlideShare a Scribd company logo
International Conference on Frontiers of Image Processing (ICFIP 2017)
1
Date : March 3-5, 2017
Paper ID : 10
Location : Katmandu, Nepal
Presented by:
Md. Shohel Rana
AN ENHANCED MODEL FOR INPAINTING ON DIGITAL
IMAGES USING DYNAMIC MASKING
Motivation and Contribution
• Given image with significant portions missing or damaged
• Dynamically detect the damaged regions to be inpainted
• Reconstitute missing regions with data consistent with the rest of the image
• Proposed a method which restore damaged area of the image reducing processing time
without blurring output
International Conference on Frontiers of Image Processing (ICFIP 2017) 2
Inpainting
• The technique of reconstruction of missing or damaged portion of the images
• Techniques are in use for various applications like removal of scratches, restoring
damaged/missing portions, or removal of object from the image
• Inpainting technique can be categorized as follows:
 Convolution Filter based method
 Partial Differential Equation (PDE)
 Others Algorithm
• In general all convolution based methods provide good results
• The convolution based equation is as follows
Where Iout is inpainted image, I is the input image W is the Mask and M x N is size of the Image
International Conference on Frontiers of Image Processing (ICFIP 2017) 3
∑∑= =
=
M
i
N
j
out jiWjiIjiI
0 0
),(),(),(
Convolution based inpainting
• Convolution of two functions f(x) and g(x)
International Conference on Frontiers of Image Processing (ICFIP 2017) 4
Various inpainting techniques on image
• Bertalmio’s algorithm: The final equation for image I with inpainting region
Ω
Where
• Oliveira Algorithm: Based on the Bertalmio method, Oliviera et al. have
proposed an inpainting algorithm that relies exclusively on diffusion
Where the values of a, b, and c for both kernels are 0.073235, 0.176765, and 0.125 respectively
International Conference on Frontiers of Image Processing (ICFIP 2017) 5
( ) ( )
Ω∈∀∆∆+=+
),(|,),(|),(),(1
jijiItjiIjiI nnnn
β
|),,(|
),,(
),(:),(
njiN
njiN
jiLji nn



⋅= δβ
∑∑
∑∑
= =
= =
=
=
M
i
N
j
out
M
i
N
j
jiWjiIjiI
jiWjiIjiI
0 0
/
0 0
/
),(2).,(),(
),(1).,(),(
Various inpainting techniques on image
• Hadhoud, Moustafa, and Shenoda’s Algorithm: They have proposed
an improvement of Oliveira’s method with reducing processing time with
convoluting the region with averaging filter has a zero weight at bottom
right corner instead of center.
Where the values of a, b, and c for both kernels are 0.073235, 0.176765, and 0.125
respectively
International Conference on Frontiers of Image Processing (ICFIP 2017) 6
∑∑
∑∑
= =
= =
=
=
M
i
N
j
out
M
i
N
j
jiWjiIjiI
jiWjiIjiI
0 0
/
0 0
/
),(2).,(),(
),(1).,(),(
Various inpainting techniques on image
• H. Noori, S. Saryazdi, H. Nezamabadi: uses the gradient of known
pixels in the neighborhood of a missed pixel to compute weights in
convolving mask W(x) by proposing a function F(x).
Where k presents the pixel position, x is gradient value of the current pixel in the
image, α is a parameter giving an estimation of the missed pixel gradient control
the softness of propagation and f'(p) is estimated value, f(k) is value of a known
pixel, n is the number of known pixel in the current neighborhood.
International Conference on Frontiers of Image Processing (ICFIP 2017) 7


















≥
≤≤−
≤−
=
α
α
α
α
α
α
||0
||
2
)1(
2
||)(1
)( 2
2
xif
xif
x
xif
x
xF
)(
1
)( kxF
n
xw =
)())()())(1()( 11
/
kfkwpfkwpf
n
k
n
k ∑∑ −−
+−=
Image measurement matrices
• RMSE: The root mean square error
• PSNR: Peak Signal to Noise Ratio is computed by
International Conference on Frontiers of Image Processing (ICFIP 2017) 8
),,.
1
(
1 1
2
)(∑∑ −
= =
=
M
i
N
j
yx jijiMN
RMSE
)max(.20
2
10
log RMSEPSNR g=
Proposed method
In case of proposed method
•Inpaint damaged portion of the image without blurring output with taking
less time
•Dynamically detect the inpainted region with removing image’s noise
•Use only one Kernel/Mask where Oliveira method uses two kernels and
replacing the values of kernel
International Conference on Frontiers of Image Processing (ICFIP 2017) 9
0.080000 0.170000 0.080000
0.170000 0.080000 0.170000
0.080000 0.170000 0
Proposed method
1. Input Image with damage information
2. Color Image Converted in to Gray scale
3. Filter the image to remove noise using median filter
4. Find edge of Imid using “Canny Edge Detector” and smoothing image
to reduce the number of connected components producing Icanny
International Conference on Frontiers of Image Processing (ICFIP 2017) 10
)(
)(
]:1[]:1[
II
WI
W
sortmid
nsort
n
mid
sort
MNIF
=
=
=
Proposed method
5. Resize the image to produce mask image Imask which gives the target region
to be inpainted from Icanny
6. Calculate connected components to extract all the connected components.
7. Create 3x3 Window/kernel W and convolve the image using mask image and
following equation by checking damage using
8. Print Output and compute execution time
International Conference on Frontiers of Image Processing (ICFIP 2017) 11
∑∑= =
=
M
i
N
j
out jiWjiIjiI
0 0
),().,(),(
Experiment and result
International Conference on Frontiers of Image Processing (ICFIP 2017) 12
Experiment and result (CONT.)
International Conference on Frontiers of Image Processing (ICFIP 2017) 13
Figure/
Method
Oliveira
(seconds)
Noori
(seconds)
Hadhoud
(seconds)
Proposed
(seconds)
Fig-a 98.2739 86.0736 9.6012 27.0833
Fig-b 42.7693 37.4856 7.1990 15.2771
Fig-c 77.6711 63.4485 9.0671 21.4831
Figure/
Method
Oliveira Noori Hadhoud Proposed
Fig-a 12.0129 7.0215 12.9902 13.2219
Fig-b 12.7494 9.1248 14.4092 15.1507
Fig-c 15.1130 6.2251 13.1350 13.0310
TABLE 1: COMPARISON STUDY OF EXECUTION TIME OF PROPOSED METHOD
WITH OTHERS
TABLE 2: COMPARISON STUDY OF PSNR OF PROPOSED METHOD WITH
OTHERS
Conclusion and future work
• It has been demonstrated that proposed technique is capable of restoring
damaged/occluded 2D image
• It gives best result among those algorithms with reducing time without blurring images
• Used image extension was “.jpeg”
• It can be used in 3D ultrasound images as well as in CT, MRI, X-RAY and so on.
International Conference on Frontiers of Image Processing (ICFIP 2017) 14

More Related Content

What's hot

1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
mukesh bhardwaj
 
Image Inpainting Using Deep Learning
Image Inpainting Using Deep Learning Image Inpainting Using Deep Learning
Image Inpainting Using Deep Learning
MohammadPooya Malek
 
Learning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignmentLearning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignment
Zhiwen Shao
 
Viii sem
Viii semViii sem
Viii sem
Lavesh Kaushik
 
IRJET- A Comparative Review of Satellite Image Super Resolution Techniques
IRJET- A Comparative Review of Satellite Image Super Resolution TechniquesIRJET- A Comparative Review of Satellite Image Super Resolution Techniques
IRJET- A Comparative Review of Satellite Image Super Resolution Techniques
IRJET Journal
 
Prediction of Interpolants in Subsampled Radargram Slices
Prediction of Interpolants in Subsampled Radargram SlicesPrediction of Interpolants in Subsampled Radargram Slices
Prediction of Interpolants in Subsampled Radargram Slices
ijtsrd
 
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
iosrjce
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processing
Asad Ali
 
Design and Implementation of VLSI Architecture for Image Scaling Processor
Design and Implementation of VLSI Architecture for Image  Scaling ProcessorDesign and Implementation of VLSI Architecture for Image  Scaling Processor
Design and Implementation of VLSI Architecture for Image Scaling Processor
IJMER
 
BTP Presentation
BTP PresentationBTP Presentation
BTP Presentation
Dheeraj Sachan
 
S+SSPR 2010 Workshop
S+SSPR 2010 WorkshopS+SSPR 2010 Workshop
S+SSPR 2010 Workshop
Dakshina Ranjan Kisku
 
Math behind the kernels
Math behind the kernelsMath behind the kernels
Math behind the kernels
Revanth Kumar
 
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
CrimsonpublishersTTEFT
 
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
Association of Scientists, Developers and Faculties
 
Visual Cryptography using Image Thresholding
Visual Cryptography using Image ThresholdingVisual Cryptography using Image Thresholding
Visual Cryptography using Image Thresholding
IRJET Journal
 
histogram equalization of grayscale and color image
histogram equalization of grayscale and color imagehistogram equalization of grayscale and color image
histogram equalization of grayscale and color image
Saeed Ullah
 
Project_2
Project_2Project_2
Image Inpainting Using Cloning Algorithms
Image Inpainting Using Cloning AlgorithmsImage Inpainting Using Cloning Algorithms
Image Inpainting Using Cloning Algorithms
CSCJournals
 
An Enhanced Adaptive Wavelet Transform Image Inpainting Technique
An Enhanced Adaptive Wavelet Transform Image Inpainting TechniqueAn Enhanced Adaptive Wavelet Transform Image Inpainting Technique
An Enhanced Adaptive Wavelet Transform Image Inpainting Technique
IRJET Journal
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)
Moe Moe Myint
 

What's hot (20)

1.arithmetic & logical operations
1.arithmetic & logical operations1.arithmetic & logical operations
1.arithmetic & logical operations
 
Image Inpainting Using Deep Learning
Image Inpainting Using Deep Learning Image Inpainting Using Deep Learning
Image Inpainting Using Deep Learning
 
Learning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignmentLearning a multi-center convolutional network for unconstrained face alignment
Learning a multi-center convolutional network for unconstrained face alignment
 
Viii sem
Viii semViii sem
Viii sem
 
IRJET- A Comparative Review of Satellite Image Super Resolution Techniques
IRJET- A Comparative Review of Satellite Image Super Resolution TechniquesIRJET- A Comparative Review of Satellite Image Super Resolution Techniques
IRJET- A Comparative Review of Satellite Image Super Resolution Techniques
 
Prediction of Interpolants in Subsampled Radargram Slices
Prediction of Interpolants in Subsampled Radargram SlicesPrediction of Interpolants in Subsampled Radargram Slices
Prediction of Interpolants in Subsampled Radargram Slices
 
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
 
Mathematical operations in image processing
Mathematical operations in image processingMathematical operations in image processing
Mathematical operations in image processing
 
Design and Implementation of VLSI Architecture for Image Scaling Processor
Design and Implementation of VLSI Architecture for Image  Scaling ProcessorDesign and Implementation of VLSI Architecture for Image  Scaling Processor
Design and Implementation of VLSI Architecture for Image Scaling Processor
 
BTP Presentation
BTP PresentationBTP Presentation
BTP Presentation
 
S+SSPR 2010 Workshop
S+SSPR 2010 WorkshopS+SSPR 2010 Workshop
S+SSPR 2010 Workshop
 
Math behind the kernels
Math behind the kernelsMath behind the kernels
Math behind the kernels
 
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
An Intelligent Skin Color Detection Method based on Fuzzy C-Means with Big Da...
 
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
Diabetic Retinopathy Image Enhancement using Vessel Extraction in Retinal Fun...
 
Visual Cryptography using Image Thresholding
Visual Cryptography using Image ThresholdingVisual Cryptography using Image Thresholding
Visual Cryptography using Image Thresholding
 
histogram equalization of grayscale and color image
histogram equalization of grayscale and color imagehistogram equalization of grayscale and color image
histogram equalization of grayscale and color image
 
Project_2
Project_2Project_2
Project_2
 
Image Inpainting Using Cloning Algorithms
Image Inpainting Using Cloning AlgorithmsImage Inpainting Using Cloning Algorithms
Image Inpainting Using Cloning Algorithms
 
An Enhanced Adaptive Wavelet Transform Image Inpainting Technique
An Enhanced Adaptive Wavelet Transform Image Inpainting TechniqueAn Enhanced Adaptive Wavelet Transform Image Inpainting Technique
An Enhanced Adaptive Wavelet Transform Image Inpainting Technique
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)
 

Similar to An Enhanced Model for Inpainting on Digital Images Using Dynamic Masking

De-convolution on Digital Images
De-convolution on Digital ImagesDe-convolution on Digital Images
De-convolution on Digital Images
Md. Shohel Rana
 
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
iosrjce
 
F017614146
F017614146F017614146
F017614146
IOSR Journals
 
K017236770
K017236770K017236770
K017236770
IOSR Journals
 
Lossless Image Compression Using Data Folding Followed By Arithmetic Coding
Lossless Image Compression Using Data Folding Followed By Arithmetic CodingLossless Image Compression Using Data Folding Followed By Arithmetic Coding
Lossless Image Compression Using Data Folding Followed By Arithmetic Coding
iosrjce
 
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
IJAAS Team
 
A binarization technique for extraction of devanagari text from camera based ...
A binarization technique for extraction of devanagari text from camera based ...A binarization technique for extraction of devanagari text from camera based ...
A binarization technique for extraction of devanagari text from camera based ...
sipij
 
Comparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting TechniquesComparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting Techniques
IOSR Journals
 
IRJET- Digit Identification in Natural Images
IRJET- Digit Identification in Natural ImagesIRJET- Digit Identification in Natural Images
IRJET- Digit Identification in Natural Images
IRJET Journal
 
Comparison of Rendering Processes on 3D Model
Comparison of Rendering Processes on 3D ModelComparison of Rendering Processes on 3D Model
Comparison of Rendering Processes on 3D Model
AIRCC Publishing Corporation
 
IRJET - Facial In-Painting using Deep Learning in Machine Learning
IRJET -  	  Facial In-Painting using Deep Learning in Machine LearningIRJET -  	  Facial In-Painting using Deep Learning in Machine Learning
IRJET - Facial In-Painting using Deep Learning in Machine Learning
IRJET Journal
 
Image inpainting
Image inpaintingImage inpainting
Image inpainting
Pulkit Goyal
 
Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...
CSCJournals
 
E1102012537
E1102012537E1102012537
E1102012537
IOSR Journals
 
Mobile Application Detection of Road Damage using Canny Algorithm
Mobile Application Detection of Road Damage using Canny AlgorithmMobile Application Detection of Road Damage using Canny Algorithm
Mobile Application Detection of Road Damage using Canny Algorithm
Universitas Pembangunan Panca Budi
 
Ijetcas14 447
Ijetcas14 447Ijetcas14 447
Ijetcas14 447
Iasir Journals
 
Image Compression based on DCT and BPSO for MRI and Standard Images
Image Compression based on DCT and BPSO for MRI and Standard ImagesImage Compression based on DCT and BPSO for MRI and Standard Images
Image Compression based on DCT and BPSO for MRI and Standard Images
IJERA Editor
 
P180203105108
P180203105108P180203105108
P180203105108
IOSR Journals
 
C1802050815
C1802050815C1802050815
C1802050815
IOSR Journals
 
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
CSCJournals
 

Similar to An Enhanced Model for Inpainting on Digital Images Using Dynamic Masking (20)

De-convolution on Digital Images
De-convolution on Digital ImagesDe-convolution on Digital Images
De-convolution on Digital Images
 
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
An Efficient Approach of Segmentation and Blind Deconvolution in Image Restor...
 
F017614146
F017614146F017614146
F017614146
 
K017236770
K017236770K017236770
K017236770
 
Lossless Image Compression Using Data Folding Followed By Arithmetic Coding
Lossless Image Compression Using Data Folding Followed By Arithmetic CodingLossless Image Compression Using Data Folding Followed By Arithmetic Coding
Lossless Image Compression Using Data Folding Followed By Arithmetic Coding
 
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
SLIC Superpixel Based Self Organizing Maps Algorithm for Segmentation of Micr...
 
A binarization technique for extraction of devanagari text from camera based ...
A binarization technique for extraction of devanagari text from camera based ...A binarization technique for extraction of devanagari text from camera based ...
A binarization technique for extraction of devanagari text from camera based ...
 
Comparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting TechniquesComparative Study and Analysis of Image Inpainting Techniques
Comparative Study and Analysis of Image Inpainting Techniques
 
IRJET- Digit Identification in Natural Images
IRJET- Digit Identification in Natural ImagesIRJET- Digit Identification in Natural Images
IRJET- Digit Identification in Natural Images
 
Comparison of Rendering Processes on 3D Model
Comparison of Rendering Processes on 3D ModelComparison of Rendering Processes on 3D Model
Comparison of Rendering Processes on 3D Model
 
IRJET - Facial In-Painting using Deep Learning in Machine Learning
IRJET -  	  Facial In-Painting using Deep Learning in Machine LearningIRJET -  	  Facial In-Painting using Deep Learning in Machine Learning
IRJET - Facial In-Painting using Deep Learning in Machine Learning
 
Image inpainting
Image inpaintingImage inpainting
Image inpainting
 
Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...
 
E1102012537
E1102012537E1102012537
E1102012537
 
Mobile Application Detection of Road Damage using Canny Algorithm
Mobile Application Detection of Road Damage using Canny AlgorithmMobile Application Detection of Road Damage using Canny Algorithm
Mobile Application Detection of Road Damage using Canny Algorithm
 
Ijetcas14 447
Ijetcas14 447Ijetcas14 447
Ijetcas14 447
 
Image Compression based on DCT and BPSO for MRI and Standard Images
Image Compression based on DCT and BPSO for MRI and Standard ImagesImage Compression based on DCT and BPSO for MRI and Standard Images
Image Compression based on DCT and BPSO for MRI and Standard Images
 
P180203105108
P180203105108P180203105108
P180203105108
 
C1802050815
C1802050815C1802050815
C1802050815
 
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
 

More from Md. Shohel Rana

Cassandra - A Distributed Database System
Cassandra - A Distributed Database System Cassandra - A Distributed Database System
Cassandra - A Distributed Database System
Md. Shohel Rana
 
A Proposed PST Model for Enhancing E-Learning Experiences
A Proposed PST Model for Enhancing E-Learning ExperiencesA Proposed PST Model for Enhancing E-Learning Experiences
A Proposed PST Model for Enhancing E-Learning Experiences
Md. Shohel Rana
 
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Md. Shohel Rana
 
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Md. Shohel Rana
 
Malware analysis on android using supervised machine learning techniques
Malware analysis on android using supervised machine learning techniquesMalware analysis on android using supervised machine learning techniques
Malware analysis on android using supervised machine learning techniques
Md. Shohel Rana
 
Visual Techniques
Visual TechniquesVisual Techniques
Visual Techniques
Md. Shohel Rana
 

More from Md. Shohel Rana (6)

Cassandra - A Distributed Database System
Cassandra - A Distributed Database System Cassandra - A Distributed Database System
Cassandra - A Distributed Database System
 
A Proposed PST Model for Enhancing E-Learning Experiences
A Proposed PST Model for Enhancing E-Learning ExperiencesA Proposed PST Model for Enhancing E-Learning Experiences
A Proposed PST Model for Enhancing E-Learning Experiences
 
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
Speckle Noise Reduction in Ultrasound Images using Adaptive and Anisotropic D...
 
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
Comparing the Performance of Different Ultrasonic Image Enhancement Technique...
 
Malware analysis on android using supervised machine learning techniques
Malware analysis on android using supervised machine learning techniquesMalware analysis on android using supervised machine learning techniques
Malware analysis on android using supervised machine learning techniques
 
Visual Techniques
Visual TechniquesVisual Techniques
Visual Techniques
 

Recently uploaded

MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 

Recently uploaded (20)

MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 

An Enhanced Model for Inpainting on Digital Images Using Dynamic Masking

  • 1. International Conference on Frontiers of Image Processing (ICFIP 2017) 1 Date : March 3-5, 2017 Paper ID : 10 Location : Katmandu, Nepal Presented by: Md. Shohel Rana AN ENHANCED MODEL FOR INPAINTING ON DIGITAL IMAGES USING DYNAMIC MASKING
  • 2. Motivation and Contribution • Given image with significant portions missing or damaged • Dynamically detect the damaged regions to be inpainted • Reconstitute missing regions with data consistent with the rest of the image • Proposed a method which restore damaged area of the image reducing processing time without blurring output International Conference on Frontiers of Image Processing (ICFIP 2017) 2
  • 3. Inpainting • The technique of reconstruction of missing or damaged portion of the images • Techniques are in use for various applications like removal of scratches, restoring damaged/missing portions, or removal of object from the image • Inpainting technique can be categorized as follows:  Convolution Filter based method  Partial Differential Equation (PDE)  Others Algorithm • In general all convolution based methods provide good results • The convolution based equation is as follows Where Iout is inpainted image, I is the input image W is the Mask and M x N is size of the Image International Conference on Frontiers of Image Processing (ICFIP 2017) 3 ∑∑= = = M i N j out jiWjiIjiI 0 0 ),(),(),(
  • 4. Convolution based inpainting • Convolution of two functions f(x) and g(x) International Conference on Frontiers of Image Processing (ICFIP 2017) 4
  • 5. Various inpainting techniques on image • Bertalmio’s algorithm: The final equation for image I with inpainting region Ω Where • Oliveira Algorithm: Based on the Bertalmio method, Oliviera et al. have proposed an inpainting algorithm that relies exclusively on diffusion Where the values of a, b, and c for both kernels are 0.073235, 0.176765, and 0.125 respectively International Conference on Frontiers of Image Processing (ICFIP 2017) 5 ( ) ( ) Ω∈∀∆∆+=+ ),(|,),(|),(),(1 jijiItjiIjiI nnnn β |),,(| ),,( ),(:),( njiN njiN jiLji nn    ⋅= δβ ∑∑ ∑∑ = = = = = = M i N j out M i N j jiWjiIjiI jiWjiIjiI 0 0 / 0 0 / ),(2).,(),( ),(1).,(),(
  • 6. Various inpainting techniques on image • Hadhoud, Moustafa, and Shenoda’s Algorithm: They have proposed an improvement of Oliveira’s method with reducing processing time with convoluting the region with averaging filter has a zero weight at bottom right corner instead of center. Where the values of a, b, and c for both kernels are 0.073235, 0.176765, and 0.125 respectively International Conference on Frontiers of Image Processing (ICFIP 2017) 6 ∑∑ ∑∑ = = = = = = M i N j out M i N j jiWjiIjiI jiWjiIjiI 0 0 / 0 0 / ),(2).,(),( ),(1).,(),(
  • 7. Various inpainting techniques on image • H. Noori, S. Saryazdi, H. Nezamabadi: uses the gradient of known pixels in the neighborhood of a missed pixel to compute weights in convolving mask W(x) by proposing a function F(x). Where k presents the pixel position, x is gradient value of the current pixel in the image, α is a parameter giving an estimation of the missed pixel gradient control the softness of propagation and f'(p) is estimated value, f(k) is value of a known pixel, n is the number of known pixel in the current neighborhood. International Conference on Frontiers of Image Processing (ICFIP 2017) 7                   ≥ ≤≤− ≤− = α α α α α α ||0 || 2 )1( 2 ||)(1 )( 2 2 xif xif x xif x xF )( 1 )( kxF n xw = )())()())(1()( 11 / kfkwpfkwpf n k n k ∑∑ −− +−=
  • 8. Image measurement matrices • RMSE: The root mean square error • PSNR: Peak Signal to Noise Ratio is computed by International Conference on Frontiers of Image Processing (ICFIP 2017) 8 ),,. 1 ( 1 1 2 )(∑∑ − = = = M i N j yx jijiMN RMSE )max(.20 2 10 log RMSEPSNR g=
  • 9. Proposed method In case of proposed method •Inpaint damaged portion of the image without blurring output with taking less time •Dynamically detect the inpainted region with removing image’s noise •Use only one Kernel/Mask where Oliveira method uses two kernels and replacing the values of kernel International Conference on Frontiers of Image Processing (ICFIP 2017) 9 0.080000 0.170000 0.080000 0.170000 0.080000 0.170000 0.080000 0.170000 0
  • 10. Proposed method 1. Input Image with damage information 2. Color Image Converted in to Gray scale 3. Filter the image to remove noise using median filter 4. Find edge of Imid using “Canny Edge Detector” and smoothing image to reduce the number of connected components producing Icanny International Conference on Frontiers of Image Processing (ICFIP 2017) 10 )( )( ]:1[]:1[ II WI W sortmid nsort n mid sort MNIF = = =
  • 11. Proposed method 5. Resize the image to produce mask image Imask which gives the target region to be inpainted from Icanny 6. Calculate connected components to extract all the connected components. 7. Create 3x3 Window/kernel W and convolve the image using mask image and following equation by checking damage using 8. Print Output and compute execution time International Conference on Frontiers of Image Processing (ICFIP 2017) 11 ∑∑= = = M i N j out jiWjiIjiI 0 0 ),().,(),(
  • 12. Experiment and result International Conference on Frontiers of Image Processing (ICFIP 2017) 12
  • 13. Experiment and result (CONT.) International Conference on Frontiers of Image Processing (ICFIP 2017) 13 Figure/ Method Oliveira (seconds) Noori (seconds) Hadhoud (seconds) Proposed (seconds) Fig-a 98.2739 86.0736 9.6012 27.0833 Fig-b 42.7693 37.4856 7.1990 15.2771 Fig-c 77.6711 63.4485 9.0671 21.4831 Figure/ Method Oliveira Noori Hadhoud Proposed Fig-a 12.0129 7.0215 12.9902 13.2219 Fig-b 12.7494 9.1248 14.4092 15.1507 Fig-c 15.1130 6.2251 13.1350 13.0310 TABLE 1: COMPARISON STUDY OF EXECUTION TIME OF PROPOSED METHOD WITH OTHERS TABLE 2: COMPARISON STUDY OF PSNR OF PROPOSED METHOD WITH OTHERS
  • 14. Conclusion and future work • It has been demonstrated that proposed technique is capable of restoring damaged/occluded 2D image • It gives best result among those algorithms with reducing time without blurring images • Used image extension was “.jpeg” • It can be used in 3D ultrasound images as well as in CT, MRI, X-RAY and so on. International Conference on Frontiers of Image Processing (ICFIP 2017) 14