plastimatch
Loading...
Searching...
No Matches
itk_image_stats.h File Reference
#include "plmbase_config.h"
#include "itk_image.h"
#include "itk_mask.h"

Go to the source code of this file.

Enumerations

enum  Stats_operation { STATS_OPERATION_INSIDE , STATS_OPERATION_OUTSIDE }
 

Functions

template<class T >
void itk_image_stats (T img, double *min_val, double *max_val, double *avg, int *non_zero, int *num_vox)
 
template<class T >
void itk_image_stats (T img, double *min_val, double *max_val, double *avg, int *non_zero, int *num_vox, double *sigma)
 
template<class T >
void itk_masked_image_stats (T img, UCharImageType::Pointer mask, Stats_operation stats_operation, double *min_val, double *max_val, double *avg, int *non_zero, int *num_vox, double *sigma)
 
template<class T >
void itk_masked_image_stats (T img, UCharImageType::Pointer mask, Stats_operation stats_operation, double *min_val, double *max_val, double *avg, int *non_zero, int *num_vox)
 
template<class T >
void itk_image_stats (const T &img, Image_stats *)
 

Enumeration Type Documentation

◆ Stats_operation

Enumerator
STATS_OPERATION_INSIDE 
STATS_OPERATION_OUTSIDE 

Function Documentation

◆ itk_image_stats() [1/3]

template<class T >
void itk_image_stats ( const T & img,
Image_stats * image_stats )

◆ itk_image_stats() [2/3]

template<class T >
void itk_image_stats ( T img,
double * min_val,
double * max_val,
double * avg,
int * non_zero,
int * num_vox )

◆ itk_image_stats() [3/3]

template<class T >
void itk_image_stats ( T img,
double * min_val,
double * max_val,
double * avg,
int * non_zero,
int * num_vox,
double * sigma )

◆ itk_masked_image_stats() [1/2]

template<class T >
void itk_masked_image_stats ( T img,
UCharImageType::Pointer mask,
Stats_operation stats_operation,
double * min_val,
double * max_val,
double * avg,
int * non_zero,
int * num_vox )

◆ itk_masked_image_stats() [2/2]

template<class T >
void itk_masked_image_stats ( T img,
UCharImageType::Pointer mask,
Stats_operation stats_operation,
double * min_val,
double * max_val,
double * avg,
int * non_zero,
int * num_vox,
double * sigma )