HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Statistics.h File Reference

Functions to efficiently compute histograms, extremas (min/max) and statistics (mean, variance, etc.) of grid values. More...

+ Include dependency graph for Statistics.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::IterTraits< IterT, AuxT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::IterTraits< tree::TreeValueIteratorBase< TreeT, ValueIterT > >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::GetValImpl< T, IsVector >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::GetValImpl< T, false >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::GetValImpl< T, true >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::GetVal< IterT, StatsT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::StatsOp< IterT, ValueOp, StatsT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::HistOp< IterT, ValueOp >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::stats_internal::MathOp< IterT, OpT, StatsT >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::stats_internal
 

Functions

template<typename IterT >
math::Histogram openvdb::OPENVDB_VERSION_NAME::tools::histogram (const IterT &iter, double minVal, double maxVal, size_t numBins=10, bool threaded=true)
 Iterate over a scalar grid and compute a histogram of the values of the voxels that are visited, or iterate over a vector-valued grid and compute a histogram of the magnitudes of the vectors. More...
 
template<typename IterT >
math::Extrema openvdb::OPENVDB_VERSION_NAME::tools::extrema (const IterT &iter, bool threaded=true)
 Iterate over a scalar grid and compute extrema (min/max) of the values of the voxels that are visited, or iterate over a vector-valued grid and compute extrema of the magnitudes of the vectors. More...
 
template<typename IterT >
math::Stats openvdb::OPENVDB_VERSION_NAME::tools::statistics (const IterT &iter, bool threaded=true)
 Iterate over a scalar grid and compute statistics (mean, variance, etc.) of the values of the voxels that are visited, or iterate over a vector-valued grid and compute statistics of the magnitudes of the vectors. More...
 
template<typename IterT , typename ValueOp >
math::Extrema openvdb::OPENVDB_VERSION_NAME::tools::extrema (const IterT &iter, const ValueOp &op, bool threaded)
 Iterate over a grid and compute extrema (min/max) of the values produced by applying the given functor at each voxel that is visited. More...
 
template<typename IterT , typename ValueOp >
math::Stats openvdb::OPENVDB_VERSION_NAME::tools::statistics (const IterT &iter, const ValueOp &op, bool threaded)
 Iterate over a grid and compute statistics (mean, variance, etc.) of the values produced by applying the given functor at each voxel that is visited. More...
 
template<typename OperatorT , typename IterT >
math::Stats openvdb::OPENVDB_VERSION_NAME::tools::opStatistics (const IterT &iter, const OperatorT &op=OperatorT(), bool threaded=true)
 Iterate over a grid and compute statistics (mean, variance, etc.) of the values produced by applying a given operator (see math/Operators.h) at each voxel that is visited. More...
 
template<typename OperatorT , typename IterT >
math::Extrema openvdb::OPENVDB_VERSION_NAME::tools::opExtrema (const IterT &iter, const OperatorT &op=OperatorT(), bool threaded=true)
 Same as opStatistics except it returns a math::Extrema vs a math::Stats. More...
 

Detailed Description

Functions to efficiently compute histograms, extremas (min/max) and statistics (mean, variance, etc.) of grid values.

Definition in file Statistics.h.