|
Sampled Static Visual Content
An Introduction with Examples in Java |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
BufferedImage Objects
BufferedImage Objects
BufferedImage Objects (cont.)
IdentityOp
GrayExceptOp
GrayExceptOp (cont.)
GrayExceptOp.areSimilar()
Metrics
GrayExceptOp.areSimilar() (cont.)
GrayExceptOp (cont.)
GrayExceptOp (cont.)
Applying the Convolution to One Pixel
\( d_{i,j} = \sum_{r=-1}^{1} \sum_{c=-1}^{1} s_{i+r, j+c} k_{r,c} \)
BufferedImageOp objects
Image class
BufferedImage class -- will lead to
code duplication when we consider described content
Image interface