From: Ian Scott <ian.m.scott@st...> - 2004-12-14 14:27:24
Swati Setty wrote:
> hello vxl,
> i am using the vil3d_image_view for 3D images.
> i have vil3d_image_view<vxl_uint_16> with me.
> I am tried to type cast it into vil3d_image_view<float> using
> vil3d_convert_cast(vil3d_image_view<vxl_uint_16> ,vil3d_image_view<float> ).
> But it is not working properly.
What do you mean it isn't working properly?
Is there a compile or link-time error? If so put the compiler name and
version, the problematic code, and the error messages in your email.
Is there a small test case that does not do what you expect? If so, put
the test case code and printed results in your email.
Is something else wrong? If so what?
> Can any one tell me waht will be the problem?
We are not mind readers.
> Or there is any other function for type catsing of the vil3d_image_view?
No, as the name and documentation suggests
is designed specifically to convert a uint_16 image to a float image, by
casting each pixel value. If there is a problem with the function, I'd
be very interested to know about it.