Image Utilities (IU)
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
Functions
Transformation

Up- and Downscaling of images. More...

Functions

IUCORE_DLLAPI void iu::reduce (const iu::ImageGpu_32f_C1 *src, iu::ImageGpu_32f_C1 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_LINEAR, bool gauss_prefilter=true)
 Scaling the image src down to the size of dst. More...
 
IUCORE_DLLAPI void iu::prolongate (const iu::ImageGpu_32f_C1 *src, iu::ImageGpu_32f_C1 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_NEAREST)
 Scaling the image src up to the size of dst. More...
 
IUCORE_DLLAPI void iu::prolongate (const iu::ImageGpu_32f_C2 *src, iu::ImageGpu_32f_C2 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_NEAREST)
 
IUCORE_DLLAPI void iu::prolongate (const iu::ImageGpu_32f_C4 *src, iu::ImageGpu_32f_C4 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_NEAREST)
 
IUCORE_DLLAPI void iu::remap (iu::ImageGpu_8u_C1 *src, iu::ImageGpu_32f_C1 *dx_map, iu::ImageGpu_32f_C1 *dy_map, iu::ImageGpu_8u_C1 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_LINEAR)
 Remapping the image src with the given disparity fields dx, dy. More...
 
IUCORE_DLLAPI void iu::remap (iu::ImageGpu_32f_C1 *src, iu::ImageGpu_32f_C1 *dx_map, iu::ImageGpu_32f_C1 *dy_map, iu::ImageGpu_32f_C1 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_LINEAR)
 
IUCORE_DLLAPI void iu::remap (iu::ImageGpu_32f_C4 *src, iu::ImageGpu_32f_C1 *dx_map, iu::ImageGpu_32f_C1 *dy_map, iu::ImageGpu_32f_C4 *dst, IuInterpolationType interpolation=IU_INTERPOLATE_LINEAR)
 
IUCORE_DLLAPI void iu::remapAffine (iu::ImageGpu_32f_C1 *src, float a1, float a2, float a3, float a4, float b1, float b2, iu::ImageGpu_32f_C1 *dst)
 

Detailed Description

Up- and Downscaling of images.

Function Documentation

IUCORE_DLLAPI void iu::prolongate ( const iu::ImageGpu_32f_C1 src,
iu::ImageGpu_32f_C1 dst,
IuInterpolationType  interpolation = IU_INTERPOLATE_NEAREST 
)

Scaling the image src up to the size of dst.

Image prolongation.

Parameters
[in]srcSource image [device]
[out]dstDestination image [device]
[in]interpolationThe type of interpolation used for scaling up the image.
Note
The bcubic_bspline_prefilter yields sharper results when switched on. Note that this only works nicely with a scale_factor=0.5f.
IUCORE_DLLAPI void iu::reduce ( const iu::ImageGpu_32f_C1 src,
iu::ImageGpu_32f_C1 dst,
IuInterpolationType  interpolation = IU_INTERPOLATE_LINEAR,
bool  gauss_prefilter = true 
)

Scaling the image src down to the size of dst.

Image reduction.

Parameters
[in]srcSource image [device]
[out]dstDestination image [device]
[in]interpolationThe type of interpolation used for scaling down the image.
[in]gauss_prefilterToggles gauss prefiltering. The sigma and kernel size is chosen dependent on the scale factor.
Note
The bcubic_bspline_prefilter yields sharper results when switched on. Note that this only works nicely with a scale_factor=0.5f.
IUCORE_DLLAPI void iu::remap ( iu::ImageGpu_8u_C1 src,
iu::ImageGpu_32f_C1 dx_map,
iu::ImageGpu_32f_C1 dy_map,
iu::ImageGpu_8u_C1 dst,
IuInterpolationType  interpolation = IU_INTERPOLATE_LINEAR 
)

Remapping the image src with the given disparity fields dx, dy.

Image remapping (warping).

Parameters
[in]srcSource image [device]
[in]dx_mapDisparities (dense) in x direction [device]
[in]dy_mapDisparities (dense) in y direction [device]
[out]dstDestination image [device]
[in]interpolationThe type of interpolation used for scaling up the image.
Note
The bcubic_bspline_prefilter yields sharper results when switched on. Note that this only works nicely with a scale_factor=0.5f.