From 5f6519515c75ade40555d9a6ccced10ef7830df7 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Wed, 25 May 2011 13:38:18 +0200
Subject: [PATCH] ENH: reintroduce the Bias of 1.27 for BundleToPerfectSensor

---
 Projections/otbBundleToPerfectSensor.cxx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Projections/otbBundleToPerfectSensor.cxx b/Projections/otbBundleToPerfectSensor.cxx
index d0f32dd390..866fc79d14 100644
--- a/Projections/otbBundleToPerfectSensor.cxx
+++ b/Projections/otbBundleToPerfectSensor.cxx
@@ -145,7 +145,9 @@ int BundleToPerfectSensor::Execute(otb::ApplicationOptionsResult* parseResult)
       {
       ram = parseResult->GetParameterUInt("AvailableMemory");
       }
-    writer->SetAutomaticTiledStreaming(ram);
+
+    const double bias = 1.27;
+    writer->SetAutomaticTiledStreaming(ram, bias);
 
     otb::StandardWriterWatcher w4(writer, resampler,"Perfect sensor fusion");
     writer->Update();
-- 
GitLab