crop_domaincrop_domainCropDomainCropDomaincrop_domain (Operator)
Name
crop_domaincrop_domainCropDomainCropDomaincrop_domain
— Cut out of defined gray values.
Signature
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
- Supports OpenCL compute devices.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
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