Attributes for ComputeImageDifference function. More...
#include <ImageTools.h>
Public Attributes | |
Uint32 | Width = 0 |
Image width. | |
Uint32 | Height = 0 |
Image height. | |
const void * | pImage1 = nullptr |
A pointer to the first image data. | |
Uint32 | NumChannels1 = 0 |
Number of channels in the first image. | |
Uint32 | Stride1 = 0 |
Row stride of the first image data, in bytes. | |
const void * | pImage2 = nullptr |
A pointer to the second image data. | |
Uint32 | NumChannels2 = 0 |
Number of channels in the second image. | |
Uint32 | Stride2 = 0 |
Row stride of the second image data, in bytes. | |
Uint32 | Threshold = 0 |
Difference threshold. | |
void * | pDiffImage = nullptr |
Uint32 | DiffStride = 0 |
Row stride of the difference image data, in bytes. | |
Uint32 | NumDiffChannels = 0 |
float | Scale = 1.f |
Scale factor for the difference image. | |
Attributes for ComputeImageDifference function.
Uint32 Diligent::ComputeImageDifferenceAttribs::NumDiffChannels = 0 |
Number of channels in the difference image. If 0, the number of channels will be the same as in the input images.
void* Diligent::ComputeImageDifferenceAttribs::pDiffImage = nullptr |
A pointer to the difference image data. If null, the difference image will not be computed.