DigitalImageProcessingRafaelC.GonzalezUniversityofTennesseeRichardE.WoodsInterapptics330HudsonStreet,NewYork,NY10013330HudsonStreet,NewYork,NY10013SeniorVicePresidentCoursewarePortfolioManagement:MarciaJ.HortonDirector,PortfolioManagement:Engineering,ComputerScience&GlobalEditions:JulianPartridgePortfolioManager:JulieBaiFieldMarketingManager:DemetriusHallProductMarketingManager:YvonneVannattaMarketingAssistant:JonBryantContentManagingProducer,ECSandMath:ScottDisannoContentProducer:MichelleBaymanProjectManager:RoseKernanOperationsSpecialist:MauraZaldivar-GarciaManager,RightsandPermissions:BenFerriniCoverDesigner:BlackHorseDesignsCoverPhoto:MRIimage—Authorsupplied;Rose—Authorsupplied;SatelliteimageofWashington,D.C.—CourtesyofNASA;Bottles—Authorsupplied;Fingerprint—CourtesyoftheNationalInstituteofStandardsandTechnology;MoonIOofJupiter—CourtesyofNASAComposition:RichardE.WoodsCopyright©2018,2008byPearsonEducation,Inc.Hoboken,NJ07030.Allrightsreserved.ManufacturedintheUnitedStatesofAmerica.Thispublicationisprotectedbycopyrightandpermissionsshouldbeobtainedfromthepublisherpriortoanyprohibitedreproduction,storageinaretrievalsystem,ortransmissioninanyformorbyanymeans,electronic,mechanical,photocopying,recording,orotherwise.Forinformationregardingpermissions,requestformsandtheappropriatecontactswithinthePearsonEducationGlobalRights&Permissionsdepartment,pleasevisitwww.pearsoned.com/permissions/.Manyofthedesignationsbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andthepublisherwasawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Theauthorandpublisherofthisbookhaveusedtheirbesteffortsinpreparingthisbook.Theseeffortsincludethedevelopment,research,andtestingoftheoriesandprogramstodeterminetheireffectiveness.Theauthorandpublishermakenowarrantyofanykind,expressedorimplied,withregardtotheseprogramsorthedocumentationcontainedinthisbook.Theauthorandpublishershallnotbeliableinanyeventforincidentalorconsequentialdamageswith,orarisingoutof,thefurnishing,performance,oruseoftheseprograms.PearsonEducationLtd.,LondonPearsonEducationSingapore,Pte.LtdPearsonEducationCanada,Inc.PearsonEducationJapanPearsonEducationAustraliaPTY,LtdPearsonEducationNorthAsia,Ltd.,HongKongPearsonEducationdeMexico,S.A.deC.V.PearsonEducationMalaysia,Pte.Ltd.PearsonEducation,Inc.,HobokenMATLABisaregisteredtrademarkofTheMathWorks,Inc.,1AppleHillDrive,Natick,MA01760-2098.LibraryofCongressCataloging-in-PublicationDataNames:Gonzalez,RafaelC.,author.|Woods,RichardE.(RichardEugene),author.Title:DigitalImageProcessing/RafaelC.Gonzalez,UniversityofTennessee,RichardE.Woods,Interapptics.Description:NewYork,NY:Pearson,[2018]|Includesbibliographicalreferencesandindex.Identifiers:LCCN2017001581|ISBN9780133356724Subjects:LCSH:Imageprocessing--Digitaltechniques.Classification:LCCTA1632.G662018|DDC621.36/7--dc23LCrecordavailableathttps://lccn.loc.gov/2017001581116ISBN-10:0-13-335672-8ISBN-13:9780133356724www.pearsonhighered.comContentsCoverTitlePageCopyrightDedicationPrefaceixAcknowledgmentsxiiiTheBookWebsitexivTheDIP4ESupportPackagesxivAbouttheAuthorsxv1Introduction1WhatisDigitalImageProcessing?2TheOriginsofDigitalImageProcessing3ExamplesofFieldsthatUseDigitalImageProcessing7FundamentalStepsinDigitalImageProcessing25ComponentsofanImageProc...