[MINC-users] Maximum intensity projection

francois hebert francois.hebert007 at gmail.com
Fri Jun 8 17:05:31 EDT 2012


Hello Jason,

It has worked perfectly,
I just want to say that pyminc seems very easy to use.

Thanks a lot

2012/6/8 Jason Lerch <jason at phenogenomics.ca>

> 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
>
> _______________________________________________
> 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