The Algorithm (simplified)
Enter your set  Γ = { γ }  of shapes
Enter a (large) set  { φ } of candidate feature measures
Compute  μ(φ, Γ)  for all  φ  in  Φ
Compute  μ'(φ)  relative to a uniform distribution on  Ω Until the nonaccidental statistic of all unused features is small enough, repeat: