Digital Image Processing (MatLab) version of the book notes series, is a personal reading notes, write not too detailed, the specific content to see the textbooks (examples and procedures ), here we will only list some basic and important concepts to facilitate review, memory and understanding, and to give some examples and exercises.
Everything is so detailed that it is unrealistic to remember and inefficient. You can read thick books slowly, but you cannot recall them heavily.
Chapter 1 Introduction and Chapter 2 Basic Principles. Corresponding to the textbook, Chapter 2.
It explains the meaning of image processing and the corresponding content of Low, Medium, and advanced processing.
The numeric image is two-dimensional and can be expressed as f (x, y), X row, and y columns using functions. It can also be expressed as a two-dimensional matrix.
Note: In Matlab, the index starts from (0, 0) to indicate the first (as agreed in the upper left corner) pixel position.
Pixels represent the elements of an image. (X, y) represents the Coordinate Position, and F is the corresponding brightness value.
This book uses MATLAB to process images and understand the use of Matlab.
Use of vectors, matrices, and operators. M file: function file and script file.
Code optimization: Pre-allocates arrays. computation vectoring and matrix operations can accelerate computation.
Interactive Io
Learn to use the help () function. Read the documentation.
Read: imread () Size: size () display: imshow () Save: imwrite ()
Pay attention to the rational use of data classes :...
Image Type: brightness, binary value, index, RGB image
Brightness: Optional values: uint8/16, and double. The value range is [0, 1 ].
Binary value: logical. 0, 1
Various data and image types can be converted.
The data format is very important. For example, in the grayscale image format uint8, I want to take the logarithm of each pixel value, but in the input log () function, if the input data format is incorrect, you will know that you must change it to the double type to obtain the logarithm.
Note: The content of this section and the use of functions will be used in subsequent sections.
I think using learning is a good way to learn, isn't it?
Basic Principles of Digital Image Processing 1 and 2