Skip to content

Commit

Permalink
COMP: needed explicit ANTS::WriteImage
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Jun 8, 2022
1 parent e02f505 commit 5a5ef53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/antsVersions.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Dependency;GitTag
ANTs;d30526f9cb5159bc0a3e9011f7ae5f409b3634c8
ANTsRCore;3a7dba165ca9fe245c14c667e3674d8697bd032e
ANTsRCore;e02f50536036eca437cd92081311ad33473942e6
ANTsURL;https://github.com/ANTsX/ANTs.git
ITK;v5.3rc03
3 changes: 2 additions & 1 deletion src/ANTSIntegrateVelocityField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ void velocityIntegrationHelper(
integrator->SetUpperTimeBound( finishtime );
integrator->SetNumberOfIntegrationSteps( static_cast<unsigned int>( std::round( 1.0 / dT ) ) );
integrator->Update();
WriteImage<DisplacementFieldType>( integrator->GetOutput(), r_deformation.c_str() );
// r_deformation = integrator->GetOutput();
ANTs::WriteImage<DisplacementFieldType>( integrator->GetOutput(), r_deformation.c_str() );
return;
}

Expand Down

0 comments on commit 5a5ef53

Please sign in to comment.