ETcVnBorderInterpolationMethod
Offers methods to extrapolate values of non-existing pixels. On the one hand, this is used for filtering functions to enable filtering at the image borders (where the filter mask reaches over the border). On the other hand, this is used to extrapolate the undefined pixels after a geometric image transformation.
Syntax
Definition:
enum ETcVnBorderInterpolationMethod : LONG
{
BIM_CONSTANT = 0,
BIM_REPLICATE = 1,
BIM_REFLECT = 2,
BIM_WRAP = 3,
BIM_REFLECT_101 = 4,
BIM_DEFAULT = 4,
BIM_TRANSPARENT = 5,
BIM_ISOLATED_CONSTANT = 16,
BIM_ISOLATED_REPLICATE = 17,
BIM_ISOLATED_REFLECT = 18,
BIM_ISOLATED_WRAP = 19,
BIM_ISOLATED_REFLECT_101 = 20
};
Values
Name |
Description |
---|---|
BIM_CONSTANT |
iiiiiii | abcdefgh | iiiiiii (with some specified i) |
BIM_REPLICATE |
aaaaaaa | abcdefgh | hhhhhhh |
BIM_REFLECT |
gfedcba | abcdefgh | hgfedcb |
BIM_WRAP |
bcdefgh | abcdefgh | abcdefg |
BIM_REFLECT_101 |
hgfedcb | abcdefgh | gfedcba |
BIM_DEFAULT |
Choose this if you don't know which method to select (same as REFLECT_101). |
BIM_TRANSPARENT |
Corresponding pixels in the destination image will not be modified. Only available for geometric image transformations. |
BIM_ISOLATED_CONSTANT |
Similar to CONSTANT, but ROIs are handled as isolated, which means surrounding image pixels outside the ROI are ignored. |
BIM_ISOLATED_REPLICATE |
Similar to REPLICATE, but ROIs are handled as isolated, which means surrounding image pixels outside the ROI are ignored. |
BIM_ISOLATED_REFLECT |
Similar to REFLECT, but ROIs are handled as isolated, which means surrounding image pixels outside the ROI are ignored. |
BIM_ISOLATED_WRAP |
Similar to WRAP, but ROIs are handled as isolated, which means surrounding image pixels outside the ROI are ignored. |
BIM_ISOLATED_REFLECT_101 |
Similar to REFLECT_101, but ROIs are handled as isolated, which means surrounding image pixels outside the ROI are ignored. |