SlideShare ist ein Scribd-Unternehmen logo
1 von 27
IMAGE CONTRAST
ENHANCEMENT METHODS
7-10-2015
ANALYSIS OF CONTRAST ENHANCEMENT
METHODS
 Contrast is the difference in
visual properties that makes
an object (or image)
distinguishable from other
objects and the
background.
 It is the different between
the darker and the lighter
pixel of the image, if it is big
the image will have high
contrast and in the other
case the image will have
low contrast.
CONTRAST DEFINITION
CONTRAST ENHANCEMENT METHODS
 The principal objective of enhancement is to process an
image so that the result is more suitable than the
original image for a specific application.
 For example, a method that is quite useful for
enhancing X-ray images may not necessarily be the
best approach for enhancing pictures of Mars
transmitted by a space probe.
Image
enhancement
Spatial
domain
methods
Frequency
domain
methods
SPATIAL DOMAIN METHODS
 The term spatial domain refers to the image plane
itself.
 Spatial domain methods are procedures that
operate directly on these pixels in an image.
 Spatial domain processes will be denoted by the
expression g(x,y)=T[f(x,y)], where f(x,y) is the input
image, g(x,y) is the processed image, and T is an
operator on f, defined over some neighborhood of
(x, y).
FREQUENCY DOMAIN METHODS
 Frequency domain processing techniques are
based on modifying the Fourier transform of an
image.
 More suitable for filtering spectrums.
 Any function that periodically repeats itself can be
expressed as the sum of sines and cosines of
different frequencies, each multiplied by a different
coefficient.
LOGARITHMIC TRANSFORMATION
 The general form is
s = c * log (1 + r),
where s is the output value, r is the input value and
c is a constant.
 This transformation maps a narrow range of low
gray-level values in the input image into a wider
range of output levels.
MATHEMATICAL MODELING
FLOW CHART FOR IMPLEMENTATION OF
LOGARITHMIC TRANSFORMATION
CODE FOR LOGARITHMIC TRANSFORMATION
im=imread('cameraman.tif');
subplot(231),imshow(im);
title('original image');
imd=im2double(im);
c=2.5;
d=0.5;
im3=c*log(1+imd);
im4=d*log(1+imd);
subplot(232),imshow(im3);
title('transformed image(c=2.5)');
subplot(233),imshow(im4);
title('transformed image(c=0.5)');
subplot(234),imhist(im);
title('histogram of the original image');
subplot(235),imhist(im3);
title('histogram of the transformed image(c=2.5)');
subplot(236),imhist(im4);
title('histogram of the transformed image(c=0.5)');
EXPERIMENTAL RESULTS
POWER-LAW TRANSFORMATION
 The general form is s = c * 𝐫 𝜸
,
where c and γ are positive
constants.
 Power-law curves with
fractional values of γ map a
narrow range of dark input
values into a wider range of
output values, with the
opposite being true for higher
values of input levels.
FLOW CHART FOR IMPLEMENTATION OF
POWER LAW TRANSFORMATION
CODE FOR POWER LAW TRANSFORMATION
im=imread('cameraman.tif');
subplot(231),imshow(im);
title('original image');
imd=im2double(im);
gamma=0.25;
im3=imd.^gamma;
gamma=2.5;
im4=imd.^gamma;
subplot(232),imshow(im3);
title('transformed image(gamma=0.25)');
subplot(233),imshow(im4);
title('transformed image(gamma=2.5)');
subplot(234),imhist(im);
title('histogram of the original image');
subplot(235),imhist(im3);
title('histogram of the transformed image(gamma=0.5)');
subplot(236),imhist(im4);
title('histogram of the transformed image(gamma=2.5)');
EXPERIMENTAL RESULTS
GAMMA CORRECTION
 The exponent in the
power-law equation is
referred to as gamma.
The process used to
correct this power-law
response phenomena
is called gamma
correction.
 The process used to
