ewoksndreg.intensities.registration.calculate_transformations#

ewoksndreg.intensities.registration.calculate_transformations(input_stack, mapper, include=None, reference=0, block_size=1, preprocessing_options=None)[source]#

Uses the mapper to calculate the transformation between the reference image and all other images in the stack.

param input_stack: InputStack of all the images param mapper: An IntensityMapper to calculate transformations between the images param include: Indices of images to include for the registration. Default: all. param reference: The index of the reference image, if -1 the reference will be the middle of the stack param block_size: Included images get partitioned into blocks.Every image in one block gets aligned to the first element in the block.The first elements of each block get sequentially aligned to the reference

Parameters:
  • input_stack (InputStack)

  • mapper (IntensityMapping)

  • include (Optional[Sequence[int]])

  • reference (int)

  • block_size (int)

  • preprocessing_options (Optional[Dict])

Return type:

List[Transformation]