title: maximum intensity projection matlab with color
body: <p>Hi all I have a stack of images of fluorescent labeled particles that are moving through time. The imagestack is gray scaled.</p>
  
  <p>I computed a maximum intensity projection by taking the maximum of the image stack in the 3rd dimension. </p>
  
  <pre><code>Example:
  ImageStack(x,y,N) where N = 31 image frames.
  
  2DProjection = max(ImageStack,[],3)
  </code></pre>
  
  <p>Now, since the 2D projection image is black and white, I was hoping to assign a color gradient so that I can get a sense of the flow of particles through time. Is there a way that I can overlay this image with color, so that I will know where a particle started, and where it ended up?</p>
  
  <p>Thanks!</p>