SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Tejus Adiga M
Department of Electronics and Communication, NMAMIT, Nitte.
Presented By:
Resampling
• Ideal resampling: Discrete -> Continuous -> Discrete.
• Practical resampling: Done entirely in discrete domain.
• Types of Resampling:
• Downsampling: Decrease size by M.
• Upsampling: Increase size by N.
• Fractional Resampling: Increase size my M and decrease by N (M/N).
• Traditional Methods:
• Blind Resampling: 2D Convolution. Eg Kernels Nearest Neighbor, Bilinear,
Bicubic, Bspline.
• Content Aware Resampling: Seam Carving, Edge Directed Interpolation (EDI),
Super Resolution.
• Seperability: 2D filtering = Performing 1D filtering two times in
each dimension one after another.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
2
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
3
Downsampling
• General Approach:
Anti Alias Filter
(LPF)
Downsampler
↓ 𝑁
Image 𝑊𝑥𝐻
Downsampled
Image
𝑊
2
𝑥
𝐻
2
• Practical Approach
𝑦 𝑚 =
𝑘=−𝑁/2
𝑁/2
𝐶 𝑘 𝑥2𝑚 −𝑘−1 0 ≤ 𝑚 ≤ 𝑊, 𝐻. 𝑁 𝑖𝑠 𝑓𝑖𝑙𝑡𝑒𝑟 𝑙𝑒𝑛𝑔𝑡ℎ
Downsampling
Kernel
Downsampled Image
𝑊
2
𝑥
𝐻
2
Image 𝑊𝑥𝐻
• Convolution
m-2 m-1 m m+1 m+2 m+3
Downscaled Image
Original Image
Fig 1: Downsampling process
x
Ck1Ck1 Ck2Ck2
hd(x)
0
1 Pixel
Distance
Fig 2: Downsampling Kernel
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
4
Upsampling
• General Approach:
Upsampler
↑ 𝑀
Low Pass FilterImage 𝑊𝑥𝐻
Upsampled Image
2𝑊 𝑥 2𝐻
• Practical Approach
𝑦2𝑚+1 =
𝑘=−𝑁/2
𝑁/2
𝐶 𝑘 𝑥 𝑚 −𝑘−1 0 ≤ 𝑚 ≤ 𝑊, 𝐻. 𝑁 𝑖𝑠 𝑓𝑖𝑙𝑡𝑒𝑟 𝑙𝑒𝑛𝑔𝑡ℎ
Upsampling Kernel
Upsampled Image
2𝑊 𝑥 2𝐻
Image 𝑊𝑥𝐻
• Convolution
Upscaled Image
m-2 m-1 m m+1 m+2 m+3
Original Image
m-3 m+4
Fig 3: Upsampling process
hu(k)
x
0
Fig 4: Upsampling Kernel
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
5
Blind Resampling – Nearest Neighbor
Fig 5: Spatial kernel and Frequency Response
• Downsampling: Discard Every alternate pixel.
• Upsampling: Replicate the Nearest Pixel.
• Artifacts: Aliasing-Increase 4 times for two fold resample.
• Kernel: Rectangular spatial kernel. Infinite frequency contents.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
6
Blind Resampling – Nearest Neighbor
Downsampled by 4
Downsampled by 2
Captured Image
Upsampled by 4
Fig 6: Downsampled and
Upsampled by factor of 2 and 4
Upsampled by 2
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
7
Blind Resampling – Bilinear
Fig 7: Spatial kernel and Frequency Response
• Downsampling and Upsampling: Average of two pixels. (4 pixels in 2D)
• Artifacts: Aliasing, Blurring.
• Filter Coefficients: ℎ 𝑏 𝑥 =
1
2
,
1
2
2
= 0.5, 0.5
• Kernel: Triangular or Tent Spatial kernel.
• Frequency response: Stop band attenuation better than Nearest Neighbor.
• Aliasing is reduced when compared to nearest Neighbor.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
8
Blind Resampling – Bilinear
Captured Image
Upsampled by 4
Fig 8: Downsampled and
Upsampled by factor of 2 and 4
Upsampled by 2
Downsampled by 4
Downsampled by 2
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
9
Blind Resampling – Bicubic
Fig 9: Spatial kernel and Frequency Response
• Downsampling and Upsampling: Weighted average of 4 pixels.
• Artifacts: Blurring.
• Filter: ℎ 𝑏 𝑥 =
3
2
𝑥 3 −
5
2
𝑥 2 + 1, 0 ≤ 𝑥 ≤ 1
−
1
2
𝑥 3 +
5
2
𝑥 2 − 4 𝑥 + 2, 1 < 𝑥 ≤ 2
0, 𝑥 > 2
• Frequency response: Stop band attenuation better than Bilinear.
• The 1st negative side lobe introduce controlled Ringing effect which makes image
appear sharper than they actually are.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
10
Blind Resampling – Bicubic
Captured Image
Upsampled by 4
Fig 10: Downsampled and
Upsampled by factor of 2 and 4
Upsampled by 2
Downsampled by 4
Downsampled by 2
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
11
Blind Resampling – Windowed Sinc
Fig 11: Windowed Sinc Kernel
• Artifacts: Ringing, Blurring.
• Filter: Truncated Sinc function. ℎ 𝑏 𝑥 =
sin
𝜋𝑥
2
𝜋𝑥
2
• Side lobes significantly contributes to Ringing.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
12
Blind Resampling – Lanczos
Fig 12: Lanczos Kernel for a=2 and a=3
• Weighted Average of 4 pixels.
• Artifacts: Blurring.
• Filter: ℎ 𝑏 𝑥 = 𝑠𝑖𝑛𝑐 𝑥 𝑠𝑖𝑛𝑐
𝑥
𝑎
− 𝑎 ≤ 𝑥 ≤ 𝑎 𝑎𝑛𝑑 𝑎 = 2, 3
• ‘a’ indicates number of lobes in one half of the filter.
• Effect of side lobes is decreased by multiplying another scaled sinc function.
But stronger enough to make image look sharper.
• Upsampled image sharper than Bicubic, Bilinear.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
13
Blind Resampling – Lanczos
Captured Image
Upsampled by 4
Fig 13: Downsampled and
Upsampled by factor of 2 and 4
Upsampled by 2
Downsampled by 4
Downsampled by 2
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
14
Artifacts in Image Resampling
• Aliasing:
• Jagged Edges.
• Introduced in Downsampling and Enhanced in Upsampling.
• Priority: Lanczos, Bicubic, Bilinear, nearest Neighbor.
• Ringing:
• Side lobes of lengthy filter contribute to false edges.
• Optimal filter length 4.
• Windowed Sinc.
• Blurring:
• LPF gains get multiplied while Downsampling and Upsampling.
• Information lost during Downsampling is irreversible. So in upsampling pixels
are filled with he help of existing information in Downsampled image.
• Priority: Nearest Neighbor, Bilinear, Lanczos, Bicubic.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
15
Artifacts
Ringing Example
Aliasing Example
Blurring Example
Fig 14: Examples of Ringing,
Aliasing and Blurring
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
16
Content Aware Resampling – Seam Carving
• Seam: 8-Connected set of pixels that runs from top to bottom or Left to Right.
• Principle: Low energy seam is not appealing to eyes.
• Applications:
• Image Retargeting: Resizing image, Changing Aspect Ratio.
• Object removal or insertion.
• Algorithm:
• Find the Gradient Map of the input image I.
𝐺 𝑥, 𝑦 =
𝜕𝐼
𝜕𝑥
+
𝜕𝐼
𝜕𝑦
• In Gradient Map search a unique path (seam) from top to bottom or left
to right such that Energy of the seam is minimum than all other possible
seam.
𝑠 = min
𝑠
𝑊/𝐻
𝑔(𝑥, 𝑦)
• Remove the seam or Duplicate the seam from the image I and G which
reduces/increases the width/height by 1 pixel.
• Iterate the above steps until desired size is achieved.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
17
Content Aware Resampling – Seam Carving
Fig 15: Seam Calculation using Gradient.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
18
Content Aware Resampling – Seam Carving
Fig 16: Comparison of Seam Carving with Scaling
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
19
Seam Carving – Failure Cases
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
20
Seam Carving – Failure Cases
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
21
Content Aware Resampling –
New Edge Directed interpolation (NEDI)
• Principle: Inter pixel relations are retained while Downscaling. Hence
Covariance in original Image and Downscaled image are nearly same.
• New Pixel Value = Weighted Sum of nearest 4 pixels. Weights are computed
dynamically according to local image characteristics.
𝑌2𝑖+1,2𝑗+1 =
𝑘=0
1
𝑙=0
1
𝛼2𝑘+𝑙 𝑌2 𝑖+𝑘 ,2 𝑗+𝑙
𝛼 = 𝑅−1
𝑟
𝑅 =
1
22
𝐶 𝑇
𝐶, 𝑎𝑛𝑑 𝑟 =
1
22
𝐶 𝑇
𝑦
Where 𝑦 = [𝑦1 … 𝑦 𝑘 … 𝑦22] 𝑇
is the data vector
containing the 2x2 pixels inside the local window
and C is a 4x22 data matrix whose kth column
vector is the four nearest neighbors of along the
diagonal direction.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
22
Content Aware Resampling – (NEDI)
Fig 16: Comparison of NEDI with Bicubic filter
Downscaled Image
Upscaled 4X using NEDI Upscaled 4X using Bicubic
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
23
Conclusion
• Trade off:
• Quality
• Speed of Operation
• Requirement
• Information lost during Downsampling cannot be recovered while upsampling.
• Future Work:
• Improvement of Content Aware Resizing methods.
• Adding Resolution.
28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte.
24
References
1. New Edge-Directed Interpolation, Xin Li and Michael T. Orchard. IEEE TRANSACTIONS ON
IMAGE PROCESSING, VOL. 10, NO. 10, OCTOBER 2012.
2. Local and Nonlocal Regularization to Image Interpolation, Yi Zhan, Sheng Jie Li, and Meng Li,
Mathematical Problems in Engineering, Volume 2014 (2014), Article ID 230348.
3. Adaptive multidirectional edge directed interpolation for selected edge regions. TENCON 2011 -
2011 IEEE Region 10 Conference.
4. V.R. Algazi, G.E. Ford and R. Potharlanka, "Directional interpolation of images based on visual
properties and rank order filtering", Proceeding of ICASSP' 1991, pp.3005-3008.
5. Seam Carving for Content-Aware Image Resizing. Shai Avidan and Ariel Shamir. Proceedings of
ACM SIGGRAPH, 417–424.
6. J. Allebach and P.W. Wong, "Edge-directed interpolation", Proceeding of ICIP 1996, Page No
707-710.
7. Keys, R., “Cubic Convolution Interpolation for Digital Image Processing”, IEEE Trans on ASSP, vol
ASSP-29, No. 6, Page No 1153-1160. Dec 1981.
8. New Filters for Image Interpolation and Resizing, Amir Said, IEEE International Conference on
Image Processing, VOL. 8, 2007.
9. Image Zooming Methods, Bax Smith.
10. “Interpolation Theory”
http://sepwww.stanford.edu/public/docs/sep107/paper_html/node20.html

Weitere ähnliche Inhalte

Was ist angesagt?

VVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossVVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossMathias Wien
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 VideoDr. Mohieddin Moradi
 
An Introduction to Video Principles-Part 1
An Introduction to Video Principles-Part 1   An Introduction to Video Principles-Part 1
An Introduction to Video Principles-Part 1 Dr. Mohieddin Moradi
 
VVC tutorial at VCIP 2020 together with Benjamin Bross
VVC tutorial at VCIP 2020 together with Benjamin BrossVVC tutorial at VCIP 2020 together with Benjamin Bross
VVC tutorial at VCIP 2020 together with Benjamin BrossMathias Wien
 
Comparison of compression efficiency between HEVC and VP9 based on subjective...
Comparison of compression efficiency between HEVC and VP9 based on subjective...Comparison of compression efficiency between HEVC and VP9 based on subjective...
Comparison of compression efficiency between HEVC and VP9 based on subjective...Touradj Ebrahimi
 
Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Dr. Mohieddin Moradi
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & BroadcastingDr. Mohieddin Moradi
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612NITC
 
Introduction to HEVC
Introduction to HEVCIntroduction to HEVC
Introduction to HEVCYoss Cohen
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossMathias Wien
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Dr. Mohieddin Moradi
 
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingMachine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingAlpen-Adria-Universität
 

Was ist angesagt? (20)

VVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin BrossVVC tutorial at ICIP 2020 together with Benjamin Bross
VVC tutorial at ICIP 2020 together with Benjamin Bross
 
VIDEO CODECS
VIDEO CODECSVIDEO CODECS
VIDEO CODECS
 
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 VideoAn Introduction to  Versatile Video Coding (VVC) for UHD, HDR and 360 Video
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
 
An Introduction to Video Principles-Part 1
An Introduction to Video Principles-Part 1   An Introduction to Video Principles-Part 1
An Introduction to Video Principles-Part 1
 
VVC tutorial at VCIP 2020 together with Benjamin Bross
VVC tutorial at VCIP 2020 together with Benjamin BrossVVC tutorial at VCIP 2020 together with Benjamin Bross
VVC tutorial at VCIP 2020 together with Benjamin Bross
 
Feature hevc
Feature hevcFeature hevc
Feature hevc
 
Comparison of compression efficiency between HEVC and VP9 based on subjective...
Comparison of compression efficiency between HEVC and VP9 based on subjective...Comparison of compression efficiency between HEVC and VP9 based on subjective...
Comparison of compression efficiency between HEVC and VP9 based on subjective...
 
H.264 vs HEVC
H.264 vs HEVCH.264 vs HEVC
H.264 vs HEVC
 
