Arithmetic and Logical Operations Chapter 2 - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Arithmetic and Logical Operations Chapter 2

Description:

Useful for combining information between two images. 0 = a = 1. Averaging (see Example 2.5, page 75) ... The AND operator is usually used to mask out part of ... – PowerPoint PPT presentation

Number of Views:276
Avg rating:3.0/5.0
Slides: 13
Provided by: george76
Category:

less

Transcript and Presenter's Notes

Title: Arithmetic and Logical Operations Chapter 2


1
Arithmetic and Logical Operations (Chapter 2)
  • CS474/674 Prof. Bebis

2
Addition
  • Useful for combining information between two
    images

0 lt a lt 1
3
Averaging (see Example 2.5, page 75)
  • Image quality can be improved by averaging a
    number of images together (very useful in
    astronomy applications).

10
5
images must be registered!
20
100
50
4
Subtraction
  • Useful for change detection.

5
Subtraction (contd)
iodine medium injected into the bloodstream
  • Medical application.

enhanced
difference
6
Multiplication/Division
  • Use to adjust the brightness of the image.

multiplication by 2
7
Multiplication/Division (contd)
  • Suppose a sensor introduces some shading in the
    form
  • g(x,y)f(x,y) h(x,y)
  • We can estimate h(x,y) and remove shading by
    division.

shade pattern
shade correction
original
8
Comments
  • Arithmetic operation can produce pixel values
    outside of the range 0 255.
  • You should convert values back to the range 0
    255 to ensure that the image is displayed
    properly.
  • How would you do the following mapping?
  • fmin fmax ? 0 255

9
Logical Operations
10
AND
  • The AND operator is usually used to mask out part
    of an image.

11
OR
  • Parts of another image can be added with a
    logical OR operator.

12
Example
Result of AND
Result of OR
OR
Write a Comment
User Comments (0)
About PowerShow.com