aimstil  5.0.5
til::ImageOfType_OneTemplateArgument< TImage, TPixel > Struct Template Reference

Traits for dynamic images. More...

#include <til/DynImageTraits.h>

Public Types

typedef TImage< TPixel > Type
 

Detailed Description

template<template< typename > class TImage, typename TPixel>
struct til::ImageOfType_OneTemplateArgument< TImage, TPixel >

Traits for dynamic images.

Its role is to help to know how to construct a type 'TImage' of pixel type 'TPixel'. For template image types with a single template argument, the default behavior is to return a TImage<TPixel>. If your image class behaves differently (say, its template argument is not directly the pixel type), simply specialize this traits class for you image class to suit your needs.

Definition at line 18 of file DynImageTraits.h.

Member Typedef Documentation

◆ Type

template<template< typename > class TImage, typename TPixel >
typedef TImage<TPixel> til::ImageOfType_OneTemplateArgument< TImage, TPixel >::Type

Definition at line 20 of file DynImageTraits.h.


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