From ec88c1b785aafb2c3b3fb26c40cfd40b1df41005 Mon Sep 17 00:00:00 2001 From: Pierre Raybaut <1311787+PierreRaybaut@users.noreply.github.com> Date: Mon, 26 Oct 2026 07:34:22 +0100 Subject: [PATCH] docs(image): describe segment profiles sampled end point to end point Segment profiles are now sampled at regular steps from their start point to their end point included, with one sample per pixel along the axis where the segment spans the most pixels (DataLab-Platform/Sigima#101): they were sampled in steps of the smallest distance between pixel centers, which could omit the end point and allocate huge arrays. Assisted-by: Claude Opus 5.5 --- doc/features/image/menu_analysis.rst | 6 +++--- doc/locale/fr/LC_MESSAGES/features/image/menu_analysis.po | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/features/image/menu_analysis.rst b/doc/features/image/menu_analysis.rst index 87d7b0b41..2d28bd758 100644 --- a/doc/features/image/menu_analysis.rst +++ b/doc/features/image/menu_analysis.rst @@ -88,9 +88,9 @@ Segment profile ~~~~~~~~~~~~~~~ Extract a segment profile from each selected image, and create new signals -from these profiles. The segment is sampled at regular steps, equal to the -smallest distance between neighboring pixel centers, each sample taking the value -of the nearest pixel. +from these profiles. The segment is sampled at regular steps from its start point +to its end point included, with one sample per pixel along the axis where it spans +the most pixels, each sample taking the value of the nearest pixel. Average profile ~~~~~~~~~~~~~~~ diff --git a/doc/locale/fr/LC_MESSAGES/features/image/menu_analysis.po b/doc/locale/fr/LC_MESSAGES/features/image/menu_analysis.po index 3376bd4bc..858a74195 100644 --- a/doc/locale/fr/LC_MESSAGES/features/image/menu_analysis.po +++ b/doc/locale/fr/LC_MESSAGES/features/image/menu_analysis.po @@ -94,8 +94,8 @@ msgstr "Boîte de dialogue d'extraction de profil. Les paramètres peuvent être msgid "Segment profile" msgstr "Profil le long d'un segment" -msgid "Extract a segment profile from each selected image, and create new signals from these profiles. The segment is sampled at regular steps, equal to the smallest distance between neighboring pixel centers, each sample taking the value of the nearest pixel." -msgstr "Extraire un profil le long d'un segment de chaque image sélectionnée et créer un nouveau signal à partir de chacun de ces profils. Le segment est échantillonné par pas réguliers, égaux à la plus petite distance entre centres de pixels voisins, chaque échantillon prenant la valeur du pixel le plus proche." +msgid "Extract a segment profile from each selected image, and create new signals from these profiles. The segment is sampled at regular steps from its start point to its end point included, with one sample per pixel along the axis where it spans the most pixels, each sample taking the value of the nearest pixel." +msgstr "Extraire un profil le long d'un segment de chaque image sélectionnée et créer un nouveau signal à partir de chacun de ces profils. Le segment est échantillonné à pas réguliers de son point de départ à son point d'arrivée inclus, avec un échantillon par pixel le long de l'axe sur lequel il couvre le plus de pixels, chaque échantillon prenant la valeur du pixel le plus proche." msgid "Average profile" msgstr "Profil moyen"