Skip to contents

Render a slice at z coordinate

Usage

render_slice(x, zpos, width, height, colmap, ...)

Arguments

x

the object, e.g. an instance of type Layer or Overlay

zpos

the z coordinate to slice through.

width

width of the rendered image

height

height of the rendered image

colmap

the colors used to map from values to RGBA colors.

...

additional arguments

Value

A rendered image of the specified slice with the given dimensions and color mapping.