跳转到内容

Image Cropper vTool#

The Image Cropper vTool allows you to crop images to make them smaller.

By making an image smaller, you also reduce the size of the image that subsequent vTools work with. This may reduce processing time and may help to avoid incorrect results because irrelevant information is removed. You can specify the size of the resulting image manually. Alternatively, you can use the rectangle output from any vTool that outputs rectangles, e.g., the Rectangle Measurements Pro vTool, as input for the CropArea pin to define the resulting image.

信息

The Image Cropper changes the actual image size and therefore also changes the image's coordinate system. This means that you can't return to the original image. If you want to preserve the original image for later use, consider using the ROI Creator vTool. Using the ROI Creator, you can perform operations on just a portion of the original image without losing the original.

输入#

图像#

直接从 Camera vTool 或从输出图像的 vTool(例如 Image Format Converter vTool)接受图像。

CropArea#

Accepts the rectangle output from other vTools to define the resulting image size.

  • 数据类型:RectangleF

输出#

图像#

Returns the cropped image with the same data type as the input image.

支持的 Pixel Format#

The following pixel formats are supported natively:

  • Mono 8
  • Mono 16
  • Bayer XX 8
  • Bayer XX 16
  • RGB 8
  • BGR 8