Back to the main page.
Bug 3031 - implement ft_volumereorient
| Status | CLOSED FIXED |
| Reported | 2015-12-16 14:41:00 +0100 |
| Modified | 2021-10-29 12:38:40 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Mac OS |
| Importance: | P5 normal |
| Assigned to: | Robert Oostenveld |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Robert Oostenveld - 2015-12-16 14:41:14 +0100
this would complement ft_volumereslice, but not interpolate. It could have cfg.flipdim = 1; % could also be a vector cfg.permute = [1 3 2]; it would first flip, then permute. The operations on the array are trivial, the corresponding adaptations of the transformation matrix are not completely trivial.
Jan-Mathijs Schoffelen - 2015-12-16 14:49:24 +0100
Note that the lower level functionality already exists in private/volumeflip and private/volumepermute Although they don't seem to be currently used by higher level functions. Also, I think that align_ijk2xyz does what you suggest.
Robert Oostenveld - 2021-10-29 12:16:17 +0200
This can be closed, since this has been implemented (already quite some time ago) in ft_volumereslice as cfg.method=flip.