[vtkusers] VTKMATLABMEXADAPTER: vtkDataArray to vtkImageData

David Gobbi david.gobbi at gmail.com
Tue Jan 4 13:57:22 EST 2011


On Tue, Jan 4, 2011 at 4:55 PM, kwayeke <bigvision82 at yahoo.com> wrote:
>
>    ImageData->SetDimensions(254,254,384);
>    ImageData->SetWholeExtent(0,299,0,299,0,384);

Try with dimensions set to (256,256,384)
and the whole extent set to (0,255,0,255,0,383)

  - David



More information about the vtkusers mailing list