Operates decompression of compressed image stored in TIFF file.
string, path to file.
std::size_t, position of the beginning of compressed image.
uint32_t, number of bytes of compressed image.
R_len_t, Width of the decompressed image. Default is 1.
R_len_t, Height of the decompressed image. Default is 1.
R_len_t, number of channels of the decompressed image. Default is 1.
uint8_t, object removal method. Only apply for 30818 compression. Default is 0.
-1, for clipped removal: height OR width clipped pixels will be set to -1.
-2, height clipped removal: height clipped pixels will be set to -1.
-3, width clipped removal: width clipped pixels will be set to -1.
-4, only keep background: background pixels will be set to 1 and all others to 0.
-5, only keep foreground: foreground pixels will be set to 1 and all others to 0.
uint32_t, compression algorithm used. Default is 30818.
bool, whether to display information (use for debugging purpose). Default is false.