An image filter that presents a downsampled version of an image.
More...
#include <idomimageresource.h>
Inherits IDOMImageFilter.
An image filter that presents a downsampled version of an image.
◆ classID()
static const CClassID & IDOMImageDownsamplerFilter::classID |
( |
| ) |
|
|
inlinestatic |
◆ create()
static EDL_API IDOMImageDownsamplerFilterPtr IDOMImageDownsamplerFilter::create |
( |
IEDLClassFactory * | pFactory, |
|
|
double | xRes, |
|
|
double | yRes = 0.0, |
|
|
eDownsamplingMethod | method = eSubsample, |
|
|
bool | useFloatingPointResolution = false ) |
|
static |
Simplified creator for an image downsampler filter.
- Parameters
-
pFactory | The EDL Class Factory. |
xRes | The desired x resolution of the result. |
yRes | The desired y resolution of the result. If 0, the x resolution will be used. |
method | The desired downsampling method to use. |
useFloatingPointResolution | Set to true if you wish to always preserve the resolution in floating point form in all cases. The default is false, which, if the resolution differs from the incoming image, snaps to integer values in order to produce reliable results if the image is encoded in a format that does not support floating point resolution information. |
- Returns
- IDOMImageDownsamplerFilterPtr The new filter.
The documentation for this class was generated from the following file: