Skip to content
Snippets Groups Projects
Commit b43c8d3f authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent e4f2c556
No related branches found
No related tags found
No related merge requests found
...@@ -626,7 +626,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri ...@@ -626,7 +626,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
{ {
m_TempDEMRegions.clear(); m_TempDEMRegions.clear();
for (unsigned int i=0;i<m_UsedInputSplits;i++) for (unsigned int i=0; i<m_UsedInputSplits; i++)
{ {
typename DEMImageType::Pointer tmpImg = TOutputDEMImage::New(); typename DEMImageType::Pointer tmpImg = TOutputDEMImage::New();
tmpImg->SetNumberOfComponentsPerPixel(1); tmpImg->SetNumberOfComponentsPerPixel(1);
...@@ -689,7 +689,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri ...@@ -689,7 +689,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
const TEpipolarGridImage * leftGrid = this->GetLeftEpipolarGridInput(); const TEpipolarGridImage * leftGrid = this->GetLeftEpipolarGridInput();
const TEpipolarGridImage * rightGrid = this->GetRightEpipolarGridInput(); const TEpipolarGridImage * rightGrid = this->GetRightEpipolarGridInput();
typename TEpipolarGridImage::RegionType gridRegion = leftGrid->GetLargestPossibleRegion(); typename TEpipolarGridImage::RegionType gridRegion = leftGrid->GetLargestPossibleRegion();
TOutputDEMImage * tmpDEM = NULL; TOutputDEMImage * tmpDEM = NULL;
typename TOutputDEMImage::RegionType outputRequestedRegion = outputDEM->GetRequestedRegion(); typename TOutputDEMImage::RegionType outputRequestedRegion = outputDEM->GetRequestedRegion();
...@@ -929,7 +929,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri ...@@ -929,7 +929,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
} }
// Check DEMs from other threads and keep the maximum elevation // Check DEMs from other threads and keep the maximum elevation
for (unsigned int i=1;i<m_TempDEMRegions.size();i++) for (unsigned int i=1; i<m_TempDEMRegions.size(); i++)
{ {
itk::ImageRegionIterator<DEMImageType> tmpDEMIt(m_TempDEMRegions[i],outputDEM->GetRequestedRegion()); itk::ImageRegionIterator<DEMImageType> tmpDEMIt(m_TempDEMRegions[i],outputDEM->GetRequestedRegion());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment