GetImagePixel_Interpolated


Returns an interpolated single pixel of an image.

Applications:Sub-pixel sampling of an image.

Syntax

C++
Python
 
def GetImagePixel_Interpolated(
	inImage: Image,
	inPoint: Point2D,
	/,
	*,
	inInterpolation: InterpolationMethod = InterpolationMethod.Bilinear
)
-> (
	outPixel: Pixel,
	outValue: float
)

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inPoint Point2D Point on the input image to be accessed
Input value inInterpolation InterpolationMethod InterpolationMethod.Bilinear
Output value outPixel Pixel Output pixel
Output value outValue float Average pixel value