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

Functions to efficiently compute histograms, extrema (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.

Namespaces

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

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, extrema (min/max) and statistics (mean, variance, etc.) of grid values.

Definition in file Statistics.h.