isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
RegionMap.h
1 // Copyright (c) 2017-, California Institute of Technology ("Caltech"). U.S.
2 // Government sponsorship acknowledged.
3 // All rights reserved.
4 //
5 // Author(s):
6 //
7 // ======================================================================
8 //
9 // FILENAME: RegionMap.h
10 //
11 // CREATED BY: Xiaoqing WU
12 //
13 // ======================================================================
14 
15 #pragma once
16 
17 #include "Point.h"
18 #include "constants.h"
19 
20 #include <list>
21 #include <set>
22 #include <queue>
23 
24 #define face_up 0x01
25 #define face_down 0x02
26 #define face_left 0x04
27 #define face_right 0x08
28 
29 
30 using namespace std;
31 
32 int create_region_map(int lines, int pixels, float **phases, int **region_map, int min_pixels_per_region = 0, float nodata = -10000.0);
33 int create_region_map(int lines, int pixels, bool **mask, int **region_map, int min_pixels_per_region = 0);
34 int create_region_map(int lines, int pixels, bool **mask, unsigned char **disc_data, int **region_map, int min_pixels_per_region);
35 int create_region_map(int lines, int pixels, bool **mask, float **normalized_heights, int **region_map, int min_pixels_per_region);
36 int create_region_map(int lines, int pixels, int **input_regions, float **normalized_heights, int **region_map, int min_pixels_per_region);
37 int create_region_map(int lines, int pixels, int **input_regions, int **region_map, int min_pixels_per_region);
38 // Inputs: lines, pixels, bool_data, region_map
39 // Output: region_map, nr_regions, region_points
40 
41 list<USPoint> *make_point_list(int lines, int pixels, int **region_map, int nr_regions);
42 // Inputs: lines, pixels, region_map, nr_regions
43 // Output: list array with each list
44 
45 
46 void make_point_list(int lines, int pixels, int **region_map, int &nr_regions, list<USPoint> **point_list);

Generated for ISCE3.0 by doxygen 1.8.5.