Open amirhszd opened 1 day ago
There is a typo in the documentation for create_warped_grid. the create_warped_grid should take mygr.
import ants fi = ants.image_read( ants.get_ants_data( 'r16' ) ) mi = ants.image_read( ants.get_ants_data( 'r64' ) ) mygr = ants.create_warped_grid( mi ) mytx = ants.registration(fixed=fi, moving=mi, type_of_transform = ('SyN') ) mywarpedgrid = ants.create_warped_grid( mi, grid_directions=(False,True), transform=mytx['fwdtransforms'], fixed_reference_image=fi )
Great. Thanks. Please post a pull request.
There is a typo in the documentation for create_warped_grid. the create_warped_grid should take mygr.