MCPcopy Create free account
hub / github.com/Squalr/Squally / edgedf

Function edgedf

Source/Engine/External/edtaa3func/edtaa3func.cpp:102–135  ·  view source on GitHub ↗

* A somewhat tricky function to approximate the distance to an edge in a * certain pixel, with consideration to either the local gradient (gx,gy) * or the direction to the pixel (dx,dy) and the pixel greyscale value a. * The latter alternative, using (dx,dy), is the metric used by edtaa2(). * Using a local estimate of the edge gradient (gx,gy) yields much better * accuracy at and near edges,

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

distaa3Function · 0.85
edtaa3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected