[Insight-users] Re: getting pixel values from 3d image
Luis Ibanez
luis.ibanez at kitware.com
Thu Sep 2 20:01:10 EDT 2004
Hi Sharad,
Please the following material
1) ITK Software Guide
http://www.itk.org/ItkSoftwareGuide.pdf
Chapter on the Image class.
Sectino 4.1, pdf-page 61 to 69.
You will find here that the spacing array indicates the pixel
separation along each dimension, not in-between every
consecutive slice in a 3D image. You will also find instructions
on how to access and how to change pixel data.
2) The Introductoy tutorial to ITK
http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/index.htm
3) The Tutorial on how to convert ITK image
to VTK image, and viceversa.
http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf
Please let us know if you have further questions.
Thanks
Luis
-------------------------------
sharad at hermes.eng.fsu.edu wrote:
> hi Luis
> if you remember i was stacking 2d images to get an 3d image.i have a
> question regarding getting data from 3d image. i am basically getting 2d
> fluorescent images of micro beads(fluorescent) in a micro channel. so i
> want to track the bead once i get an 3d image which is an vtk image. so i
> wanted to know if there is any way i could get the intensity values or
> the pixel data or the (x,y,x) of a specific bead from the 3d vtk image or
> can the 3d vtk imag e be converted into different format by which i can
> read the pixel(or voxel) values.
>
> also i asked you before how to set the spacing between images and you
> suggested
> following(below the next line) .is it same even if my spacing between
> each image is constant . do i need to define an array for spacing between
> each image?
>
> *******************
>
> Your pipeline should look like:
>
>
> ImageSeriesReader---->> ChangeInformationFilter---->>> etc
>
>
> in the ChangeInformationImageFilter you should invoke the
> method:
>
> SetOutputSpacing()
>
> and feed it with an array that has the correct spacing values.
>
> ***********************
> thanks a lot for your time
>
> regards
> sharad
>
>
>
More information about the Insight-users
mailing list