recombine

recombine(ims, slices, overlap)[source]

Recombines image chunks back into full image of original shape

Parameters
  • ims (list of ND-arrays) – The chunks of the original image, which may or may not have been processed.

  • slices (list of slice objects) – The slice objects which were used to obtain the chunks in ims

  • overlap (int of list ints) – The amount of overlap used when creating chunks

Returns

im – An image constituted from the chunks in ims of the same shape as the original image.

Return type

ND-array