SMIL 1.1.1
|
Functions | |
template<typename T > | |
RES_T | resize (Image< T > &imIn, size_t sx, size_t sy, size_t sz, Image< T > &imOut, string method="trilinear") |
resize() - 3D image resize | |
template<typename T > | |
RES_T | resize (Image< T > &imIn, size_t sx, size_t sy, Image< T > &imOut, string method="trilinear") |
resize() - 2D image resize | |
template<typename T > | |
RES_T | resize (Image< T > &imIn, Image< T > &imOut, string method="trilinear") |
resize() - 3D image resize | |
template<typename T > | |
RES_T | scale (Image< T > &imIn, double kx, double ky, double kz, Image< T > &imOut, string method="trilinear") |
scale() - 3D image scale (resize by a factor) | |
template<typename T > | |
RES_T | scale (Image< T > &imIn, double kx, double ky, Image< T > &imOut, string method="trilinear") |
scale() - 2D image scale | |
template<typename T > | |
RES_T | scale (Image< T > &imIn, double k, Image< T > &imOut, string method="trilinear") |
scale() - image scale (resize by a factor) | |
RES_T resize | ( | Image< T > & | imIn, |
size_t | sx, | ||
size_t | sy, | ||
size_t | sz, | ||
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
resize() - 3D image resize
Resize a 3D image - the value of each pixel in the output image is calculated from the input image after an interpolation method.
There are two available methods :
[in] | imIn | : input image |
[in] | sx,sy,sz | : dimensions to be set on output image |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear, closest or auto. |
RES_T resize | ( | Image< T > & | imIn, |
size_t | sx, | ||
size_t | sy, | ||
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
resize() - 2D image resize
Resize a 2D image - the value of each pixel in the output image is calculated from the input image after an interpolation method.
[in] | imIn | : input image |
[in] | sx,sy | : dimensions to be set on output image |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear ou closest. |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T resize | ( | Image< T > & | imIn, |
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
resize() - 3D image resize
Resize a 3D image - the value of each pixel in the output image is calculated from the input image after an interpolation method.
The size of the output image is already set to what it should be.
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear ou closest. |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T scale | ( | Image< T > & | imIn, |
double | kx, | ||
double | ky, | ||
double | kz, | ||
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
scale() - 3D image scale (resize by a factor)
3D image scale - Scaling images is almost the same than resizing. Input parameters are the factors to multiply each dimension of the input image instead of the dimensions of output image.
There are two available methods :
[in] | imIn | : input image |
[in] | kx,ky,kz | : scale factors |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear, closest or auto. |
RES_T scale | ( | Image< T > & | imIn, |
double | kx, | ||
double | ky, | ||
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
scale() - 2D image scale
3D image scale - Scaling images is almost the same than resizing. Input parameters are the factors to multiply each dimension of the input image instead of the dimensions of output image.
[in] | imIn | : input image |
[in] | kx,ky | : scale factors |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear ou closest. |
RES_T scale | ( | Image< T > & | imIn, |
double | k, | ||
Image< T > & | imOut, | ||
string | method = "trilinear" |
||
) |
scale() - image scale (resize by a factor)
3D image scale - Scaling images is almost the same than resizing. Input parameters are the factors to multiply each dimension of the input image instead of the dimensions of output image.
[in] | imIn | : input image |
[in] | k | : scale factor applied to each axis. |
[out] | imOut | : output image |
[in] | method | : the interpolation method to use. Can be trilinear (default), bilinear ou closest. |