Xmipp  v3.23.11-Nereus
Functions
Swap axes in a volume
Collaboration diagram for Swap axes in a volume:

Functions

int SwapXyVolumeFloat (float *VolumeSource, float *VolumeDestination, long Nxy, long Nyx, long Nz)
 
int SwapYzVolumeFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Nyz, long Nzy)
 
int SwapZxVolumeFloat (float *VolumeSource, float *VolumeDestination, long Nxz, long Ny, long Nzx)
 

Detailed Description

Function Documentation

◆ SwapXyVolumeFloat()

int SwapXyVolumeFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nxy,
long  Nyx,
long  Nz 
)

Swap the x-axis and the y-axis of a volume. Input VolumeSource is a (float)volume of size (Nxy x Nyx x Nz). Output VolumeDestination is a (float)volume of size (Nyx x Nxy x Nz).

success: return(!ERROR); failure: return(ERROR);

◆ SwapYzVolumeFloat()

int SwapYzVolumeFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Nyz,
long  Nzy 
)

Swap the y-axis and the z-axis of a volume. Input VolumeSource is a (float)volume of size (Nx x Nyz x Nzy). Output VolumeDestination is a (float)volume of size (Nx x Nzy x Nyz).

success: return(!ERROR); failure: return(ERROR);

◆ SwapZxVolumeFloat()

int SwapZxVolumeFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nxz,
long  Ny,
long  Nzx 
)

Swap the z-axis and the x-axis of a volume. Input VolumeSource is a (float)volume of size (Nxz x Ny x Nzx). Output VolumeDestination is a (float)volume of size (Nzx x Ny x Nxz).

success: return(!ERROR); failure: return(ERROR);