Update comments about hole filling algorithms.
This commit is contained in:
@ -296,7 +296,7 @@ static bool downsample(const FloatImage * src, const BitMap * srcMask, const Flo
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is the filter used in the Lumigraph paper. The Unreal engine uses something similar.
|
// This is the filter used in the Lumigraph paper.
|
||||||
void nv::fillPullPush(FloatImage * img, const BitMap * bmap)
|
void nv::fillPullPush(FloatImage * img, const BitMap * bmap)
|
||||||
{
|
{
|
||||||
nvCheck(img != NULL);
|
nvCheck(img != NULL);
|
||||||
@ -644,8 +644,8 @@ struct LocalPixels
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// This is a cubic extrapolation filter from Charles Bloom (DoPixelSeamFix).
|
// This is a quadratic extrapolation filter from Charles Bloom (DoPixelSeamFix). Used with his permission.
|
||||||
void nv::fillCubicExtrapolate(int passCount, FloatImage * img, BitMap * bmap, int coverageIndex /*= -1*/)
|
void nv::fillQuadraticExtrapolate(int passCount, FloatImage * img, BitMap * bmap, int coverageIndex /*= -1*/)
|
||||||
{
|
{
|
||||||
nvCheck(passCount > 0);
|
nvCheck(passCount > 0);
|
||||||
nvCheck(img != NULL);
|
nvCheck(img != NULL);
|
||||||
|
@ -89,7 +89,7 @@ namespace nv
|
|||||||
NVIMAGE_API void fillPullPush(FloatImage * img, const BitMap * bmap);
|
NVIMAGE_API void fillPullPush(FloatImage * img, const BitMap * bmap);
|
||||||
|
|
||||||
NVIMAGE_API void fillExtrapolate(int passCount, FloatImage * img, BitMap * bmap);
|
NVIMAGE_API void fillExtrapolate(int passCount, FloatImage * img, BitMap * bmap);
|
||||||
NVIMAGE_API void fillCubicExtrapolate(int passCount, FloatImage * img, BitMap * bmap, int coverageIndex = -1);
|
NVIMAGE_API void fillQuadraticExtrapolate(int passCount, FloatImage * img, BitMap * bmap, int coverageIndex = -1);
|
||||||
|
|
||||||
} // nv namespace
|
} // nv namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user