option "offset" - "Offset for ellips center from body center of gravity (default= 0,-50,0 mm)" double no multiple
option "axes" - "Half axes of the ellips (default= 100,30,150)" double no multiple
option "writeEllips" - "Write the initial ellipsoide image" string no
+option "writeDistMap" - "Write the distance map" string no
section "Ellipsoide growing"
distanceMapImageFilter->SetInsideIsPositive(false);
if (m_Verbose) std::cout<<"Calculating the distance map..."<<std::endl;
distanceMapImageFilter->Update();
+ if (m_ArgsInfo.writeDistMap_given) {
+ writeImage<LevelSetImageType>(distanceMapImageFilter->GetOutput(), m_ArgsInfo.writeDistMap_arg, m_Verbose);
+
+ }
//---------------------------------
// Grow while monitoring detection point