VisionCpp  0.0.1
Public Types | List of all members
visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType > Struct Template Reference

CreatePyramidTupleType: This file is used to create each output element type for each downsampling output of the pyramid memory. More...

#include <pyramid_mem.hpp>

Inheritance diagram for visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType >:
Collaboration diagram for visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType >:

Public Types

using SubBuffer = LeafNode< VisionMemory< false, LHS::Type::MemoryCategory, LHS::Type::LeafType, typename LHS::Type::Scalar, Cols, Rows, typename LHS::Type::ElementType, LHS::Type::Channels, LHS::Type::scope, CurrentDepth+100 >, CurrentDepth+100 >
 
using Type = typename CreatePyramidTupleType<(Depth==CurrentDepth+1), Cols/2, Rows/2, LeafType, Depth, CurrentDepth+1, LHS, ChildType..., SubBuffer >::Type
 

Detailed Description

template<bool SatisfyingConds, size_t Cols, size_t Rows, size_t LeafType, size_t Depth, size_t CurrentDepth, typename LHS, typename... ChildType>
struct visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType >

CreatePyramidTupleType: This file is used to create each output element type for each downsampling output of the pyramid memory.

It is used when we need the pyramid node auto generate the output node. template parameters:

Template Parameters
SatisfyingCondsa boolean variable is used to determine the end of the recursive creation of the pyramid output tuple.
Colsdetermines the column size of the input pyramid
Rowsdetermines the row size of the input pyramid
LeafTypedetermines the type of the leafNode {Buffer2D, Buffer1D, Host, Image}
Depthrepresents the depth of down sampling
CurrentDepthrepresents the number of output created so far in the recursion
LHSis the final output of the pyramid combining all the node together
ChildType...: is the total number of output type generated so far

It is used when we need the pyramid node auto generate the output node. template parameters:

Template Parameters
SatisfyingCondsa boolean variable is used to determine the end of the recursive creation of the pyramid output tuple.
Colsdetermines the column size of the input pyramid
Rowsdetermines the row size of the input pyramid
LeafTypedetermines the type of the leafNode {Buffer2D, Buffer1D, Host, Image}
Depthrepresents the depth of down sampling
CurrentDepthrepresents the number of outputs created so far in the recursion
LHSis the final output of the pyramid combining all the node together
ChildType...: is the total number of output types generated so far

Definition at line 51 of file pyramid_mem.hpp.

Member Typedef Documentation

◆ SubBuffer

template<bool SatisfyingConds, size_t Cols, size_t Rows, size_t LeafType, size_t Depth, size_t CurrentDepth, typename LHS , typename... ChildType>
using visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType >::SubBuffer = LeafNode< VisionMemory<false, LHS::Type::MemoryCategory, LHS::Type::LeafType, typename LHS::Type::Scalar, Cols, Rows, typename LHS::Type::ElementType, LHS::Type::Channels, LHS::Type::scope, CurrentDepth + 100>, CurrentDepth + 100>

Definition at line 52 of file pyramid_mem.hpp.

◆ Type

template<bool SatisfyingConds, size_t Cols, size_t Rows, size_t LeafType, size_t Depth, size_t CurrentDepth, typename LHS , typename... ChildType>
using visioncpp::internal::CreatePyramidTupleType< SatisfyingConds, Cols, Rows, LeafType, Depth, CurrentDepth, LHS, ChildType >::Type = typename CreatePyramidTupleType< (Depth == CurrentDepth + 1), Cols / 2, Rows / 2, LeafType, Depth, CurrentDepth + 1, LHS, ChildType..., SubBuffer>::Type

Definition at line 58 of file pyramid_mem.hpp.


The documentation for this struct was generated from the following files: