File: hdrl_prototyping.h

package info (click to toggle)
cpl-plugin-xshoo 2.8.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,168 kB
  • sloc: ansic: 146,236; sh: 11,433; python: 2,342; makefile: 1,024
file content (65 lines) | stat: -rw-r--r-- 2,235 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
 * hdrl_prototyping.h
 *
 *  Created on: Aug 29, 2013
 *      Author: agabasch
 */

#ifndef HDRL_PROTOTYPING_H_
#define HDRL_PROTOTYPING_H_

#include <cpl.h>

cpl_image * hdrl_get_spatial_freq(cpl_image *ima, double gausfilt, int mirrorx,
                                  int mirrory);

cpl_image * hdrl_mime_image_polynomial_bkg(cpl_image * image,
                                            int dim_X, int dim_Y,
                                            cpl_matrix ** coeffs);


cpl_error_code hdrl_mime_compute_polynomial_bkg(
    const cpl_imagelist       * images,
          cpl_imagelist       * bkg_images,
          int                   dim_X,
          int                   dim_Y,
          cpl_matrix         ** coeffs
   );
cpl_matrix *hdrl_mime_legendre_tensors_create(int nx, int ny, int npx, int npy);

cpl_matrix *hdrl_mime_matrix_linspace_create(int n, double a, double b);

cpl_matrix *hdrl_mime_legendre_polynomials_create(int npoly, double a, double b,
                                             const cpl_matrix * x);

cpl_matrix *hdrl_mime_linalg_pairwise_column_tensor_products_create(const
          cpl_matrix * mat1, const cpl_matrix * mat2);

cpl_error_code hdrl_mime_matrix_copy_column(const cpl_matrix * mat1, int j_1,
          cpl_matrix * mat2, int j_2);

cpl_matrix *hdrl_mime_linalg_tensor_products_columns_create(const cpl_matrix *
                                                       mat1, const cpl_matrix * mat2);
cpl_matrix *hdrl_mime_tensor_weights_create(int nx, int ny);

cpl_error_code hdrl_mime_matrix_rescale_rows(const cpl_matrix * mat,
          const cpl_matrix * d, cpl_matrix * dmat);

cpl_error_code hdrl_mime_matrix_mask_rows(cpl_matrix * mat, const cpl_mask * mask);

cpl_matrix *hdrl_mime_linalg_solve_tikhonov(const cpl_matrix * mat,
          const cpl_matrix * rhs, double alpha);

cpl_matrix *hdrl_mime_linalg_normal_equations_create(const cpl_matrix * mat,
          double alpha);
cpl_matrix *hdrl_mime_matrix_product_left_transpose_create(const cpl_matrix *
          mat1, const cpl_matrix * mat2);

cpl_error_code hdrl_mime_matrix_product(const cpl_matrix * mat1,
          const cpl_matrix * mat2, cpl_matrix * product);


#endif /* HDRL_PROTOTYPING_H_ */