diff --git a/ImageSegmentation/antsAtroposSegmentationImageFilter.hxx b/ImageSegmentation/antsAtroposSegmentationImageFilter.hxx index ff8480bce..c2e8943bc 100644 --- a/ImageSegmentation/antsAtroposSegmentationImageFilter.hxx +++ b/ImageSegmentation/antsAtroposSegmentationImageFilter.hxx @@ -615,7 +615,7 @@ AtroposSegmentationImageFilter::Gener { this->m_MixtureModelComponents[n]->SetListSampleWeights(&weights[n]); this->m_MixtureModelComponents[n]->SetInputListSample(samples[n]); - this->m_MixtureModelComponents[n]->ClearInputListSample(); + // this->m_MixtureModelComponents[n]->ClearInputListSample(); if (this->m_UseMixtureModelProportions) { @@ -635,7 +635,7 @@ AtroposSegmentationImageFilter::Gener { this->m_MixtureModelComponents[n]->SetListSampleWeights(d, &weights[labelSet[d] - 1]); this->m_MixtureModelComponents[n]->SetIndexedInputListSample(d, samples[labelSet[d] - 1]); - this->m_MixtureModelComponents[n]->ClearInputListSample(d); + // this->m_MixtureModelComponents[n]->ClearInputListSample(d); } this->m_MixtureModelProportions[n] = 0.0; @@ -1279,7 +1279,7 @@ AtroposSegmentationImageFilter::Updat { this->m_MixtureModelComponents[n]->SetListSampleWeights(&weights); this->m_MixtureModelComponents[n]->SetInputListSample(sample); - this->m_MixtureModelComponents[n]->ClearInputListSample(); + // this->m_MixtureModelComponents[n]->ClearInputListSample(); } else { @@ -1290,7 +1290,7 @@ AtroposSegmentationImageFilter::Updat { this->m_MixtureModelComponents[n]->SetListSampleWeights(d, &weights); this->m_MixtureModelComponents[n]->SetIndexedInputListSample(d, sample); - this->m_MixtureModelComponents[n]->ClearInputListSample(d); + // this->m_MixtureModelComponents[n]->ClearInputListSample(d); } } this->m_MixtureModelProportions[n] = 0.0; diff --git a/ImageSegmentation/antsManifoldParzenWindowsListSampleFunction.hxx b/ImageSegmentation/antsManifoldParzenWindowsListSampleFunction.hxx index 1446e81d1..3d488475f 100644 --- a/ImageSegmentation/antsManifoldParzenWindowsListSampleFunction.hxx +++ b/ImageSegmentation/antsManifoldParzenWindowsListSampleFunction.hxx @@ -191,7 +191,7 @@ ManifoldParzenWindowsListSampleFunction::Evalua } else { - typename TreeGeneratorType::KdTreeType ::InstanceIdentifierVectorType neighbors; + typename TreeGeneratorType::KdTreeType::InstanceIdentifierVectorType neighbors; this->m_KdTreeGenerator->GetOutput()->Search(measurement, numberOfNeighbors, neighbors); for (unsigned int j = 0; j < numberOfNeighbors; j++) {