© Kenny Hunt, hunt.kenn@uwlax.edu
|
Additional Excercises
for Chapter 6
- Padding
Use Pixel Jelly to open each of the image files below. For each image
you should resize (Select edit-resize) the image using each of the padding
techniques described in this text (color padding, extending the borders,
reflective indexing and tiling). Resize such that the destination is
3 times the width of the source and also 3 times the height of the source
image.
- Convolution
Use Pixel Jelly to convolve each of the images below using 1) a normalized
1x9 and 9x1 uniform box 2) a nromalized 5x5 kernel having zeros everywhere
but the diagonal elements and 3) a normalized 21x21 and 9x9 box. In
addition, use the predefined 3x3 high pass, the horizontal and vertical
Sobel kernels and the two Roberts cross gradient operators. Include
the resulting images in your report and comment on the results.
- Image blending
Use Pixel Jelly to open the image below. Create an image depicting a
white ellipse on a black backround having the same resolution as the
source image below (select 'Edit-Create'). Invert the white elliplse.
Denote the source image below as S1, the white ellipse image as S2 and
S3 as the inverse of S2. Use Pixel Jelly to combine S1 with both S2
and S3 using each of the supported blending modes (add, subtract, XOR,
OR, etc...). For each blending operation, here denoted as •, you
should generate the output of S1•S2, S2•S1, S1•S3,
S3•S1 and S1•S1.
|