From 118271dc3e40d3455421c8a80e833abeb2eac12c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr>
Date: Tue, 7 May 2019 17:49:09 +0200
Subject: [PATCH] DOC: added references to alternative for deprecated
 applications

---
 Modules/Applications/AppImageUtils/app/otbRescale.cxx        | 2 +-
 .../AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx       | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Modules/Applications/AppImageUtils/app/otbRescale.cxx b/Modules/Applications/AppImageUtils/app/otbRescale.cxx
index ddb95a9404..f6195454b4 100644
--- a/Modules/Applications/AppImageUtils/app/otbRescale.cxx
+++ b/Modules/Applications/AppImageUtils/app/otbRescale.cxx
@@ -60,7 +60,7 @@ private:
                                   "Input minimum and maximum values is automatically computed for all image bands.");
     SetDocLimitations("None");
     SetDocAuthors("OTB-Team");
-    SetDocSeeAlso(" ");
+    SetDocSeeAlso("DynamicConvert");
 
     AddDocTag(Tags::Deprecated);
     AddDocTag(Tags::Manip);
diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
index b0bffe8fc8..df37fde5eb 100644
--- a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
+++ b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx
@@ -97,11 +97,12 @@ private:
                       " application is not compatible with in-memory connection since it does"
                       " its own internal streaming.");
     SetDocAuthors("David Youssefi");
-    SetDocSeeAlso( "[1] Michel, J., Youssefi, D., & Grizonnet, M. (2015). Stable"
+    SetDocSeeAlso( "Alternative: SmallRegionsMerging\n"
+                   "[1] Michel, J., Youssefi, D., & Grizonnet, M. (2015). Stable"
                    " mean-shift algorithm and its application to the segmentation of"
                    " arbitrarily large remote sensing images. IEEE Transactions on"
                    " Geoscience and Remote Sensing, 53(2), 952-964.\n"
-                   "[2] LSMSegmentation\n"
+                   "[2] LSMSSegmentation\n"
                    "[3] LSMSVectorization");
     AddDocTag(Tags::Segmentation);
     AddDocTag(Tags::Deprecated);
-- 
GitLab