<div dir="ltr"><div dir="ltr">Hi Prakash,<br><br>The GetBufferPointer() [1] on an itk::Image's ImportImageContainer has a pointer to the pixel data.<br><br>HTH,<br>Matt<br><br><br><a href="http://www.itk.org/Doxygen/html/classitk_1_1ImportImageContainer.html#afc6357f6772ca6c3c4410e7a6c4a3285" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1ImportImageContainer.html#afc6357f6772ca6c3c4410e7a6c4a3285</a><br></div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 11:11 PM, 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 making an interactive region growing application using connectedThreshold. Seed point etc I want to collect interactively. After collecting the inputs, I will execute something like this.<br>
<br>
smoothing->SetInput( reader->GetOutput() );<br>
connectedThreshold->SetInput( smoothing->GetOutput() );<br>
<br>
I want to access the output by calling connectedThreshold->GetOutput()<br>
<br>
How I can access the output (In memory), so that I can render it on the original image. I am making MFC application.<br>
<br>
Thanks & regards<br>
Prakash<br>
<br><table style="font-family:Verdana;font-size:11px;line-height:15px" cellpadding="0" cellspacing="0" height="57" width="100%" border="0"><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><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>