Various image scaling functions. More...
Functions | |
std::unique_ptr< Image > | ScaleTo8BppUnsigned (const Image &image) |
Convert the input image to an image with 8 bits per pixel unsigned data. | |
std::unique_ptr< Image > | ScaleTo16BppUnsigned (const Image &image) |
Convert the input image to an image with 16 bits per pixel unsigned data. | |
std::unique_ptr< Image > | ScaleTo16BppSigned (const Image &image) |
Convert the input image to an image with 16 bits per pixel signed data. | |
std::unique_ptr< Image > | ScaleTo32BppSigned (const Image &image) |
Convert the input image to an image with 32 bits per pixel signed data. | |
std::unique_ptr< Image > | ScaleTo32BppFloat (const Image &image, double minVal, double maxVal) |
Convert the input image to an image with 32 bits per pixel float data. | |
Various image scaling functions.
|
inline |
Convert the input image to an image with 16 bits per pixel signed data.
[in] | image | Image to be scaled. |
Any | exception derived from std::exception including CvbException. |
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
|
inline |
Convert the input image to an image with 16 bits per pixel unsigned data.
[in] | image | Image to be scaled. |
Any | exception derived from std::exception including CvbException. |
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
|
inline |
Convert the input image to an image with 32 bits per pixel float data.
[in] | image | Image to be scaled. |
[in] | minVal | Minimum value to occur in the output image. |
[in] | maxVal | Maximum value to occur in the output image. |
Any | exception derived from std::exception including CvbException. |
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
|
inline |
Convert the input image to an image with 32 bits per pixel signed data.
[in] | image | Image to be scaled. |
Any | exception derived from std::exception including CvbException. |
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
|
inline |
Convert the input image to an image with 8 bits per pixel unsigned data.
[in] | image | Image to be scaled. |
Any | exception derived from std::exception including CvbException. |
When scaling, the value range from the source image is adapted to that of the target image as good as possible.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.