[Insight-users] Grayscale to RGB

Bradley Lowekamp blowekamp at mail.nih.gov
Fri Jul 6 13:18:15 EDT 2012


Hello Abayiz,

What is the pixel range of you input values? Have you tried scaling them to another range? perhaps [0,1] or [0,255]. I do not know what filter you mean by "grayscale to RGB". 

Brad

On Jul 2, 2012, at 1:00 PM, Abayiz 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. 
> 
> 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
> <Divergence.png>_____________________________________
> 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

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120706/b117b767/attachment.htm>


More information about the Insight-users mailing list