Documentation audio processing techniques involved image data compiled meticulously detailed, consistent with the needs of students who want to learn, want to refer to teaching arebe used. Documentary and was selected as the best material in the document image processing. | I I Contents Preface xi Acknowledgments xii About the Authors xiii 1 Introduction 1 Preview 1 Background 1 What Is Digital Image Processing 2 Background on MATLAB and the Image Processing Toolbox 4 Areas of Image Processing Covered in the Book 5 The Book Web Site 6 Notation 7 The MATLAB Working Environment 7 The MATLAB Desktop 7 Using the MATLAB Editor to Create M-Files 9 Getting Help 9 Saving and Retrieving a Work Session 10 How References Are Organized in the Book 11 Summary 11 2 Fundamentals 12 Preview 12 Digital Image Representation 12 Coordinate Conventions 13 Images as Matrices 14 Reading Images 14 Displaying Images 16 Writing Images 18 Data Classes 23 Image Types 24 Intensity Images 24 Binary Images 25 A Note on Terminology 25 Converting between Data Classes and Image Types 25 Converting between Data Classes 25 Converting between Image Classes and Types 26 Array Indexing 30 Vector Indexing 30 Matrix Indexing 32 Selecting Array Dimensions 37 v a Contents Some Important Standard Arrays 37 Introduction to M-Function Programming 38 M-Files 38 Operators 40 Flow Control 49 Code Optimization 55 Interactive I O 59 A Brief Introduction to Cell Arrays and Structures 62 Summary 64 n J Intensity Transformations and Spatial Filtering 65 Preview 65 Background 65 Intensity Transformation Functions 66 Function imadj ust 66 Logarithmic and Contrast-Stretching Transformations 68 Some Utility M-Functions for Intensity Transformations 70 Histogram Processing and Function Plotting 76 Generating and Plotting Image Histograms 76 Histogram Equalization 81 Histogram Matching Specification 84 Spatial Filtering 89 Linear Spatial Filtering 89 Nonlinear Spatial Filtering 96 Image Processing Toolbox Standard Spatial Filters