|
SIRF
3.4.0
|
Public Member Functions | |
| ImageWeightedMean () | |
| Constructor. | |
| ~ImageWeightedMean () | |
| Destructor. | |
| void | add_image (const NiftiImageData< dataType > &image, const float weight) |
| Add an image (from NiftImage) and its corresponding weight. | |
| void | process () |
| Process. | |
| const std::shared_ptr< const NiftiImageData< dataType > > | get_output_sptr () const |
| Get output. | |
Protected Member Functions | |
| void | check_can_do_mean () const |
| Check if its possible to calculate the mean. | |
Protected Attributes | |
| bool | _need_to_update |
| Bool to check if update is necessary. | |
| std::vector< std::shared_ptr< const NiftiImageData< dataType > > > | _input_image_sptrs |
| Vector of input images. | |
| std::vector< float > | _weights |
| Vector of weights. | |
| std::shared_ptr< NiftiImageData< dataType > > | _output_image_sptr |
| Output image. | |
1.8.13