resample, pixel, comression types | R Documentation |
The following table shows the pixel_type
value and the range of values stored for different bit depths:
Pixel type | Bit depth | Range of values that each cell can contain |
"U1" | 1 bit | 0 to 1 |
"U2" | 2 bits | 0 to 3 |
"U4" | 4 bits | 0 to 15 |
"U8" | Unsigned 8 bit integers | 0 to 255 |
"S8" | 8 bit integers | -128 to 128 |
"U16" | Unsigned 16 bit integers | 0 to 65535 |
"S16" | 16 bit integers | -32768 to 32767 |
"U32" | Unsigned 32 bit integers | 0 to 4294967295 |
"S32" | 32 bit integers | -2147483648 to 2147483647 |
"F32" | 32 bit Single precision floating point | -3.402823466e+38 to 3.402823466e+38 |
"F64" | 64 bit Double precision floating point | 0 to 18446744073709551616 |
The following table shows the resamp_type
value:
Resample type | Definition |
"NearestNeighbor" | - Performs a nearest neighbor assignment and is the fastest of the interpolation methods. This is the default. |
"BilinearInterpolation" | - Performs a bilinear interpolation and determines the new value of a cell based on a weighted distance average of the four nearest input cell centers. |
"CubicConvolution" | - Performs a cubic convolution and determines the new value of a cell based on fitting a smooth curve through the 16 nearest input cell centers. |
"Majority" | - Performs a majority algorithm and determines the new value of the cell based on the most popular values within the filter window. |
"BilinearInterpolationPlus" | TODO |
"BilinearGaussBlur" | TODO |
"BilinearGaussBlurPlus" | TODO |
"Average" | TODO |
"Minimum" | TODO |
"Average" | TODO |
"VectorAverage" | TODO |
Note The Bilinear and Cubic options should not be used with categorical data, since the cell values may be altered.
The following table shows the compression_type
value:
Compression type | Lossy or lossless | Notes |
"LZ77" | Lossless | |
"JPEG" | Lossy | Can define a compression quality |
"JPEG 2000" | Lossy or lossless | Can define a compression quality |
"PackBits" | Lossless | Applies to TIFF only |
"LZW" | Lossless | |
"RLE" | Lossless | |
"CCITT GROUP 3" | Lossless | Applies to TIFF only |
"CCITT GROUP 4" | Lossless | Applies to TIFF only |
"CCITT (1D)" | Lossless | Applies to TIFF only |
"None" | No data compression | |
arc.raster
,
arc.raster-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.