[MINC-users] Maximum intensity projection

Jason Lerch jason at phenogenomics.ca
Fri Jun 8 12:47:55 EDT 2012


This should do what you want, I think. In python:

from pyminc.volumes.factory import *
from numpy import *
import scipy

v = volumeFromFile("filename.mnc")
axis0 = apply_along_axis(max, 0, v.data)
axis1 = apply_along_axis(max, 1, v.data)
axis2 = apply_along_axis(max, 2, v.data)

# if you want to save it as an image:
scipy.misc.imsave('axis0.jpg', axis0)

Jason

On 2012-06-08, at 11:36 AM, francois hebert wrote:

> Hi All,
> 
> I would like to do a Maximum Intensity Projection in each orthogonal axis.
> Is there such tool in the minc library?
> 
> Regards,
> 
> Francois Hebert
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users



More information about the MINC-users mailing list