Skip to content
Snippets Groups Projects
Commit cc67fb67 authored by Julien Michel's avatar Julien Michel
Browse files

Correction test en erreur.

parent 38c85acf
No related branches found
No related tags found
No related merge requests found
......@@ -255,8 +255,8 @@ Segmenter<TInputImage, TOuputImage>
while(it!=pointSetFilter->GetOutput()->GetPoints()->End())
{
typename OutputImageType::IndexType index;
index[0]=static_cast<long int>(it.Value()[0]*(mult->GetOutput()->GetSpacing()[0]));
index[1]=static_cast<long int>(it.Value()[1]*(mult->GetOutput()->GetSpacing()[1]));
index[0]=static_cast<long int>(it.Value()[0]);
index[1]=static_cast<long int>(it.Value()[1]);
connectedThreshold->AddSeed(index);
it++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment