ResizeSpec Class Reference

Represents multiple methods for transforming image dimensions. More...

#include <Image/ResizeSpec.H>

Collaboration diagram for ResizeSpec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ResizeSpec (const Dims &d)
 implicit conversion constructor from Dims to a fixed ResizeSpec
bool operator== (const ResizeSpec &that) const
std::string toString () const
Dims transformDims (const Dims &in)

Static Public Member Functions

static ResizeSpec noOp ()
static ResizeSpec fixed (const Dims &d)
static ResizeSpec scaleUp (const double f)
static ResizeSpec scaleUp (const double fw, const double fh)
static ResizeSpec scaleDown (const double f)
static ResizeSpec scaleDown (const double fw, const double fh)
static ResizeSpec fromString (const std::string &str)

Detailed Description

Represents multiple methods for transforming image dimensions.

A ResizeSpec object represents some method for transforming an original set of image dimensions (A) into a new set of image dimensions (B). Supported methods include:

Definition at line 59 of file ResizeSpec.H.


Constructor & Destructor Documentation

ResizeSpec::ResizeSpec ( const Dims d  )  [inline]

implicit conversion constructor from Dims to a fixed ResizeSpec

Definition at line 83 of file ResizeSpec.H.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3