MPEG4 vs H.264
MPEG4 vs H.264MPEG4 vs H.264
MPEG4 vs H.264
 
Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts Video Compression, Part 2-Section 1, Video Coding Concepts
Video Compression, Part 2-Section 1, Video Coding Concepts
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & Broadcasting
 
10.1.1.184.6612
10.1.1.184.661210.1.1.184.6612
10.1.1.184.6612
 
Open VLC Platform
Open VLC PlatformOpen VLC Platform
Open VLC Platform
 
SDI to IP 2110 Transition Part 1
SDI to IP 2110 Transition Part 1SDI to IP 2110 Transition Part 1
SDI to IP 2110 Transition Part 1
 
Introduction to HEVC
Introduction to HEVCIntroduction to HEVC
Introduction to HEVC
 
HDR and WCG Principles-Part 5
HDR and WCG Principles-Part 5HDR and WCG Principles-Part 5
HDR and WCG Principles-Part 5
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin Bross
 
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
Serial Digital Interface (SDI), From SD-SDI to 24G-SDI, Part 2
 
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingMachine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
 
20 Years of Streaming in 20 Minutes
20 Years of Streaming in 20 Minutes20 Years of Streaming in 20 Minutes
20 Years of Streaming in 20 Minutes
 

Andere mochten auch

Voice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency FilteringVoice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency FilteringTejus Adiga M
 
Linked In Upload Gis
Linked In Upload   GisLinked In Upload   Gis
Linked In Upload Gisnadinwelsh
 
Voice recognition system
Voice recognition systemVoice recognition system
Voice recognition systemavinash raibole
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)Varun Ravi
 
Transforming Rasters and Point Clouds using FME
Transforming Rasters and Point Clouds using FMETransforming Rasters and Point Clouds using FME
Transforming Rasters and Point Clouds using FMERaghavendran S
 
Creating Photobooks in iBooks Author
Creating Photobooks in iBooks AuthorCreating Photobooks in iBooks Author
Creating Photobooks in iBooks AuthorElaine Giles
 
Smart wheel chair based on voice recognition for handicapped
Smart wheel chair based on voice recognition for handicappedSmart wheel chair based on voice recognition for handicapped
Smart wheel chair based on voice recognition for handicappedSagar Bayas
 

Andere mochten auch (12)

Resampling- GIS
Resampling- GISResampling- GIS
Resampling- GIS
 
Voice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency FilteringVoice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency Filtering
 
Resampling methods
Resampling methodsResampling methods
Resampling methods
 
Linked In Upload Gis
Linked In Upload   GisLinked In Upload   Gis
Linked In Upload Gis
 
Quadrature Sampling
Quadrature SamplingQuadrature Sampling
Quadrature Sampling
 
Angular MIMO
Angular MIMOAngular MIMO
Angular MIMO
 
Voice recognition system
Voice recognition systemVoice recognition system
Voice recognition system
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
 
Transforming Rasters and Point Clouds using FME
Transforming Rasters and Point Clouds using FMETransforming Rasters and Point Clouds using FME
Transforming Rasters and Point Clouds using FME
 
Creating Photobooks in iBooks Author
Creating Photobooks in iBooks AuthorCreating Photobooks in iBooks Author
Creating Photobooks in iBooks Author
 
Bio-metrics Technology
Bio-metrics TechnologyBio-metrics Technology
Bio-metrics Technology
 
