<div dir="ltr">Thank you.<div><br><div>Actually <span style="font-family:arial,sans-serif;font-size:13px"> itk::ImageFileReader works well for RGB image. I used it successfully in earlier part of my research. I think the problem is in the </span><span style="font-family:arial,sans-serif;font-size:13px"> itk::MultiplyImageFilter. </span><span style="font-family:arial,sans-serif;font-size:13px">RGB image has 3 planes and binary image has only single plane.</span><span style="font-family:arial,sans-serif;font-size:13px"> Then </span><span style="font-family:arial,sans-serif;font-size:13px"> itk::MultiplyImageFilter works for single plane.</span><span style="font-size:13px;font-family:arial,sans-serif"> </span><span style="font-size:13px;font-family:arial,sans-serif">If we can separate 3 planes of RGB image and multiply that 3 planes with binary image separately and then make RGB image again is the one method. But I couldn't find any library or header file for plane separation and combine.</span></div>
<div><div style>Could you please<span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">let me know if you find out anything about this problem.</span><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"> </span></div>
<span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">Thanks. </span><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">Sahan</span></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 8:55 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jun 6, 2013 at 10:28 AM, Sahan Ranasinghe <<a href="mailto:sahancr@gmail.com">sahancr@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I used to itk::ImageFileReader to read RGB and binary images. image<br>
> extensions are .mhd (Meta Image file format)<br>
> then used to itk::MultiplyImageFilter to multiply these images. Then used<br>
> to itk::ImageFileWriter to write the output image. It also in Meta Image<br>
> format<br>
><br>
> Thank you.<br>
><br>
> Regards,<br>
> Sahan<br>
<br>
<br>
</div>Brad is looking for the template parameters you used in the classes<br>
that you mentioned. E.g. ImageFileReader<float>, etc.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br></div>