[Insight-users] 3D and 2D image for VED filter

Andreas Schuh andreas.schuh.84 at googlemail.com
Fri Mar 13 21:25:39 EDT 2009


Hi,

just print the image's size (GetLargestPossibleRegion().GetSize() ) or  
use the Print() (called something like this) to determine which size  
your image has.

--
regards
Andreas

Am 14.03.2009 um 01:39 schrieb Karthik Krishnan <karthik.krishnan at kitware.com 
 >:

> 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.
>
> On Fri, Mar 13, 2009 at 6:56 PM, Wen Shi <wsa18 at sfu.ca> wrote:
> Hi Guys,
>
> When I was using VED filter processing some vessel image,
> I got the error as :
> RecursiveGaussianfilter requires at least 4 pixels along axis 2.
>
> So I guess the problem is the image I tried to process is a 2D image.
> But to my personal intuition it's a 3D one.
> How to decide the image is 3D or 2D?(maybe this seems pretty stupid  
> and ridiculous but sorry for that).
>
> Thanks a lot
>
> Wen SHi
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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
>
>
>
> -- 
> Karthik Krishnan
> R&D Engineer,
> Kitware Inc.
> Ph: 518 371 3971 x119
> Fax: 518 371 3971
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090314/16e2d864/attachment-0001.htm>


More information about the Insight-users mailing list