crop_domaincrop_domainCropDomainCropDomaincrop_domain (Operator)
名称
crop_domaincrop_domainCropDomainCropDomaincrop_domain — 剪切已定义的灰度值。
签名
def crop_domain(image: HObject) -> HObject
描述
The operator crop_domaincrop_domainCropDomainCropDomainCropDomaincrop_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.
执行信息
- 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.
参数
ImageImageImageImageimageimage (input_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Input image.
ImagePartImagePartImagePartImagePartimagePartimage_part (output_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject * (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Image area.
可能的后继算子
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
替代算子
crop_partcrop_partCropPartCropPartCropPartcrop_part,
crop_rectangle1crop_rectangle1CropRectangle1CropRectangle1CropRectangle1crop_rectangle1,
change_formatchange_formatChangeFormatChangeFormatChangeFormatchange_format,
reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain
另见
zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizeZoomImageSizezoom_image_size,
zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorZoomImageFactorzoom_image_factor
模块
Foundation