On Thu, Oct 2, 2008 at 12:57 PM, Matt Leotta <firstname.lastname@example.org>
Everything you are telling me suggest that vidl2 is working fine and
your problem is a result of how you are converting the
vil_image_view<vxl_byte> into a QImage. As a side note, I don't think
vil_image_view<vil_rgb<vxl_byte> > is supported in vidl2 yet.
To access the RGB data from a vil_image_view use:
image_view(i,j,0) for red
image_view(i,j,1) for green
image_view(i,j,2) for blue
I'm not sure exactly what QImage is looking for, but it sounds like
you need to combine these 3 byte values somehow to get the data format
that QImage is expecting.