Image Arithmetic
Image arithmetic is the implementation of standard arithmetic operations, such as addition, subtraction, multiplication, and division, on images. Image arithmetic has many uses in image processing both as a preliminary step in more complex operations and by itself. For example, image subtraction can be used to detect differences between two or more images of the same scene or object.
Functions
imabsdiff | Absolute difference of two images |
imadd | Add two images or add constant to image |
imapplymatrix | Linear combination of color channels |
imcomplement | Complement image |
imdivide | Divide one image into another or divide image by constant |
imlincomb | Linear combination of images |
immultiply | Multiply two images or multiply image by constant |
imsubtract | Subtract one image from another or subtract constant from image |
Topics
- Image Arithmetic Functions
Image arithmetic is the implementation of standard arithmetic operations, such as addition, subtraction, multiplication, and division, on images.
- Nest Calls to Image Arithmetic Functions
Learn how to maintain precision when performing a series of arithmetic operations in combination..
- Image Arithmetic Clipping Rules
Learn how to deal with results of image arithmetic that exceed the range of the image data type.