1 #ifndef teca_connected_components_h
2 #define teca_connected_components_h
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
55 TECA_ALGORITHM_PROPERTY(std::
string, segmentation_variable)
58 TECA_ALGORITHM_PROPERTY(std::
string, component_variable)
64 std::
string get_component_variable(const
teca_metadata &request);
65 std::
string get_segmentation_variable(const
teca_metadata &request);
72 unsigned int port, const std::vector<
teca_metadata> &input_md,
75 const_p_teca_dataset execute(
unsigned int port,
76 const std::vector<const_p_teca_dataset> &input_data,
80 std::
string component_variable;
81 std::
string segmentation_variable;