Hi Kent,<br><br>Thanks for the note. I'll fix the project tonight.<br><br>Thanks,<br>Matt<br><br><div class="gmail_quote">On Fri, Jul 6, 2012 at 8:07 PM, Kent Ogden <span dir="ltr"><<a href="mailto:ogdenk@upstate.edu" target="_blank">ogdenk@upstate.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="MARGIN:4px 4px 1px;FONT:10pt Segoe UI">
<div>Hi Matt,</div>
<div> </div>
<div>I had tried to compile the itk-strain code that you refer to below, but I got a link error "fatal error LNK1104: cannot open file 'ITKIO.lib'". I had seen a post a while ago that Bill Lorensen had made in response to a similar issue someone else experienced (not with the strain code though). His comment:<br>
</div>
<div>"In ITKv4 you must use ${ITK_LIBRARIES} in your target_link_libraries. There are many more libraries and some old ones are gone. BTW, ${ITK_LINK_LIBRARIES} also works with older version of ITK."</div>
<div> </div>
<div>I am not sure where ${ITK_LINK_LIBRARIES} needs to be placed, would this be in a cmakelists.txt file, or possibly set directly in the project? I am using an x64 build of ITK 4.1 on Windows 7, VS 2010. Any help with this would be appreciated. I directed this to you since it looks like you 'own' the strain code in the repository.</div>
<div> </div>
<div>Kent</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br> </div>
<div> </div>
<div>Kent Ogden PhD<br>Associate Professor, Radiology<br>SUNY Upstate Medical University<br>750 E. Adams Street<br>Syracuse, NY 13210<br><br>email: <a href="mailto:ogdenk@upstate.edu" target="_blank">ogdenk@upstate.edu</a> <br>
voice: <a href="tel:%28315%29%20464-5083" value="+13154645083" target="_blank">(315) 464-5083</a><br>fax: <a href="tel:%28315%29%20464-2570" value="+13154642570" target="_blank">(315) 464-2570</a>>>> Matt McCormick <<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>> 7/6/2012 3:14 PM >>><br>
Hi Abayiz<br><br></div><div><div class="h5">
<div class="gmail_quote">On Mon, Jul 2, 2012 at 5:00 PM, Abayiz <span dir="ltr"><<a href="mailto:abayiz@yahoo.com" target="_blank">abayiz@yahoo.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY:times new roman,new york,times,serif;FONT-SIZE:12pt">
<div>Hi all,</div>
<div><br></div>
<div>I recently obtained a deformation field by elastic registration, then calculated its divergence. What I am trying to do now is to show the divergence on the original image. I want to change the divergence for RGB. I tried "grayscale to RGB filter", but the result is all black. <br>
</div>
<div><br></div></div></div></blockquote>
<div><br>A number of pseudo-color filters described here:<br><br><a href="http://www.insight-journal.org/browse/publication/285" target="_blank">http://www.insight-journal.org/browse/publication/285</a><br><br>Have been merged into ITK.<br>
</div>
<blockquote style="BORDER-LEFT:rgb(204,204,204) 1px solid;MARGIN:0pt 0pt 0pt 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY:times new roman,new york,times,serif;FONT-SIZE:12pt">
<div></div>
<div>The attachment is the divergence. Is there any suggestion for how to do it? And, is there any way to calculate strain of this deformation field in ITK?<br></div></div></div></blockquote>
<div><br>There are strain filters here:<br><br><a href="http://gitorious.org/itk-repos/itk-strain" target="_blank">http://gitorious.org/itk-repos/itk-strain</a><br><br>HTH,<br>Matt<br><br></div>
<blockquote style="BORDER-LEFT:rgb(204,204,204) 1px solid;MARGIN:0pt 0pt 0pt 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY:times new roman,new york,times,serif;FONT-SIZE:12pt">
<div></div>
<div><br></div>
<div>Many thanks in advance. <br></div>
<div><br></div>
<div>Regards,</div>
<div>Abayiz </div></div></div><br>_____________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br>