Rgb Common
Rgb Common
![]() |
![]() 50 X 5mm 4 Pin Ultra Bright RGB LED common anode US $19.99
|
![]() NEW 5M 5050 RGB 300 LED Waterproof Strip Light Lamp Common V US $72.99
|
![]() Many Kinds RGB LED Driver Resistor USA US $35.00
|
Video Processing and Colorspaces (why is My Lossless Lossy?)
RGB Colorspace - The Easy Stuff
Not understanding video colorspaces has caused me to lose days worth of effort because all of my video processing was for naught. We'll start from the screen format of red, green, and blue (RGB) and work into the other ones. Video monitors and televisions use red, green, and blue mixed together to create all of the colors that they display. Each color is called a channel. So RGB has three color channels. The easiest way that this is represented is that in each pixel, the red, green, and blue are each represented by one byte. In this format, each byte is a numerical representation of the "brightness" of that color. If all the bytes for a pixel are zero, then the pixel is black. If they are all at their maximum value, the pixel is white. If red and blue are non-zero but green is zero, you have purple and so on. Since each byte is 8 bits, each color has 8 bits in one pixel. This format would be called RGB24. A related format called RGB32 is the same 8 bits per pixel, but discards the last byte as extra data. It is easier for computers to deal with 4 bytes at a time than 3, so it is useful to have extra data that is discarded. RGBA32 is a slightly different format where instead of discarding the last byte, the last byte is used for a transparency (or "alpha") channel (remember a channel is just a way to talk about colors individually), that specifies how transparent the pixel is. This is useful when laying one image on top of another. Take a purple pixel with an alpha value that makes it halfway transparent so when this pixel is "overlaid" on another image, the purple will only partially mix with the pixel underneath, and the pixel underneath will still be partially visible. This technique is used for overlaying images such as for displaying television channel logos over a television show.
YUV Colorspace - What is That?
Ok, now to the complicated part. The problem is that I always understood RGB24, etc, and I thought that all video codecs and outputs used this style format. This caused me a lot of problems with video processing as I found that many video formats and codecs use different colorspaces that I had never heard of. Every time I processed a video, I ended up converting it to a different colorspace and losing image data or causing inconsistencies or extra data. This was very frustrating as I didn't understand what was happening or what was causing it to happen. Another common video format is called YUV. This is COMPLETELY DIFFERENT than RGB. Somebody much smarter than I am learned a better way to compress and display video information. The YUV format uses Y as a brightness channel, and then U and V as color channels. The U channel is is a color channel that is a bluish-purplish-greenish and the V channel is a greenish-reddish. This is how analog televisions worked. Black and white televisions only had a Y (brightness) channel. When color television was developed, U and V channels were added as additional signals so that black and white televisions and color televisions could use the same broadcast signals. Black and white televisions discarded the U and V channels, and only displayed the Y channel. This is why on color TV's, when sometimes the signal was poor, the channel would come in but the color would go in and out. YUV is now a more popular format for storing video and images than RGB is.
YUV and Compression and Visual Tricks
Developers of video and formats and colorspaces have learned that the human eye is more sensitive to changes in brightness than it is to changes in color. So when developers were trying to figure out new ways to compress video, they learned that they could throw away 75% of the color information (U and V channels) in a picture or video, while keeping the original brightness (Y channel) with little perceived quality loss in the picture or video. This was great, they saved a lot of space, and still had good-looking media. But when processing and re-processing video, these conversions can be a problem. Let's take the example of a recorded screencast of some task performed on a computer. Most likely, this is recorded in RGB24 or RGB32 format, since that is what a computer's display is using. By just encoding and re-processing willy-nilly with any old video codec, the video could be inadvertently converted to a YV12 colorspace (YV12 is one particular YUV format) and lose 75% of the original color information! Now when making the final output video, this may be the desired result. But during the re-processing stage, this is not a good idea.
Put Colorspaces to Use
I use the Internet extensively when determining what colorspaces to use. The first step before reprocessing any video is to determine the original colorspace by looking up the codec. The individual formats of the colorspaces do matter beyond whether the format is RGB or YUV. The online reference http://www.fourcc.org has details on many of these formats. It describes how much information is kept and what may be discarded. When it says a "2x2 subsampled plane", it means that color channel compresses 4 pixels worth of information (a square 2x2 block) into a single pixel. For the purposes in processing video, it is probably OK to treat "color channels" and "color planes" the same so don't worry about the terminology. Some formats may throw away only half of the color information, some may throw away 3/4 of it. To truly keep video in lossless format, make sure that the target colorspace in the target codec is the same as the colorspace used in the codec from the source video. Some lossless formats are only available in one or the other colorspace, and this causes losses as the conversion is performed back and forth.
Video Display and Outputting
Watch out that video playback software does not mislead. Sometimes, even though the display uses RGB to display pictures and video, the video playback software does not. Some video playback software (especially on a linux-type system), uses YUV as an intermediate format before it gets to the display and is converted back to RGB. So be careful that what you see is not always what you get.
About the Author
Joseph Miller is a web software developer working with custom software, e-commerce websites, video and video processing, and other offline programming technologies. See more information on Video Processing.
|
|
DiodeLed DI0716 Spectrum RGB Controller $72.8 The SPECTRUM RGB Color Controller is a universal RGB LED control unit that can change the color of any RGB LED lighting fixture. It can work with our FLUID VIEW RGB Strip Lights the TRUE FOCUS RGB Tube LIGHT or any full color fixture that uses 4 channels and has a common positive (common anode). With the SPECTRUM Color Controller there are eleven RGB changing modes available and the speed of each mode can be adjusted wirelessly in increments of 1100 with the remote control included with the unit. There are also 256 levels of brightness at your fingertips. The SPECTRUM RGB Color Controller is the key that unlocks the endless varieties of dynamic lighting in every one of our 12V RGB LED fixtures. Easier to use than a TV remote the Spectrum can process up to 4 amps of current for each channel. Some of the controller s features include: three and sevencolor strobe three and sevencolor fade as well as red green blue pink yellow cyan and white static modes. And this LED controller has memory so you can cut the power to the unit and it will remember the last function. This controller opens up a world of possibilities especially in these business environments:. Restaurants bars retail stores and anywhere that requires the lighting color and pattern to create a mood. Use it to add variety to accent and architectural lighting. Create an eyecatching display for trade show exhibits and office presentations. Coinoperated machines for vending and amusement. Shop windows and product display cases. Working Voltage: 12V DC; 24V DC. Output Power: |
|
|
IR Control Box &Remote for 5050 SMD RGB LED Light flexible Strip -Free shipping $6.32 RGB remote control box 1)common anode,+ RGB 2)control box 3)16 different colour 4)Only for 5050 SMD RGB led strip |
|
|
DiodeLed DI0761 Wall Mount RGB Controller $111.8 RGB Controller dimensions: 5.1 x 1.6 x 1.2 in. Wall Mount Controller dim.: 3 x 4.7 x 1.25 in. Handheld Remote Control dim.: 3.4 x 1.5 x 0.6 in. Voltage: 12V DC. Output Channels: RGB. Output Power: |
|
|
Vellman VM150 RGB Led Dimmer For Din Rail $70.11 Easy DINrail mounting. Hipower outputs. Dual pushbutton operation: Press to select colour Press to adjust intensity. Buttons can be paralleled. Single colour mode. Short circuit protection. PWM freq.: 90Hz. power supply: 1224VDC (e.g. Velleman LPS series). Max output current: 5A /channel. DINrail enclosure: 2 modules wide. For use with:. 1224VDC common anode RGB or single colour led strips. 1224VDC led armatures. |
|
|
Wireless touching RGB controller for led strip,max216W $28.59 1) common anode 2)Output control: 3 circuits(R/G/B) 3)Control current:6A/circuit |
|
|
Siemens RGB S30810Q1324 $1142.55 Siemens RGB S30810Q1324 |
|
|
Mustang 15ft RGB cable $18.99 Mustang 15ft RGB cable |
|
|
Irradiant TLI50SIMCONRGB RGB Simple Controller $122.83 RGB Simple Controller |
|
|
Irradiant TLI50SIGAMPRGB RGB Signal Amplifier $47.24 RGB Signal Amplifier |
|
|
Irradiant SSDL6060C RGB DMX Controller $309.83 RGB DMX Controller |
|
|
LED RGB Dimmer; DC12V input $7.37 LED RGB Dimmer; DC12V input |
|
|
Chauvet LED Techno Strobe RGB $119.99 Chauvet LED Techno Strobe RGB |
|
|
American DJ Profile Panel RGB $149.99 American DJ Profile Panel RGB |
|
|
Livid Ohm RGB Control Surface $599 Livid Ohm RGB Control Surface |
|
|
American Dj Profile Panel Rgb $169.99 American DJ Profile Panel RGB |
|
|
Chauvet Led Techno Strobe Rgb $79.99 Chauvet LED Techno Strobe RGB |
|
|
Livid Ohm Rgb Control Surface $599 Livid Ohm RGB Control Surface |
|
|
Mustang 40ft 5-RCA RGB with Audio $43.99 Mustang 40ft 5-RCA RGB with Audio |
|
|
Video RGB - balun adapter $79.99 Black Box Video RGB - Balun adapter - BNC (F) - RJ-45 (F) |
|
|
Waterproof RGB 150x5050 SMD LED Multicolor Light Strip $40.4 Ultra bright high intensity white light waterproof SMD LEDsNumber of SMD LEDs: 150Rated voltage: 12VMaintenance free, easy installationConnection type: common anode4 flashing modes: flash/strobe/fade/smoothLength: 5 metersComes with 1 * DC12V LED controller, 1 * IR remote controller (1 * CR2025 included), 1 * Chinese/English manualWeight: 299gDimension: |
|
|
Ibanez Rgb Elec Gig Bag $10.97 In Store Clearance IBANEZ RGB ELEC GIG BAG |
|
|
video / audio coupler - RGB $67.99 Steren - Video / audio coupler - RGB - RCA (F) - RCA (F) - black (pack of 10 ) |
|
|
Browning / FLASHLIGHT, 5100 NIGHTSEEKER, RGB / 3715100 $23.13 Browning - FLASHLIGHT, 5100 NIGHTSEEKER, RGB - 3715100 |
|
|
Browning / FLASHLIGHT, 3314 PRO HUNTER, RGB / 3713314 $29.19 Browning - FLASHLIGHT, 3314 PRO HUNTER, RGB - 3713314 |
|
|
Tripplite / EXT CABLE W/RGB CNNCTRS / P500-025 $27.8 Tripplite - EXT CABLE W/RGB CNNCTRS - P500-025 |
|
|
American DJ Accent Strip RGB Black $59.99 American DJ Accent Strip RGB Black |
|
|
American DJ Accent Strip RGB white $59.99 American DJ Accent Strip RGB white |
|
|
American DJ ELED Par Zoom RGB $599.99 American DJ ELED Par Zoom RGB |
|
|
American DJ Hypnotic RGB Laser Effect $499.99 American DJ Hypnotic RGB Laser Effect |
|
|
American Dj Eled Par Zoom Rgb $599.99 American DJ ELED Par Zoom RGB |
|
|
American Dj Hypnotic Rgb Laser Effect $499.99 American DJ Hypnotic RGB Laser Effect |
|
|
American Dj Pearl Led Moonflower Rgb $159.99 American DJ Pearl LED Moonflower Rgb |
|
|
American Dj Accent Strip Rgb Black $59.99 American DJ Accent Strip RGB Black |
|
|
American Dj Accent Strip Rgb White $59.99 American DJ Accent Strip RGB white |
|
|
12V 30-LED RGB Light Strip (50cm) $39.7 12V 30-LED RGB Light Strip (50cm) |
|
|
12V 54-LED RGB Light Strip (50cm) $10.4 12V 54-LED RGB Light Strip (50cm) |
|
|
Mustang 6ft M/M RGB to VGA 15HD $12.99 Mustang 6ft M/M RGB to VGA 15HD |


US $11.05





























































































