Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Image > API/Runtime/GeometryCore/Image/TMarchingPixelInfill
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Image/ImageInfilling.h |
| Include | #include "Image/ImageInfilling.h" |
void ComputeInfill
(
TImageBuilder < PixelType > & Image,
const TArray < FVector2i > & MissingPixels,
PixelType MissingValue,
TFunctionRef < PixelType> NormalizeFunc
)
Remarks
Fill the values of MissingPixels in Image by propagating from known values.
Parameters
| Name | Description |
|---|---|
| MissingValue | this value is used to indicate 'missing' in the image. Input pixels do not have to be set to this value, they are set internally to avoid map lookups |
| NormalizeFunc | Implements an "average" operation for the template PixelType, normally (SumOfNbrValues / Count) |