BaseRht

A template that bootstraps a full Randomized Hough transform implementation. The basic primitives required are as follows.

Types: Curve and Key tuples that define curve parameters and accumulator key for the curve. Functions: curveKey - accumulator key for a curve, onCurve - test if a point is on curve, fitCurve - fit a curve to a given random access range of points.

Members

Functions

opCall
auto opCall(Slice!(kind, [2], T*) image)

Run RHT using non-zero points in image as edge points.

opCall
auto opCall(Slice!(kind, [2], T*) image, Range points)

Run RHT using prepopullated array of edge points (that may be filtered beforehand).

threshold
ref threshold(int threshold)

Set threshold for a curve to be considered in an accumulator

Structs

RhtRange
struct RhtRange(T, SliceKind kind, P)

Meta