HALCON Reference Manual 10.0.2
Table of Contents / Image / Format ClassesClassesClasses | | | Operators

crop_domaincrop_domaincrop_domainCropDomainCropDomain (Operator)

Name

crop_domaincrop_domaincrop_domainCropDomainCropDomain — Cut out of defined gray values.

Signature

crop_domain(Image : ImagePart : : )

Herror crop_domain(const Hobject Image, Hobject* ImagePart)

Herror T_crop_domain(const Hobject Image, Hobject* ImagePart)

Herror crop_domain(Hobject Image, Hobject* ImagePart)

HImage HImage::CropDomain() const

HImageArray HImageArray::CropDomain() const

void HOperatorSetX.CropDomain(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImagePart)

IHImageX* HImageX.CropDomain()

static void HOperatorSet.CropDomain(HObject image, out HObject imagePart)

HImage HImage.CropDomain()

Description

The operator crop_domaincrop_domaincrop_domainCropDomainCropDomain cuts a rectangular area from the input images. This rectangle is the smallest surrounding rectangle of the domain of the imput image. The new definition domain includes all pixels of the new image. The new image matrix has the size of the rectangle.

Parallelization

Parameters

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageXHobject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Input image.

ImagePartImagePartImagePartImagePartimagePart (output_object)  (multichannel-)image(-array) objectHImageHImageHImageXHobject * (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Image area.

Possible Successors

disp_imagedisp_imagedisp_imageDispImageDispImage

Alternatives

crop_partcrop_partcrop_partCropPartCropPart, crop_rectangle1crop_rectangle1crop_rectangle1CropRectangle1CropRectangle1, change_formatchange_formatchange_formatChangeFormatChangeFormat, reduce_domainreduce_domainreduce_domainReduceDomainReduceDomain

See also

zoom_image_sizezoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSize, zoom_image_factorzoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactor

Module

Foundation


Table of Contents / Image / Format ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH