sk->SetMinimumSpanningTree( this->GetMinimumSpanningTree( ) );
auto bIt = this->m_Branches.begin( );
for( ; bIt != this->m_Branches.end( ); ++bIt )
- sk->AddBranch( bIt->first, bIt->second );
+ sk->AddBranch( bIt->second, bIt->first );
}
// -------------------------------------------------------------------------
{
typename _TImage::PointType pnt;
this->m_MarkImage->TransformIndexToPhysicalPoint( spIt.GetIndex( ), pnt );
- if( double( pnt.EuclideanDistanceTo( c ) ) <= rr || all )
+ /*
+ if( double( pnt.EuclideanDistanceTo( c ) ) <= rr || all )
if( spIt.Get( ) == 0 )
- spIt.Set( l );
+ */
+ spIt.Set( l );
} // rof
}