Class with various image conversion functions. More...
Static Public Member Functions | |
static Image | To8BppUnsigned (Image img) |
Convert the input image to an image with 8 bits per pixel unsigned data. More... | |
static Image | To16BppUnsigned (Image img) |
Convert the input image to an image with 16 bits per pixel unsigned data. More... | |
static Image | To16BppSigned (Image img) |
Convert the input image to an image with 16 bits per pixel signed data. More... | |
static Image | To32BppSigned (Image img) |
Convert the input image to an image with 32 bits per pixel signed data. More... | |
static Image | To32BppFloat (Image img) |
Convert the input image to an image with 32 bits per pixel float data. More... | |
Class with various image conversion functions.
Conversion means that when converting to a data type with higher value range, the image data will simply be padded with zeros but the actual values will be conserved. When converting to lower value ranges, the pixel values from the source image will be saturated at the value limits of the target format where necessary.