Hi Krishnan,<br>I think that your problem might be the origin definition.  You define it as a double array, try using itk::Image::PointType instead and then set the values, much like you did for size.<br><br>Cheers,<br>Seth<br>