vil_image_view<T>::operator=() can automatically perform these conversions for you.
Definition in file vil_view_as.h.
#include <vcl_complex.h>
#include <vil/vil_image_view.h>
#include <vil/vil_rgb.h>
#include <vil/vil_rgba.h>
Go to the source code of this file.
1.5.1