diff --git a/clic/include/tier4.hpp b/clic/include/tier4.hpp index 99312747..55dfb7e2 100644 --- a/clic/include/tier4.hpp +++ b/clic/include/tier4.hpp @@ -210,8 +210,8 @@ remove_labels_with_map_values_within_range_func(const Device::Pointer & device, * associated with the labels. * * @param device Device to perform the operation on. [const Device::Pointer &] - * @param src Input image where labels will be filtered. [const Array::Pointer &] - * @param values Vector of values associated with the labels. [const Array::Pointer &] + * @param values_map Vector of values associated with the labels. [const Array::Pointer &] + * @param label_map_input Input image where labels will be filtered. [const Array::Pointer &] * @param dst Output image where labels will be written to. [Array::Pointer ( = None )] * @param min_value_range Minimum value to keep. [float ( = 0 )] * @param max_value_range Maximum value to keep. [float ( = 100 )] @@ -223,8 +223,8 @@ remove_labels_with_map_values_within_range_func(const Device::Pointer & device, */ auto exclude_labels_with_map_values_out_of_range_func(const Device::Pointer & device, - const Array::Pointer & src, - const Array::Pointer & values, + const Array::Pointer & values_map, + const Array::Pointer & label_map_input, Array::Pointer dst, float min_value_range, float max_value_range) -> Array::Pointer; @@ -235,8 +235,8 @@ exclude_labels_with_map_values_out_of_range_func(const Device::Pointer & device, * associated with the labels. * * @param device Device to perform the operation on. [const Device::Pointer &] - * @param src Input image where labels will be filtered. [const Array::Pointer &] - * @param values Vector of values associated with the labels. [const Array::Pointer &] + * @param values_map Vector of values associated with the labels. [const Array::Pointer &] + * @param label_map_input Input image where labels will be filtered. [const Array::Pointer &] * @param dst Output image where labels will be written to. [Array::Pointer ( = None )] * @param min_value_range Minimum value to keep. [float ( = 0 )] * @param max_value_range Maximum value to keep. [float ( = 100 )] @@ -248,8 +248,8 @@ exclude_labels_with_map_values_out_of_range_func(const Device::Pointer & device, */ auto exclude_labels_with_map_values_within_range_func(const Device::Pointer & device, - const Array::Pointer & src, - const Array::Pointer & values, + const Array::Pointer & values_map, + const Array::Pointer & label_map_input, Array::Pointer dst, float min_value_range, float max_value_range) -> Array::Pointer; diff --git a/clic/src/tier4/filter_label_by_values.cpp b/clic/src/tier4/filter_label_by_values.cpp index 830d3519..2e706ebf 100644 --- a/clic/src/tier4/filter_label_by_values.cpp +++ b/clic/src/tier4/filter_label_by_values.cpp @@ -47,25 +47,27 @@ remove_labels_with_map_values_within_range_func(const Device::Pointer & device, auto exclude_labels_with_map_values_out_of_range_func(const Device::Pointer & device, - const Array::Pointer & src, - const Array::Pointer & values, + const Array::Pointer & values_map, + const Array::Pointer & label_map_input, Array::Pointer dst, float min_value_range, float max_value_range) -> Array::Pointer { - return remove_labels_with_map_values_out_of_range_func(device, src, values, dst, min_value_range, max_value_range); + return remove_labels_with_map_values_out_of_range_func( + device, label_map_input, values_map, dst, min_value_range, max_value_range); } auto exclude_labels_with_map_values_within_range_func(const Device::Pointer & device, - const Array::Pointer & src, - const Array::Pointer & values, + const Array::Pointer & values_map, + const Array::Pointer & label_map_input, Array::Pointer dst, float min_value_range, float max_value_range) -> Array::Pointer { - return remove_labels_with_map_values_within_range_func(device, src, values, dst, min_value_range, max_value_range); + return remove_labels_with_map_values_within_range_func( + device, label_map_input, values_map, dst, min_value_range, max_value_range); } } // namespace cle::tier4