~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/file/camera/distort_w.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2   */
  3 #include <stdio.h>
  4 #include <tina/sys.h>
  5 #include <tina/math.h>
  6 #include <tina/mathfuncs.h>
  7 #include <tina/vision.h>
  8 
  9 void    rdist_write_fp(FILE * fp, Camera * cam)
 10 {
 11     int     i, n;
 12     double *a;
 13 
 14     if (cam->distort_params != NULL)
 15     {
 16         a = cam->distort_params;
 17         n = (int) a[0];
 18         (void) fprintf(fp, "%d \n", n);
 19         for (i = 0; i < n; i++)
 20             (void) fprintf(fp, "%f ", a[i + 1]);
 21         (void) fprintf(fp, "\n");
 22     }
 23 }
 24 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.