Returns a thumbnail version of the inputImage.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
public static ICogImage GetThumbnailImage(
ICogImage inputImage,
int thumbSize
)
public static ICogImage GetThumbnailImage(
ICogImage inputImage,
int thumbSize
)
Public Shared Function GetThumbnailImage (
inputImage As ICogImage,
thumbSize As Integer
) As ICogImage
Public Shared Function GetThumbnailImage (
inputImage As ICogImage,
thumbSize As Integer
) As ICogImage
public:
static ICogImage^ GetThumbnailImage(
ICogImage^ inputImage,
int thumbSize
)
public:
static ICogImage^ GetThumbnailImage(
ICogImage^ inputImage,
int thumbSize
)
Parameters
- inputImage
- Type: Cognex.VisionPro ICogImage
The image of which to create a thumbnail.
- thumbSize
- Type: System Int32
The output image's height and width are both less than or equal to thumbSize. The aspect ratio is kept the same.
Return Value
Type:
ICogImageThe thumbnail image.