<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Klara--</p>
<p>If you want to get all of this information into one datum set so
that you can use PV's Calculator filter, one possibility is use
the PV's Resample With Dataset. (I am not a heavy user of this
filter, but I tried it once and it work like a charm.) It would be
best if you consulted the on-line documentation (at least easily
accessed in PV version 5.2.0 by F1), PDF page 93. If you use a
fairly fine background mesh, it should serve your needs. You may
have to use the Group Datasets filter first?<br>
</p>
<p>You might consider using a ParaView *.pvd file (pvd is short for
'ParaView Data'). It should make your file handling a little
easier. I have attached a sample *.pvd file that could make the
task easier. However, your individual VTK files will have to have
an XML-format for this to work.</p>
<p>--Sam<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/4/2017 3:58 AM, Klara Schevenels
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:29f37f4d40de41c39a0e928702ce163c@ICTS-S-EXMBX17.luna.kuleuven.be">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;
mso-fareast-language:NL-BE;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;
mso-fareast-language:NL-BE;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Sam,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Thanks
again for your answer! I included a printscreen of an image
I have been working on to clear things up. The purple
regions are brain activations for a fMRI-task and are all
combined into one vtk file. The coordinates are the spheres
in different colors and each have their own vtk file.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Enjoy
your weekend!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Klara<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL-BE"><img
style="width:4.8333in;height:4.3888in"
id="Picture_x0020_1"
src="cid:part1.FFBD3F86.E94DB704@bresnan.net" class=""
height="421" width="464"></span><span
style="color:#1F497D"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:NL-BE"
lang="EN-US">From:</span></b><span
style="color:windowtext;mso-fareast-language:NL-BE"
lang="EN-US"> Samuel Key [<a class="moz-txt-link-freetext" href="mailto:samuelkey@bresnan.net">mailto:samuelkey@bresnan.net</a>]
<br>
<b>Sent:</b> vrijdag 3 november 2017 20:14<br>
<b>To:</b> Klara Schevenels
<a class="moz-txt-link-rfc2396E" href="mailto:klara.schevenels@kuleuven.be"><klara.schevenels@kuleuven.be></a><br>
<b>Subject:</b> Re: [Paraview] quantifying overlap
between two volumes<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Klara--<span
style="font-size:12.0pt;mso-fareast-language:NL-BE"><o:p></o:p></span></p>
<p>I am sure there are several ways to do this, unfortunately
you will need to supply the list with more information about
the nature of the datum set.<o:p></o:p></p>
<p>If your two *.vtk files have matching points (same number and
same coordinates) you can use the Append Data filter to
combine the two datum sets. However the two datum sets will
have to have different variable names for the POINT values.
Use either a text editor on one of the *.vtk files to change
the variable name, or use the Calculator filter to rename the
variables from one of the *.vtk datum sets before you use the
Append Data filter.
<o:p></o:p></p>
<p>With the merged datum sets, you can then use the Calculator
filter to computer the difference in the two values and give
the difference a new name.<o:p></o:p></p>
<p>Hope this helps.<o:p></o:p></p>
<p>--Sam<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 11/3/2017 8:15 AM, Klara Schevenels
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D">Hi Sam</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Thank
you very much for your response! I loaded all of the files
in the same window, so the visualization is quite good.
But I’d like to become a quantification of how much
overlap there is between the reference activation and the
coordinates I have (like a % or something).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">You
think you have any ideas on that?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Best
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Klara</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:NL-BE"
lang="EN-US">From:</span></b><span
style="color:windowtext;mso-fareast-language:NL-BE"
lang="EN-US"> ParaView [<a
href="mailto:paraview-bounces@paraview.org"
moz-do-not-send="true">mailto:paraview-bounces@paraview.org</a>]
<b>On Behalf Of </b>Samuel Key<br>
<b>Sent:</b> vrijdag 3 november 2017 14:42<br>
<b>To:</b> <a href="mailto:paraview@paraview.org"
moz-do-not-send="true">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] quantifying overlap
between two volumes</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p>Klara--<o:p></o:p></p>
<p>Have you tried to load both one.vtk and separate.vtk into a
single render window? ParaView is quite capable of doing
this. If the "reference file" separate.vtk image needs to
be shifted, the transform filter will let you re-position
the image.<o:p></o:p></p>
<p>Hope this helps.<o:p></o:p></p>
<p>--Sam<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 11/3/2017 4:39 AM, Klara Schevenels
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">To whom it may
concern,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I just started
working with Paraview for making 3D-images of the brain.
More specifically, I want to quantify the overlap
between the brain activation there is for some fMRI-task
(one .vtk file) and some coordinates I have (separate
.vtk files). Does anyone can advise how to start with
this? I’ve been searching on the internet but I cannot
find a clear answer to this question.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Many many thanks in
advance!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Best</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Klara Schevenels</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Powered by <a href="http://www.kitware.com" moz-do-not-send="true">www.kitware.com</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" moz-do-not-send="true">http://paraview.org/Wiki/ParaView</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" moz-do-not-send="true">http://markmail.org/search/?q=ParaView</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Follow this link to subscribe/unsubscribe:<o:p></o:p></pre>
<pre><a href="http://public.kitware.com/mailman/listinfo/paraview" moz-do-not-send="true">http://public.kitware.com/mailman/listinfo/paraview</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:NL-BE"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>