<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>I insisct: I tried everything just to put the
BiasImageGenerator in 2D mode instead of the 3D one, but everything
failed...</FONT></DIV>
<DIV><FONT face=Arial size=2>Can somebody tell me where is defined the var
ImageType? It is the root of the problem, due to the part of the
code:</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV><FONT size=2>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV dir=ltr></FONT><FONT face=Arial><FONT color=#0000ff size=2>if</FONT><FONT
size=2>(dimension != </FONT><FONT color=#0000ff size=2>static_cast</FONT><FONT
size=2><</FONT><FONT color=#0000ff size=2>int</FONT></FONT><FONT
size=2><FONT face=Arial>>(ImageType::ImageDimension))</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>{</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV dir=ltr><FONT face=Arial>std::cout << "Currently compiled to only
support "</FONT></DIV>
<DIV dir=ltr><FONT face=Arial><< ImageType::ImageDimension << "
dimensional images."</FONT></DIV>
<DIV dir=ltr><FONT face=Arial><< std::endl;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>exit(0);</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial>}</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial><FONT face=Arial></FONT></FONT> </DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT face=Arial>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.</FONT></DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT face=Arial>I need your help
please!</FONT></DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT face=Arial><FONT
face=Arial></FONT></FONT> </DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT
face=Arial>
Xavier</FONT></DIV></FONT></FONT></DIV></BODY></HTML>