[Insight-users] WarpImageFilter
Kajetan Berlinger
kaje at kaje.info
Tue Jun 13 18:29:32 EDT 2006
Hi,
what I would try first, is to initialize the displacement field with vectors = (0,0),
means no warping at all. Now after applying the filter to the image it certainly should still look
like the original one (white ball). After this first test I would manually manipulate the
displacement field to see how the filter reacts.
Hope that help,
Kaj
Michelangelo Paci wrote:
> Dear list,
> I'm trying to warp a very simple image, a white ball (intensity 255) in a
> black background (intensity 0), using a vector field of the same dimension,
> origin and spacing of the image. But the output of this filter is a totally
> black image, my white ball completely disappears. How could it be? I think
> that even if the displacement is very small, my ball should remain in the
> output image. Does the warper rescale also the intensities of the input
> image using the intensity of the displacement, or only moves each voxel? I
> need the vector field in order to move some elements in my image, but it's
> totally unuseful if it return an all black image.
> Please, help me, this is very important.
>
> Thanks
> Michelangelo Paci
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list