iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PixelTypes.H File Reference
#include <nrt/Core/Image/PixelBase.H>
#include <nrt/Core/Debugging/Log.H>
#include <boost/lexical_cast.hpp>
#include <nrt/External/cereal/types/base_class.hpp>
#include <nrt/Core/Image/details/PixRGBImpl.H>
#include <nrt/Core/Image/details/PixHSVImpl.H>
#include <nrt/Core/Image/details/PixGrayImpl.H>
#include <nrt/Core/Image/details/PixRGBAImpl.H>
#include <nrt/Core/Image/details/PixRGBDImpl.H>

Author
Randolph Voorhies

License

// ////////////////////////////////////////////////////////////////////////
//              The iLab Neuromorphic Robotics Toolkit (NRT)             //
// Copyright 2010-2012 by the University of Southern California (USC)    //
//                          and the iLab at USC.                         //
//                                                                       //
//                iLab - University of Southern California               //
//                Hedco Neurociences Building, Room HNB-10               //
//                    Los Angeles, Ca 90089-2520 - USA                   //
//                                                                       //
//      See http://ilab.usc.edu for information about this project.      //
// ////////////////////////////////////////////////////////////////////////
// This file is part of The iLab Neuromorphic Robotics Toolkit.          //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is free software: you can      //
// redistribute it and/or modify it under the terms of the GNU General   //
// Public License as published by the Free Software Foundation, either   //
// version 3 of the License, or (at your option) any later version.      //
//                                                                       //
// The iLab Neuromorphic Robotics Toolkit is distributed in the hope     //
// that it will be useful, but WITHOUT ANY WARRANTY; without even the    //
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR       //
// PURPOSE.  See the GNU General Public License for more details.        //
//                                                                       //
// You should have received a copy of the GNU General Public License     //
// along with The iLab Neuromorphic Robotics Toolkit.  If not, see       //
// <http://www.gnu.org/licenses/>.                                       //
// ////////////////////////////////////////////////////////////////////////

Definition in file PixelTypes.H.

Go to the source code of this file.

Classes

struct  nrt::PixRGB< T >
 A pixel class to hold red-green-blue color components. More...
 
struct  nrt::PixHSV< T >
 A pixel class to hold hue-saturation-value color components. More...
 
struct  nrt::PixGray< T >
 A pixel class to hold a single scalar value. More...
 
struct  nrt::PixRGBA< T >
 A pixel class to hold red-green-blue-alpha color components. More...
 
struct  nrt::PixRGBD< T_rgb, T_d >
 A pixel class to hold red-green-blue-depth color components and depth information. More...
 

Namespaces

 nrt
 Reserved namespace for NRT core classes and functions.
 

Functions

template<class T >
std::enable_if< sizeof(T)!=sizeof(nrt::byte),
std::istream >::type & 
nrt::operator>> (std::istream &in, PixRGB< T > &pix)
 Stream in as a PixRGB(r,g,b)
 
template<class T >
std::enable_if< sizeof(T)==sizeof(nrt::byte),
std::istream >::type & 
nrt::operator>> (std::istream &in, PixRGB< T > &pix)
 
template<class T >
std::enable_if< sizeof(T)!=sizeof(nrt::byte),
std::istream >::type & 
nrt::operator>> (std::istream &in, PixRGBA< T > &pix)
 Stream in as a PixRGBA(r,g,b,a)