SCIRun User Mailing List

Text archives Help

[SCIRUN-USERS] Re: Clipping Fields by intersection

Chronological Thread 
  • From: Layla Houshmand <>
  • To: David Weinstein <>
  • Cc:
  • Subject: [SCIRUN-USERS] Re: Clipping Fields by intersection
  • Date: Thu, 4 Aug 2011 15:55:06 -0400

Hi Dave,

I appreciate your help.  These files were given to me by a collaborator so I will have to ask about how they were created.  If I find out that there is a non-TriSurfMesh version of the file, I'll come back to this thread.

Thanks again!

On Thu, Aug 4, 2011 at 3:34 PM, David Weinstein <> wrote:
Hi Layla,

Unfortunately, SCIRun does not support clipping to a TriSurfMesh.

Where did the TriSurfMesh come from?  If it's a derived result, e.g. it's an isosurface from a binary mask, then you'll likely have better success using the upstream representation for masking/clipping the DTI Field.  If that is the case, I'd be happy to follow up with you on how to do that.


On Aug 4, 2011, at 1:26 PM, Layla Houshmand wrote:

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


On Thu, Aug 4, 2011 at 3:18 PM, David Weinstein <> 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?


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