SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Re: Clipping Fields by intersection


Chronological Thread 
  • From: Layla Houshmand <layla.houshmand@gmail.com>
  • To: David Weinstein <dmw@sci.utah.edu>
  • Cc: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Re: Clipping Fields by intersection
  • Date: Thu, 4 Aug 2011 15:26:08 -0400

Dear David,

I believe it is a tri-surface mesh.  ReportFieldInfo for the Left Thalamus Field returns:

Type: GenericField <TriSurfMesh<TriLinearLgn<Point> > ,NoDataBasis<double> , vector<double> >

Best,
Layla

On Thu, Aug 4, 2011 at 3:18 PM, David Weinstein <dmw@sci.utah.edu> wrote:
Hi Layla,

What type of unstructured mesh is the "Left Thalamus Field"?  Is it a tri-surface or a tet-mesh or a hex-mesh?

Cheers,
Dave


On Aug 4, 2011, at 11:17 AM, Layla Houshmand wrote:

> Hi everyone,
>
> I am trying to use the ClipFieldToFieldorWidget module to extract the Diffusion Tensor Imaging data from just one part of the brain (the left Thalamus) .  I have .fld files of both the Thalamus and the DTI (they should already be aligned--they come from the same patient). I'd like to export this clipped DTI data as a matrix in Matlab, and I'd be interested in seeing what a .fld file looks like in Matlab also.  After playing around a little, I realized that ClipFieldToFieldorWidget returns an error without converting the DTI Field to an Unstructured Mesh first--the Left Thalamus Field is already an unstructured mesh.  As you can see, converting the clipped field to a Nrrd and then to a Matrix didn't work out. I end up with a MATLAB file that is unable to load, which is especially confusing as there are no errors in exporting the clipped field to MATLAB.  If anyone has any ideas about what I can do to make this code work I'd appreciate it!
>
> Best,
> Layla Houshmand
> Department of Biomedical Engineering
> University of Michigan
> <SCIRunscreenshot.png>





Archive powered by MHonArc 2.6.16.

Top of page