Comment on page
HeatMapnode in AugeLab Studio applies the heatmap visualization technique to highlight areas of interest in an input image or video.
HeatMapnode generates a heatmap by accumulating the motion information in consecutive frames of a video or image sequence. It uses the background subtraction technique and applies a color map to visualize the accumulated motion over time.
- Node Title: HeatMap
- Node ID: OP_NODE_HEATMAP
HeatMapnode has the following input socket:
- Image: The input image or video frame to be processed. Connect an image or video frame to this socket.
HeatMapnode has the following output socket:
- Image: The resulting image with the heatmap visualization applied.
HeatMapnode has the following configuration options:
- Threshold: Adjust the threshold value to control the sensitivity of motion detection. Higher values will detect only strong motion, while lower values will detect more subtle motion.
- MaxValue: Set the maximum value for the motion pixels in the accumulated image. Increasing this value will make the motion pixels more prominent in the heatmap visualization.
- Alpha: Adjust the blending factor for overlaying the accumulated motion on the original frame. Higher values will make the accumulated motion more visible.
- Beta: Adjust the blending factor for overlaying the color map on the original frame. Higher values will make the color map more prominent.
- 1.Drag and drop the
HeatMapnode from the node library onto the canvas in AugeLab Studio.
- 2.Connect the input image or video frame to the Image input socket of the
- 3.Configure the node properties according to your needs, such as adjusting the threshold, max value, alpha, and beta values.
- 4.Run the pipeline.
HeatMapnode will accumulate the motion information in consecutive frames and generate a heatmap visualization.
- 6.The resulting image with the heatmap visualization will be available at the Image output socket.
HeatMapnode uses the
cv2.createBackgroundSubtractorMOG2function from OpenCV to perform background subtraction and detect motion.
- The accumulated motion information is visualized using a color map applied to the original frame.
- The threshold value determines the sensitivity of motion detection. Adjust it to detect the desired level of motion.
- The max value controls the intensity of the motion pixels in the accumulated image. Increasing it will make the motion more prominent in the heatmap visualization.
- The alpha and beta values control the blending factors for overlaying the accumulated motion and color map on the original frame. Adjust them to achieve the desired visual effect.
HeatMapnode accumulates motion information over time. Reset the node to clear the accumulated motion and start a new heatmap visualization.
That concludes the documentation for the
HeatMapnode in AugeLab Studio. This node allows you to generate a heatmap visualization to highlight areas of interest in an image or video based on motion detection.