资源描述:
《DIP_Lecture_6》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ShanghaiJiaoTongUniversityInstituteofImageCommunication&InformationProcessingSchoolofElectronicInformation&ElectricalEngineeringDept.ofElectronicEngineering2010ShanghaiJiaoTongUniversityInstituteofImageCommunication&InformationProcessingSchoolofElectronicInformation&ElectricalEngineerin
2、gDept.ofElectronicEngineering2010DigitalImageProcessingGrayLevelEnhancement3.2&3.3ImageFilteringinSpatialDomain3.5&3.6&3.7ImageFilteringinFrequencyDomain4.3&4.4MedianFiltering3.6.2OtherMethodsofImageEnhancement4.5&6.32010DigitalImageProcessingGrayLevelEnhancement3.2&3.3ImageFilteringinS
3、patialDomain3.5&3.6&3.7ImageFilteringinFrequencyDomain4.3&4.4MedianFiltering3.6.2OtherMethodsofImageEnhancement4.5&6.32010DigitalImageProcessing•Spatialdomainreferstotheimageplaneitself•SpatialdomainmethodsareproceduresthatoperatedirectlyonthepixelscomposinganimagegmnTfmn(,)=[(,)]-f(,)m
4、nistheinputimage-gmn(,)istheprocessedimage-Tisanoperatoron,definedoversomeneighborhoodoff(,)mn•Theprincipalapproachindefininganeighborhoodaboutapointistouseasquareorrectangularsubimagearea(,)mncenteredat(,)mn2010DigitalImageProcessing2010DigitalImageProcessing•Thecenterofthesubimageismo
5、vedfrompixeltopixelstartingatthetopleftcorner•TheoperatorisappliedateachlocationtoyieldtheT(,)mnoutput,,atthatlocationg•Theprocessutilizesonlythepixelsintheareaoftheimagespannedbytheneighborhood•ThesimplestformofiswhentheneighborhoodisofTsize,wheredependsonlyonthevalueofat,and11×gf(,)mn
6、Tbecomesagray-leveltransformationfunctionlTk=()2010DigitalImageProcessing•Largerneighborhoodsallowconsiderablymoreflexibility•Thegeneralapproachistouseafunctionofthevaluesofinfapredefinedneighborhoodoftodeterminethevalueof(,)mngat(,)mn-Oneoftheprincipalapproachesinthisformulationisbased
7、ontheuseofso-calledmasks(alsoreferredtoasfilters,kernels,templates,orwindows)-Amaskisasmall2-Darray,inwhichthevaluesofthemaskcoefficientsdeterminethenatureoftheprocess•Contentsofimagefilteringinspatialdomain-imagesharpening-imagesmoothing2010DigitalImageProcessingExampleofimage