14 #ifndef CLIPM_PRIV_CHECKS_H
15 #define CLIPM_PRIV_CHECKS_H
36 const cpl_size window_xxyy[4],
37 const cpl_image *image);
39 const cpl_size window_xxyy[4],
40 const cpl_image *image,
41 int allow_window_NULL,
42 cpl_size *img_size_xy,
43 cpl_size *window_size_xy,
44 cpl_size *buffer_start_xy);
46 const int window_xxyy[4],
48 int allow_window_NULL);
50 cpl_size window_xxyy[4],
55 cpl_size window_xxyy[4],
56 const cpl_image *image,
59 cpl_size window_xxyy[4],
60 const cpl_size *ref_window,
63 const cpl_image *img1,
64 const cpl_image *img2,
69 const cpl_image *image,
72 const cpl_image *image,
cpl_error_code clipm_priv_checks_window_guarantee_window(cpl_size window_xxyy[4], const cpl_size *ref_window, cpl_size min_wsize)
Cut window coordinates to an existing reference window range, expand if necessary.
Definition: clipm_priv_checks.c:459
cpl_error_code clipm_priv_checks_window_guarantee_image(cpl_size window_xxyy[4], const cpl_image *image, cpl_size min_wsize)
Cut window coordinates to a FITS image range if outside, expand if necessary.
Definition: clipm_priv_checks.c:414
cpl_error_code clipm_priv_checks_imtype_float(const cpl_image *image, cpl_type *out_type)
Check whether an image is of a floating-point type.
Definition: clipm_priv_checks.c:657
cpl_error_code clipm_priv_checks_window_guarantee(cpl_size window_xxyy[4], cpl_size xsize, cpl_size ysize, cpl_size min_wsize)
Cut window coordinates to a FITS image range if outside, expand if necessary.
Definition: clipm_priv_checks.c:322
cpl_error_code clipm_priv_checks_window_minmax(const int window_xxyy[4], int ndims, int allow_window_NULL)
Check coordinates for min/max condition.
Definition: clipm_priv_checks.c:264
cpl_error_code clipm_priv_checks_images_match(const cpl_image *img1, const cpl_image *img2, cpl_type *type, cpl_size *xsize, cpl_size *ysize)
Check whether two images match in the requested features.
Definition: clipm_priv_checks.c:528
int clipm_priv_checks_is_window_full_image(const cpl_size window_xxyy[4], const cpl_image *image)
Check if window coordinates represent the whole image.
Definition: clipm_priv_checks.c:70
cpl_error_code clipm_priv_checks_imtype_any(const cpl_image *image, cpl_type *out_type)
Check whether an image is of an allowed type.
Definition: clipm_priv_checks.c:611
cpl_error_code clipm_priv_checks_window_image(const cpl_size window_xxyy[4], const cpl_image *image, int allow_window_NULL, cpl_size *img_size_xy, cpl_size *window_size_xy, cpl_size *buffer_start_xy)
Check window coordinates with the corresponding image.
Definition: clipm_priv_checks.c:148