Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Image/ImageInfilling.h |
Include |
#include "Image/ImageInfilling.h" |
template<typename PixelType>
class TMarchingPixelInfill
TMarchingPixelInfill implements a very basic infilling strategy where the missing pixel with the most "known" neighbours is set to the average value of those neighbours, and this is iterated until all missing pixels are known. A Priority Queue is used to track the active front.
The infill sequence is tracked, which allows it to be "replayed" on multiple images. This is useful in cases where we have separate images with the same holes, which arises when baking textures from world sampling.
Name | Description | ||
---|---|---|---|
|
ApplyInfill ( |
Fill the missing values in Image by replaying the infill sequence computed by ComputeInfill() |
|
|
ApplyInfill ( |
Fill the missing values in Image by replaying the infill sequence computed by ComputeInfill() |
|
|
ComputeInfill ( |
Fill the values of MissingPixels in Image by propagating from known values. |