title: Generate Z-Stack of images and create a 2D top-down view of the stacked image using python
body: <p>I have n number of images with same size that need to be stacked along Z-Axis as shown in figure creating a sort of 3D Model. I have tried doing this using Z-Stack with different libraries (like <a href="https://stackoverflow.com/questions/31978698/how-to-make-a-tiff-z-stack-conserving-or-adding-metadata">here</a>) then I need to create a top down view with of stacked images converting the 3D model into 2D image. </p>
  
  <p>I have tried rotating each slice and making a TIFF-Z Stack out of it, but can not seem to make it work.<a href="https://i.stack.imgur.com/lRiNJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lRiNJ.png" alt="enter image description here"></a></p>
  
  <p>Total number of n Images (ABCD), each with size of H x W pixels would be stacked along Z-Axis like in figure creating a top down view ABFE with a size of W x n pixels. </p>
  
  <p>ABFE is what i intend to achieve.</p>
  
  <p>Since I am new to image processing, any help (also which terms to research after) would be much appreciated! </p>