]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 10 Oct 2016 20:02:30 +0000 (15:02 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 10 Oct 2016 20:02:30 +0000 (15:02 -0500)
lib/fpa/Image/EndPointsFilter.hxx

index 5600e868e47a10c432e3ae1d414a611dd23a0f77..c2e1d1c3d2b8b8108bc2711d5c090a15e4dece16 100644 (file)
@@ -59,7 +59,7 @@ Compute( )
     double d = double( dIt.Get( ) );
     if( d > 0 )
     {
-      double v = double( cIt.Get( ) ) / d;
+      double v = double( cIt.Get( ) ) / ( d * d );
       queue.insert( _TQueueValue( v, dIt.GetIndex( ) ) );
 
     } // fi