Output raster features that comprise the levels of the pyramid generated for each input feature.
If you choose Smallest Level Size, the Number of Columns and Rows in the Smallest Level fields are enabled.
If you choose Number of Levels, then the Number of Levels field is enabled.
If the Number of Columns and Rows in the Smallest Level is specified, then the smallest pyramid level generated will have the specified size. Each subsequent level will increase the number of rows and columns by a factor of two, until the size of the input raster is reached.
If the Number of Levels is specified, then the largest pyramid level generated will have half the number of rows and columns of the input raster. Each subsequent level will decrease the number of rows and columns by a factor of two, until the specified number of levels has been generated.
If Force Level Sizes to be Powers of Two is set to Yes, then the number of rows and columns in all generated levels will be powers of 2. When the smallest pyramid level size is specified, the number of rows and columns in the smallest level will actually be the smallest powers of 2 that are greater than or equal to the specified values. When the number of levels is specified, the number of rows and columns in the largest pyramid level will be the greatest powers of 2 that are less than or equal to the number in the input raster.
Note that pyramid levels will not be generated if either the number of rows or the number of columns is less than 2.
Cell values are interpolated in order to change the raster to the specified sizes.
- Nearest Neighbor: fastest but produces the poorest image quality
- Bilinear: provides a reasonable balance of speed and quality
- Bicubic: slowest but produces the best image quality
- Average 4: performs similar to Bilinear and useful for numeric rasters such as DEMs
- Average 16: performs similar to Bilinear and useful for numeric rasters such as DEMs
If a Raster Index Attribute is specified, an attribute will be added to each output feature that identifies which raster it was created from. This index is zero-based, so all pyramid levels created from the first input raster will have a value of 0, all pyramid levels created from the second input raster will have a value of 1, etc.
If a Pyramid Level Attribute is specified, an attribute will be added to each output feature that identifies its level in the pyramid. The input raster is considered to be the base of the pyramid (level 0), so the largest level that is output for a given input raster will have a value of 1, the second largest will have a value of 2, etc.
If a Number of Pyramid Levels Attribute is specified, an attribute will be added to each output raster indicating the number of levels in the pyramid to which it belongs
This transformer is unaffected by raster band and palette selection.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Professional edition
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: raster grid band channel pyramind level resample downsample "nearest neighbor" "nearest neighbour" bicubic average interpolate resize