const unsigned long& l
)
{
+ double rr = r * double( 1.5 );
+
// Get marking region
auto rreg = this->m_MarkImage->GetRequestedRegion( );
auto spac = this->m_MarkImage->GetSpacing( );
bool all = false;
for( unsigned int d = 0; d < _TImage::ImageDimension; ++d )
{
- unsigned long s = std::ceil( r / double( spac[ d ] ) );
+ unsigned long s = std::ceil( rr / double( spac[ d ] ) );
if( s < 3 )
{
s = 3;
{
typename _TImage::PointType pnt;
this->m_MarkImage->TransformIndexToPhysicalPoint( spIt.GetIndex( ), pnt );
- // TODO: if( double( pnt.EuclideanDistanceTo( c ) ) <= r || all )
- // TODO: if( spIt.Get( ) == 0 )
- spIt.Set( l );
+ if( double( pnt.EuclideanDistanceTo( c ) ) <= rr || all )
+ if( spIt.Get( ) == 0 )
+ spIt.Set( l );
} // rof
}