Channel : Java Glossary

go to home page C words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
Channel
Channel is a generic term. The most familiar use is in television, where many broadcasting stations share the same cable into the TV set. By tuning in to the right frequency, you pick up just the desired broadcast channel.

In Java 1.4+, Channel has a more specific meaning. It refers to anything you can do nio on, e.g. a file, a socket, a datagram, a pipe, a memory mapped file, a buffer… It is the root interface of a family of interfaces implemented by the new classes: DatagramChannel (which lets you work at the UDP datagram level), FileChannel (which lets you do locks, and memory mapping), and SocketChannel (which lets you shutdown input or output temporarily, and lets you monitor the progress of setting up the connection).

In image processing, channel refers to the way you decompose an image pixel into four parts, the red, green, blue and alpha. Typically a pixel’s colour is represented by four numbers 0..255. The higher the number the brighter. The alpha channel measures transparency/opacity. 0 is 100% transparent. 255 is 100% opaque. 128 is 50% opaque, allowing what is below to partly show through. If you were talking only about the red component of an image, you would talk of the red channel for the image.


CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] Take the DavidSuzuki.org nature challenge
You are visitor number 7,505.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/channel.html J:\mindprod\jgloss\channel.html