diff --git a/app/otbSARCorrelationGrid.cxx b/app/otbSARCorrelationGrid.cxx index 7976294dc787d51ade71678a69debb13785e7598..9f85c793d5334292b975e96a787afd1f31ba607a 100644 --- a/app/otbSARCorrelationGrid.cxx +++ b/app/otbSARCorrelationGrid.cxx @@ -151,11 +151,6 @@ void DoExecute() override minMaxFilter->SetImage(correlationFilter->GetOutput()); minMaxFilter->ComputeMaximum(); - float shiftSLC_range = ((correlationFilter->GetOutput()->GetLargestPossibleRegion().GetSize()[0]/2.)- - minMaxFilter->GetIndexOfMaximum()[0]) * static_cast<float>(factorML_ran); - float shiftSLC_azimut = ((correlationFilter->GetOutput()->GetLargestPossibleRegion().GetSize()[1]/2.) - -minMaxFilter->GetIndexOfMaximum()[1]) * static_cast<float>(factorML_azi); - float shiftML_range = ((correlationFilter->GetOutput()->GetLargestPossibleRegion().GetSize()[0]/2.)- minMaxFilter->GetIndexOfMaximum()[0]); float shiftML_azimut = ((correlationFilter->GetOutput()->GetLargestPossibleRegion().GetSize()[1]/2.) diff --git a/include/otbSARDopplerCentroidFreqImageFilter.txx b/include/otbSARDopplerCentroidFreqImageFilter.txx index f2bab7485e2a0ce33df97df744decc2b4ba006d4..9a216cc816fa2f9a4063f6988958d52e4b6228d8 100644 --- a/include/otbSARDopplerCentroidFreqImageFilter.txx +++ b/include/otbSARDopplerCentroidFreqImageFilter.txx @@ -205,7 +205,7 @@ namespace otb this->getAllCoefs(inputKWL, DCFRecords); - DurationType diffAziTimeMin; + DurationType diffAziTimeMin(0); unsigned int polySelected = 0; // Select one polynomial (with m_MidAziTime) diff --git a/include/otbSARTemporalCorrelationGridImageFilter.txx b/include/otbSARTemporalCorrelationGridImageFilter.txx index a7ec5551a48aa3cbd05ccc7bc03f7421596f5a9f..8f8fe2cbc0bf79e75d8e04c2dc28441521ea2a91 100644 --- a/include/otbSARTemporalCorrelationGridImageFilter.txx +++ b/include/otbSARTemporalCorrelationGridImageFilter.txx @@ -478,7 +478,6 @@ namespace otb // Typedef for iterators typedef itk::ImageScanlineIterator< ImageOutType > OutputIterator; typedef itk::ImageRegionConstIterator<ImageInType> MasterSlaveIt; - typedef itk::ImageRegionIterator<ImageInType> ExtractIt; // Iterator on output (Grid geometry) OutputIterator OutIt(this->GetOutput(), outputRegionForThread); diff --git a/include/otbSARUpdateMetadataImageFilter.txx b/include/otbSARUpdateMetadataImageFilter.txx index 13bbffbe204bb4d2da2195555902fe767ae19ff0..e6e0c1b634161ab47edef24f3bdf130051f35d3f 100644 --- a/include/otbSARUpdateMetadataImageFilter.txx +++ b/include/otbSARUpdateMetadataImageFilter.txx @@ -81,7 +81,7 @@ namespace otb template<class TImage> void SARUpdateMetadataImageFilter< TImage > - ::ThreadedGenerateData(const ImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) + ::ThreadedGenerateData(const ImageRegionType& outputRegionForThread, itk::ThreadIdType /*threadId*/) { // Get Input and Output ptr ImagePointer outputPtr = this->GetOutput(); diff --git a/include/otbTilesAnalysisImageFilter.h b/include/otbTilesAnalysisImageFilter.h index 544a6eede6c1a25592fc8ca7b664b42168697d84..980412b5788c4edd64e27fd2c2f52cfd1d82335d 100644 --- a/include/otbTilesAnalysisImageFilter.h +++ b/include/otbTilesAnalysisImageFilter.h @@ -188,7 +188,7 @@ protected: /** startIndex and stopIndex represent the indices of tiles to process in thread threadId and index for the first tile */ - virtual void ThreadedGenerateData(unsigned int startTileId, unsigned int stopTileId, + void ThreadedGenerateData(unsigned int startTileId, unsigned int stopTileId, unsigned int firstTileIndexL, unsigned int firstTileIndexC, itk::ThreadIdType threadId);