highres-cortex 6.0.4
volume_util.hh File Reference
#include <vector>
#include <cartodata/volume/volume.h>
Include dependency graph for volume_util.hh:

Go to the source code of this file.

Namespaces

namespace  yl
 

Functions

int yl::xyz_min_border (const std::vector< int > &borders)
 Minimum border width along X, Y, and Z dimensions.
 
template<typename T>
int yl::xyz_min_border (const carto::VolumeRef< T > &volume)
 Minimum border width along X, Y, and Z dimensions.
 
template<typename T, class Predicate>
bool yl::check_border_values (const carto::VolumeRef< T > &volume, const Predicate &predicate)