[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] Create 4D Animation from sets of 3D Data
From:       "Moreland, Kenneth" <kmorel () sandia ! gov>
Date:       2014-07-28 21:02:39
Message-ID: CFFBF5A7.19F80%kmorel () sandia ! gov
[Download RAW message or body]

Image segmentation is not my specialty, but I don't think there is an easy =
answer. You might be able to use a level set method that starts with the me=
sh from the first image and constrains the topology to be the same, but tha=
t would probably create artifacts that compound over time.

-Ken

From: Quang Ha <qth20@cam.ac.uk<mailto:qth20@cam.ac.uk>>
Date: Monday, July 28, 2014 9:25 AM
To: Kenneth Moreland <kmorel@sandia.gov<mailto:kmorel@sandia.gov>>, David E=
 DeMarle <dave.demarle@kitware.com<mailto:dave.demarle@kitware.com>>
Cc: paraview-help <paraview-help@sandia.gov<mailto:paraview-help@sandia.gov=
>>, "paraview@paraview.org<mailto:paraview@paraview.org>" <paraview@paravie=
w.org<mailto:paraview@paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D Data

Hi,

Thank you very much for your reply. It seems that I would have to deal with=
 the input data once again.

Is there a way for the surface to be modified in such way that you have sta=
ted? Would you suggested starting to look at vtk/CGAL codes or something si=
milar?

Best regards,
Quang

On 28/07/14 15:46, Moreland, Kenneth wrote:
Quang,

First before answering your question, let me alert you to an easier way to =
load your data into ParaView. First, name your files with numbers just befo=
re the extension (e.g. left_ventricle_00.stl, left_ventricle_01.stl, left_v=
entricle_02.stl, etc.). Then just load this file series as one unit (they w=
ill be grouped in the ParaView file browser) and ParaView will automaticall=
y animate them; no need to add them manually with the Animation View.

Now the bad news. I don't think the Temporal Interpolator is going to work =
with your data. The Temporal Interpolator needs a way to register where a p=
oint in one time step goes to in the next time step. It does this in a very=
 simplistic way by assuming the topology is consistent across time steps. T=
hat is, each data set has the exact same triangles listed in the same order=
 connected the same way but at different positions. The surface from your s=
egmentation is surely not of this nature.

-Ken

From: Quang-Thinh Ha <qth20@cam.ac.uk<mailto:qth20@cam.ac.uk>>
Date: Friday, July 25, 2014 11:34 PM
To: David E DeMarle <dave.demarle@kitware.com<mailto:dave.demarle@kitware.c=
om>>
Cc: paraview-help <paraview-help@sandia.gov<mailto:paraview-help@sandia.gov=
>>, "paraview@paraview.org<mailto:paraview@paraview.org>" <paraview@paravie=
w.org<mailto:paraview@paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D Data


Hi,

Thanks for your reply.

1) The data sets are all in STL format.

2) I am not very sure about this. After using text editor to open the mesh =
file I can say that they are not... Is there anyway to change this?

Quang

On 26 Jul 2014 04:17, David E DeMarle <dave.demarle@kitware.com<mailto:dave=
.demarle@kitware.com>> wrote:
1) What file format are the 10 data sets in?
2) do all meshes have the same number of points and cells and do the come i=
n the same order in every timstep? temporal interpolation requires a 1:1 co=
rrespondence so that it knows what to interpolate between.


On Friday, July 25, 2014, Quang Ha <qth20@cam.ac.uk<mailto:qth20@cam.ac.uk>=
> wrote:
Hi,

I have a group of 10 data sets of the left ventricle at different cardiac p=
hases. They have been 3D reconstructed using segmentation method. Now I am =
trying to use ParaView to see the dynamic changes over different cardiac ph=
ases.

I have been able to get to the View -> Animation mode and add each 3D data =
at different time, but they only show me a jump from one data to another, r=
ather than 'deforming' into another. I have done some searches on the inter=
net and found someone suggesting the use of 'Temporal Interpolator' but fai=
led to utilise it.

Would anyone be kind enough to give me some advices on this, please?

Thanks,
Quang
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensour=
ce/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paravi=
ew.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


--
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, \
sans-serif; "> <div>Image segmentation is not my specialty, but I don't think there \
is an easy answer. You might be able to use a level set method that starts with the \
mesh from the first image and constrains the topology to be the same, but that would \
probably create artifacts  that compound over time.</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; \
BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; \
PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: \
medium none; PADDING-TOP: 3pt"> <span style="font-weight:bold">From: </span>Quang Ha \
&lt;<a href="mailto:qth20@cam.ac.uk">qth20@cam.ac.uk</a>&gt;<br> <span \
style="font-weight:bold">Date: </span>Monday, July 28, 2014 9:25 AM<br> <span \
style="font-weight:bold">To: </span>Kenneth Moreland &lt;<a \
href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;, David E DeMarle &lt;<a \
href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<br> <span \
style="font-weight:bold">Cc: </span>paraview-help &lt;<a \
href="mailto:paraview-help@sandia.gov">paraview-help@sandia.gov</a>&gt;, &quot;<a \
href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a \
href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br> <span \
style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] Create 4D \
Animation from sets of 3D Data<br> </div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Hi,<br>
<br>
Thank you very much for your reply. It seems that I would have to deal with the input \
data once again.<br> <br>
Is there a way for the surface to be modified in such way that you have stated? Would \
you suggested starting to look at vtk/CGAL codes or something similar?<br> <br>
Best regards,<br>
Quang <br>
<br>
<div class="moz-cite-prefix">On 28/07/14 15:46, Moreland, Kenneth wrote:<br>
</div>
<blockquote cite="mid:CFFBBB1C.19F0B%25kmorel@sandia.gov" type="cite">
<div>
<div>
<div>Quang,</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<div>First before answering your question, let me alert you to an easier way to load \
your data into ParaView. First, name your files with numbers just before the \
extension (e.g. left_ventricle_00.stl, left_ventricle_01.stl, left_ventricle_02.stl, \
etc.). Then  just load this file series as one unit (they will be grouped in the \
ParaView file browser) and ParaView will automatically animate them; no need to add \
them manually with the Animation View.</div> <div><br>
</div>
<div>Now the bad news. I don't think the Temporal Interpolator is going to work with \
your data. The Temporal Interpolator needs a way to register where a point in one \
time step goes to in the next time step. It does this in a very simplistic way by \
assuming  the topology is consistent across time steps. That is, each data set has \
the exact same triangles listed in the same order connected the same way but at \
different positions. The surface from your segmentation is surely not of this \
nature.</div> <div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Quang-Thinh Ha &lt;<a \
moz-do-not-send="true" href="mailto:qth20@cam.ac.uk">qth20@cam.ac.uk</a>&gt;<br> \
<span style="font-weight:bold">Date: </span>Friday, July 25, 2014 11:34 PM<br> <span \
style="font-weight:bold">To: </span>David E DeMarle &lt;<a moz-do-not-send="true" \
href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<br> <span \
style="font-weight:bold">Cc: </span>paraview-help &lt;<a moz-do-not-send="true" \
href="mailto:paraview-help@sandia.gov">paraview-help@sandia.gov</a>&gt;, &quot;<a \
moz-do-not-send="true" \
href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a \
moz-do-not-send="true" \
href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br> <span \
style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] Create 4D \
Animation from sets of 3D Data<br> </div>
<div><br>
</div>
<div>
<div>
<p dir="ltr">Hi,</p>
<p dir="ltr">Thanks for your reply. </p>
<p dir="ltr">1) The data sets are all in STL format. </p>
<p dir="ltr">2) I am not very sure about this. After using text editor to open the \
mesh file I can say that they are not... Is there anyway to change this? </p>
<p dir="ltr">Quang</p>
<div class="quote">On 26 Jul 2014 04:17, David E DeMarle &lt;<a \
moz-do-not-send="true" \
href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt; wrote:<br \
type="attribution"> <blockquote class="quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
1)&nbsp;What file format are the 10 data sets in?
<div>2) do all meshes have the same number of points and cells and do the come in the \
same order in every timstep?&nbsp;temporal interpolation requires a 1:1 \
correspondence so that it knows what to interpolate between.</div> <div><br>
</div>
<div><br>
On Friday, July 25, 2014, Quang Ha &lt;<a moz-do-not-send="true" \
href="mailto:qth20@cam.ac.uk">qth20@cam.ac.uk</a>&gt; wrote:<br> <blockquote \
                class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have a group of 10 data sets of the left ventricle at different cardiac phases. \
They have been 3D reconstructed using segmentation method. Now I am trying to use \
ParaView to see the dynamic changes over different cardiac phases.<br> <br>
I have been able to get to the View -&gt; Animation mode and add each 3D data at \
different time, but they only show me a jump from one data to another, rather than \
'deforming' into another. I have done some searches on the internet and found someone \
suggesting  the use of 'Temporal Interpolator' but failed to utilise it.<br>
<br>
Would anyone be kind enough to give me some advices on this, please?<br>
<br>
Thanks,<br>
Quang<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">
www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true" \
href="http://www.kitware.com/opensource/opensource.html" target="_blank"> \
http://www.kitware.com/opensource/opensource.html</a><br> <br>
Please keep messages on-topic and check the ParaView Wiki at: <a \
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView" target="_blank"> \
http://paraview.org/Wiki/ParaView</a><br> <br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true" href="http://public.kitware.com/mailman/listinfo/paraview" \
target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br> \
</blockquote> </div>
<br>
<br>
-- <br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909<br>
</blockquote>
</div>
</div>
</div>
</span></blockquote>
<br>
</div>
</div>
</span>
</body>
</html>



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

--===============0951784655==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic