RegionImage

RegionImage[reg]

returns a rasterized grayscale 2D or 3D image of reg.

RegionImage[reg,{{xmin,xmax},}]

restricts to the bounds .

Details and Options

Examples

open allclose all

Basic Examples  (2)

Rasterize a region in 2D:

In[1]:=
Click for copyable input
Out[1]=

Rasterize a region in 3D:

In[1]:=
Click for copyable input
Out[1]=

Scope  (7)

Options  (6)

Applications  (6)

Possible Issues  (2)

Neat Examples  (2)

See Also

DiscretizeRegion  DiscretizeGraphics  Rasterize  ImageMesh  MeshRegion

Introduced in 2017
(11.2)