Hi Jess,
Yes, I'm reading the header files. Also found 'VTKtoTriSurfField.cc' in Utils which is more helpful. Will let you know when I get it to work.
Thanks,
Barry
On Apr 22, 2019, at 12:38 PM, Branham, Barry <bhb@wustl.edu> wrote:
I'm not expert in matlab so would have a bit of a learning curve to use it. In SCIRun_source/src/Applications/Utilsthere is a program 'MtoTriSurfField.cc' which writes a .fld file which I tried to emulate but didn't get the right .fld. I could easily do what I need but can't find any documentation on TriSurfField, GenericField, TriSurfMesh, Property Manager, etc. Where's the documentation?
Thanks,Barry
Barry Branham, Computer Operations Engineer
Cardiothoracic Surgery Research
Washington University School of Medicine
bhb@wustl.edu 636-236-4847
From: Jess <jess@sci.utah.edu>
Sent: Monday, April 22, 2019 1:21:49 PM
To: Branham, Barry
Cc: scirun-users@sci.utah.edu
Subject: Re: [SCIRUN-USERS] TriSurfFieldSorry, I accidentally sent without the files. Here they are. These conversions can be done in matlab, python, bash, or any other scripting language.
cheers,Jess
On Apr 22, 2019, at 12:11 PM, Jess <jess@sci.utah.edu> wrote:
Hi Barry,
I think I understand what you are trying to do. The .fld files are scirun’s native format, and unfortunately no other software supports it. The only practical way to make a .fld file is to save it from SCIRun, as ‘25feb97_sock_closed.fld’ was. However, there are other file formats that will work for your applications. For instance, the matlab format for a trisurf mesh is fairly simple and only requires a matlab structure with the fields node and face. I am attaching a your surface file converted to matlab format as an example. I will also attach some ascii files in a format that SCIRun can read.
cheers,Jess
On Apr 22, 2019, at 7:30 AM, Branham, Barry <bhb@wustl.edu> wrote:
Hi Jess,
Thanks for the rapid reply. The Amira file has '.surf' extension and is ascii. I tried loading it but got 'Error reading file'. I've attached it. I have code to read the file and have tried writing an app that would read it and convert it to an .fld type file but so far haven't been able to get an .fld file with the correct info at the top similiar to '25feb97_sock_closed.fld'. That was what I was originally asking about. Some where, someone must have used some app to create '25feb97_sock_closed.fld'. That's what I need. Any help doing that much appreciated.
Thanks,Barry
Barry Branham, Computer Operations Engineer
Cardiothoracic Surgery Research
Washington University School of Medicine
bhb@wustl.edu 636-236-4847
From: Jess <jess@sci.utah.edu>
Sent: Friday, April 19, 2019 1:41:28 PM
To: Branham, Barry
Cc: scirun-users@sci.utah.edu
Subject: Re: [SCIRUN-USERS] TriSurfFieldHi Barry,
There are several file formats supported by SCIRun. If you click on the options in the ReadField file loader dialogue, you should see a list. Common file types for trisurfas that SCIRun supports are .stl, .vtk, .obj, and ascii. Can you tell me the file type that you have from Amira?
cheers,Jess
On Apr 19, 2019, at 8:27 AM, Branham, Barry <bhb@wustl.edu> wrote:
Hello,
I'm attempting to use inversion to find atrial activation times from torso electrodes. We use Amira to generate torso locations and the atrial surface. I can read the Amira atrial surface file but haven't been able to generate the corresponding TriSurfField .fld file correctly. I need a file like 25feb97_sock_closed.fld which is used in the tikhonov-inversion.srn example. Can anyone tell me how to do this? A code example would be great.
Thanks,
Barry
Barry Branham, Computer Operations Engineer
Cardiothoracic Surgery Research
Washington University School of Medicine
bhb@wustl.edu 636-236-4847
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
________________________________________________
SCIRun users mailing list: scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.<atriasmooth.surf>
________________________________________________
SCIRun users mailing list: scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
Archive powered by MHonArc 2.6.18.