Smart wheel chair based on voice recognition for handicapped
Smart wheel chair based on voice recognition for handicappedSmart wheel chair based on voice recognition for handicapped
Smart wheel chair based on voice recognition for handicapped
 

Ähnlich wie Resampling

Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...sipij
 
mvitelli_ee367_final_report
mvitelli_ee367_final_reportmvitelli_ee367_final_report
mvitelli_ee367_final_reportMatt Vitelli
 
Study on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit ScoringStudy on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit Scoringharmonylab
 
Multimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact detailsMultimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact detailsSebastiano Battiato
 
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...paperpublications3
 
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...IRJET Journal
 
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 TechniquesIRJET Journal
 
X-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodX-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodIRJET Journal
 
Meta-MapReduce- A Technique for Reducing Communication in MapReduce Computations
Meta-MapReduce- A Technique for Reducing Communication in MapReduce ComputationsMeta-MapReduce- A Technique for Reducing Communication in MapReduce Computations
Meta-MapReduce- A Technique for Reducing Communication in MapReduce ComputationsShantanu Sharma
 
Graph Analysis Beyond Linear Algebra
Graph Analysis Beyond Linear AlgebraGraph Analysis Beyond Linear Algebra
Graph Analysis Beyond Linear AlgebraJason Riedy
 
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...IRJET Journal
 
Comparative Analysis of image Enhancement Techniques on Real Time images
Comparative Analysis of image Enhancement Techniques on Real Time imagesComparative Analysis of image Enhancement Techniques on Real Time images
Comparative Analysis of image Enhancement Techniques on Real Time imagesIJSRED
 
Network Deconvolution review [cdm]
Network Deconvolution review [cdm]Network Deconvolution review [cdm]
Network Deconvolution review [cdm]Dongmin Choi
 
Metric Recovery from Unweighted k-NN Graphs
Metric Recovery from Unweighted k-NN GraphsMetric Recovery from Unweighted k-NN Graphs
Metric Recovery from Unweighted k-NN Graphsjoisino
 
30thSep2014
30thSep201430thSep2014
30thSep2014Mia liu
 
Image enhancement techniques a review
Image enhancement techniques   a reviewImage enhancement techniques   a review
Image enhancement techniques a revieweSAT Journals
 
The neural tangent link between CNN denoisers and non-local filters
The neural tangent link between CNN denoisers and non-local filtersThe neural tangent link between CNN denoisers and non-local filters
The neural tangent link between CNN denoisers and non-local filtersJulián Tachella
 
Nonlinear dimension reduction
Nonlinear dimension reductionNonlinear dimension reduction
Nonlinear dimension reductionYan Xu
 
Novel algorithm for color image demosaikcing using laplacian mask
Novel algorithm for color image demosaikcing using laplacian maskNovel algorithm for color image demosaikcing using laplacian mask
Novel algorithm for color image demosaikcing using laplacian maskeSAT Journals
 

Ähnlich wie Resampling (20)

Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...Performance analysis of high resolution images using interpolation techniques...
Performance analysis of high resolution images using interpolation techniques...
 
mvitelli_ee367_final_report
mvitelli_ee367_final_reportmvitelli_ee367_final_report
mvitelli_ee367_final_report
 
Double patterning for 32nm and beyond
Double patterning for 32nm and beyondDouble patterning for 32nm and beyond
Double patterning for 32nm and beyond
 
Study on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit ScoringStudy on Application of Ensemble learning on Credit Scoring
Study on Application of Ensemble learning on Credit Scoring
 
Multimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact detailsMultimedia Security - JPEG Artifact details
Multimedia Security - JPEG Artifact details
 
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...
NUMBER PLATE IMAGE DETECTION FOR FAST MOTION VEHICLES USING BLUR KERNEL ESTIM...
 
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
Translation Invariance (TI) based Novel Approach for better De-noising of Dig...
 
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
 
X-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE MethodX-Ray Image Enhancement using CLAHE Method
X-Ray Image Enhancement using CLAHE Method
 
Meta-MapReduce- A Technique for Reducing Communication in MapReduce Computations
Meta-MapReduce- A Technique for Reducing Communication in MapReduce ComputationsMeta-MapReduce- A Technique for Reducing Communication in MapReduce Computations
Meta-MapReduce- A Technique for Reducing Communication in MapReduce Computations
 
