GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
|
#include <grass/gis.h>
#include <grass/gmath.h>
#include <grass/vector.h>
#include <grass/dbmi.h>
#include <grass/raster.h>
#include <grass/segment.h>
#include <grass/glocale.h>
Go to the source code of this file.
Data Structures | |
struct | Reg_dimens |
struct | Point |
struct | element |
Macros | |
#define | NSPLX_MAX 150 /* Maximum number of splines along East direction used in the subregions interpolation */ |
#define | NSPLY_MAX 150 /* Maximum number of splines along North direction used in the subregions interpolation */ |
#define | OVERLAP_SIZE 10 /* Subregions overlapping size. */ |
#define | LATO 1000 /* Side's size for v.lidar.growing. */ |
#define | CONTOUR 15 |
#define | GENERAL_ROW 0 |
#define | GENERAL_COLUMN 1 |
#define | FIRST_ROW 2 |
#define | LAST_ROW 3 |
#define | FIRST_COLUMN 4 |
#define | LAST_COLUMN 5 |
#define | F_EDGE_DETECTION_CLASS 1 |
#define | F_CLASSIFICATION 2 |
#define | F_INTERPOLATION 3 |
#define | F_COUNTER_OBJ 4 |
#define | PRE_TERRAIN 1 |
#define | PRE_EDGE 2 |
#define | PRE_UNKNOWN 3 |
#define | TERRAIN_SINGLE 1 |
#define | TERRAIN_DOUBLE 2 |
#define | OBJECT_DOUBLE 3 |
#define | OBJECT_SINGLE 4 |
#define | SINGLE_PULSE 1 |
#define | DOUBLE_PULSE 2 |
#define | P_BILINEAR 1 |
#define | P_BICUBIC 0 |
#define | TRUE 1 |
#define | FALSE 0 |
Functions | |
void | P_zero_dim (struct Reg_dimens *) |
int | P_set_dim (struct Reg_dimens *, double, double, int *, int *) |
int | P_set_regions (struct Cell_head *, struct bound_box *, struct bound_box *, struct Reg_dimens, int) |
int | P_get_edge (int, struct Reg_dimens *, double, double) |
int | P_get_BandWidth (int, int) |
double | P_estimate_splinestep (struct Map_info *, double *, double *) |
struct Point * | P_Read_Vector_Region_Map (struct Map_info *, struct Cell_head *, int *, int, int) |
struct Point * | P_Read_Raster_Region_Map (SEGMENT *, struct Cell_head *, struct Cell_head *, int *, int) |
double | P_Mean_Calc (struct Cell_head *, struct Point *, int) |
void | P_Sparse_Points (struct Map_info *, struct Cell_head *, struct bound_box, struct bound_box, double **, double *, int *, double, double, double, int, int, int, int, struct line_cats *, dbDriver *, double, char *) |
int | P_Regular_Points (struct Cell_head *, struct Cell_head *, struct bound_box, struct bound_box, SEGMENT *, double *, double, double, double, double, int, int, int, int, int) |
int | P_Create_Aux2_Table (dbDriver *, char *) |
int | P_Create_Aux4_Table (dbDriver *, char *) |
int | P_Drop_Aux_Table (dbDriver *, char *) |
void | P_Aux_to_Raster (double **, int) |
void | P_Aux_to_Vector (struct Map_info *, struct Map_info *, dbDriver *, char *) |
double ** | P_Null_Matrix (double **) |
void | normalDefBicubic (double **N, double *TN, double *Q, double **obsVect, double deltaX, double deltaY, int xNum, int yNum, double xMin, double yMin, int obsNum, int parNum, int BW) |
void | normalDefBilin (double **N, double *TN, double *Q, double **obsVect, double deltaX, double deltaY, int xNum, int yNum, double xMin, double yMin, int obsNum, int parNum, int BW) |
void | nCorrectLapl (double **N, double lambda, int xNum, int yNum, double deltaX, double deltaY) |
void | nCorrectGrad (double **N, double lambda, int xNum, int yNum, double deltaX, double deltaY) |
void | obsEstimateBicubic (double **obsV, double *obsE, double *parV, double deltX, double deltY, int xNm, int yNm, double xMi, double yMi, int obsN) |
double | dataInterpolateBicubic (double x, double y, double deltaX, double deltaY, int xNum, int yNum, double xMin, double yMin, double *parVect) |
void | obsEstimateBilin (double **obsV, double *obsE, double *parV, double deltX, double deltY, int xNm, int yNm, double xMi, double yMi, int obsN) |
double | dataInterpolateBilin (double x, double y, double deltaX, double deltaY, int xNum, int yNum, double xMin, double yMin, double *parVect) |
#define CONTOUR 15 |
Definition at line 38 of file lidar.h.
Referenced by P_Mean_Calc().
#define FIRST_COLUMN 4 |
Definition at line 43 of file lidar.h.
Referenced by P_set_regions().
#define FIRST_ROW 2 |
Definition at line 41 of file lidar.h.
Referenced by P_set_regions().
#define GENERAL_COLUMN 1 |
Definition at line 40 of file lidar.h.
Referenced by P_set_regions().
#define GENERAL_ROW 0 |
Definition at line 39 of file lidar.h.
Referenced by P_set_regions().
#define LAST_COLUMN 5 |
Definition at line 44 of file lidar.h.
Referenced by P_set_regions().
#define LAST_ROW 3 |
Definition at line 42 of file lidar.h.
Referenced by P_set_regions().
#define NSPLX_MAX 150 /* Maximum number of splines along East direction used in the subregions interpolation */ |
#define NSPLY_MAX 150 /* Maximum number of splines along North direction used in the subregions interpolation */ |
#define P_BICUBIC 0 |
Definition at line 64 of file lidar.h.
Referenced by P_get_edge().
#define P_BILINEAR 1 |
Definition at line 63 of file lidar.h.
Referenced by P_get_BandWidth(), and P_get_edge().
double dataInterpolateBicubic | ( | double | x, |
double | y, | ||
double | deltaX, | ||
double | deltaY, | ||
int | xNum, | ||
int | yNum, | ||
double | xMin, | ||
double | yMin, | ||
double * | parVect | ||
) |
Definition at line 533 of file InterpSpline.c.
References node_x(), node_y(), order(), phi_33(), phi_34(), phi_43(), and phi_44().
Referenced by P_Regular_Points(), and P_Sparse_Points().
double dataInterpolateBilin | ( | double | x, |
double | y, | ||
double | deltaX, | ||
double | deltaY, | ||
int | xNum, | ||
int | yNum, | ||
double | xMin, | ||
double | yMin, | ||
double * | parVect | ||
) |
Definition at line 644 of file InterpSpline.c.
References node_x(), node_y(), order(), and phi().
Referenced by P_Regular_Points(), and P_Sparse_Points().
void nCorrectGrad | ( | double ** | N, |
double | lambda, | ||
int | xNum, | ||
int | yNum, | ||
double | deltaX, | ||
double | deltaY | ||
) |
Definition at line 432 of file InterpSpline.c.
Referenced by normalDefBilin().
void nCorrectLapl | ( | double ** | N, |
double | lambda, | ||
int | xNum, | ||
int | yNum, | ||
double | deltaX, | ||
double | deltaY | ||
) |
Definition at line 211 of file InterpSpline.c.
References order().
void normalDefBicubic | ( | double ** | N, |
double * | TN, | ||
double * | Q, | ||
double ** | obsVect, | ||
double | deltaX, | ||
double | deltaY, | ||
int | xNum, | ||
int | yNum, | ||
double | xMin, | ||
double | yMin, | ||
int | obsNum, | ||
int | parNum, | ||
int | BW | ||
) |
void normalDefBilin | ( | double ** | N, |
double * | TN, | ||
double * | Q, | ||
double ** | obsVect, | ||
double | deltaX, | ||
double | deltaY, | ||
int | xNum, | ||
int | yNum, | ||
double | xMin, | ||
double | yMin, | ||
int | obsNum, | ||
int | parNum, | ||
int | BW | ||
) |
Definition at line 313 of file InterpSpline.c.
References nCorrectGrad(), node_x(), node_y(), order(), and phi().
void obsEstimateBicubic | ( | double ** | obsV, |
double * | obsE, | ||
double * | parV, | ||
double | deltX, | ||
double | deltY, | ||
int | xNm, | ||
int | yNm, | ||
double | xMi, | ||
double | yMi, | ||
int | obsN | ||
) |
void obsEstimateBilin | ( | double ** | obsV, |
double * | obsE, | ||
double * | parV, | ||
double | deltX, | ||
double | deltY, | ||
int | xNm, | ||
int | yNm, | ||
double | xMi, | ||
double | yMi, | ||
int | obsN | ||
) |
void P_Aux_to_Raster | ( | double ** | , |
int | |||
) |
Definition at line 531 of file zones.c.
References G_incr_void_ptr(), and G_percent().
void P_Aux_to_Vector | ( | struct Map_info * | , |
struct Map_info * | , | ||
dbDriver * | , | ||
char * | |||
) |
Definition at line 557 of file zones.c.
References Point::coordX, Point::coordY, Point::coordZ, and count.
int P_Create_Aux2_Table | ( | dbDriver * | , |
char * | |||
) |
int P_Create_Aux4_Table | ( | dbDriver * | , |
char * | |||
) |
double P_estimate_splinestep | ( | struct Map_info * | , |
double * | , | ||
double * | |||
) |
Definition at line 249 of file zones.c.
References G_get_set_window(), and NULL.
int P_get_BandWidth | ( | int | , |
int | |||
) |
Definition at line 208 of file zones.c.
References P_BILINEAR.
int P_get_edge | ( | int | , |
struct Reg_dimens * | , | ||
double | , | ||
double | |||
) |
Definition at line 187 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, P_BICUBIC, and P_BILINEAR.
double P_Mean_Calc | ( | struct Cell_head * | , |
struct Point * | , | ||
int | |||
) |
Definition at line 222 of file zones.c.
References CONTOUR, and Point::coordZ.
double** P_Null_Matrix | ( | double ** | ) |
struct Point* P_Read_Raster_Region_Map | ( | SEGMENT * | , |
struct Cell_head * | , | ||
struct Cell_head * | , | ||
int * | , | ||
int | |||
) |
Definition at line 376 of file zones.c.
References Point::coordX, Point::coordY, Point::coordZ, if(), and Segment_get().
struct Point* P_Read_Vector_Region_Map | ( | struct Map_info * | , |
struct Cell_head * | , | ||
int * | , | ||
int | , | ||
int | |||
) |
Definition at line 309 of file zones.c.
References Point::cat, Point::coordX, Point::coordY, Point::coordZ, Point::lineID, and NULL.
int P_Regular_Points | ( | struct Cell_head * | , |
struct Cell_head * | , | ||
struct bound_box | , | ||
struct bound_box | , | ||
SEGMENT * | , | ||
double * | , | ||
double | , | ||
double | , | ||
double | , | ||
double | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
int | |||
) |
Definition at line 190 of file lidar/raster.c.
References dataInterpolateBicubic(), dataInterpolateBilin(), if(), Segment_get(), Segment_put(), X, and Y.
int P_set_dim | ( | struct Reg_dimens * | , |
double | , | ||
double | , | ||
int * | , | ||
int * | |||
) |
Definition at line 119 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, G_get_window(), Reg_dimens::overlap, and Reg_dimens::sn_size.
int P_set_regions | ( | struct Cell_head * | , |
struct bound_box * | , | ||
struct bound_box * | , | ||
struct Reg_dimens | , | ||
int | |||
) |
Definition at line 54 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, FIRST_COLUMN, FIRST_ROW, G_get_window(), GENERAL_COLUMN, GENERAL_ROW, LAST_COLUMN, LAST_ROW, Reg_dimens::overlap, and Reg_dimens::sn_size.
void P_Sparse_Points | ( | struct Map_info * | , |
struct Cell_head * | , | ||
struct bound_box | , | ||
struct bound_box | , | ||
double ** | , | ||
double * | , | ||
int * | , | ||
double | , | ||
double | , | ||
double | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
struct line_cats * | , | ||
dbDriver * | , | ||
double | , | ||
char * | |||
) |
Definition at line 9 of file lidar/raster.c.
References dataInterpolateBicubic(), dataInterpolateBilin(), and G_fatal_error().
void P_zero_dim | ( | struct Reg_dimens * | ) |
Definition at line 9 of file zones.c.
References Reg_dimens::edge_h, Reg_dimens::edge_v, Reg_dimens::ew_size, Reg_dimens::overlap, and Reg_dimens::sn_size.