ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
clipm_image_sim.h
Go to the documentation of this file.
1
5
6#ifndef CLIPM_IMAGE_SIM_H
7#define CLIPM_IMAGE_SIM_H
8
9/*-----------------------------------------------------------------------------
10 Includes
11 -----------------------------------------------------------------------------*/
12
13#include <cpl.h>
14
15/*-----------------------------------------------------------------------------
16 Declaration Block
17 -----------------------------------------------------------------------------*/
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*-----------------------------------------------------------------------------
24 Prototypes
25 -----------------------------------------------------------------------------*/
26
28 cpl_image *img_modified,
29 const cpl_size window_xxyy[4],
30 double sigma);
31
32cpl_error_code clipm_image_sim_circle( cpl_image *img_modified,
33 double centre_x,
34 double centre_y,
35 double radius,
36 double brightness);
37
38cpl_error_code clipm_image_sim_rectangle( cpl_image *img_modified,
39 double centre_x,
40 double centre_y,
41 double angle,
42 double length,
43 double width,
44 double brightness);
45
46/*----------------------------------------------------------------------------*/
47
48#ifdef __cplusplus
49} /* extern "C" */
50#endif
51
52#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:186
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:70
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:247