MultiChannelDisplacementToDisplacement
Combines low, medium and high frequency bands from the red, green and blue channels into a single image channel. Use
DisplacementToMultiChannelDisplacement to create the frequency bands image, then adjust Low Mix, Mid Mix and High Mix to control broad shapes, medium detail and fine detail in the reconstructed displacement map.
Inputs
- Frequency Bands Image
ImageAn RGB or RGBA image containing the encoded frequency bands. The alpha channel, if present, is preserved.
Output
ImageA floating-point image with the same resolution as the input, containing one reconstructed channel and an optional alpha channel. Output values are not clamped.
Parameters
- Midpoint:
the offset subtracted from each band before decoding.
- Scale:
the non-zero divisor used to decode each band.
- Low Mix:
the weight of the low frequency band.
- Mid Mix:
the weight of the medium frequency band
- High Mix:
the weight of the high frequency band.
Reconstruction
The output channel is computed as:
Low = (Red - Midpoint) / Scale
Medium = (Green - Midpoint) / Scale
High = (Blue - Midpoint) / Scale
Result = Low * LowMix + Medium * MidMix + High * HighMix
Set Scale and Midpoint to the values used in
DisplacementToMultiChannelDisplacement. With all three Mix values set to 1, the result reconstructs the selected source channel, subject to floating-point precision and any edits made to the bands. Set a Mix value to 0 to remove that band, or increase it to emphasize the corresponding detail.