Bsoft  1.9
Bernard's software package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
img_mask.h
Go to the documentation of this file.
1 
8 #include "rwimg.h"
9 
10 //Function prototypes
11 int img_plane_mask(Bimage* p, Vector3<float> origin, Vector3<float> normal, int operation);
12 int img_rectangular_mask(Bimage* p, float length, float width,
13  float rect_angle, int wrap, int operation);
14 Bimage* img_composite_mask(int nfiles, Bstring* file_list, int mask_type);
15 int* img_mask_interface_matrix(Bimage* pmask, int img_num, int* nmat);
16 int img_mask_region_interfaces(Bimage* pmask, int reg_num);
17 int img_mask_merge_delete(Bimage* pmask, int min_size, int min_if);
18 
Bimage * img_composite_mask(int nfiles, Bstring *file_list, int mask_type)
Generates a composite of multiple masks.
Definition: img_mask.cpp:156
int img_plane_mask(Bimage *p, Vector3< float > origin, Vector3< float > normal, int operation)
Generates a mask on one side of a plane.
Definition: img_mask.cpp:31
int img_mask_region_interfaces(Bimage *pmask, int reg_num)
Reports the whole interface matrix or interfaces for one region only.
Definition: img_mask.cpp:318
int img_rectangular_mask(Bimage *p, float length, float width, float rect_angle, int wrap, int operation)
Generates a mask along an axis within a 2D image.
Definition: img_mask.cpp:90
General image parameter class.
Definition: Bimage.h:153
int * img_mask_interface_matrix(Bimage *pmask, int img_num, int *nmat)
Calculates the interfaces between regions.
Definition: img_mask.cpp:248
Header file for 2D and 3D image I/O.
int img_mask_merge_delete(Bimage *pmask, int min_size, int min_if)
Calculates the interfaces between regions and deletes/merges small ones.
Definition: img_mask.cpp:370