Skip to content

design

All the stitching features are embedded inside the nabu stitching module. To split complexity and test behavior we created the following classes:

  • Stitcher classes (:class:ZStitcher, :class:PreProcessZStitcher, :class:PostProcessZStitcher): define the high level API and behavior of the stitcher. They take URLs as input and produce a volume or an NXtomo as output.
  • Overlap class (:class:ImageStichOverlapKernel) to define overlap between two scans and overlap strategy classes (:class:OverlapStitchingStrategy).
  • Frame composition utils (:class:ZFrameComposition): ease understanding of the stitching.
  • Utility functions:
    • :func:z_stitch_raw_frames: raw stitching of several frames
    • :func:z_stitching: high level function to apply stitching according to a user defined configuration