Bsoft  1.9
Bernard's software package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_region_stats.h
Go to the documentation of this file.
1 
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <ctype.h>
12 #include <math.h>
13 #include <time.h>
14 #include <unistd.h>
15 #include <signal.h>
16 
17 #include "Vector3.h"
18 
19 // Function prototypes
20 int img_stats_within_radii(Bimage *p, double rad_min, double rad_max);
21 int img_stats_in_box(Bimage* p, int img_num, Vector3<int> start, Vector3<int> end,
22  int type, double& avg, double& std);
23 int img_stats_in_poly(Bimage* p, int img_num, int nvert, Vector3<float>* poly,
24  double& avg, double& std);
General image parameter class.
Definition: Bimage.h:150
int img_calculate_masked_statistics(Bimage *p, Bimage *pmask)
Calculates the statistics for an image for each level in a mask.
Class for 3-value vectors.
int img_stats_in_box(Bimage *p, int img_num, Vector3< int > start, Vector3< int > end, int type, double &avg, double &std)
Calculates the statistics for an image within the given box.
int img_stats_in_poly(Bimage *p, int img_num, int nvert, Vector3< float > *poly, double &avg, double &std)
Calculates the statistics for an image within the given polyhedron.
int img_stats_within_radii(Bimage *p, double rad_min, double rad_max)
Calculates the statistics for an image with given radii.