Operation: draw cube

draw cube operation

Author:

Volker Bäcker

Example:

application    input image    result image

Description

The input is a results table with 4 values in the columns x, y, z and radius. The result is a stack with a drawing of a solid cube of size (2*radius+1 x 2*radius+1 x 2*radius+1), that has its center at x, y, z.

Options

The operation has no options.

Parameter

inputImage (ImagePlus): The input image. The result stack will be of the same dimensions as the input image.
cube (ResultsTable): A ResultsTable with on line of values and the columns x, y, z and radius.

Results

A drawing of the cube on an image stack of the same dimensions as the input image.