Chapter 5. Modifying Pixels in a Matrix


[Page 131]

5.1

COPYING PIXELS

5.2

COPYING AND TRANSFORMING PICTURES

5.3

CONCEPTS SUMMARY


Chapter Learning Objectives

The media learning goals for this chapter are:

  • To mirror pictures, horizontally or vertically.

  • To compose pictures into one another and create collages.

  • To blend two pictures.

  • To rotate pictures.

  • To scale pictures smaller and larger.

The computer science goals for this chapter are:

  • To use nested loops for processing elements of a matrix (a two-dimensional array).

  • To initialize and change multiple variables in a for loop.

  • To develop some debugging strategies, specifically, using print statements to explore executing code.

  • To break long methods into smaller pieces.

  • To show how to return a value from a method.

  • To use method overloading.



Introduction to Computing & Programming Algebra in Java(c) A Multimedia Approach
Introduction to Computing & Programming Algebra in Java(c) A Multimedia Approach
ISBN: N/A
EAN: N/A
Year: 2007
Pages: 191

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net