Graph Analysis Beyond Linear Algebra
Graph Analysis Beyond Linear AlgebraGraph Analysis Beyond Linear Algebra
Graph Analysis Beyond Linear Algebra
 
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...
Enhanced Watemarked Images by Various Attacks Based on DWT with Differential ...
 
Comparative Analysis of image Enhancement Techniques on Real Time images
Comparative Analysis of image Enhancement Techniques on Real Time imagesComparative Analysis of image Enhancement Techniques on Real Time images
Comparative Analysis of image Enhancement Techniques on Real Time images
 
Network Deconvolution review [cdm]
Network Deconvolution review [cdm]Network Deconvolution review [cdm]
Network Deconvolution review [cdm]
 
Metric Recovery from Unweighted k-NN Graphs
Metric Recovery from Unweighted k-NN GraphsMetric Recovery from Unweighted k-NN Graphs
Metric Recovery from Unweighted k-NN Graphs
 
30thSep2014
30thSep201430thSep2014
30thSep2014
 
Image enhancement techniques a review
Image enhancement techniques   a reviewImage enhancement techniques   a review
Image enhancement techniques a review
 
The neural tangent link between CNN denoisers and non-local filters
The neural tangent link between CNN denoisers and non-local filtersThe neural tangent link between CNN denoisers and non-local filters
The neural tangent link between CNN denoisers and non-local filters
 
Nonlinear dimension reduction
Nonlinear dimension reductionNonlinear dimension reduction
Nonlinear dimension reduction
 
Novel algorithm for color image demosaikcing using laplacian mask
Novel algorithm for color image demosaikcing using laplacian maskNovel algorithm for color image demosaikcing using laplacian mask
Novel algorithm for color image demosaikcing using laplacian mask
 

