ifw-odp 5.0.0
Loading...
Searching...
No Matches
clipm_image_sim.h
Go to the documentation of this file.
1
2/*********************************************************************
3 * E.S.O. - VLT project
4 *
5 * "@(#) $Id: clipm_image_sim.h 279868 2016-03-10 10:51:44Z cgarcia $"
6 *
7 * Functions for image creation and simulation
8 *
9 * who when what
10 * -------- ---------- ----------------------------------------------
11 * hlorch 2008-12-02 created
12 */
13
14#ifndef CLIPM_IMAGE_SIM_H
15#define CLIPM_IMAGE_SIM_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 cpl_image *img_modified,
37 const cpl_size window_xxyy[4],
38 double sigma);
39
40cpl_error_code clipm_image_sim_circle( cpl_image *img_modified,
41 double centre_x,
42 double centre_y,
43 double radius,
44 double brightness);
45
46cpl_error_code clipm_image_sim_rectangle( cpl_image *img_modified,
47 double centre_x,
48 double centre_y,
49 double angle,
50 double length,
51 double width,
52 double brightness);
53
54/*----------------------------------------------------------------------------*/
55
56#ifdef __cplusplus
57} /* extern "C" */
58#endif
59
60#endif /* CLIPM_IMAGE_SIM_H */
cpl_error_code clipm_image_sim_circle(cpl_image *img_modified, double centre_x, double centre_y, double radius, double brightness)
Add a circle to an existing image (additively, on top).
Definition clipm_image_sim.c:193
cpl_error_code clipm_image_sim_noise_gaussian(cpl_image *img_modified, const cpl_size window_xxyy[4], double sigma)
Add white gaussian noise to an image.
Definition clipm_image_sim.c:77
cpl_error_code clipm_image_sim_rectangle(cpl_image *img_modified, double centre_x, double centre_y, double angle, double length, double width, double brightness)
Add a circle to an existing image (additively, on top).
Definition clipm_image_sim.c:254