correct power-law
response phenomena
is called gamma
correction.
 𝟏. 𝟖 < 𝛄 < 2.5
HISTOGRAM EQUALIZATION
 The general form is
sk=
L−1 ∗(rk−rkmin)
rkmax−rkmin
where
k=0,1,2,…L-1, r and s are
the input and output pixels of
the image, L is the different
values that can be the pixels,
and rkmax and rkmin are the
maximum and minimum gray
values of the input image.
 This method usually increase
the global contrast of the
image. This allows for area’s
of lower contrast to gain
higher contrast.
EXPERIMENT RESULTS
CODE FOR HISTOGRAM EQUALIZATION
input_image=imread('dollars.tif');
input_image_process=input_image;
output_image_process=histeq(input_image_process);
output_image=im2uint8(mat2gray(output_image_process));
input_hist=imhist(input_image);
output_hist=imhist(output_image);
subplot(2,2,1),imshow(input_image),title('Input image')
subplot(2,2,2),imshow(output_image),title('Output image')
subplot(2,2,3),plot(input_hist),title('Input histogram')
xlabel('Gray levels')
ylabel('Relative frecuency')
set(gca, 'xlim', [0 255]);
subplot(2,2,4),plot(output_hist),title('Output histogram')
xlabel('Gray levels'),ylabel('Relative frecuency')
set(gca, 'xlim', [0 255]);
FLOW CHART FOR HISTOGRAM EQUALIZATION
ADVANTAGES
 The method is useful in images with backgrounds and
foregrounds that are both bright or both dark.
 A advantage of the method is that it is a fairly
straightforward technique and an invertible operator.
DISADVANTAGE
 A disadvantage of the method is that it is indiscriminate.
It may increase the contrast of background noise, while
decreasing the usable signal.
CONTRAST STRETCHING
 Low-contrast images can result from poor
illumination, lack of dynamic range in the imaging
sensor, or even wrong setting of a lens aperture
during image acquisition.
 The idea behind contrast stretching is to increase
the dynamic range of the gray levels in the image
being processed.
CONTRAST STRETCHING FLOWCHART
CODE FOR CONTRAST STRECHING
im=imread('cameraman.tif');
subplot(231),imshow(im);
title('original image');
imd=double(im);
m=80;
e=3;
im3=1 ./ (1 + (m./imd).^e);
subplot(222),imshow(im3);
title('contrast stretched image(m=80,e=3)');
subplot(223),imhist(im);
title('histogram of the original image');
subplot(224),imhist(im3);
title('histogram of contrast stretched image(m=80,e=3)');
EXPERIMENTAL RESULTS
APPLICATION
 (Left) Original sensed fingerprint; (center) image
enhanced by detection and thinning of ridges;
(right) identification of special features called
minutia", which can be used for matching to millions
of fingerprint representations in a database.
CONCLUSION
 Image enhancement is basically improving the
