RICH pattern recognition for LHCb