ClassesClasses | | Operators

gray_dilationgray_dilationGrayDilationGrayDilation (Operator)

Name

gray_dilationgray_dilationGrayDilationGrayDilation — Perform a gray value dilation on an image.

Signature

gray_dilation(Image, SE : ImageDilation : : )

Herror gray_dilation(const Hobject Image, const Hobject SE, Hobject* ImageDilation)

Herror T_gray_dilation(const Hobject Image, const Hobject SE, Hobject* ImageDilation)

void GrayDilation(const HObject& Image, const HObject& SE, HObject* ImageDilation)

HImage HImage::GrayDilation(const HImage& SE) const

static void HOperatorSet.GrayDilation(HObject image, HObject SE, out HObject imageDilation)

HImage HImage.GrayDilation(HImage SE)

Description

gray_dilationgray_dilationGrayDilationGrayDilationGrayDilation applies a gray value dilation to the input image ImageImageImageImageimage with the structuring element SESESESESE. The image type of the structuring element SESESESESE must match the image type of the input image ImageImageImageImageimage. The gray value dilation of an image i with a structuring element s at the pixel position x is defined as:

Here, S is the domain of the structuring element s (see read_gray_seread_gray_seReadGraySeReadGraySeReadGraySe).

The gray value dilation is particularly fast for flat structuring elements, i.e., structuring elements with a constant gray level within their domain.

Execution Information

Parameters

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (byte / uint2 / real)

Input image.

SESESESESE (input_object)  singlechannelimage objectHImageHImageHobject (byte / uint2 / real)

Structuring element.

ImageDilationImageDilationImageDilationImageDilationimageDilation (output_object)  (multichannel-)image(-array) objectHImageHImageHobject * (byte / uint2 / real)

Gray-dilated image.

Result

gray_dilationgray_dilationGrayDilationGrayDilationGrayDilation returns 2 (H_MSG_TRUE) if the structuring element is not the empty region. Otherwise, an exception is raised.

Possible Predecessors

read_gray_seread_gray_seReadGraySeReadGraySeReadGraySe, gen_disc_segen_disc_seGenDiscSeGenDiscSeGenDiscSe, read_imageread_imageReadImageReadImageReadImage

Possible Successors

sub_imagesub_imageSubImageSubImageSubImage, gray_erosiongray_erosionGrayErosionGrayErosionGrayErosion

Alternatives

gray_dilation_rectgray_dilation_rectGrayDilationRectGrayDilationRectGrayDilationRect, gray_dilation_shapegray_dilation_shapeGrayDilationShapeGrayDilationShapeGrayDilationShape

See also

gray_openinggray_openingGrayOpeningGrayOpeningGrayOpening, gray_closinggray_closingGrayClosingGrayClosingGrayClosing, dilation1dilation1Dilation1Dilation1Dilation1, gray_skeletongray_skeletonGraySkeletonGraySkeletonGraySkeleton

Module

Foundation


ClassesClasses | | Operators