[Insight-users] ImageType::ImageDimension
Xavier Penya
xavier.penya at epfl.ch
Mon Mar 26 11:13:56 EST 2007
Hello,
I insisct: I tried everything just to put the BiasImageGenerator in 2D mode instead of the 3D one, but everything failed...
Can somebody tell me where is defined the var ImageType? It is the root of the problem, due to the part of the code:
if(dimension != static_cast<int>(ImageType::ImageDimension))
{
std::cout << "Currently compiled to only support "
<< ImageType::ImageDimension << " dimensional images."
<< std::endl;
exit(0);
}
If I put "dimension=2" it shows the error message because ImageType::ImageDimension is always 3. The problem is that I cannot change (I even cannot reach) ImageType::ImageDimension.
I need your help please!
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070326/e222dab4/attachment-0001.htm
More information about the Insight-users
mailing list