An FPGA-based hardware accelerator for iris segmentation