Commit 867b9229 authored by Guillaume Pasero's avatar Guillaume Pasero

TEST: only rely on HasMask() method to test mask usage

parent bed47153
......@@ -190,7 +190,7 @@ int BijectiveTest(typename MaskIteratorType::ImageType::Pointer mask, typename I
itDecorated.GoToBegin();
// Find the non maked begin for the image iterator
if (mask)
if (itDecorated.HasMask())
{
while (mask->GetPixel(it.GetIndex()) == 0 && !it.IsAtEnd())
{
......@@ -225,7 +225,7 @@ int BijectiveTest(typename MaskIteratorType::ImageType::Pointer mask, typename I
}
++itDecorated;
if (mask)
if (itDecorated.HasMask())
{
do
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment