Shift

_ShiftDown, _ShiftLeft, _ShiftRight, _ShiftUp, ShiftDown, ShiftDownND, ShiftImage, ShiftImageND, ShiftLeft, ShiftLeftND, ShiftRight, ShiftRightND, ShiftUp, ShiftUpND

ShiftDown

Description 

 ShiftDown();

One pixel shift of the current color (gray) image downward.

ShiftDownND

Description 

 ShiftDownND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

One pixel shift of the current color (gray) image downward.

Parameters

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

ShiftImage

Description 

 ShiftImage(
   int  ShiftHor,
   int  ShiftVer
);

Shifts the current color (gray) image horizontally and vertically.

Parameters

int ShiftHor

Number of pixels by which the original image is shifted in the horizontal direction. Positive value for shift to right, negative value for shift to left.

int ShiftVer

Number of pixels by which the original image is shifted in the vertical direction. Positive value for shift downward, negative value for shift upward.

Return Values

0

the function was successful

-3

out of memory

-9

the function has failed (the shift was out of range)

-13

no document window is opened

ShiftImageND

Description 

 ShiftImageND(
   int  ShiftHor,
   int  ShiftVer,
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

Shift of the current color (gray) image horizontally and vertically.

Parameters

int ShiftHor

Number of pixels by which the original image is shifted in the horizontal direction. Positive value for shift to right, negative value for shift to left.

int ShiftVer

Number of pixels by which the original image is shifted in the vertical direction. Positive value for shift downward, negative value for shift upward.

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

ShiftLeft

Description 

 ShiftLeft();

One pixel shift of the current color (gray) image to the left.

ShiftLeftND

Description 

 ShiftLeftND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

One pixel shift of the current color (gray) image to the left.

Parameters

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

ShiftRight

Description 

 ShiftRight();

One pixel shift of the current color (gray) image to the Right.

ShiftRightND

Description 

 ShiftRightND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

One pixel shift of the current color (gray) image to the Right.

Parameters

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

ShiftUp

Description 

 ShiftUp();

One pixel shift of the current color (gray) image Upward.

ShiftUpND

Description 

 ShiftUpND(
   int  NDTLoop,
   int  NDMPLoop,
   int  NDZLoop
);

One pixel shift of the current color (gray) image Upward.

Parameters

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

_ShiftDown

Description 

 _ShiftDown();

This function moves the current image or a selected component by one pixel in the defined direction. The pixels that overflow the image borders appear on its opposite side.

_ShiftLeft

Description 

 _ShiftLeft();

This function moves the current image or a selected component by one pixel in the defined direction. The pixels that overflow the image borders appear on its opposite side.

_ShiftRight

Description 

 _ShiftRight();

This function moves the current image or a selected component by one pixel in the defined direction. The pixels that overflow the image borders appear on its opposite side.

_ShiftUp

Description 

 _ShiftUp();

This function moves the current image or a selected component by one pixel in the defined direction. The pixels that overflow the image borders appear on its opposite side.