Class GLHeatVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Applies hardware-accelerated thermal heat map visualization effect to video frames using OpenGL/OpenGL ES shaders. This effect transforms video luminance values into a false-color heat map, mapping intensity to a color gradient from cool (dark) to hot (bright) tones.
public class GLHeatVideoEffect : GLBaseVideoEffectInheritance
Inherited Members
Remarks
SDK Availability: Available in: VideoCaptureCoreX, MediaPlayerCoreX, Media Blocks SDK (Cross-platform)
Platform Support: Windows, Linux, macOS, Android, iOS (OpenGL ES)
OpenGL Acceleration: This effect is fully GPU-accelerated using OpenGL 3.0+ on desktop platforms and OpenGL ES 2.0+ on mobile devices. The heat map transformation is implemented as a fragment shader that converts luminance values to false colors using a thermal gradient lookup. The shader performs per-pixel color remapping entirely on the GPU, enabling real-time thermal visualization without CPU overhead.
Effect Description: The heat effect converts the video into a thermal-style heat map by mapping pixel intensity to a color gradient that mimics thermal imaging cameras. Darker regions (low intensity) are represented with cool colors (typically dark blue or black), while brighter regions (high intensity) are shown with progressively warmer colors (green, yellow, orange, red, white). This creates a visualization similar to infrared thermal imaging or heat-sensing cameras. The effect is purely aesthetic and does not perform actual temperature measurement; it simply maps visual brightness to a thermal-style color gradient. The resulting image has high visual impact and clearly shows intensity distribution across the frame.
Use Cases:
- Simulating thermal imaging camera output for visual effects in films and games
- Scientific visualization of intensity distributions in video data
- Artistic video effects creating dramatic false-color visuals
- Security and surveillance video effects for enhanced monitoring displays
- Educational content demonstrating heat and light intensity concepts
- Music videos and creative projects requiring striking visual transformations
Performance Characteristics: This effect has minimal performance impact as it runs entirely on the GPU. Typical overhead is less than 0.5ms per frame on modern hardware. The heat map transformation is a straightforward per-pixel lookup operation, making it extremely efficient. Performance remains constant across all resolutions and is real-time capable even at 8K on modern GPUs. The effect does not require texture lookups or complex calculations, only color space conversion and gradient mapping. On mobile devices with OpenGL ES, performance is excellent with no observable impact on frame rate at typical video resolutions.
Constructors
GLHeatVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLHeatVideoEffect class.
public GLHeatVideoEffect()