iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CutPaste.H File Reference

Author
Laurent Itti

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 CutPaste.H.

Go to the source code of this file.

Namespaces

 nrt
 Reserved namespace for NRT core classes and functions.
 

Functions

template<class PixType >
void nrt::paste (Image< PixType > &destination, Image< PixType > const source, Point2D< int32 > const &pos)
 Paste a source Image into the destination at the given position. More...
 
template<class PixType >
Image< PixType > const nrt::concatX (Image< PixType > const left, Image< PixType > const right, PixType const bgColor=PixType(0))
 Horizontally concatenate two Images. More...
 
template<class PixType >
Image< PixType > const nrt::concatY (Image< PixType > const top, Image< PixType > const bottom, PixType const bgColor=PixType(0))
 Vertically concatenate two Images. More...
 
template<class PixType >
Image< PixType > const nrt::crop (Image< PixType > const source, Rectangle< int32 > const &rect)
 Extract a sub-image from the source Image. More...
 
template<class PixType >
ImageSet< PixType > const nrt::crop (ImageSet< PixType > const source, Rectangle< int32 > const &rect)
 Extract a sub-ImageSet from the source ImageSet.
 
GenericImage const nrt::crop (GenericImage const source, Rectangle< int32 > const &rect)
 Extract a sub-image from the source Image, GenericImage version.
 
template<class PixType >
Image< PixType > const nrt::cropAndFill (Image< PixType > const source, Rectangle< int32 > const &rect, PixType const bgColor=PixType(0))
 Extract a subImage from the source Image. More...
 
GenericImage const nrt::cropAndFill (GenericImage const source, Rectangle< int32 > const &rect, PixRGB< float > const bgColor=PixRGB< float >(0.0F))
 Extract a subImage from the source Image, GenericImage version. More...
 
template<class PixType >
Image< PixType > const nrt::warpedCrop (Image< PixType > const source, Rectangle< int32 > const &rect, Eigen::AffineCompact2f const &m, PixType const bgColor=PixType(0))
 Extract a warped sub-image from the source Image using the provided warping matrix. More...