diff --git a/Code/Visualization/otbChannelSelectorFunctor.h b/Code/Visualization/otbChannelSelectorFunctor.h index 1c7e9c110514ed07fb97407cd18e0fc72bbd1dc3..ce30f915030ab078efa75513d945d7ad4f744ef0 100644 --- a/Code/Visualization/otbChannelSelectorFunctor.h +++ b/Code/Visualization/otbChannelSelectorFunctor.h @@ -66,7 +66,7 @@ namespace otb ChannelSelectorFunctor() : usingDefaultParameters(true) { - PixelType pix; + PixelType pix=itk::NumericTraits<PixelType>::Zero; ChannelListInitialization(pix); }