ImageRasterizer
Draws input point, line and polygon features onto a color raster filled with the background color.Thefme_colorattribute of the input vector features is used to generate pixel values. Features without anfme_color属性将被丢弃。
输入端口
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
TheInput端口采用将要栅格化的矢量功能。这些功能才有效,只有它们有一个fme_color属性。
Output Ports
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The raster drawn from a group of features.
Parameters
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果是通过...分组参数设置为an attribute list, one raster per group will be produced.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
笔记:平行处理如何与FME一起使用:见About Parallel Processingfor detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by the通过...分组parameter.
Parallel Processing Levels
Parameter | Number of Processes |
---|---|
不Parallelism | 1 |
Minimal | cores处理器或CPU是执行数学计算的计算机的物理部分。它是计算机系统中最重要的部分。传统的处理器在处理器上只有一个核心,这意味着在任何给定时间,只执行一组计算。如果处理器是双核,这意味着单个芯片包含两个处理器的硬件,现在称为核心,以将它们与单个芯片相同,并排沿同时运行。(来源:http://www.ehow.com/facts_5730257_computer-core-processors_.html)/ 2 |
缓和 | exact number of cores |
Aggressive | cores x 1.5 |
极端 | cores x 2 |
例如,在四核机器上,最小的并行性将导致两个同时的FME进程。8核机上的极端并行性将导致16个同时流程。
您可以尝试此功能,并在Windows任务管理器和Workbench日志窗口中查看信息。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
不:这是默认的行为。公关ocessing will only occur in this transformer once all input is present.
By Group: This transformer will process input groups in order. Changes on the value of the通过...分组输入流上的参数将触发当前累计组上的批处理。如果组很大/复杂,则会提高整体速度,但如果输入组未真正订购,则可能导致不期望的行为。
Raster Properties
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
To set the size of the output raster, specify either the dimensions or the cell size.
使用尺寸设置输出栅格大小,请设置规格规格toRowsColumns并指定两个值的值Number of Columns和行数.
使用单元格大小设置输出栅格大小,请设置规格规格to细胞化并指定两个值的值X细胞间距和Y Cell Spacing.
Interpretation
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This parameter sets the interpretation of the output raster.
RED,绿色和蓝频带的像素值将从特征的相应组件中获取fme_color属性。灰度乐队的像素值将是平均值fme_colorcomponents.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This parameter sets pixel values for alpha bands.
背景
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The背景Colorparameter sets the background color for red, green, blue, or gray bands.
Click the colored square to the right of the text field, or edit the contents of the field directly. The color must be specified as
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The背景Alpha Valueparameter sets the background value for any alpha bands on the raster. It must also be a number between 0 and 1.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果是Fill Background with Nodata参数是Yes, the background color will also be flagged as the nodata value for each raster band.
Anti-Aliasing
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果是Anti-Aliasing参数是Yes, the output lines will be smoothed using an anti-aliasing algorithm.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
TheTolerance参数是the maximum normalized distance from a line segment or polygon vertex to a pixel to be rendered. For example a tolerance of 1.0 will draw all pixels touched by the input vector line, while a tolerance of 0.0 will draw only those pixels where the input vector line passes directly through their center. Tolerance can only be selected when anti-aliasing is off.
地面范围
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果是地面范围参数设置为使用输入数据接地范围(这意味着未明确指定该范围,输出栅格扩展区将由有效输入矢量特征的边界框的联合确定。如果是地面范围参数设置为Specify ground extents, the remaining地面范围参数用于指定输出栅格的范围。
笔记:不te: The raster extent is absolute, measured from the outer edges of the border row and column pixels.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies the minimum x value of the output raster. It is used when the地面范围参数设置为Specify ground extents.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
这指定了输出栅格的最小值。它是使用的地面范围参数设置为Specify ground extents.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies the maximum x value of the output raster. It is used when the地面范围参数设置为Specify ground extents.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies the maximum y value of the output raster. It is used when the地面范围参数设置为Specify ground extents.
Point Cloud
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
When drawing point clouds on color bands, theInput Componentspecifies which component of the point should be used to set the color of the raster pixel. If the parameter is set toColor, the points in the cloud must have a color component. If the parameter is set toIntensity, the points in the cloud must have an intensity component. The intensity component is converted to a color using a grayscale continuum, where the minimum intensity in the cloud is black and the maximum intensity in the cloud is white.
Related Transformers
要将向量功能覆盖到现有栅格上,请使用vectoronrasteroverlayer.instead.
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options.
变压器类别
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.
Tags关键词:最小边界矩形MBR FME_COLOUL RASTERISER光栅