[vtkusers] Interpolation ???
Weinheimer, Oliver
mail at oliwe.com
Tue Sep 9 08:12:03 EDT 2008
Hi,
2 suggestions:
1)
read the images in as a 3d dataset (vtkImageData)
and then you can use vtkImageResample with SetAxisMagnificationFactor(2, 2).
You can choose the
interpolation mode by resample->SetInterpolationMode()
2)
write it by your own:
generate a new empty 512x512 matrix and do an linear interpolation pixel by
pixel (or any other kind of interpolation)
regards
Oliver
Mar Ávila wrote:
>
> Hi,
>
>
>
> I have got 16 medical images (512x512) obtained from a MRI scanner. All of
> them are level-grey images (8 bits, 0-255 value per pixel). These images
> have been obtained with a slice thickness of 2 mm (separation among each
> pair of consecutive images).
>
>
>
> So, my images (IM) are:
>
>
>
> IM1 - IM2 - IM3 - . - IM15 - IM16
>
>
>
> I need to insert (generate) a new image between each pair of my images,
> that is:
>
>
>
> IM1 - New_image1 - IM2
>
> IM2 - New_image2 - IM3
>
> ...
>
> IM15 - New_image15 - IM16
>
>
>
> The new images would be obtained by means of mathematical interpolation.
> Thus, interpolating IM1 and IM2, I need to obtain a new image (512x512).
>
>
>
> Does someone know any function / procedure to achieve this?
>
>
>
> Thanks in advance!!!
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
View this message in context: http://www.nabble.com/Interpolation-----tp19390161p19390978.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list