[Insight-users] Grayscale to RGB

Abayiz abayiz at yahoo.com
Mon Jul 2 13:00:17 EDT 2012


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. 


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?


Many thanks in advance. 


Regards,
Abayiz 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120702/7cd97fb6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Divergence.png
Type: image/png
Size: 32889 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120702/7cd97fb6/attachment.png>


More information about the Insight-users mailing list