How to apply itkMRFimageFilter on a 4D vector image?

View: New views
2 Messages — Rating Filter:   Alert me  

How to apply itkMRFimageFilter on a 4D vector image?

by Ying Chen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

I'm trying to classify a 4-D vector image now. Both the raw image data
and its label image are 4 dimensional.
 
When I apply itkMRFimageFilter to the image, I get running time error and
the program terminates. (The same code runs smoothly on 3D vector image
in my study.) I've digged in the source code of itkMRFimageFilter.txx. It
seems to me that the default size of neighborhood is up to 3x3x3, which
is 3 dimensional. My question is, how can I accormadate the neighborhood
size to 4D vector image?
 
Can anyone help me with this issue? I'll appreciate that.
 
Sincerely,
 
Ying Chen
2009-11-06





_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.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

Re: How to apply itkMRFimageFilter on a 4D vector image?

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chen,

Please let us know what arguments you are passing to the methods:

mrfFilter->SetMRFNeighborhoodWeight( std::vector<double> BetaMatrix );

and

mrfFilter->SetNeighborhoodRadius(const NeighborhoodRadiusType &);


They must be consistent with the 4D dimensionality of the image.


      Thanks


              Luis



----------------------------------------------------------------------------------------
On Fri, Nov 6, 2009 at 2:32 PM, Ying Chen <cheny9@...> wrote:

> Dear all,
>
> I'm trying to classify a 4-D vector image now. Both the raw image data
> and its label image are 4 dimensional.
>
> When I apply itkMRFimageFilter to the image, I get running time error and
> the program terminates. (The same code runs smoothly on 3D vector image
> in my study.) I've digged in the source code of itkMRFimageFilter.txx. It
> seems to me that the default size of neighborhood is up to 3x3x3, which
> is 3 dimensional. My question is, how can I accormadate the neighborhood
> size to 4D vector image?
>
> Can anyone help me with this issue? I'll appreciate that.
>
> Sincerely,
>
> Ying Chen
> 2009-11-06
>
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.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
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.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