OpenVDB 7.0.0

Classes | Namespaces | Functions
Statistics.h File Reference

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

`#include <openvdb/Types.h>`
`#include <openvdb/Exceptions.h>`
`#include <openvdb/math/Stats.h>`
`#include "ValueTransformer.h"`

Go to the source code of this file.

## Classes
struct | IterTraits< IterT, AuxT >
struct | IterTraits< tree::TreeValueIteratorBase< TreeT, ValueIterT > >
struct | GetValImpl< T, IsVector >
struct | GetValImpl< T, false >
struct | GetValImpl< T, true >
struct | GetVal< IterT, StatsT >
struct | StatsOp< IterT, ValueOp, StatsT >
struct | HistOp< IterT, ValueOp >
struct | MathOp< IterT, OpT, StatsT >

## Namespaces
| openvdb
| openvdb::v7_0
| openvdb::v7_0::tools
| openvdb::v7_0::tools::stats_internal

## Functions
template<typename IterT >
math::Histogram | 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 | 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 | 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 | 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 | 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 | 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 | 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.