Hi Jinzhong,<br><br>Have you tried casting the image before or pixel during the operation? You could make "imagexDouble" before starting using itk::CastImageFilter, or do it during the operation using C-style casting: <br>
<br>for (iteratorx.GoToBegin(), iteratorlambda1.GoToBegin(); !iteratorx.IsAtEnd(); ++iteratorx, ++iteratorlambda1)<br>{<br> iteratorlambda1.Set( <b>(double)</b> iteratorx.Get() );<br>}<br><br>Hope that helps,<br>
Seth<br>