{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

arithmetic.slides.printing

# arithmetic.slides.printing - Arithmetic Operations...

This preview shows pages 1–5. Sign up to view the full content.

Arithmetic Operations Arithmetic Operations CS 450: Introduction to Digital Signal and Image Processing Bryan Morse BYU Computer Science

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Arithmetic Operations Image Arithmetic I For input images f 1 and f 2 and some function Op: g ( x , y ) = Op ( f 1 ( x , y ) , f 2 ( x , y )) The operator is applied pairwise to each pixel in the images. I Pseudocode: for all pixel positions x, y: out[x,y] = func( image1[x,y] , image2[x,y] ) I Possibilities: addition, subtraction, and, or, . ..
Arithmetic Operations Addition/Blending Used to create double-exposures or composites: g ( x , y ) = f 1 ( x , y ) + f 2 ( x , y ) + = Can also do a weighted blend : g ( x , y ) = α 1 f 1 ( x , y ) + α 2 f 2 ( x , y )

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Subtraction I Useful for ﬁnding changes between two images g ( x , y ) = f 1 ( x , y ) - f 2 ( x , y ) I Sometimes more useful to use absolute difference g ( x , y ) = | f 1 ( x , y ) - f 2 ( x , y ) | I What’s changed? -
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 11

arithmetic.slides.printing - Arithmetic Operations...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online