Rasterbandinterpretation胁迫者
改变输入特征上光栅几何图形选定带的基本解释,using the specified conversion options.
例如,an input raster feature with a single band of interpretation UInt8 could be converted to a single band of Gray8 or UInt16 data.
参数
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
此参数选择目标解释以及位深度。不同的解释允许使用不同的转换选项。如果为转换选择的带区包含调色板,then the destination interpretation is restricted to UInt8,uint16或uint32。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
These parameters select the action to undertake when the given conversion between different types occurs.CAST选项只使用C样式的CAST来转换值。The Bounded cast option uses C-style casts to convert the values too,同时验证源值是否适合目标类型,有效防止下溢;if a source value does not fit,相应的目标值将被设置为其类型的最小值或最大值。The Scale by data values option finds the minimum and maximum values of the source values and uses them to scale the values to the full range of the destination type.The Scale by data type option scales the source values while preserving all proportions in regard to the source and destination types' range.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter specifies the action to perform when converting from a floating-point value to an integer.
- 四舍五入:四舍五入到最接近的整数。
- 上限:获取大于或等于浮点值的下一个整数。
- Floor: gets the next integer which is less than or equal to the floating-point value.
Usage Notes
- 每个RasterbandInterpretation胁迫程序对输入光栅执行转换。如果按顺序使用多个RasterbandInterpretationSunner,then multiple conversions will take place.数据质量和翻译性能可能会受到影响。
- 此转换器支持光栅带选择。The光栅选择器can be used to modify the selection.
Related Transformers
- The光栅解释强制器performs similar operations on the raster as a whole,例如,将4个波段直接转换为rgba。
- TheRasterpalette解释强制对调色板执行类似的转换。
编辑变压器参数
使用一组菜单选项,transformer parameters can be assigned by referencing other elements in the workspace.更高级的功能,例如高级编辑器和算术编辑器,在一些变压器中也有。要访问这些选项的菜单,点击在适用参数旁边。For more information,看见Transformer Parameter Menu Options.
变压器类别
FME Licensing Level
FME专业版及以上
变压器历史
此转换器替换RasterDatatype胁迫器和RasterColorModel胁迫器转换器。
搜索FME知识中心
在上搜索有关此变压器的示例和信息FME知识中心.