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 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) ©1996-2009 Roedy Green, Canadian Mind Products
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 You can get the freshest 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
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.109]
You are visitor number 8,597.