[Insight-users] raw data not read completely?
Luis Ibanez
luis.ibanez at kitware.com
Wed, 07 Apr 2004 11:20:48 -0400
Hi Aissa,
This probably means that you have a miss-match
between the pixel type that you specified in
your MetaImage header and the actuall pixel
type in your file.
You can easily check the math of your header
file by computing
sizeof( PixelType ) . Nx . Ny . Nz . Nc
wherer Nx, Ny, Nz are the number of pixels
along the directions X, Y and Z. and Nc is
the number of components in every pixels of
your image (Nc=1 in a grayscale image, while
Nc=3 in an RGB image).
It may help if you post the MetaImage header
that you wrote for reading your .raw file.
Regards,
Luis
-----------------
aissa arar wrote:
> hi all,
> I try to read a volume.raw but at execution, there is always this message :
> MetaImage: M_ReadElements: data not read completely
> ideal = 419443040 : actual = 7335872
> and the image is not displyed completely.
> plaese can you help me?
> thanks in advanve.
> Aissa
>
>