dip_vigra namespace
The dip_vigra
namespace contains the interface between Vigra and DIPlib.
Contents
- Reference
Functions
-
template<unsigned int Dimensionality, typename PixelType, typename StrideTag>auto VigraToDip(vigra::MultiArrayView<Dimensionality, PixelType, StrideTag> const& input) -> dip::Image
- Creates a DIPlib image around a Vigra
vigra::MultiArrayView
, without taking ownership of the data. -
template<unsigned int Dimensionality, typename PixelType>auto DipToVigra(dip::Image const& img) -> vigra::MultiArrayView<Dimensionality, PixelType, vigra::StridedArrayTag>
- Creates a Vigra
vigra::MultiArrayView
object around a DIPlib image, without taking ownership of the data. -
template<unsigned int Dimensionality, typename PixelType>auto CopyDipToVigra(dip::Image const& img) -> vigra::MultiArray<Dimensionality, PixelType>
- Creates a Vigra
vigra::MultiArrayView
object from a DIPlib image by copy.