DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

PaintBox

Paint a box

SYNOPSIS

#include "dip_paint.h"

dip_Error dip_PaintBox ( im, length, orign, amplitude )

DATA TYPES

binary, integer, float, complex

FUNCTION

Paints an box object in the image by replacing the values of the pixels in im that lie within the box (as specified by length and origin) with amplitude, and leaving the other pixel values untouched.

ARGUMENTS

Data typeNameDescription
dip_ImageimImage
dip_FloatArraylengthLength array
dip_FloatArrayoriginOrigin array
dip_floatamplitudePixel value of the painted ellips

SEE ALSO

PaintEllipsoid, PaintDiamond