I'm trying to convert a vidl2_frame to a vil_image_view, using the functions declared in <vidl2/vidl2_convert.h>. I'm using the function vidl2_convert_wrap_in_view, but its parameter must be of type const vidl2_frame&, and I have a vidl2_frame_sptr. I think it's a silly question, but how do I get the vidl2_frame object from an sptr? I'm not very familiar with smart pointers yet :(

Thank you!

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