Pattern recognition trigger electronics for an imaging atmospheric Cherenkov telescope