Add rollingsum filter for frame analysis based on column mean deviation

- Implements GStreamer element that analyzes pixel columns
- Drops frames when column mean deviates from rolling baseline
- Configurable window size, column index, stride, and threshold
- Includes design documentation and build script
- Tested successfully with IDS uEye camera source
This commit is contained in:
yair
2025-11-14 03:44:54 +02:00
parent 15871ea9fb
commit 69dcea025e
13 changed files with 1679 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
set (SOURCES
gstrollingsum.c
)
set (HEADERS
gstrollingsum.h)
include_directories (AFTER
${ORC_INCLUDE_DIR})
set (libname gstrollingsum)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${ORC_LIBRARIES}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY})
if (WIN32)
install (FILES $<TARGET_PDB_FILE:${libname}> DESTINATION ${PDB_INSTALL_DIR} COMPONENT pdb OPTIONAL)
endif ()
install(TARGETS ${libname} LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})