reco.h 869 B

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