GetImagePixel


Returns a single pixel of an image.

Syntax

C++
Python
 
def GetImagePixel(
	inImage: Image,
	inLocation: Location,
	/
)
-> (
	outPixel: Pixel,
	outValue: float
)

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inLocation Location Location of the pixel to be accessed
Output value outPixel Pixel Output pixel
Output value outValue float Average pixel value