From 3162bc6e50bcf85dd081c056f182f855913a054d Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Mon, 19 Oct 2009 16:05:32 +0200
Subject: [PATCH] ENH: add the image size in the pixel description

---
 Code/Visualization/otbImageLayer.txx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Code/Visualization/otbImageLayer.txx b/Code/Visualization/otbImageLayer.txx
index f0c34b6dd3..a75e08af3a 100644
--- a/Code/Visualization/otbImageLayer.txx
+++ b/Code/Visualization/otbImageLayer.txx
@@ -244,6 +244,7 @@ ImageLayer<TImage,TOutputImage>
   // The ouptut stringstream
   itk::OStringStream oss;
   oss<<"Layer: "<<this->GetName();
+  oss<<std::endl<<"Image Size: "<<m_Image->GetLargestPossibleRegion().GetSize();
   // If we are inside the buffered region
   if(m_Image->GetBufferedRegion().IsInside(index))
     {
-- 
GitLab