interpretability or perception of information in images for
human viewers and providing `better' input for other
automated image processing techniques.
 For dark images with low contrast the better results will be
with the logarithm and the power law transformations using
in the second one gamma values lower than 1.
 For light images it would be use the power law
transformation with gamma higher than 1.
 For image with low contrast in gray scale the better methods
are histogram equalization and contrast stretching.
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquessakshij91
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementVarun Ojha
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extractionRishabh shah
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
1. digital image processing
1. digital image processing1. digital image processing
1. digital image processingvilasini rvr
 
Watershed Segmentation Image Processing
Watershed Segmentation Image ProcessingWatershed Segmentation Image Processing
Watershed Segmentation Image ProcessingArshad Hussain
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Moe Moe Myint
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing PresentationRevanth Chimmani
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Fourier descriptors & moments
Fourier descriptors & momentsFourier descriptors & moments
Fourier descriptors & momentsrajisri2
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESVicky Kumar
 
Image Registration (Digital Image Processing)
Image Registration (Digital Image Processing)Image Registration (Digital Image Processing)
Image Registration (Digital Image Processing)VARUN KUMAR
 

Was ist angesagt? (20)

Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image Enhancement
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
1. digital image processing
1. digital image processing1. digital image processing
1. digital image processing
 
Watershed Segmentation Image Processing
Watershed Segmentation Image ProcessingWatershed Segmentation Image Processing
Watershed Segmentation Image Processing
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. pptImage segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
 
Fourier descriptors & moments
Fourier descriptors & momentsFourier descriptors & moments
Fourier descriptors & moments
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Image Registration (Digital Image Processing)
Image Registration (Digital Image Processing)Image Registration (Digital Image Processing)
Image Registration (Digital Image Processing)
 
What is spatial Resolution
What is spatial ResolutionWhat is spatial Resolution
What is spatial Resolution
 

Andere mochten auch

Image enhancement
Image enhancementImage enhancement
Image enhancementvsaranya169
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domainAshish Kumar
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
The application of image enhancement in color and grayscale images
The application of image enhancement in color and grayscale imagesThe application of image enhancement in color and grayscale images
The application of image enhancement in color and grayscale imagesNisar Ahmed Rana
 
Digital Image Processing - Image Enhancement
Digital Image Processing  - Image EnhancementDigital Image Processing  - Image Enhancement
Digital Image Processing - Image EnhancementMathankumar S
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingSahil Biswas
 
A novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light videoA novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light videoI3E Technologies
 
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...ijsrd.com
 
Multi Aperture Photography
Multi Aperture PhotographyMulti Aperture Photography
Multi Aperture Photographymakrofajj
 
Blogging and academic identity
Blogging and academic identityBlogging and academic identity
Blogging and academic identityMartin Weller
 
study Coded Aperture
study Coded Aperturestudy Coded Aperture
study Coded ApertureChiamin Hsu
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainMalik obeisat
 
Entering data, histogram, box plot
Entering data, histogram, box plotEntering data, histogram, box plot
Entering data, histogram, box plotredeyejedi
 

Andere mochten auch (20)

Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
The application of image enhancement in color and grayscale images
The application of image enhancement in color and grayscale imagesThe application of image enhancement in color and grayscale images
The application of image enhancement in color and grayscale images
 
Digital Image Processing - Image Enhancement
Digital Image Processing  - Image EnhancementDigital Image Processing  - Image Enhancement
Digital Image Processing - Image Enhancement
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
A novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light videoA novel approach for denoising and enhancement of extremely low light video
A novel approach for denoising and enhancement of extremely low light video
 
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
 
Multi Aperture Photography
Multi Aperture PhotographyMulti Aperture Photography
Multi Aperture Photography
 
Q01761119124
Q01761119124Q01761119124
Q01761119124
 
Blogging and academic identity
Blogging and academic identityBlogging and academic identity
Blogging and academic identity
 
study Coded Aperture
study Coded Aperturestudy Coded Aperture
study Coded Aperture
 
rs and gis
rs and gisrs and gis
rs and gis
 
Statistic chapter 1 & 2
Statistic chapter 1 & 2Statistic chapter 1 & 2
Statistic chapter 1 & 2
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
image enhancement
 image enhancement image enhancement
image enhancement
 
Wong weisenbeck
Wong weisenbeckWong weisenbeck
Wong weisenbeck
 
Entering data, histogram, box plot
Entering data, histogram, box plotEntering data, histogram, box plot
Entering data, histogram, box plot
 
deona
deonadeona
deona
 

Ähnlich wie Introduction to image contrast and enhancement method

DIP-Enhancement-Spatial.pptx
DIP-Enhancement-Spatial.pptxDIP-Enhancement-Spatial.pptx
DIP-Enhancement-Spatial.pptxNidhiSharma764884
 
imageenhancementtechniques-140316011049-phpapp01 (1).pptx
imageenhancementtechniques-140316011049-phpapp01 (1).pptximageenhancementtechniques-140316011049-phpapp01 (1).pptx
imageenhancementtechniques-140316011049-phpapp01 (1).pptxsalutiontechnology
 
Image enhancement techniques
Image enhancement techniques Image enhancement techniques
Image enhancement techniques Arshad khan
 
Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Moe Moe Myint
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portionMoe Moe Myint
 
Digital image processing - Image Enhancement (MATERIAL)
Digital image processing  - Image Enhancement (MATERIAL)Digital image processing  - Image Enhancement (MATERIAL)
Digital image processing - Image Enhancement (MATERIAL)Mathankumar S
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
Seam Carving Approach for Multirate Processing of Digital Images
Seam Carving Approach for Multirate Processing of Digital ImagesSeam Carving Approach for Multirate Processing of Digital Images
Seam Carving Approach for Multirate Processing of Digital ImagesIJLT EMAS
 
Paper id 25201490
Paper id 25201490Paper id 25201490
Paper id 25201490IJRAT
 
Hybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementHybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementIRJET Journal
 
Fpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationFpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationIAEME Publication
 
Fpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationFpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationIAEME Publication
 
Digital image forgery detection
Digital image forgery detectionDigital image forgery detection
Digital image forgery detectionAB Rizvi
 
Image Quality Feature Based Detection Algorithm for Forgery in Images
Image Quality Feature Based Detection Algorithm for Forgery in Images  Image Quality Feature Based Detection Algorithm for Forgery in Images
Image Quality Feature Based Detection Algorithm for Forgery in Images ijcga
 
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSING
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSINGAN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSING
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSINGcscpconf
 

Ähnlich wie Introduction to image contrast and enhancement method (20)

DIP-Enhancement-Spatial.pptx
DIP-Enhancement-Spatial.pptxDIP-Enhancement-Spatial.pptx
DIP-Enhancement-Spatial.pptx
 
matlab.docx
matlab.docxmatlab.docx
matlab.docx
 
image enhancement.pptx
image enhancement.pptximage enhancement.pptx
image enhancement.pptx
 
imageenhancementtechniques-140316011049-phpapp01 (1).pptx
imageenhancementtechniques-140316011049-phpapp01 (1).pptximageenhancementtechniques-140316011049-phpapp01 (1).pptx
imageenhancementtechniques-140316011049-phpapp01 (1).pptx
 
Image enhancement techniques
Image enhancement techniques Image enhancement techniques
Image enhancement techniques
 
Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Digital image processing - Image Enhancement (MATERIAL)
Digital image processing  - Image Enhancement (MATERIAL)Digital image processing  - Image Enhancement (MATERIAL)
Digital image processing - Image Enhancement (MATERIAL)
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Seam Carving Approach for Multirate Processing of Digital Images
Seam Carving Approach for Multirate Processing of Digital ImagesSeam Carving Approach for Multirate Processing of Digital Images
Seam Carving Approach for Multirate Processing of Digital Images
 
Ad24210214
Ad24210214Ad24210214
Ad24210214
 
Paper id 25201490
Paper id 25201490Paper id 25201490
Paper id 25201490
 
Hybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementHybrid Technique for Image Enhancement
Hybrid Technique for Image Enhancement
 
Fpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationFpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint application
 
Fpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint applicationFpga implementation of fusion technique for fingerprint application
Fpga implementation of fusion technique for fingerprint application
 
Digital image forgery detection
Digital image forgery detectionDigital image forgery detection
Digital image forgery detection
 
G04654247
G04654247G04654247
G04654247
 
Image Quality Feature Based Detection Algorithm for Forgery in Images
Image Quality Feature Based Detection Algorithm for Forgery in Images  Image Quality Feature Based Detection Algorithm for Forgery in Images
Image Quality Feature Based Detection Algorithm for Forgery in Images
 
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSING
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSINGAN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSING
AN EMERGING TREND OF FEATURE EXTRACTION METHOD IN VIDEO PROCESSING
 
F0342032038
F0342032038F0342032038
F0342032038
 

Mehr von Abhishekvb

A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
Dietary Spectrometer Sensor
Dietary Spectrometer SensorDietary Spectrometer Sensor
Dietary Spectrometer SensorAbhishekvb
 
Case Study on Basamati Rice Patent Battle
Case Study on Basamati Rice Patent BattleCase Study on Basamati Rice Patent Battle
Case Study on Basamati Rice Patent BattleAbhishekvb
 
VLSI Introduction to PSPICE
VLSI Introduction to PSPICEVLSI Introduction to PSPICE
VLSI Introduction to PSPICEAbhishekvb
 

Mehr von Abhishekvb (6)

A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Dietary Spectrometer Sensor
Dietary Spectrometer SensorDietary Spectrometer Sensor
Dietary Spectrometer Sensor
 
Case Study on Basamati Rice Patent Battle
Case Study on Basamati Rice Patent BattleCase Study on Basamati Rice Patent Battle
Case Study on Basamati Rice Patent Battle
 
VLSI Introduction to PSPICE
VLSI Introduction to PSPICEVLSI Introduction to PSPICE
VLSI Introduction to PSPICE
 
NAND gate
NAND gateNAND gate
NAND gate
 

Kürzlich hochgeladen

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 

Kürzlich hochgeladen (20)

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Introduction to image contrast and enhancement method

  • 2. ANALYSIS OF CONTRAST ENHANCEMENT METHODS  Contrast is the difference in visual properties that makes an object (or image) distinguishable from other objects and the background.  It is the different between the darker and the lighter pixel of the image, if it is big the image will have high contrast and in the other case the image will have low contrast. CONTRAST DEFINITION
  • 3. CONTRAST ENHANCEMENT METHODS  The principal objective of enhancement is to process an image so that the result is more suitable than the original image for a specific application.  For example, a method that is quite useful for enhancing X-ray images may not necessarily be the best approach for enhancing pictures of Mars transmitted by a space probe.
  • 5. SPATIAL DOMAIN METHODS  The term spatial domain refers to the image plane itself.  Spatial domain methods are procedures that operate directly on these pixels in an image.  Spatial domain processes will be denoted by the expression g(x,y)=T[f(x,y)], where f(x,y) is the input image, g(x,y) is the processed image, and T is an operator on f, defined over some neighborhood of (x, y).
  • 6. FREQUENCY DOMAIN METHODS  Frequency domain processing techniques are based on modifying the Fourier transform of an image.  More suitable for filtering spectrums.  Any function that periodically repeats itself can be expressed as the sum of sines and cosines of different frequencies, each multiplied by a different coefficient.
  • 7. LOGARITHMIC TRANSFORMATION  The general form is s = c * log (1 + r), where s is the output value, r is the input value and c is a constant.  This transformation maps a narrow range of low gray-level values in the input image into a wider range of output levels. MATHEMATICAL MODELING
  • 8. FLOW CHART FOR IMPLEMENTATION OF LOGARITHMIC TRANSFORMATION
  • 9. CODE FOR LOGARITHMIC TRANSFORMATION im=imread('cameraman.tif'); subplot(231),imshow(im); title('original image'); imd=im2double(im); c=2.5; d=0.5; im3=c*log(1+imd); im4=d*log(1+imd); subplot(232),imshow(im3); title('transformed image(c=2.5)'); subplot(233),imshow(im4); title('transformed image(c=0.5)'); subplot(234),imhist(im); title('histogram of the original image'); subplot(235),imhist(im3); title('histogram of the transformed image(c=2.5)'); subplot(236),imhist(im4); title('histogram of the transformed image(c=0.5)');
  • 11. POWER-LAW TRANSFORMATION  The general form is s = c * 𝐫 𝜸 , where c and γ are positive constants.  Power-law curves with fractional values of γ map a narrow range of dark input values into a wider range of output values, with the opposite being true for higher values of input levels.
  • 12. FLOW CHART FOR IMPLEMENTATION OF POWER LAW TRANSFORMATION
  • 13. CODE FOR POWER LAW TRANSFORMATION im=imread('cameraman.tif'); subplot(231),imshow(im); title('original image'); imd=im2double(im); gamma=0.25; im3=imd.^gamma; gamma=2.5; im4=imd.^gamma; subplot(232),imshow(im3); title('transformed image(gamma=0.25)'); subplot(233),imshow(im4); title('transformed image(gamma=2.5)'); subplot(234),imhist(im); title('histogram of the original image'); subplot(235),imhist(im3); title('histogram of the transformed image(gamma=0.5)'); subplot(236),imhist(im4); title('histogram of the transformed image(gamma=2.5)');
  • 15. GAMMA CORRECTION  The exponent in the power-law equation is referred to as gamma. The process used to correct this power-law response phenomena is called gamma correction.  The process used to correct power-law response phenomena is called gamma correction.  𝟏. 𝟖 < 𝛄 < 2.5
  • 16. HISTOGRAM EQUALIZATION  The general form is sk= L−1 ∗(rk−rkmin) rkmax−rkmin where k=0,1,2,…L-1, r and s are the input and output pixels of the image, L is the different values that can be the pixels, and rkmax and rkmin are the maximum and minimum gray values of the input image.  This method usually increase the global contrast of the image. This allows for area’s of lower contrast to gain higher contrast.
  • 18. CODE FOR HISTOGRAM EQUALIZATION input_image=imread('dollars.tif'); input_image_process=input_image; output_image_process=histeq(input_image_process); output_image=im2uint8(mat2gray(output_image_process)); input_hist=imhist(input_image); output_hist=imhist(output_image); subplot(2,2,1),imshow(input_image),title('Input image') subplot(2,2,2),imshow(output_image),title('Output image') subplot(2,2,3),plot(input_hist),title('Input histogram') xlabel('Gray levels') ylabel('Relative frecuency') set(gca, 'xlim', [0 255]); subplot(2,2,4),plot(output_hist),title('Output histogram') xlabel('Gray levels'),ylabel('Relative frecuency') set(gca, 'xlim', [0 255]);
  • 19. FLOW CHART FOR HISTOGRAM EQUALIZATION
  • 20. ADVANTAGES  The method is useful in images with backgrounds and foregrounds that are both bright or both dark.  A advantage of the method is that it is a fairly straightforward technique and an invertible operator. DISADVANTAGE  A disadvantage of the method is that it is indiscriminate. It may increase the contrast of background noise, while decreasing the usable signal.
  • 21. CONTRAST STRETCHING  Low-contrast images can result from poor illumination, lack of dynamic range in the imaging sensor, or even wrong setting of a lens aperture during image acquisition.  The idea behind contrast stretching is to increase the dynamic range of the gray levels in the image being processed.
  • 23. CODE FOR CONTRAST STRECHING im=imread('cameraman.tif'); subplot(231),imshow(im); title('original image'); imd=double(im); m=80; e=3; im3=1 ./ (1 + (m./imd).^e); subplot(222),imshow(im3); title('contrast stretched image(m=80,e=3)'); subplot(223),imhist(im); title('histogram of the original image'); subplot(224),imhist(im3); title('histogram of contrast stretched image(m=80,e=3)');
  • 25. APPLICATION  (Left) Original sensed fingerprint; (center) image enhanced by detection and thinning of ridges; (right) identification of special features called minutia", which can be used for matching to millions of fingerprint representations in a database.
  • 26. CONCLUSION  Image enhancement is basically improving the interpretability or perception of information in images for human viewers and providing `better' input for other automated image processing techniques.  For dark images with low contrast the better results will be with the logarithm and the power law transformations using in the second one gamma values lower than 1.  For light images it would be use the power law transformation with gamma higher than 1.  For image with low contrast in gray scale the better methods are histogram equalization and contrast stretching.

Hinweis der Redaktion

  1. May decreases the contrast.