[Insight-users] Grayscale to RGB

Matt McCormick matt.mccormick at kitware.com
Fri Jul 6 16:32:14 EDT 2012


Hi Kent,

Thanks for the note.  I'll fix the project tonight.

Thanks,
Matt

On Fri, Jul 6, 2012 at 8:07 PM, Kent Ogden <ogdenk at upstate.edu> wrote:

>  Hi Matt,
>
> 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:
> "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."
>
> 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.
>
> Kent
>
>
>
>
>
>
>
> Kent Ogden PhD
> Associate Professor, Radiology
> SUNY Upstate Medical University
> 750 E. Adams Street
> Syracuse, NY  13210
>
> email:  ogdenk at upstate.edu
> voice:  (315) 464-5083
> fax:       (315) 464-2570>>> Matt McCormick <matt.mccormick at kitware.com>
> 7/6/2012 3:14 PM >>>
> Hi Abayiz
>
> On Mon, Jul 2, 2012 at 5:00 PM, Abayiz <abayiz at yahoo.com> wrote:
>
>>  Hi all,
>>
>> 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.
>>
>>
> A number of pseudo-color filters described here:
>
> http://www.insight-journal.org/browse/publication/285
>
> Have been merged into ITK.
>
>>   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?
>>
>
> There are strain filters here:
>
> http://gitorious.org/itk-repos/itk-strain
>
> HTH,
> Matt
>
>
>> Many thanks in advance.
>>
>> Regards,
>> Abayiz
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120706/3679928c/attachment.htm>


More information about the Insight-users mailing list