<div dir="ltr">Hi Prakash,<div><br></div><div>The ImportImageFilter [1] can be used to import a pixel buffer into an itk::Image data structure.</div><div><br></div><div>HTH,</div><div>Matt</div><div><br></div><div>[1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1ImportImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ImportImageFilter.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 6:54 AM, Surya Prakash <span dir="ltr"><<a href="mailto:ds_prakash@rediffmail.com" target="_blank">ds_prakash@rediffmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I am developing an application using ITK. I have data in an Arry pointed to by a 'float *'. I am aware of data sizes. How I can provide this array to 'ConnectedThresholdImageFilter' or for that matter to any filter.<br>
<br>
Thanks<br>
Prakash<br><table border="0" width="100%" height="57" cellspacing="0" cellpadding="0" style="font-family:Verdana;font-size:11px;line-height:15px"><tbody><tr><td><a href="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><img src="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></a></td></tr></tbody></table><table cellpadding="0" cellspacing="0"><tbody><tr><td><div style="font-family:Arial,Helvetica,sans-serif;font-size:14px">Get your own <span style="padding-bottom:0px;background-color:#cc0000;padding-left:3px;padding-RIGHT:3px;font-family:Arial,Helvetica,sans-serif;color:#ffffff;font-size:12px;padding-top:0px"><b>FREE</b></span> website, <span style="padding-bottom:0px;background-color:#c00;padding-left:3px;padding-RIGHT:3px;font-family:Arial,Helvetica,sans-serif;color:#ffffff;font-size:12px;padding-top:0px"><b>FREE</b></span> domain & <span style="padding-bottom:0px;background-color:#c00;padding-left:3px;padding-RIGHT:3px;font-family:Arial,Helvetica,sans-serif;color:#ffffff;font-size:12px;padding-top:0px"><b>FREE</b></span> mobile app with Company email. </div></td><td><a href="http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host" style="font-family:Arial,Helvetica,sans-serif;color:#fff;font-size:14px;color:#0000cc" target="_blank"><b>Know More ></b></a></td></tr></tbody></table></blockquote></div><br></div>