Filter to zoom image (up or down) by fixed amount. More...
#include <spatmod/imagefilterzoom.h>

Public Types | |
| enum | PREVSTAGEUSAGE { PREVSTAGEUSAGE_None, PREVSTAGEUSAGE_Exact, PREVSTAGEUSAGE_Nearest } |
Public Member Functions | |
| FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, INT32 NumColumns, INT32 NumRows, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod) | |
| FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, const BASE &RefImage, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod) | |
| FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, double Scale, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod) | |
| virtual | ~FILTER_ZOOM () |
Filter to zoom image (up or down) by fixed amount.
How to use previous stage to help in zooming if supported.
| SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| double | Scale, | |||
| PREVSTAGEUSAGE | PrevStageUsage, | |||
| RESAMPLEMETHOD | ResampleMethod | |||
| ) |
Construct with specified scale.
RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| Scale | Scale, negative values equivalent to 1/abs(scale) | |
| PrevStageUsage | How to use previous stage to help in zooming if supported | |
| ResampleMethod | Resampling method if zooming not done entirely by previous stage |
| SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const BASE & | RefImage, | |||
| PREVSTAGEUSAGE | PrevStageUsage, | |||
| RESAMPLEMETHOD | ResampleMethod | |||
| ) |
Construct with scale to match specified reference image.
Zoom values based on reference image are used during construction, so must have total dimension available. RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| RefImage | Reference image to match in total dimensions | |
| PrevStageUsage | How to use previous stage to help in zooming if supported | |
| ResampleMethod | Resampling method if zooming not done entirely by previous stage |
| SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| INT32 | NumColumns, | |||
| INT32 | NumRows, | |||
| PREVSTAGEUSAGE | PrevStageUsage, | |||
| RESAMPLEMETHOD | ResampleMethod | |||
| ) |
Construct with scale to match specified dimensions.
RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| NumColumns | Number of resulting columns | |
| NumRows | Number of resulting rows | |
| PrevStageUsage | How to use previous stage to help in zooming if supported | |
| ResampleMethod | Resampling method if zooming not done entirely by previous stage |
| virtual SPATMOD::IMAGE::FILTER_ZOOM::~FILTER_ZOOM | ( | ) | [virtual] |
1.6.1