MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
ConnectedComponents.hpp File Reference

Connected component labelling on normalised float masks. More...

#include "Features.hpp"
+ Include dependency graph for ConnectedComponents.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::Vision::ComponentResult
 Result of connected component labelling. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 
namespace  MayaFlux::Kinesis::Vision
 

Functions

ComponentResult MayaFlux::Kinesis::Vision::connected_components (std::span< const float > mask, uint32_t w, uint32_t h)
 Label connected foreground components in a binary mask.
 

Detailed Description

Connected component labelling on normalised float masks.

Pure functions. No MayaFlux type dependencies.

Conventions

  • Input masks are single-channel float where >= 0.5f is foreground
  • Label 0 is background; component labels start at 1
  • BoundingBox coordinates are normalised to [0, 1]
  • 8-connectivity is used throughout

Definition in file ConnectedComponents.hpp.