Ch. 5 Vocab Flashcards
(14 cards)
Application programming interface
The set of interfaces in a package or an entire language
Accessor
A method used to examine an attribute of an object without changing it
Aspect ratio
The ratio of the width of an image or viewing area to its height
Default constructor
A method that Java provides for creating objects of a class. The programmer can override this method to do extra things
Edge detection
The process whereby the boundaries of shapes or objects are detected within an image
Enhanced for loop
A special type of for loop that traverses an array or array list from beginning to end, binding a local variable to each element in the array or list
Mutators
Methods of type void (do not return a value, but are used to modify contents of an object)
Object instantiation
Makes a new object available to a program
Object recognition
Detection of objects in images
Row-major transversal
The process of visiting elements in a two- dimensional array whereby each element in a row is accessed before moving on to the next row
Sampling rate
The number of samples of a sound wave taken per second of time
Screen coordinate system
A coordinate system used by most programming languages in which the origin is in the upper-left corner of the screen, window, or panel, and the y values increase toward the bottom of the drawing area
Sound clip
A sequence of sample values that represents a portion of a sound wave over time
Splicing
The process of gluing together two sound clips