Skip to content

0.23.0

Latest

Choose a tag to compare

@StRigaud StRigaud released this 19 Jun 07:39

What's New

labels neighbors statistics by @StRigaud in #529

This release introduce a set of functions based on touching and distance matrices computed from label map to generate several quantification of neighborhood topology (number of neighbor, mean distance of neighbor, surface contact with neighbors, etc.)

In result we have now labels_neighbors_statistics which compute these for a given label image.
For clarity, statistics_of_labelled_pixels and statistics_of_background_and_labelled_pixels was merged an renamed labels_statistics.

Both labels_statisticsand labels_neighbors_statistics have an include_background flag

parametric map by @StRigaud in #530

Update of the parametric_map function API. The function plot back a statistics into a label map for visualisation and further topology quantification. Previous implementation was recomputing the statistics on the whole image at every call. Now, instead, we pass the statistics table.

auto
parametric_map_func(const Device::Pointer & device,
                    const Array::Pointer &  labels,
                    const StatisticsMap &   properties,
                    Array::Pointer          dst,
                    const std::string &     target_property) -> Array::Pointer;

Making it compatible with both labels_statisticsand labels_neighbors_statistics.

Full Changelog: 0.22.0...0.23.0