RegionImage
RegionImage[reg]
returns a rasterized grayscale 2D or 3D image of reg.
RegionImage[reg,{{xmin,xmax},…}]
restricts to the bounds .
Details and Options

- RegionImage converts regions to 2D and 3D raster images.
- The region reg can be anything that is ConstantRegionQ and a RegionEmbeddingDimension of 2 or 3.
- The following options can be specified:
-
ImageResolution Automatic - image resolution in DPI for rasterization
ImageSize Automatic - final displayed image size in printer's points
MetaInformation < > metainformation to be included in the image Method Automatic method parameters to use RasterSize Automatic raster size in pixels or voxels for rasteriztion - By default, an automatic thickness is chosen to draw lower-dimensional regions. With Method->{"Thickness"->t}, these regions are rasterized using the absolute thickness t.
Introduced in 2017
(11.2)