From 46920654b81b66672fb43e3bc8ac89805857be55 Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Thu, 14 Nov 2024 15:55:33 +0100 Subject: [PATCH 1/2] fix values --- clic/include/tier2.hpp | 59 +++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/clic/include/tier2.hpp b/clic/include/tier2.hpp index df5a9095..d708bbbe 100644 --- a/clic/include/tier2.hpp +++ b/clic/include/tier2.hpp @@ -392,8 +392,9 @@ divide_by_gaussian_background_func(const Device::Pointer & device, * */ auto -degrees_to_radians_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +degrees_to_radians_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** * @name detect_maxima_box @@ -403,9 +404,9 @@ degrees_to_radians_func(const Device::Pointer & device, const Array::Pointer & s * @param device Device to perform the operation on. [const Device::Pointer &] * @param src Input image to process. [const Array::Pointer &] * @param dst Output result image. [Array::Pointer ( = None )] - * @param radius_x Radius along the x axis. [float ( = 1 )] - * @param radius_y Radius along the y axis. [float ( = 1 )] - * @param radius_z Radius along the z axis. [float ( = 1 )] + * @param radius_x Radius along the x axis. [float ( = 0 )] + * @param radius_y Radius along the y axis. [float ( = 0 )] + * @param radius_z Radius along the z axis. [float ( = 0 )] * @return Array::Pointer * * @note 'binarize', 'in assistant' @@ -428,9 +429,9 @@ detect_maxima_box_func(const Device::Pointer & device, * @param device Device to perform the operation on. [const Device::Pointer &] * @param src Input image to process. [const Array::Pointer &] * @param dst Output result image. [Array::Pointer ( = None )] - * @param radius_x Radius along the x axis. [float ( = 1 )] - * @param radius_y Radius along the y axis. [float ( = 1 )] - * @param radius_z Radius along the z axis. [float ( = 1 )] + * @param radius_x Radius along the x axis. [float ( = 0 )] + * @param radius_y Radius along the y axis. [float ( = 0 )] + * @param radius_z Radius along the z axis. [float ( = 0 )] * @param connectivity Element shape, "box" or "sphere" [std::string ( = "box" )] * @return Array::Pointer * @@ -456,9 +457,9 @@ detect_maxima_func(const Device::Pointer & device, * @param device Device to perform the operation on. [const Device::Pointer &] * @param src Input image to process. [const Array::Pointer &] * @param dst Output result image. [Array::Pointer ( = None )] - * @param radius_x Radius along the x axis. [float ( = 1 )] - * @param radius_y Radius along the y axis. [float ( = 1 )] - * @param radius_z Radius along the z axis. [float ( = 1 )] + * @param radius_x Radius along the x axis. [float ( = 0 )] + * @param radius_y Radius along the y axis. [float ( = 0 )] + * @param radius_z Radius along the z axis. [float ( = 0 )] * @return Array::Pointer * * @note 'binarize', 'in assistant' @@ -481,9 +482,9 @@ detect_minima_box_func(const Device::Pointer & device, * @param device Device to perform the operation on. [const Device::Pointer &] * @param src Input image to process. [const Array::Pointer &] * @param dst Output result image. [Array::Pointer ( = None )] - * @param radius_x Radius along the x axis. [float ( = 1 )] - * @param radius_y Radius along the y axis. [float ( = 1 )] - * @param radius_z Radius along the z axis. [float ( = 1 )] + * @param radius_x Radius along the x axis. [float ( = 0 )] + * @param radius_y Radius along the y axis. [float ( = 0 )] + * @param radius_z Radius along the z axis. [float ( = 0 )] * @param connectivity Element shape, "box" or "sphere" [std::string ( = "box" )] * @return Array::Pointer * @@ -546,8 +547,9 @@ difference_of_gaussian_func(const Device::Pointer & device, * @see https://clij.github.io/clij2-docs/reference_extendLabelingViaVoronoi */ auto -extend_labeling_via_voronoi_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +extend_labeling_via_voronoi_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** @@ -596,8 +598,9 @@ label_spots_func(const Device::Pointer & device, const Array::Pointer & src, Arr * */ auto -large_hessian_eigenvalue_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +large_hessian_eigenvalue_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** @@ -646,8 +649,9 @@ minimum_of_all_pixels_func(const Device::Pointer & device, const Array::Pointer * */ auto -minimum_of_masked_pixels_func(const Device::Pointer & device, const Array::Pointer & src, const Array::Pointer & mask) - -> float; +minimum_of_masked_pixels_func(const Device::Pointer & device, + const Array::Pointer & src, + const Array::Pointer & mask) -> float; /** @@ -776,8 +780,9 @@ binary_opening_func(const Device::Pointer & device, * */ auto -radians_to_degrees_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +radians_to_degrees_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** @@ -793,8 +798,9 @@ radians_to_degrees_func(const Device::Pointer & device, const Array::Pointer & s * @see https://clij.github.io/clij2-docs/reference_reduceLabelsToLabelEdges */ auto -reduce_labels_to_label_edges_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +reduce_labels_to_label_edges_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** @@ -809,8 +815,9 @@ reduce_labels_to_label_edges_func(const Device::Pointer & device, const Array::P * */ auto -small_hessian_eigenvalue_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) - -> Array::Pointer; +small_hessian_eigenvalue_func(const Device::Pointer & device, + const Array::Pointer & src, + Array::Pointer dst) -> Array::Pointer; /** From 21676468c0b8d77fe061c63a87837407adf63531 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:55:50 +0000 Subject: [PATCH 2/2] style(pre-commit.ci): auto fixes --- clic/include/tier2.hpp | 35 ++++++++++++++--------------------- docs/source/versions.yaml | 2 +- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/clic/include/tier2.hpp b/clic/include/tier2.hpp index d708bbbe..4c6e521c 100644 --- a/clic/include/tier2.hpp +++ b/clic/include/tier2.hpp @@ -392,9 +392,8 @@ divide_by_gaussian_background_func(const Device::Pointer & device, * */ auto -degrees_to_radians_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +degrees_to_radians_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** * @name detect_maxima_box @@ -547,9 +546,8 @@ difference_of_gaussian_func(const Device::Pointer & device, * @see https://clij.github.io/clij2-docs/reference_extendLabelingViaVoronoi */ auto -extend_labeling_via_voronoi_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +extend_labeling_via_voronoi_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** @@ -598,9 +596,8 @@ label_spots_func(const Device::Pointer & device, const Array::Pointer & src, Arr * */ auto -large_hessian_eigenvalue_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +large_hessian_eigenvalue_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** @@ -649,9 +646,8 @@ minimum_of_all_pixels_func(const Device::Pointer & device, const Array::Pointer * */ auto -minimum_of_masked_pixels_func(const Device::Pointer & device, - const Array::Pointer & src, - const Array::Pointer & mask) -> float; +minimum_of_masked_pixels_func(const Device::Pointer & device, const Array::Pointer & src, const Array::Pointer & mask) + -> float; /** @@ -780,9 +776,8 @@ binary_opening_func(const Device::Pointer & device, * */ auto -radians_to_degrees_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +radians_to_degrees_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** @@ -798,9 +793,8 @@ radians_to_degrees_func(const Device::Pointer & device, * @see https://clij.github.io/clij2-docs/reference_reduceLabelsToLabelEdges */ auto -reduce_labels_to_label_edges_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +reduce_labels_to_label_edges_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** @@ -815,9 +809,8 @@ reduce_labels_to_label_edges_func(const Device::Pointer & device, * */ auto -small_hessian_eigenvalue_func(const Device::Pointer & device, - const Array::Pointer & src, - Array::Pointer dst) -> Array::Pointer; +small_hessian_eigenvalue_func(const Device::Pointer & device, const Array::Pointer & src, Array::Pointer dst) + -> Array::Pointer; /** diff --git a/docs/source/versions.yaml b/docs/source/versions.yaml index 4f79bab0..9ed8fc3b 100644 --- a/docs/source/versions.yaml +++ b/docs/source/versions.yaml @@ -1,4 +1,4 @@ "0.15.1": - tag: '0.15.1' + tag: '0.15.1' languages: - "en"