X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffpa%2FImage%2FRegionGrowWithMultipleThresholds.hxx;h=2e8c995c20d26ece1a8992b09c2c703f0d604a9c;hb=c7563ffe89c76b52736c3bd6bb2d5e6fac009cdd;hp=e9ea4566b6ef59791d567f8d86b5a14f659e51aa;hpb=73e3158dab6ffe30c215b2899fd80ee868f330ce;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/RegionGrowWithMultipleThresholds.hxx b/lib/fpa/Image/RegionGrowWithMultipleThresholds.hxx index e9ea456..2e8c995 100644 --- a/lib/fpa/Image/RegionGrowWithMultipleThresholds.hxx +++ b/lib/fpa/Image/RegionGrowWithMultipleThresholds.hxx @@ -93,6 +93,7 @@ _BeforeMainLoop( ) if( it.GetPixel( i ) < min_value ) { seed.Vertex = it.GetIndex( i ); + seed.Parent = seed.Vertex; min_value = it.GetPixel( i ); } // fi