Registration

_ImageRegistration, ImageRegistration

ImageRegistration

Interactive menu command to this function: Image > Channel Alignment and Registration > Image Registration

Description 

 ImageRegistration(
   int  Mode,
   double *SrcPoints,
   double *DstPoints,
   char *ComponentMask,
   int  NDDimension
);

This function corrects image channel shifts.

Parameters

int Mode

Image transformation mode.

1

1-point shift

3

3-point shift

double *SrcPoints

Stationary points for channel shift correction.

double *DstPoints

Modified points for channel shift correction.

char *ComponentMask

A sequence of numbers representing the channels.

0

leave this channel (make stationary)

1

modify this channel

int NDDimension

Frame selection of the ND document.

0

Current frame

1

Time dimension

2

Multipoint dimension

4

Z dimension

15

All frames (the whole ND document).

16

Selection - the frames/dimensions selected by mouse within the ND control bar will be affected.

Note

Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).

Note

The stationary points are used as reference points, while the modified points are fitted to match the stationary points. The channels are transformed and shifted accordingly.

_ImageRegistration

This function runs the Image > Channel Alignment and Registration > Image Registration menu command.

Description 

 _ImageRegistration();

This function displays the Image Registration window. It corrects shifted image components.