title: dicom image resizing before converting to numpy array
body: <p>I have thousands of dicom images in a folder. I read them with <code>pydicom</code> like this</p>
  
  <pre><code>import numpy as np
  import dicom
  
  folder = "/images"
  imgs = [dicom.read_file(folder + '/' + s) for s in os.listdir(folder)]
  </code></pre>
  
  <p>I then want to stack all images as a numpy array, like this:</p>
  
  <pre><code>data = np.stack([i.pixel_array for i in imgs])
  </code></pre>
  
  <p>However, the images are or different size and therefore cannot be stacked. </p>
  
  <p>How can I add a step that resizes all images to 1000x1000 ?</p>