Function graspi::all_perfomance_indicators_3phases

Function Documentation

void graspi::all_perfomance_indicators_3phases(graspi::DESC &descriptors, std::ostream &os, graph_t *G, const dim_g_t &d_g, const vertex_colors_t &C, const dim_a_t &d_a, const edge_weights_t &W, const edge_colors_t &L, const vertex_ccs_t &vCC, const ccs_t &CC, double pixelsize, const std::string &res_path)

This function computes performance indicators (descriptors) of morphology stored as graph

This function computes a set of descriptors of three-phase morphology represented as a graph

Parameters
  • descriptors: is the vector of descriptors

  • G: is the graph

  • d_g: is the struct storing the dimension of graph vertices

  • C: is the vector storing the labels/colors of vertices in the graph G

  • d_a: is the struct storing dimensions of the morphology represented as a array

  • W: is the map storing the weights of the edges

  • L: is the map storing the labels/colors of the edges in graph G

  • vCC: is the vector storing indices of the connected components (CC) of each vector in the graph

  • CC: is the vector of CC,

  • pixelsize: is the physical unit of the voxel (distances will be rescaled according to this value)

  • res_path: is the path to location where all resulting files should be saved