From 04785d95959a468a571a2010184e70398cd56463 Mon Sep 17 00:00:00 2001
From: ctraizet <cedric.traizet@c-s.fr>
Date: Mon, 25 Mar 2019 16:18:08 +0100
Subject: [PATCH] ENH: add no data to doc limitation

---
 Modules/Applications/AppSegmentation/app/otbSegmentation.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
index 777325177d..6d306ab4ce 100644
--- a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
+++ b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
@@ -166,7 +166,8 @@ private:
 
     SetDocLimitations("In raster mode, the application can not handle large input images. Stitching step of vector mode might become slow with very large input images."
                      " \nMeanShift filter results depends on the number of threads used. \nWatershed and multiscale geodesic morphology segmentation will be performed on the amplitude "
-                     " of the input image.");
+                     " of the input image. \nThis application does not handle no data values. No data pixels will be treated as regular pixels,"
+                     " This may lead to unexpected segmentation results and crashes.");
 
     SetDocAuthors("OTB-Team");
     SetDocSeeAlso("MeanShiftSegmentation");
-- 
GitLab