Defined in File segmentation_visualizer.hpp
class nvidia::holoscan::segmentation_visualizer::Visualizer : public gxf::Codelet
OpenGL Visualization Codelet that combines segmentation output overlayed on video input.
This Codelet performs visualization of a segmentation model alpha blended with the original The window is displayed with GLFW and uses CUDA/OpenGL interopt propogate CUDA Tensors from the CUDA context to OpenGL. The final class color is rendered using a GLSL fragment shader to remap the class index to an RGBA LUT. The LUT can be configured inside the YAML for common class colors. In some cases the alpha component may be desired to be 0 (fully transparent) to prevent drawing over segmentation classes that are uninteresting.
gxf_result_t start() override
gxf_result_t tick() override
gxf_result_t stop() override
gxf_result_t registerInterface(gxf::Registrar *registrar) override
- gxf_result_t start() override