title: How to rescale the intensity range of a grayscale 3 dimension image (x,y,z) using Matlab
body: <p>I can't find information online about the intensity rescaling of a 3D image made of several 2D images.</p>
  
  <p>I'm looking for the same function as <code>imadjust</code> which only works for 2D images.</p>
  
  <p>My 3D image is the combination of 2D images stacked together but I have to process the 3D image and not the 2D images one by one.</p>
  
  <p>I can't loop imadjust because I want to process the images as one, to consider all the information available, in all directions. </p>