crop_domaincrop_domainCropDomainCropDomaincrop_domain (Operator)

Name

crop_domaincrop_domainCropDomainCropDomaincrop_domain — 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)

void CropDomain(const HObject& Image, HObject* ImagePart)

HImage HImage::CropDomain() const

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

HImage HImage.CropDomain()

def crop_domain(image: HObject) -> HObject

Description

The operator crop_domaincrop_domainCropDomainCropDomaincrop_domain cuts a rectangular area from the input images. This rectangle is the smallest surrounding rectangle of the domain of the input image. The new image matrix has the size of the rectangle.

Execution Information

Parameters

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

Input image.

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

Image area.

Possible Successors

disp_imagedisp_imageDispImageDispImagedisp_image

Alternatives

crop_partcrop_partCropPartCropPartcrop_part, crop_rectangle1crop_rectangle1CropRectangle1CropRectangle1crop_rectangle1, change_formatchange_formatChangeFormatChangeFormatchange_format, reduce_domainreduce_domainReduceDomainReduceDomainreduce_domain

See also

zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizezoom_image_size, zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorzoom_image_factor

Module

Foundation