mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Functions
ndarray_filter.h File Reference
#include "ndarray_view.h"
#include "ndarray_filter.tcc"

Go to the source code of this file.

Classes

struct  mf::kernel_placement< Dim, Elem, Kernel_elem >
 Placement of a kernel on an ndarray_view. More...
 

Namespaces

 mf
 

Functions

template<std::size_t Dim, typename Elem , typename Kernel_elem >
kernel_placement< Dim, Elem,
Kernel_elem > 
mf::place_kernel_at (const ndarray_view< Dim, Elem > &view, const ndarray_view< Dim, Kernel_elem > kernel, const ndptrdiff< Dim > &pos)
 Return kernel_placement object for placement of kernel kernel over view centered at pos. More...
 
template<std::size_t Dim, typename In_elem , typename Out_elem , typename Kernel_elem , typename Function >
void mf::apply_kernel (Function &&func, const ndarray_view< Dim, In_elem > &in_view, const ndarray_view< Dim, Out_elem > &out_view, const ndarray_view< Dim, Kernel_elem > kernel)
 Place kernel over all elements in in_view, and call func to modify corresponding out_view element. More...