Name
crop_partcrop_partCropPartcrop_partCropPartCropPart — Cut out one or more rectangular image areas.
Herror crop_part(const Hobject Image, Hobject* ImagePart, const Hlong Row, const Hlong Column, const Hlong Width, const Hlong Height)
Herror T_crop_part(const Hobject Image, Hobject* ImagePart, const Htuple Row, const Htuple Column, const Htuple Width, const Htuple Height)
Herror crop_part(Hobject Image, Hobject* ImagePart, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)
HImage HImage::CropPart(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const
HImageArray HImageArray::CropPart(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const
void CropPart(const HObject& Image, HObject* ImagePart, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)
HImage HImage::CropPart(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const
HImage HImage::CropPart(Hlong Row, Hlong Column, Hlong Width, Hlong Height) const
static void HOperatorSet.CropPart(HObject image, out HObject imagePart, HTuple row, HTuple column, HTuple width, HTuple height)
HImage HImage.CropPart(HTuple row, HTuple column, HTuple width, HTuple height)
HImage HImage.CropPart(int row, int column, int width, int height)
The operator crop_partcrop_partCropPartcrop_partCropPartCropPart cuts one or more rectangular area from each
of the input images. The areas are indicated by rectangles, which are
defined by the coordinates of their upper left corner and by their size.
The upper left corners of the rectangles must be within the image. At the
right side and at the bottom, the rectangles may exceed the image, but the
domain of the output images is set so that only the part that can be derived
from the input image is contained. If the rectangular areas fall completely
within the image, then each of the resulting images has the size of its
corresponding 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.
RowRowRowRowRowrow (input_control) rectangle.origin.y(-array) → HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)
Line index of upper left corner of image area.
Default value: 100
Suggested values: 10, 20, 50, 100, 200, 300, 500
Typical range of values: 0
≤
Row
Row
Row
Row
Row
row
≤
1024
Column index of upper left corner of image area.
Default value: 100
Suggested values: 10, 20, 50, 100, 200, 300, 500
Typical range of values: 0
≤
Column
Column
Column
Column
Column
column
≤
1024
Width of new image.
Default value: 128
Suggested values: 32, 64, 128, 256, 512, 768
Typical range of values: 0
≤
Width
Width
Width
Width
Width
width
≤
1024
Height of new image.
Default value: 128
Suggested values: 32, 64, 128, 256, 512, 525
Typical range of values: 0
≤
Height
Height
Height
Height
Height
height
≤
1024
disp_imagedisp_imageDispImagedisp_imageDispImageDispImage
crop_rectangle1crop_rectangle1CropRectangle1crop_rectangle1CropRectangle1CropRectangle1,
crop_domaincrop_domainCropDomaincrop_domainCropDomainCropDomain,
change_formatchange_formatChangeFormatchange_formatChangeFormatChangeFormat,
reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain
zoom_image_sizezoom_image_sizeZoomImageSizezoom_image_sizeZoomImageSizeZoomImageSize,
zoom_image_factorzoom_image_factorZoomImageFactorzoom_image_factorZoomImageFactorZoomImageFactor
Foundation