Iris recognition algorithms depend on image processing techniques for proper segmentation of the iris. In the Ridge
Energy Direction (RED) iris recognition algorithm, the initial step in the segmentation process searches for the pupil by
thresholding and using binary morphology functions to rectify artifacts obfuscating the pupil. These functions take
substantial processing time in software on the order of a few hundred million operations. Alternatively, a hardware
version of the binary morphology functions is implemented to assist in the segmentation process. The hardware binary
morphology functions have negligible hardware footprint and power consumption while achieving speed up of 200 times
compared to the original software functions.