Kürzlich hochgeladen

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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Kürzlich hochgeladen (20)

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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Resampling

  • 1. Tejus Adiga M Department of Electronics and Communication, NMAMIT, Nitte. Presented By:
  • 2. Resampling • Ideal resampling: Discrete -> Continuous -> Discrete. • Practical resampling: Done entirely in discrete domain. • Types of Resampling: • Downsampling: Decrease size by M. • Upsampling: Increase size by N. • Fractional Resampling: Increase size my M and decrease by N (M/N). • Traditional Methods: • Blind Resampling: 2D Convolution. Eg Kernels Nearest Neighbor, Bilinear, Bicubic, Bspline. • Content Aware Resampling: Seam Carving, Edge Directed Interpolation (EDI), Super Resolution. • Seperability: 2D filtering = Performing 1D filtering two times in each dimension one after another. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 2
  • 3. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 3 Downsampling • General Approach: Anti Alias Filter (LPF) Downsampler ↓ 𝑁 Image 𝑊𝑥𝐻 Downsampled Image 𝑊 2 𝑥 𝐻 2 • Practical Approach 𝑦 𝑚 = 𝑘=−𝑁/2 𝑁/2 𝐶 𝑘 𝑥2𝑚 −𝑘−1 0 ≤ 𝑚 ≤ 𝑊, 𝐻. 𝑁 𝑖𝑠 𝑓𝑖𝑙𝑡𝑒𝑟 𝑙𝑒𝑛𝑔𝑡ℎ Downsampling Kernel Downsampled Image 𝑊 2 𝑥 𝐻 2 Image 𝑊𝑥𝐻 • Convolution m-2 m-1 m m+1 m+2 m+3 Downscaled Image Original Image Fig 1: Downsampling process x Ck1Ck1 Ck2Ck2 hd(x) 0 1 Pixel Distance Fig 2: Downsampling Kernel
  • 4. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 4 Upsampling • General Approach: Upsampler ↑ 𝑀 Low Pass FilterImage 𝑊𝑥𝐻 Upsampled Image 2𝑊 𝑥 2𝐻 • Practical Approach 𝑦2𝑚+1 = 𝑘=−𝑁/2 𝑁/2 𝐶 𝑘 𝑥 𝑚 −𝑘−1 0 ≤ 𝑚 ≤ 𝑊, 𝐻. 𝑁 𝑖𝑠 𝑓𝑖𝑙𝑡𝑒𝑟 𝑙𝑒𝑛𝑔𝑡ℎ Upsampling Kernel Upsampled Image 2𝑊 𝑥 2𝐻 Image 𝑊𝑥𝐻 • Convolution Upscaled Image m-2 m-1 m m+1 m+2 m+3 Original Image m-3 m+4 Fig 3: Upsampling process hu(k) x 0 Fig 4: Upsampling Kernel
  • 5. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 5 Blind Resampling – Nearest Neighbor Fig 5: Spatial kernel and Frequency Response • Downsampling: Discard Every alternate pixel. • Upsampling: Replicate the Nearest Pixel. • Artifacts: Aliasing-Increase 4 times for two fold resample. • Kernel: Rectangular spatial kernel. Infinite frequency contents.
  • 6. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 6 Blind Resampling – Nearest Neighbor Downsampled by 4 Downsampled by 2 Captured Image Upsampled by 4 Fig 6: Downsampled and Upsampled by factor of 2 and 4 Upsampled by 2
  • 7. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 7 Blind Resampling – Bilinear Fig 7: Spatial kernel and Frequency Response • Downsampling and Upsampling: Average of two pixels. (4 pixels in 2D) • Artifacts: Aliasing, Blurring. • Filter Coefficients: ℎ 𝑏 𝑥 = 1 2 , 1 2 2 = 0.5, 0.5 • Kernel: Triangular or Tent Spatial kernel. • Frequency response: Stop band attenuation better than Nearest Neighbor. • Aliasing is reduced when compared to nearest Neighbor.
  • 8. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 8 Blind Resampling – Bilinear Captured Image Upsampled by 4 Fig 8: Downsampled and Upsampled by factor of 2 and 4 Upsampled by 2 Downsampled by 4 Downsampled by 2
  • 9. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 9 Blind Resampling – Bicubic Fig 9: Spatial kernel and Frequency Response • Downsampling and Upsampling: Weighted average of 4 pixels. • Artifacts: Blurring. • Filter: ℎ 𝑏 𝑥 = 3 2 𝑥 3 − 5 2 𝑥 2 + 1, 0 ≤ 𝑥 ≤ 1 − 1 2 𝑥 3 + 5 2 𝑥 2 − 4 𝑥 + 2, 1 < 𝑥 ≤ 2 0, 𝑥 > 2 • Frequency response: Stop band attenuation better than Bilinear. • The 1st negative side lobe introduce controlled Ringing effect which makes image appear sharper than they actually are.
  • 10. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 10 Blind Resampling – Bicubic Captured Image Upsampled by 4 Fig 10: Downsampled and Upsampled by factor of 2 and 4 Upsampled by 2 Downsampled by 4 Downsampled by 2
  • 11. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 11 Blind Resampling – Windowed Sinc Fig 11: Windowed Sinc Kernel • Artifacts: Ringing, Blurring. • Filter: Truncated Sinc function. ℎ 𝑏 𝑥 = sin 𝜋𝑥 2 𝜋𝑥 2 • Side lobes significantly contributes to Ringing.
  • 12. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 12 Blind Resampling – Lanczos Fig 12: Lanczos Kernel for a=2 and a=3 • Weighted Average of 4 pixels. • Artifacts: Blurring. • Filter: ℎ 𝑏 𝑥 = 𝑠𝑖𝑛𝑐 𝑥 𝑠𝑖𝑛𝑐 𝑥 𝑎 − 𝑎 ≤ 𝑥 ≤ 𝑎 𝑎𝑛𝑑 𝑎 = 2, 3 • ‘a’ indicates number of lobes in one half of the filter. • Effect of side lobes is decreased by multiplying another scaled sinc function. But stronger enough to make image look sharper. • Upsampled image sharper than Bicubic, Bilinear.
  • 13. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 13 Blind Resampling – Lanczos Captured Image Upsampled by 4 Fig 13: Downsampled and Upsampled by factor of 2 and 4 Upsampled by 2 Downsampled by 4 Downsampled by 2
  • 14. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 14 Artifacts in Image Resampling • Aliasing: • Jagged Edges. • Introduced in Downsampling and Enhanced in Upsampling. • Priority: Lanczos, Bicubic, Bilinear, nearest Neighbor. • Ringing: • Side lobes of lengthy filter contribute to false edges. • Optimal filter length 4. • Windowed Sinc. • Blurring: • LPF gains get multiplied while Downsampling and Upsampling. • Information lost during Downsampling is irreversible. So in upsampling pixels are filled with he help of existing information in Downsampled image. • Priority: Nearest Neighbor, Bilinear, Lanczos, Bicubic.
  • 15. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 15 Artifacts Ringing Example Aliasing Example Blurring Example Fig 14: Examples of Ringing, Aliasing and Blurring
  • 16. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 16 Content Aware Resampling – Seam Carving • Seam: 8-Connected set of pixels that runs from top to bottom or Left to Right. • Principle: Low energy seam is not appealing to eyes. • Applications: • Image Retargeting: Resizing image, Changing Aspect Ratio. • Object removal or insertion. • Algorithm: • Find the Gradient Map of the input image I. 𝐺 𝑥, 𝑦 = 𝜕𝐼 𝜕𝑥 + 𝜕𝐼 𝜕𝑦 • In Gradient Map search a unique path (seam) from top to bottom or left to right such that Energy of the seam is minimum than all other possible seam. 𝑠 = min 𝑠 𝑊/𝐻 𝑔(𝑥, 𝑦) • Remove the seam or Duplicate the seam from the image I and G which reduces/increases the width/height by 1 pixel. • Iterate the above steps until desired size is achieved.
  • 17. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 17 Content Aware Resampling – Seam Carving Fig 15: Seam Calculation using Gradient.
  • 18. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 18 Content Aware Resampling – Seam Carving Fig 16: Comparison of Seam Carving with Scaling
  • 19. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 19 Seam Carving – Failure Cases
  • 20. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 20 Seam Carving – Failure Cases
  • 21. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 21 Content Aware Resampling – New Edge Directed interpolation (NEDI) • Principle: Inter pixel relations are retained while Downscaling. Hence Covariance in original Image and Downscaled image are nearly same. • New Pixel Value = Weighted Sum of nearest 4 pixels. Weights are computed dynamically according to local image characteristics. 𝑌2𝑖+1,2𝑗+1 = 𝑘=0 1 𝑙=0 1 𝛼2𝑘+𝑙 𝑌2 𝑖+𝑘 ,2 𝑗+𝑙 𝛼 = 𝑅−1 𝑟 𝑅 = 1 22 𝐶 𝑇 𝐶, 𝑎𝑛𝑑 𝑟 = 1 22 𝐶 𝑇 𝑦 Where 𝑦 = [𝑦1 … 𝑦 𝑘 … 𝑦22] 𝑇 is the data vector containing the 2x2 pixels inside the local window and C is a 4x22 data matrix whose kth column vector is the four nearest neighbors of along the diagonal direction.
  • 22. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 22 Content Aware Resampling – (NEDI) Fig 16: Comparison of NEDI with Bicubic filter Downscaled Image Upscaled 4X using NEDI Upscaled 4X using Bicubic
  • 23. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 23 Conclusion • Trade off: • Quality • Speed of Operation • Requirement • Information lost during Downsampling cannot be recovered while upsampling. • Future Work: • Improvement of Content Aware Resizing methods. • Adding Resolution.
  • 24. 28 October 2015 Department of Electronics and Communications, NMAMIT, Nitte. 24 References 1. New Edge-Directed Interpolation, Xin Li and Michael T. Orchard. IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 10, NO. 10, OCTOBER 2012. 2. Local and Nonlocal Regularization to Image Interpolation, Yi Zhan, Sheng Jie Li, and Meng Li, Mathematical Problems in Engineering, Volume 2014 (2014), Article ID 230348. 3. Adaptive multidirectional edge directed interpolation for selected edge regions. TENCON 2011 - 2011 IEEE Region 10 Conference. 4. V.R. Algazi, G.E. Ford and R. Potharlanka, "Directional interpolation of images based on visual properties and rank order filtering", Proceeding of ICASSP' 1991, pp.3005-3008. 5. Seam Carving for Content-Aware Image Resizing. Shai Avidan and Ariel Shamir. Proceedings of ACM SIGGRAPH, 417–424. 6. J. Allebach and P.W. Wong, "Edge-directed interpolation", Proceeding of ICIP 1996, Page No 707-710. 7. Keys, R., “Cubic Convolution Interpolation for Digital Image Processing”, IEEE Trans on ASSP, vol ASSP-29, No. 6, Page No 1153-1160. Dec 1981. 8. New Filters for Image Interpolation and Resizing, Amir Said, IEEE International Conference on Image Processing, VOL. 8, 2007. 9. Image Zooming Methods, Bax Smith. 10. “Interpolation Theory” http://sepwww.stanford.edu/public/docs/sep107/paper_html/node20.html