<html><body bgcolor="#FFFFFF"><div>Hi,</div><div><br></div><div>just print the image's size (GetLargestPossibleRegion().GetSize() ) or use the Print() (called something like this) to determine which size your image has.</div><div><br></div><div>--</div><div>regards</div><div>Andreas<br><br>Am 14.03.2009 um 01:39 schrieb Karthik Krishnan <<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>>:<br><br></div><div></div><blockquote type="cite"><div>You need at least 4 slices for the recursive gaussian filter to run. Its used to compute the hessians. Your 3D image is less than 4 slices thick.<br><br><div class="gmail_quote">On Fri, Mar 13, 2009 at 6:56 PM, Wen Shi <span dir="ltr"><<a href="mailto:wsa18@sfu.ca"><a href="mailto:wsa18@sfu.ca">wsa18@sfu.ca</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Guys,<br>
<br>
When I was using VED filter processing some vessel image,<br>
I got the error as :<br>
RecursiveGaussianfilter requires at least 4 pixels along axis 2.<br>
<br>
So I guess the problem is the image I tried to process is a 2D image.<br>
But to my personal intuition it's a 3D one.<br>
How to decide the image is 3D or 2D?(maybe this seems pretty stupid and ridiculous but sorry for that).<br>
<br>
Thanks a lot<br>
<br>
Wen SHi<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank"><a href="http://www.kitware.com">www.kitware.com</a></a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank"><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&D Engineer,<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br>Fax: 518 371 3971<br>
</div></blockquote><blockquote type="cite"><div><span>_____________________________________</span><br><span>Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a></span><br><span></span><br><span>Visit other Kitware open-source projects at</span><br><span><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br></div></blockquote></body></html>