Hi,
 
Question 1
    typedef vcl_complex<double> Complx;
    vil_image img = vil_load(filename);
    vil_memory_image_of<Complx> buf(img);
    int r=buf.rows();
    int c=buf.cols();
    vnl_matrix<Complx> A(buf,r,c);
    vnl_fft_2d<double> fft2d(r,c);              <-- assertion failure
 
ERROR:
    ../vnl_fft_prime_factors.txx:25 assertion failure
    '! "you probably gave a signal size not of the form 2^p 3^q 5^r
   
   My image is a .png (158x158) grayscale chessboard image.
 
Question 2
   Where can I find more example code (other than the VXL book)?
   
Thank you
wouter