====== ShiftAndRotate ====== This logic provides a set of processors that will shift and/or rotate a given 2D image, image stack, or 3D model by the given parameters. This fundamental operations can be helpful during a variety of applications. ===== Usage ===== A stack of images/3Ds, individual 2D images, or a 3D will be subjected to the selected rotation and/or shifting operations with respect to the stated parameters. For more detail about the available operations and their parameters, consult the respective process section below. Since most of the processors just have one input (e.g. stack of images) and one output (e.g. stack of images w/ applied operation), only divergent in-/outputs are mentioned. ===== Processes ===== ==== Rotate ==== A given 3D map will be rotated according to the stated degree values for alpha, beta, and gamma angle. For further information on the angles, see [[eyes:coordinatesandconventions]]. |< 100% 30% >| ^ Parameters ^ Description ^ | Alpha | alpha rotation in degree | | Beta | beta rotation in degree | | Gamma | gamma rotation in degree | |< 100% 30% >| ^ New/Changed Header Values ^ Description ^ | appliedAlphaAngle | If rotated in alpha direction (around z-axis), this value will be created/altered | | appliedBetaAngle | If rotated in beta direction (around x-axis), this value will be created/altered | | appliedGammaAngle | If rotated in gamma direction (around y-axis), this value will be created/altered | ==== RotateZ ==== The given input (stack of) 2D image(s)s or 3D map(s) is rotated in-plane around the z-axis. For further information on the axes, see [[eyes:coordinatesandconventions]]. |< 100% 30% >| ^ Parameters ^ Description ^ | Rotation angle | Angle to rotate by in degrees | |< 100% 30% >| ^ New/Changed Header Values ^ Description ^ | appliedAlphaAngle | If rotated around z-axis, this value will be created/altered | ==== Shift ==== The given input (stack of) 2D image(s)s or 3D map(s) is shifted by the indicated values. For 2D images, a stated z-shift will be disregarded. For further information on the axes, see [[eyes:coordinatesandconventions]]. |< 100% 30% >| ^ Parameters ^ Description ^ | Rotation angle | Angle to rotate by in degrees | |< 100% 30% >| ^ New/Changed Header Values ^ Description ^ | appliedXShift | If shifted in x direction, this value will be created/altered | | appliedYShift | If shifted in y direction, this value will be created/altered | | appliedZShift | If shifted in z direction, this value will be created/altered |