Namespace: Rx::LFR – Class: ImageWindow – Header: Rx.LFR/ImageWindow.h
ImageWindow::ShowImage Method
C++
void ShowImage(int cudaDeviceID, const void* imgDataPtr, size_t devicePitch, const CRxImageFormat& format)
Shows the given CUDA image. The image is copied into the visualization synchronously and can be disposed afterwards.
The image is described by the CUDA device ID, the device pointer, the pitch and the image format.
Parameters
[int] cudaDeviceID |
The ID of the CUDA device that owns the image data returned by cudaGetDevice. |
[const void*] imgDataPtr |
The CUDA device pointer to the actual image data returned by cudaMallocPitch. |
[size_t] devicePitch |
The pitch that has been returned by cudaMallocPitch. |
[const CRxImageFormat&] format |
THe image format that describes the image data layout. |