#include <PathToHeader/R3DResizeGrayScaleImage.h>
Inherits R3DImageFilter.
Inheritance diagram for R3DResizeGrayScaleImage:


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.
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. | |
| R3DResizeGrayScaleImage::R3DResizeGrayScaleImage | ( | R3DMosaic::Pointer | imageData, | |
| float | scaleFactor | |||
| ) |
Constructor for this class.
| 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. |
| int R3DResizeGrayScaleImage::run | ( | ) | [virtual] |
| 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.
1.5.2