Namespace: Rx – Class: CRxImage – Header: Rx.Core.Ex/RxImage.h

CRxImage::GetPixel Method

C++
template<typename T>
void GetPixel(T& tPixel, int iX, int iY)

Gets the value of the pixel at location (iX, iY).

The given pixel type must match the image format. There are no bounds checks.

Template Parameters

T

The pixel type.

Parameters

[T&] tPixel

[in,out] The pixel.

[int] iX

The X coordinate.

[int] iY

The Y coordinate.