R3DResizeGrayScaleImage Class Reference

#include <PathToHeader/R3DResizeGrayScaleImage.h>

Inherits R3DImageFilter.

Inheritance diagram for R3DResizeGrayScaleImage:

Inheritance graph
[legend]
Collaboration diagram for R3DResizeGrayScaleImage:

Collaboration graph
[legend]
List of all members.

Detailed Description

The class will resize an image using ITK algorithms.

This class ASSUMES that the incoming image is a GRAY SCALE image. Undefined behavior will exist for RGB or RGBA images. YOU HAVE BEEN WARNED.

Author:
Michael A. Jackson for BlueQuartz Software
Date:
Mar 19, 2009
Version:
1.0


Public Member Functions

 R3DResizeGrayScaleImage (R3DMosaic::Pointer imageData, float scaleFactor)
 Constructor for this class.
int run ()
 Runs the filter.
R3DMosaic::Pointer getOutputImage ()
 Returns the output of this filter.


Constructor & Destructor Documentation

R3DResizeGrayScaleImage::R3DResizeGrayScaleImage ( R3DMosaic::Pointer  imageData,
float  scaleFactor 
)

Constructor for this class.

Parameters:
imageData Pointer to data that will be resized
scaleFactor The amount of rescaling that will be performed: 1.0 is NO rescaling. 0.5 will create an image half the size of the original. 2.0 will create an image twice the size of the original.


Member Function Documentation

int R3DResizeGrayScaleImage::run (  )  [virtual]

Runs the filter.

Returns:
Non Zero on Success

Implements R3DImageFilter.

R3DMosaic::Pointer R3DResizeGrayScaleImage::getOutputImage (  ) 

Returns the output of this filter.

The contained pointer may be NULL if there was an error during the filtering process.

Returns:


The documentation for this class was generated from the following files:
Generated on Fri Aug 28 14:04:33 2009 for R3DImageTools by  doxygen 1.5.2