Rotate

_Rotate, _RotateLeft, _RotateRect, _RotateRight, Rotate, RotateGrow, RotateGrowND, RotateInCenter, RotateLeft, RotateLeftND, RotateLevelHor, RotateLevelVer, RotateND, RotateRect, RotateRectND, 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, RotateRectND, RotateLeftND, RotateRightND

RotateInCenter

This function runs the Image > Rotate > Rotate in Center command.

Description 

 RotateInCenter();

RotateLeft

Interactive command to this function: Image > Rotate > Rotate Left

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, RotateRectND, RotateGrowND, RotateRightND

RotateLevelHor

This function runs the Image > Rotate > Rotate Level Horizontal command.

Description 

 RotateLevelHor();

RotateLevelVer

This function runs the Image > Rotate > Rotate Level Vertical command.

Description 

 RotateLevelVer();

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, RotateRectND, RotateGrowND, RotateLeftND, RotateRightND

RotateRect

Interactive command to this function: Image > Rotate > Rotate Rectangle

Description 

 RotateRect(
   double  AngleRot,
   double  XRot,
   double  YRot,
   int  WidthRot,
   int  HeightRot
);

This function crops rectangular area from image and rotates it around its center.

Parameters

double AngleRot

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

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.

int WidthRot

Determines width of cropped rectangle.

int HeightRot

Determines height of cropped rectangle.

Note

You can set WidthRot and HeightRot bigger than original image width or height in order not to cut image corners.

See Also 
Rotate, RotateGrow, RotateLeft, RotateRight, RotateInCenter, RotateLevelHor, RotateLevelVer

RotateRectND

Description 

 RotateRectND(
   double  AngleRot,
   double  XRot,
   double  YRot,
   int  WidthRot,
   int  HeightRot
);

This function crops rectangular area from image and rotates it around it's center. It performs same operation as RotateRect function, but on whole ND sequence.

Parameters

double AngleRot

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

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.

int WidthRot

Determines width of cropped rectangle.

int HeightRot

Determines height of cropped rectangle.

Note

You can set WidthRot and HeightRot bigger than original image width or height in order not to cut image corners.

See Also 
RotateRect, RotateND, RotateGrowND, RotateLeftND, RotateRightND, RotateInCenter

RotateRight

Interactive command to this function: Image > Rotate > Rotate Right

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, RotateRectND, 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

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

Description 

 _RotateLeft();

This function rotates the current image left by 90 degrees.

_RotateRect

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

Description 

 _RotateRect();

This function crops the rectangular area from image and rotates it around its center.

See Also 
_Rotate

_RotateRight

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

Description 

 _RotateRight();

This function rotates the current image right by 90 degrees.