Commit 1666add3 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

MRG

parents 18366025 2be6c663
......@@ -16,6 +16,7 @@
#include <stdlib.h>
#include "itkMinimumMaximumImageCalculator.h"
#ifdef WIN32
#include <winsock.h>
#else
......@@ -295,6 +296,7 @@ struct nodeDataNew {
{
std::cerr << "Exception caught " << std::endl;
std::cerr << ee << std::endl;
return EXIT_FAILURE;
}
#ifdef WIN32
......@@ -305,4 +307,5 @@ struct nodeDataNew {
print_timing(stdout, start, end);
#endif
return EXIT_SUCCESS;
}//end main
......@@ -213,9 +213,18 @@ namespace itk
for(i=0;i<m_K;i++) {
Element[index].DObj[i]=0;
}
}
//Insert 1st element properly
dominio[index]=domainIt.Get();
if(dominio.size()==0)
{
dominio.insert(dominio.begin(),domainIt.Get());
}
else
{
dominio.insert(dominio.end(),domainIt.Get());
}
if (dominio[index] != m_BackgroundValue) {
CurrentIndex=domainIt.GetIndex();
Element[index].icur=1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment