local ternary patterns

Edge based foreground background estimation with interior/exterior classification