#include <subq_morpher.hh>
Inheritance diagram for oln::morpher::subq_morpher< SrcType, N, Exact >:
Public Types | |
typedef oln::image_id< subq_morpher< SrcType, N, Exact > >::exact_type | exact_type |
The exact type of this. This class can be derived. | |
typedef abstract::generic_morpher< SrcType, exact_type > | super_type |
The upper class. | |
typedef image_id< exact_type >::value_type | value_type |
The value point of the resulting image. | |
typedef image_id< exact_type >::point_type | point_type |
The morpher point type. | |
typedef image_id< exact_type >::impl_type | impl_type |
The morpher underlying implementation. | |
enum | { nbcomps = color_mute<typename mlc::exact< SrcType >::ret::value_type, nbcomps = color_mute<typename mlc::exact< SrcType >::ret::value_type } |
Public Member Functions | |
subq_morpher (const SrcType &ima) | |
Construct the morpher with an image. | |
subq_morpher (const subq_morpher< SrcType, N > &r) | |
Construct the morpher with another morpher. | |
subq_morpher () | |
const value_type | at (const point_type &p) const |
Return the value stored at p in the resulting image. | |
const impl_type * | impl () const |
Return the implementation. | |
Static Public Member Functions | |
std::string | name () |
By using this class, an image can be viewed as an image with a lower color depth. subq_morpher<image2d<rgb_8>, 5> is the same as image2d<rgb_5>.
SrcType | The input type decorated. |
N | The new numbers of bits by component. |
Exact | The exact type of the morpher. |
Definition at line 133 of file subq_morpher.hh.
|
Empty constructor. Needed by mlc_hierarchy::any_with_diamond. Definition at line 166 of file subq_morpher.hh.
00166 {} |