reco.h 661 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef RECO_H
  2. #define RECO_H
  3. #include <glib.h>
  4. typedef struct {
  5. gboolean interactive;
  6. gchar *radios;
  7. gchar *darks;
  8. gchar *flats;
  9. gchar *output;
  10. gint width;
  11. gint height;
  12. guint num_radios;
  13. guint num_darks;
  14. gdouble dark_scale;
  15. gdouble theta;
  16. gdouble tau;
  17. gdouble psi;
  18. gdouble px;
  19. gdouble py;
  20. gdouble px_variation;
  21. gdouble v_origin[3];
  22. guint v_size[3];
  23. GOptionEntry *entries;
  24. gfloat *cache;
  25. } Params;
  26. gboolean params_okay (Params *params);
  27. void run_simple_reconstruction (Params *params,
  28. gchar **argv);
  29. #endif