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

Author
David J. Berg dbeg@.nosp@m.usc..nosp@m.edu

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

Go to the source code of this file.

Namespaces

 nrt
 Reserved namespace for NRT core classes and functions.
 

Functions

template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
Image< DestType > nrt::rescaleBilinear (Image< PixType > const &src, Dims< int32 > const &dims)
 Scale to new width & height using bilinear interpolation.
 
template<typename promo = void>
GenericImage nrt::rescaleBilinear (GenericImage const &src, Dims< int32 > const &dims)
 Scale to new width & height using bilinear interpolation - GenericImage version.
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::decimateX (nrt::Image< PixType > const &src, int factor=2)
 Decimate in X (take one every 'factor' pixels).
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::decimateY (nrt::Image< PixType > const &src, int const factor=2)
 Decimate in Y (take one every 'factor' pixels). More...
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::decimateXY (nrt::Image< PixType > const &src, int const xfactor=2, int const yfactor=-1)
 Decimate in X and Y (take one every 'factor' pixels). More...
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::downSize (nrt::Image< PixType > const &src, nrt::Dims< int > const &dims, int const filterWidth=9)
 Downsize using alternating lowpass/decimate operations. More...
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::lowPass5xDecX (nrt::Image< PixType > const &src, int const factor=2)
 Low-pass filter, Anderson's 5x5 separable, applied in X, and X decimated by factor.
 
template<NRT_PROMOTE_PIX_NO_DEFAULT_PROMO >
nrt::Image< DestType > nrt::lowPass5yDecY (nrt::Image< PixType > const &src, int const factor=2)
 Low-pass filter, Anderson's 5x5 separable, applied in Y, and Y decimated by factor.