CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

drawTwoValueLine

Draws a line between two points with a given thickness.

Pixels close to point 1 are set to value1. Pixels closer to point 2 are set to value2 All pixels other than on the line are untouched. Consider using clij.set(buffer, 0); in advance.

Usage in ImageJ macro

Ext.CLIJx_drawTwoValueLine(Image destination, Number x1, Number y1, Number z1, Number x2, Number y2, Number z2, Number thickness, Number value1, Number value2);

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint