Bsoft  2.1.0
Bernard's software package
img_combine.h
Go to the documentation of this file.
1 
9 #include "rwimg.h"
10 
11 // Function prototypes
12 Bimage* img_add(Bstring* file_list, int flags);
13 Bimage* img_setup_combined(Bstring* file_list, long& nimg, int cat=0);
14 Bimage* img_catenate(Bstring* file_list, Bstring& rawstring, DataType newdatatype,
15  Vector3<long> nusize, int setZslices=0, int fill_type=0, double fill=0,
16  double newavg=0, double newstd=0);
17 Bimage* img_add_weighed(Bstring* file_list, vector<double> weight,
18  double newavg=0, double newstd=0, int flags=0);
Bstring
Definition: Bstring.h:29
Vector3< long >
img_setup_combined
Bimage * img_setup_combined(Bstring *file_list, long &nimg, int cat=0)
Sets up a list of images for concatenation or summation.
Definition: img_combine.cpp:107
img_add_weighed
Bimage * img_add_weighed(Bstring *file_list, vector< double > weight, double newavg=0, double newstd=0, int flags=0)
Adds multiple images together with given weights.
Definition: img_combine.cpp:291
Bimage
General image parameter class.
Definition: Bimage.h:177
img_add
Bimage * img_add(Bstring *file_list, int flags)
Adds multiple images together with optional variance or standard deviation.
Definition: img_combine.cpp:32
rwimg.h
Header file for 2D and 3D image I/O.
DataType
DataType
Base data type specifier.
Definition: utilities.h:150
img_catenate
Bimage * img_catenate(Bstring *file_list, Bstring &rawstring, DataType newdatatype, Vector3< long > nusize, int setZslices=0, int fill_type=0, double fill=0, double newavg=0, double newstd=0)
Catenates a list of images into a multi-image structure.
Definition: img_combine.cpp:163