[vtkusers] codes

shirani kannangara mangalika673 at gmail.com
Thu Jan 24 02:24:32 EST 2013


Hi Craig;

Thanks for you reply.Program is ok now.The output looks like this.
Dims: x:1  y:1  z:1

But according to the image information x,y,z dimensions are
x:675
y:401
z:450

I have attached my codes.Is there anything missing in  my codes or
imagereader2 does not work roperly.Can you please correct me
Regards
Shirani

r
On Wed, Jan 23, 2013 at 3:41 PM, Craig Henderson <
craig.henderson at intelligentultrasound.com> wrote:

> Change line 42 to****
>
> imageData->GetDimensions(dims);****
>
> ** **
>
> the “dim[] = “ is the syntax error****
>
> ** **
>
> Regards****
>
> -- Craig****
>
> ** **
>
> VP Engineering, Intelligent Ultrasound****
>
> 01235 841556****
>
> ** **
>
> *From:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *On
> Behalf Of *shirani kannangara
> *Sent:* 23 January 2013 09:42
> *To:* bill.lorensen at gmail.com; daviddoria at gmail.com;
> alexdowson at hotmail.com
> *Cc:* vtkusers at vtk.org
> *Subject:* [vtkusers] codes****
>
> ** **
>
> ** **
>
> ** **
>
> Hi everybody****
>
> ** **
>
> I have written codes to get dimensions of image data set(VHP abdomen).My
> codes are attached herewith.When compiling one error came. ****
>
> Am I missing something there.****
>
> ** **
>
> Im getting a C2059 syntax error for line42.****
>
> ** **
>
> regards****
>
> Shirani****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130124/9e0ecb8b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageReader2.sln
Type: application/octet-stream
Size: 3148 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130124/9e0ecb8b/attachment.obj>


More information about the vtkusers mailing list