ifw-odp 5.0.0
Loading...
Searching...
No Matches
clipm_priv_image_resample.h
Go to the documentation of this file.
1
2/*********************************************************************
3 * E.S.O. - VLT project
4 *
5 * "@(#) $Id: clipm_priv_image_resample.h 262677 2014-12-08 13:29:04Z cgarcia $"
6 *
7 * Private functions for resampling of images
8 *
9 * who when what
10 * -------- ---------- ----------------------------------------------
11 * hlorch 2006-08-12 created
12 */
13
14#ifndef CLIPM_PRIV_IMAGE_RESAMPLE_H
15#define CLIPM_PRIV_IMAGE_RESAMPLE_H
16
17/*-----------------------------------------------------------------------------
18 Includes
19 -----------------------------------------------------------------------------*/
20
21#include <cpl.h>
22
23/*-----------------------------------------------------------------------------
24 Declaration Block
25 -----------------------------------------------------------------------------*/
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*-----------------------------------------------------------------------------
32 Prototypes
33 -----------------------------------------------------------------------------*/
34
36 const cpl_image *input,
37 const cpl_matrix *transform,
38 cpl_matrix *shift,
39 const cpl_size window_xxyy[4],
40 int adjust_size,
41 int use_outside_wdw,
42 int norm_flag,
43 int set_bpm_flag,
44 cpl_image **contrib_map);
45
47 const cpl_image *input,
48 double scale);
49
51 double resampled_position,
52 double scale);
53
55 double original_position,
56 double scale);
57
58/*----------------------------------------------------------------------------*/
59
60#ifdef __cplusplus
61} /* extern "C" */
62#endif
63
64#endif /* CLIPM_PRIV_IMAGE_RESAMPLE_H */
double clipm_priv_image_resample_undo_position(double resampled_position, double scale)
Backtransform a position (x or y) from a resampled image to the original position before resampling (...
Definition clipm_priv_image_resample.c:866
cpl_image * clipm_priv_image_lineartrans_bilinear(const cpl_image *input, const cpl_matrix *transform, cpl_matrix *shift, const cpl_size window_xxyy[4], int adjust_size, int use_outside_wdw, int norm_flag, int set_bpm_flag, cpl_image **contrib_map)
Linearly transform a 2d-image using bilinear interpolation.
Definition clipm_priv_image_resample.c:373
cpl_image * clipm_priv_image_resample_bilinear(const cpl_image *input, double scale)
Resample an image using bilinear interpolation.
Definition clipm_priv_image_resample.c:615
double clipm_priv_image_resample_position(double original_position, double scale)
Transform a position (x or y) from an image, which is to be resampled, to the new position in the res...
Definition clipm_priv_image_resample.c:889