Hi!

I have a vil_image_view<vxl_byte> and I want to use a method (vgel_kl) that takes a vil_image_resource_sptr as an argument, but I couldn't find a way to convert fom one format to the other. I thought that vil_image_resource was in the base of the hierarchy of the class vil_image_view, but it's not.

What's the difference between these two classes, and how can I convert from one to another?

Thanks!

--
Crístian Deives dos Santos Viana [aka CD1]
Google Talk: cristiandeives@gmail.com