Rotate

_Rotate, _RotateLeft, _RotateRight, Rotate, RotateGrow, RotateGrowND, RotateLeft, RotateLeftND, RotateND, RotateRight, RotateRightND

Rotate

Interactive command to this function: Image > Rotate > Rotate By Degree

Description 

 Rotate(
   int  XCenter,
   int  YCenter,
   double  Angle
);

The Rotate function rotates current image by the given angle.

Parameters

int XCenter

X coordinate of the center of the rotation. Value ranging from 0 to width of the image. If value == -1, than Xcenter has special meaning.

-1

Center of the rotation will be in the center of the image.

int YCenter

Y coordinate of the center of the rotation. Value ranging from 0 to width of the image. If value == -1, than Ycenter has special meaning.

-1

Center of the rotation will be in the center of the image.

double Angle

Defines the angle of rotation in positive direction. Values can range from -360 to 360.

Note

Rotated image is computed from the source using 4-neighborhood.

See Also 
RotateLeft, RotateRight, FlipHorizontally, FlipVertically

RotateGrow

Description 

 RotateGrow(
   double  AngleRot
);

The RotateGrow function rotates an image by specified angle.

Parameters

double AngleRot

Angle of rotation.

See Also 
Rotate, RotateLeft, RotateRight

RotateGrowND

Description 

 RotateGrowND(
   double  AngleRot
);

This function rotates image around it's center and enlarges canvas for rotated image to fit in. Area around corners become black. It performs same operation as RotateGrow function, but on whole ND sequence.

Parameters

double AngleRot

Determines angle of rotation(in degrees). Positive angle means rotation counter clockwise.

See Also 
RotateGrow, RotateND, RotateLeftND, RotateRightND

RotateLeft

This function runs the Image > Rotate > Rotate Left command.

Description 

 RotateLeft();

The RotateLeft function rotates an image by 90° to the left.

See Also 
Rotate, RotateRight

RotateLeftND

Description 

 RotateLeftND();

The RotateLeftND function rotates an image by 90° to the left. It performs same operation as RotateLeft function, but on whole ND sequence.

See Also 
RotateLeft, RotateND, RotateGrowND, RotateRightND

RotateND

Description 

 RotateND(
   double  XRot,
   double  YRot,
   double  AngleRot,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

This function rotates image around some pivot. It performs the same operation as Rotate function, but on the whole ND sequence.

Parameters

double XRot

Center of rotation: x-coordinate. Also determines center of cropped rectangle.

double YRot

Center of rotation: y-coordinate. Also determines center of cropped rectangle.

double AngleRot

Determines angle of rotation(in degrees). Positive angle means rotation counter clockwise.

int NDTLoop

0

apply to the current loop only

1

apply to the whole Time dimension

int NDMPLoop

Apply to Multi Point dimension.

0

apply to the current loop only

1

apply to the whole Multi Point dimension

int NDZLoop

Apply to Z dimension

0

apply to the current loop only

1

apply to the whole Z Series dimension

See Also 
Rotate, RotateGrowND, RotateLeftND, RotateRightND

RotateRight

This function runs the Image > Rotate > Rotate Right command.

Description 

 RotateRight();

The RotateRight function rotates an image by 90° to the right.

See Also 
Rotate, RotateLeft

RotateRightND

Description 

 RotateRightND();

The RotateRightND function rotates an image by 90° to the right. It performs same operation as RotateRight function, but on whole ND sequence.

See Also 
RotateRight, RotateND, RotateGrowND, RotateLeftND

_Rotate

This function runs the Image > Rotate > Rotate By Degree command.

Description 

 _Rotate();

This function displays the Rotation dialog window.

See Also 
Rotate

_RotateLeft

Description 

 _RotateLeft();

This function rotates the current image left by 90 degrees.

_RotateRight

Description 

 _RotateRight();

This function rotates the current image right by 90 degrees.