click below
click below
Normal Size Small Size show me how
Digital Information
codeHS - Digital Information Unit
Term | Definition |
---|---|
Digital Information | Information that can be expressed in a numerical form. |
Encoding | The processing of information into numbers so that it can be stored and manipulated by computers. |
Data Abstraction | The process of simplifying complicated data into manageable chunks. |
Decimal Number System | A system with 10 numeric values, 0 through 9. |
Binary Number System | A system with two numeric values of 0 and 1. |
ASCII | A protocol or code for representing English characters as numbers, with each letter assigned a number from 0 to 127. |
Pixel | The fundamental unit of a digital image, a tiny square or dot which contains a single point of color of a larger image. |
Hexadecimal Number System | A system with sixteen distinct symbols 0-9 and A-F. |
Pixel Images | Using of a grid of values encoded to represent a certain color in a specific position. |
RGB Color Encoding | Defining the amount of Red, Green, and Blue light displayed in a pixel. |
Pixel Filter | Manipulating the encoded values of specific pixels (that are already arranged in a grid) to modify the image. |
WebImage | A JavaScript API that lets us add images to our programs and manipulate their pixels. |
setPosition (x,y) | JavaScript function that sets the position of the upper left corner of the image. |
setSize (width, height) | JavaScript function that sets the width and height of the image in pixels. |
getWidth ( ) | JavaScript function that reports the width of the image in pixels. |
getHeight ( ) | JavaScript function that reports the height of the image in pixels. |
getPixel ( ) | JavaScript function that reports the pixel at coordinates (x,y) as an array (list) of 3 numbers [R,G,B] |
setRed (x, y, value) | JavaScript function that sets the R value of the pixel at (x,y) to be a value. |
setGreen (x, y, value) | JavaScript function that sets the G value of the pixel at (x,y) to be a value. |
setBlue (x, y, value) | JavaScript function that sets the B value of the pixel at (x,y) to be a value. |
Image Filter | Manipulating the encoded values of ALL pixels (that are already arranged in a grid) to modify the image. |