Palette:bloom
Summary[edit]
The Bloom COMP is a combination of several image effects that selects and remap the brightest pixels of a TOP. The pixels in the second input TOP are warped around the selection defined by the blur parameters.
The blur parameters modifies the selection of the brightest pixels of the input 1 TOP. For example increasing the “Contrast” parameter would reshape the selection to narrow the range of brightness, selecting the brightest pixels. The glow parameters overlays the pixels selected in the blur parameters with the RGB values selected by the “Glow Color” parameters.
A Ramp TOP with a color spectrum is the default second input for this COMP. The ramp can be replaced by attaching a TOP to the second input of the component, or the built-one ramp can be edited with the Open Ramp Parameters pulse.
Parameters - Bloom Page
Help
- Opens this page.
Version
- Current version of this COMP.
Blursize
- The amount of blur in pixels.
Iterations
- The number of times the filter is iterated.
Threshold
- Controls the darkest pixels in the TOP, any pixel with a value less than or equal to this will be faded out.
Intensity
- Increases or decreases the brightness of an image. Brightness can be considered the arithmetic mean of the RGB channels. The Brightness parameter adds or subtracts an offset into the R, G, and B channels. Low brightness will result in dark tones, while high brightness will wash the color out towards white.
Gamma
- The Gamma parameter applies a gamma correction to the image. Gamma is the relationship between the brightness of a pixel as it appears on the screen, and the numerical value of that pixel. This is often represented by a gamma curve. The difference between brightness and gamma is that gamma also affects the ratio of red to green to blue. A straight, linear gamma curve with a value of 1 means no change.
Contrast
- Contrast applies a scale factor (gain) to the RGB channels. Increasing contrast will brighten the light areas and darken the dark areas of the image, making the difference between the light and dark areas of the image stronger.
Bloom
- Intensity of the Bloom effect.
Glow
- Controls the intensity of the overlay in the “Glow Color” parameter.
Glowcolor
- ⊞ - Overlays the value selected in the RGB parameters on the brightest pixels of the TOP.
- Glow Color
Glowcolorr
- Sets the red color channel.
- Glow Color
Glowcolorg
- Sets the green color channel.
- Glow Color
Glowcolorb
- Sets the blue color channel.
Glowinputramp
- Controls the ramp’s glow intensity.
Openramp
- Opens the ramp's parameters.
Inputlevel
- Controls the opacity of the input TOP.
Blurtype
- ⊞ - Determines the mathematical function used to create the blur.
- Catmull-Rom
catmull
- A spline approximation to a Gaussian kernel. Gives sharper textures and more accurate edges.
- Gaussian
gaussian
- A normal distribution where pixels at the center have more effect on the resulting pixel. Gaussian lacks sharpness but handles ringing and aliasing well.
- Box
box
- Each pixel within the box is weighted evenly. Inexpensive and gives a "boxy" look.
- Bartlette
bartlette
- A triangle filter. The weight of each pixel is a linear function of its distance from the center.
- Sinc
sinc
- A sharpening filter. Some pixels contribute a negative weight to the result, artifacts may occur in the form of "ringing". Keeps small details and edges better than Gaussian.
- Hanning
hanning
- A cosine approximation to a Gaussian kernel.
- Blackman
blackman
- A higher order cosine approximation to a Gaussian kernel.
Preshrink
- Reduces the image's resolution before applying the blur.
Samplestep
- When sampling the image, this determines the distance from each pixel to the sample pixel. When units are set to pixels, it is the number of pixels away from the current pixel which is sampled to blur the image. A Sample Step of 3 would sample pixels 3 pixels away.
Temporalsmooth
- Controls the amount of motion blur per frame.
Inputfiltertype
- ⊞ - This controls pixel filtering on the input image of the TOP.
- Nearest Pixel
nearest
- Uses nearest pixel or accurate image representation. Images will look jaggy when viewing at any zoom level other than Native Resolution.
- Interpolate Pixels
linear
- Uses linear filtering between pixels. This is how you get TOP images in viewers to look good at various zoom levels, especially useful when using any Fill Viewer setting other than Native Resolution.
- Mipmap Pixels
mipmap
- Uses mipmap filtering when scaling images. This can be used to reduce artifacts and sparkling in moving/scaling images that have lots of detail.
Format
- ⊞ - Format used to store data for each channel in the image (ie. R, G, B, and A). Refer to Pixel Formats for more information.
- Use Input
useinput
- Uses the input's pixel format.
- 11-bit float (RGB), Positive Values Only
rgba11float
- A RGB floating point format that has 11 bits for the Red and Green channels, and 10-bits for the Blue Channel, 32-bits total per pixel (therefore the same memory usage as 8-bit RGBA). The Alpha channel in this format will always be 1. Values can go above one, but can't be negative. ie. the range is [0, infinite).
- 16-bit float (RGB)
rgb16float
-
- 32-bit float (RGB)
rgb32float
-
Operator Inputs
- Input 0: in1 -
- Input 1: in2 -
Operator Outputs
- Output 0 -
TouchDesigner Build:
Palette |
---|
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |