Skip to content
Snippets Groups Projects
Commit 3cad0e30 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : print suppression

parent 50f123af
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ UnaryFunctorNeighborhoodWithOffsetImageFilter<TInputImage, TOutputImage, TFuncti
itk::ProgressReporter progress(this, threadId, outputRegionForThread.GetNumberOfPixels());
for (fit=faceList.begin(), fitOff=faceListOff.begin(); fit != faceList.end(), fitOff != faceListOff.end(); ++fit, ++fitOff)
{std::cout<<"ALOOOOOORRRRRRSSSSSSSS"<<threadId<<std::endl;
{
// neighborhood iterator
neighInputIt = itk::ConstNeighborhoodIterator<TInputImage>(r, inputPtr, *fit);
neighInputIt.OverrideBoundaryCondition(&nbc);
......@@ -165,14 +165,10 @@ UnaryFunctorNeighborhoodWithOffsetImageFilter<TInputImage, TOutputImage, TFuncti
neighInputOffIt.GoToBegin();
outputIt = itk::ImageRegionIterator<TOutputImage>(outputPtr, *fit);
unsigned int pp=0;
while ( ! outputIt.IsAtEnd() )
{
std::cout<<threadId<<"/"<<m_FunctorList.size()<<" -> "<<pp<<std::endl;
outputIt.Set( m_FunctorList[threadId]( neighInputIt, neighInputOffIt) );
std::cout<<threadId<<"/"<<m_FunctorList.size()<<" -> "<<pp<<std::endl;
pp++;
++neighInputIt;
++neighInputOffIt;
++outputIt;
......
......@@ -1042,7 +1042,7 @@ ADD_TEST(feTpSimplifyManyPathListFilter ${FEATUREEXTRACTION_TESTS11}
# ------- otb::TextureFunctorBase -------------
ADD_TEST(feTvTextureFunctorBase ${FEATUREEXTRACTION_TESTS11}
--compare-image ${EPS}
${BASELINE}/feTvTextureFunctorBase.tif
${INPUTDATA}/poupees_sub.png
${TEMP}/feTvTextureFunctorBase.tif
otbTextureFunctorBase
${INPUTDATA}/poupees_sub.png
......
......@@ -45,7 +45,7 @@ public:
virtual double ComputeOverSingleChannel(const NeighborhoodType &neigh, const NeighborhoodType &neighOff)
{
double out = 1;//neigh.GetCenterValue();
double out = neigh.GetCenterValue();
return out;
}
......
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