Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vfonov committed Aug 16, 2024
1 parent 6a52f72 commit 72640fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/minc_hl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ Resample Volume3D that contain 4D array,
using transformation, assume 1st dimension is non spatial
* `in_grid` - input Volume3D with 4D array describing vector field
* `out_grid` - output Volume3D with 4D array describing vector field
* `itfm` - inverse of the transformation to apply (i.e from output to input)
* `like` - Volume3D that is used for sampling information
"""
function resample_grid!(
in_grid::Volume3D{T,4},
Expand All @@ -350,7 +350,7 @@ function resample_grid!(

resample_grid_volume!(in_grid.vol, out_grid.vol, in_grid.v2w, inv(out_grid.v2w), itfm;
interp=BSpline(Linear()))
return Volume3D(out_vol, v2w)
return out_grid
end


Expand Down

0 comments on commit 72640fe

Please sign in to comment.